Index: head/mail/milter-greylist/Makefile =================================================================== --- head/mail/milter-greylist/Makefile (revision 425615) +++ head/mail/milter-greylist/Makefile (revision 425616) @@ -1,96 +1,95 @@ # Created by: Cyril Guibourg # $FreeBSD$ PORTNAME= milter-greylist -PORTVERSION= 4.4.3 -PORTREVISION= 6 +PORTVERSION= 4.6.1 CATEGORIES= mail MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ \ http://fossies.org/unix/privat/ MAINTAINER= m.tsatsenko@gmail.com COMMENT= Easy-to-use greylist milter for sendmail and postfix LICENSE= BSD3CLAUSE CONFLICTS= milter-greylist-devel-[1-9]*.* PKGMESSAGE= ${WRKDIR}/pkg-message MAKE_JOBS_UNSAFE= yes USES= tar:tgz ## # Use the following quirks to choose which sendmail to use (ports or system): # # WITH_SENDMAIL_BASE=yes # or # WITH_SENDMAIL_PORT=yes # # If unspecified, check for an up-to-date system version but give an # installed port preference over it. ## OPTIONS_DEFINE= SPF GEOIP CURL LDAP P0F POSTFIX DOCS EXAMPLES SPF_DESC= SPF support CURL_DESC= curl support P0F_DESC= P0F support POSTFIX_DESC= Use Postfix instead of Sendmail P0F_RUN_DEPENDS= p0f:net-mgmt/p0f SPF_LIB_DEPENDS= libspf2.so:mail/libspf2 CURL_LIB_DEPENDS= libcurl.so:ftp/curl GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP POSTFIX_CONFIGURE_ENABLE= postfix POSTFIX_LDFLAGS_OFF= ${SENDMAIL_LDFLAGS} POSTFIX_LIBS_OFF= ${SENDMAIL_LDADD} P0F_CONFIGURE_ENABLE= p0f306 SPF_CONFIGURE_ON= --with-libspf2=${LOCALBASE} GEOIP_CONFIGURE_ON= --with-libGeoIP=${LOCALBASE} CURL_CONFIGURE_ON= --with-libcurl=${LOCALBASE} LDAP_CONFIGURE_ON= --with-openldap=${LOCALBASE} LDAP_LDFLAGS= -L${LOCALBASE}/lib LDAP_USE= OPENLDAP=yes .include LIBS+= -lpthread GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-user=mailnull \ --with-libmilter=${MILTERBASE} \ --enable-dnsrbl \ --with-thread-safe-resolver \ --with-dumpfile=/var/milter-greylist/greylist.db ALL_TARGET= milter-greylist SUB_FILES+= pkg-message USE_RC_SUBR= milter-greylist PORTDOCS= README PORTEXAMPLES= greylist.conf do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail ${INSTALL_MAN} ${WRKSRC}/greylist.conf.5 \ ${STAGEDIR}${PREFIX}/man/man5/ ${INSTALL_MAN} ${WRKSRC}/milter-greylist.8 \ ${STAGEDIR}${PREFIX}/man/man8/ ${INSTALL_PROGRAM} ${WRKSRC}/milter-greylist \ ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_DATA} ${WRKSRC}/greylist.conf \ ${STAGEDIR}${PREFIX}/etc/mail/greylist.conf.sample @${MKDIR} ${STAGEDIR}/var/milter-greylist do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/greylist.conf ${STAGEDIR}${EXAMPLESDIR}/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" .include Index: head/mail/milter-greylist/distinfo =================================================================== --- head/mail/milter-greylist/distinfo (revision 425615) +++ head/mail/milter-greylist/distinfo (revision 425616) @@ -1,2 +1,3 @@ -SHA256 (milter-greylist-4.4.3.tgz) = fdf7e37c5dd370473ff2cdec7e4b6ca9e60fc2b5c716612d2d449de98d0054a9 -SIZE (milter-greylist-4.4.3.tgz) = 236277 +TIMESTAMP = 1476457208 +SHA256 (milter-greylist-4.6.1.tgz) = 98aea7e5a1c9245e04d8e1cc650ca085a738784dae7f2147d898e5b86b1ddbc0 +SIZE (milter-greylist-4.6.1.tgz) = 254339 Index: head/mail/milter-greylist/files/patch-sync.c =================================================================== --- head/mail/milter-greylist/files/patch-sync.c (revision 425615) +++ head/mail/milter-greylist/files/patch-sync.c (nonexistent) @@ -1,16 +0,0 @@ -Index: sync.c ---- sync.c.orig 2010-06-16 01:30:30 UTC -+++ sync.c -@@ -487,7 +487,11 @@ peer_connect(peer) /* peer list is read- - #ifdef AF_INET6 - case AF_INET6: - SA6(res->ai_addr)->sin6_port = service; -- laddrstr = "::"; -+ if (conf.c_syncsrcaddr != NULL) { -+ laddrstr = conf.c_syncsrcaddr; -+ } else { -+ laddrstr = "::"; -+ } - break; - #endif - default: Property changes on: head/mail/milter-greylist/files/patch-sync.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/milter-greylist/files/patch-configure =================================================================== --- head/mail/milter-greylist/files/patch-configure (revision 425615) +++ head/mail/milter-greylist/files/patch-configure (revision 425616) @@ -1,12 +1,12 @@ Index: configure ---- configure.orig 2013-03-07 13:26:11 UTC +--- configure.orig 2016-07-12 03:09:29 UTC +++ configure -@@ -5899,7 +5899,7 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 - $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } - if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : -- LIBS="$LIBS -lpthread" -+ true; #LIBS="$LIBS -lpthread" +@@ -6083,7 +6083,7 @@ if test "${ac_cv_lib_pthread_pthread_cre + $as_echo_n "(cached) " >&6 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5 - $as_echo_n "checking for pthread_create in -lc_r... " >&6; } + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpthread $LIBS" ++true; #LIBS="-lpthread $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +