ports/78205: [MAINTAINER] Update port: mail/postfix-current to 2.2-20050227

Marcus Grando marcus at corp.grupos.com.br
Thu Mar 3 13:30:22 UTC 2005


The following reply was made to PR ports/78205; it has been noted by GNATS.

From: Marcus Grando <marcus at corp.grupos.com.br>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/78205: [MAINTAINER] Update port: mail/postfix-current to
 2.2-20050227
Date: Thu, 03 Mar 2005 10:30:04 -0300

 This is a multi-part message in MIME format.
 --------------090202090501050202020501
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 New patch attached...
 
 * Upgrade to 2.2-20050227
 * Update pkg-plist
 * Add BD43 option (from ports/76154)
 * Fix MAN8 REINPLACE
 
 Thanks
 
 -- 
 Marcus Grando
 Grupos Internet S/A
 marcus(at)corp.grupos.com.br
 
 --------------090202090501050202020501
 Content-Type: text/plain;
  name="postfix-current.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="postfix-current.patch"
 
 diff -ruN postfix-current.old/Makefile postfix-current/Makefile
 --- postfix-current.old/Makefile	Sun Feb 27 14:51:51 2005
 +++ postfix-current/Makefile	Thu Mar  3 10:27:12 2005
 @@ -15,7 +15,7 @@
  # NOTE: PCRE is enabled by default unless you specifically disable it.
  
  PORTNAME=	postfix
 -PORTVERSIONRAW=	2.2-20050218
 +PORTVERSIONRAW=	2.2-20050227
  PORTVERSION=	${PORTVERSIONRAW:S/-/./}
  PORTEPOCH=	2
  CATEGORIES=	mail ipv6
 @@ -110,7 +110,7 @@
  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
  		${WRKSRC}/man/man5/${f} ${WRKSRC}/html/${f}.html
  .endfor
 -.for f in ${MAN8base}
 +.for f in ${MAN8}
  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
  		${WRKSRC}/man/man8/${f} ${WRKSRC}/html/${f}.html
  .endfor
 diff -ruN postfix-current.old/distinfo postfix-current/distinfo
 --- postfix-current.old/distinfo	Sun Feb 27 14:51:51 2005
 +++ postfix-current/distinfo	Thu Mar  3 10:26:33 2005
 @@ -1,2 +1,2 @@
 -MD5 (postfix/postfix-2.2-20050218.tar.gz) = 5b41c917635ec61e29731bc9cea07a96
 -SIZE (postfix/postfix-2.2-20050218.tar.gz) = 2401756
 +MD5 (postfix/postfix-2.2-20050227.tar.gz) = 10b9b8d39464abae33e9fe480635af3a
 +SIZE (postfix/postfix-2.2-20050227.tar.gz) = 2402536
 diff -ruN postfix-current.old/pkg-plist postfix-current/pkg-plist
 --- postfix-current.old/pkg-plist	Mon Feb 14 17:48:03 2005
 +++ postfix-current/pkg-plist	Thu Mar  3 10:26:33 2005
 @@ -81,6 +81,7 @@
  %%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html
  %%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README
  %%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html
 +%%PORTDOCS%%%%DOCSDIR%%/CONNECTION_CACHE_README.html
  %%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README
  %%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html
  %%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html
 diff -ruN postfix-current.old/scripts/configure.postfix postfix-current/scripts/configure.postfix
 --- postfix-current.old/scripts/configure.postfix	Thu Feb 17 07:45:28 2005
 +++ postfix-current/scripts/configure.postfix	Thu Mar  3 10:26:33 2005
 @@ -29,6 +29,7 @@
  DB40		"Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \
  DB41		"Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \
  DB42		"Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \
 +DB43		"Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \
  MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \
  PgSQL		"PostgreSQL map lookups (choose with DEFAULT_PGSQL_VER)" "$status_PgSQL" \
  OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \
 @@ -110,7 +111,7 @@
  			;;
  		DB3)
  			if [ "X$BDB_SELECTED" != "X" ]; then
 -				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
  				exit 1
  			fi
 @@ -122,7 +123,7 @@
  			;;
  		DB40)
  			if [ "X$BDB_SELECTED" != "X" ]; then
 -				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
  				exit 1
  			fi
 @@ -134,7 +135,7 @@
  			;;
  		DB41)
  			if [ "X$BDB_SELECTED" != "X" ]; then
 -				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
  				exit 1
  			fi
 @@ -146,7 +147,7 @@
  			;;
  		DB42)
  			if [ "X$BDB_SELECTED" != "X" ]; then
 -				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
  				exit 1
  			fi
 @@ -155,6 +156,18 @@
  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib/db42/ -ldb"
  			echo "DB_SUFFIX=	+db42"
  			BDB_SELECTED="42"
 +			;;
 +		DB43)
 +			if [ "X$BDB_SELECTED" != "X" ]; then
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
 +				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
 +				exit 1
 +			fi
 +			echo "LIB_DEPENDS+=	db-4.3.0:\${PORTSDIR}/databases/db43"
 +			echo "POSTFIX_CCARGS+=	-I\${LOCALBASE}/include/db43"
 +			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib/db43/ -ldb"
 +			echo "DB_SUFFIX=	+db43"
 +			BDB_SELECTED="43"
  			;;
  		MySQL)
  			echo "USE_MYSQL=YES"
 
 --------------090202090501050202020501--



More information about the freebsd-ports-bugs mailing list