Index: head/mail/p5-Sendmail-Milter/Makefile =================================================================== --- head/mail/p5-Sendmail-Milter/Makefile (revision 400382) +++ head/mail/p5-Sendmail-Milter/Makefile (revision 400383) @@ -1,26 +1,26 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= Sendmail-Milter PORTVERSION= 0.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= marc@pilgerer.org COMMENT= Module to write mail filters in Perl using sendmail's mail filter API USES= perl5 USE_PERL5= configure .include .if exists(${PERL}) PERLTHREADS!= ${PERL} -V::usethreads .if ${PERLTHREADS} != "'define';" IGNORE= requires perl to be built with -DWITH_THREADS .endif .endif .include Index: head/mail/p5-Sendmail-Milter/files/patch-Milter.pm =================================================================== --- head/mail/p5-Sendmail-Milter/files/patch-Milter.pm (nonexistent) +++ head/mail/p5-Sendmail-Milter/files/patch-Milter.pm (revision 400383) @@ -0,0 +1,17 @@ +--- Milter.pm.orig 2001-10-10 04:21:22 UTC ++++ Milter.pm +@@ -423,10 +423,10 @@ calls. See B f + =item B CTX, HOSTNAME, SOCKADDR_IN + + Invoked on each connection. HOSTNAME is the host domain name, as determined by +-a reverse lookup on the host address. SOCKADDR_IN is the AF_INET portion of the +-host address, as determined by a B syscall on the SMTP +-socket. You can use B to unpack it into a port +-and IP address. ++a reverse lookup on the host address. SOCKADDR_IN is the AF_INET or AF_INET6 ++portion of the host address, as determined by a B syscall on ++the SMTP socket. You can use B or ++B to unpack it into a port and IP address. + + This callback should return one of the B result codes. + Property changes on: head/mail/p5-Sendmail-Milter/files/patch-Milter.pm ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/p5-Sendmail-Milter/files/patch-callbacks.c =================================================================== --- head/mail/p5-Sendmail-Milter/files/patch-callbacks.c (nonexistent) +++ head/mail/p5-Sendmail-Milter/files/patch-callbacks.c (revision 400383) @@ -0,0 +1,14 @@ +--- callbacks.c.orig 2000-07-19 06:20:36 UTC ++++ callbacks.c +@@ -490,6 +490,11 @@ callback_ssockaddr(pTHX_ SV *callback, S + XPUSHs(sv_2mortal(newSVpvn((char *)arg_sa, + sizeof(_SOCK_ADDR)))); + } ++ else if (arg_sa->sa_family == AF_INET6) ++ { ++ XPUSHs(sv_2mortal(newSVpvn((char *)arg_sa, ++ sizeof(struct sockaddr_in6)))); ++ } + else + { + XPUSHs(sv_2mortal(newSVsv(&PL_sv_undef))); Property changes on: head/mail/p5-Sendmail-Milter/files/patch-callbacks.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property