FreeBSD Bugzilla – Attachment 132623 Details for
Bug 176950
Update mail/milter-greylist to latest stable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
milter-greylist.diff
milter-greylist.diff (text/x-patch; type=patch; charset=US-ASCII), 4.42 KB, created by
ume
on 2013-03-17 05:17:11 UTC
(
hide
)
Description:
milter-greylist.diff
Filename:
MIME Type:
Creator:
ume
Created:
2013-03-17 05:17:11 UTC
Size:
4.42 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 314391) >+++ Makefile (working copy) >@@ -1,16 +1,18 @@ > # Created by: Cyril Guibourg > # $FreeBSD$ >-# > > PORTNAME= milter-greylist >-PORTVERSION= 4.4.1 >+PORTVERSION= 4.4.3 > CATEGORIES= mail >-MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ >+MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ \ >+ http://fossies.org/unix/privat/ > EXTRACT_SUFX= .tgz > > MAINTAINER= m.tsatsenko@gmail.com > COMMENT= Easy-to-use greylist milter for sendmail and postfix > >+LICENSE= BSD >+ > CONFLICTS= milter-greylist-devel-[1-9]*.* > PKGMESSAGE= ${WRKDIR}/pkg-message > >@@ -27,16 +29,14 @@ > # installed port preference over it. > ## > >-OPTIONS_DEFINE= SPF GEOIP CURL OPENLDAP P0F POSTFIX >+OPTIONS_DEFINE= MANPAGES SPF GEOIP CURL LDAP P0F POSTFIX > OPTIONS_DEFAULT= MANPAGES >-MANPAGES_DESC= Install manpages >-SPF_DESC= Include SPF support >-GEOIP_DESC= Include GeoIP support >-OPENLDAP_DESC= Include OpenLDAP support >-P0F_DESC= Include P0F support >-POSTFIX_DESC= Use Postfix instead of Sendmail >+SPF_DESC= SPF support >+CURL_DESC= curl support >+P0F_DESC= P0F support >+POSTFIX_DESC= Use Postfix instead of Sendmail > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MMANPAGES} > MAN5= greylist.conf.5 >@@ -54,13 +54,13 @@ > BUILD_DEPENDS+= curl>=7.18:${PORTSDIR}/ftp/curl > CONFIGURE_ARGS+= --with-libcurl=${LOCALBASE} > .endif >-.if ${PORT_OPTIONS:MOPENLDAP} >+.if ${PORT_OPTIONS:MLDAP} > USE_OPENLDAP=yes > CONFIGURE_ARGS+= --with-openldap > .endif > .if ${PORT_OPTIONS:MP0F} > RUN_DEPENDS+= p0f:${PORTSDIR}/net-mgmt/p0f >-CONFIGURE_ARGS+= --enable-p0f >+CONFIGURE_ARGS+= --enable-p0f306 > .endif > .if ${PORT_OPTIONS:MPOSTFIX} > CONFIGURE_ARGS+= --enable-postfix >@@ -85,7 +85,7 @@ > > do-install: > @${MKDIR} ${PREFIX}/etc/mail >-.if defined (WITH_MANPAGES) >+.if ${PORT_OPTIONS:MMANPAGES} > @${INSTALL_MAN} ${WRKSRC}/greylist.conf.5 ${PREFIX}/man/man5 > @${INSTALL_MAN} ${WRKSRC}/milter-greylist.8 ${PREFIX}/man/man8 > .endif >@@ -96,11 +96,11 @@ > post-install: > @${MKDIR} /var/milter-greylist > @${CHOWN} -R mailnull:mailnull /var/milter-greylist >-.if !${PORT_OPTIONS:MDOCS} >+.if ${PORT_OPTIONS:MDOCS} > @${MKDIR} ${DOCSDIR} > @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} > .endif >-.if !defined (NOPORTEXAMPLES) >+.if ${PORT_OPTIONS:MEXAMPLES} > @${MKDIR} ${EXAMPLESDIR} > @${INSTALL_DATA} ${WRKSRC}/greylist.conf ${EXAMPLESDIR} > .endif >@@ -122,4 +122,4 @@ > > .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 314391) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (milter-greylist-4.4.1.tgz) = 5400a71e0b01d3f6915638dcd96c57c6fa3bbbc2fb16fcc8eda715ae83a4ad8c >-SIZE (milter-greylist-4.4.1.tgz) = 229401 >+SHA256 (milter-greylist-4.4.3.tgz) = fdf7e37c5dd370473ff2cdec7e4b6ca9e60fc2b5c716612d2d449de98d0054a9 >+SIZE (milter-greylist-4.4.3.tgz) = 236277 >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 314391) >+++ files/patch-configure (working copy) >@@ -1,9 +1,11 @@ >---- configure.orig 2010-07-12 08:27:51.000000000 +0400 >-+++ configure 2010-08-05 05:18:10.000000000 +0400 >-@@ -4978,7 +4978,7 @@ >+Index: configure >+diff -u configure.orig configure >+--- configure.orig 2013-03-07 22:26:11.000000000 +0900 >++++ configure 2013-03-14 15:35:15.476674058 +0900 >+@@ -5899,7 +5899,7 @@ > { $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" = x""yes; then : >+ if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : > - LIBS="$LIBS -lpthread" > + true; #LIBS="$LIBS -lpthread" > else >Index: files/patch-sync.c >=================================================================== >--- files/patch-sync.c (revision 0) >+++ files/patch-sync.c (working copy) >@@ -0,0 +1,17 @@ >+Index: sync.c >+diff -u -p sync.c.orig sync.c >+--- sync.c.orig 2010-04-17 12:19:02.000000000 +0900 >++++ sync.c 2013-03-14 14:57:39.284674283 +0900 >+@@ -478,7 +478,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:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176950
: 132623 |
132624