Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 05:20:01 GMT
From:      Hajimu UMEMOTO <ume@mahoroba.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/176950: Update mail/milter-greylist to latest stable
Message-ID:  <201303170520.r2H5K1am018991@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/176950; it has been noted by GNATS.

From: Hajimu UMEMOTO <ume@mahoroba.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: m.tsatsenko@gmail.com, Hajimu UMEMOTO <ume@FreeBSD.org>
Subject: Re: ports/176950: Update mail/milter-greylist to latest stable
Date: Sun, 17 Mar 2013 14:17:11 +0900

 --Multipart_Sun_Mar_17_14:17:10_2013-1
 Content-Type: text/plain; charset=US-ASCII
 
 Hi,
 
 I've reflected recent update of mail/milter-greylist.
 
 Sincerely,
 
 
 --Multipart_Sun_Mar_17_14:17:10_2013-1
 Content-Type: text/x-patch; type=patch; charset=US-ASCII
 Content-Disposition: attachment; filename="milter-greylist.diff"
 Content-Transfer-Encoding: 7bit
 
 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:
 
 
 --Multipart_Sun_Mar_17_14:17:10_2013-1
 Content-Type: text/plain; charset=US-ASCII
 
 
 --
 Hajimu UMEMOTO
 ume@mahoroba.org  ume@{,jp.}FreeBSD.org
 http://www.mahoroba.org/~ume/
 
 --Multipart_Sun_Mar_17_14:17:10_2013-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303170520.r2H5K1am018991>