Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2014 16:24:44 +0000 (UTC)
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361693 - in head: . mail/postfix-current mail/postfix-current/files
Message-ID:  <201407131624.s6DGOiIR058685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sahil
Date: Sun Jul 13 16:24:44 2014
New Revision: 361693
URL: http://svnweb.freebsd.org/changeset/ports/361693
QAT: https://qat.redports.org/buildarchive/r361693/

Log:
  - Update to Postfix 2.12 snapshot 20140709

Modified:
  head/UPDATING
  head/mail/postfix-current/Makefile
  head/mail/postfix-current/distinfo
  head/mail/postfix-current/files/pkg-install.in   (contents, props changed)
  head/mail/postfix-current/pkg-plist

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun Jul 13 16:09:00 2014	(r361692)
+++ head/UPDATING	Sun Jul 13 16:24:44 2014	(r361693)
@@ -6,6 +6,18 @@ You should get into the habit of checkin
 you update your ports collection, before attempting any port upgrades.
 
 20140713:
+  AFFECTS: users of mail/postfix-current
+  AUTHOR: sahil@FreeBSD.org
+
+  This is a significant update; so, please carefully review the
+  RELEASE_NOTES to identify which incompatible changes impact your
+  environment. Of particular note are changes to the Postfix
+  build/install procedure.
+
+  Please backup main.cf, master.cf and any other important files
+  associated with your Postfix setup before updating.
+
+20140713:
   AFFECTS: users of www/apache22
   AUTHOR: ohauer@FreeBSD.org
 

Modified: head/mail/postfix-current/Makefile
==============================================================================
--- head/mail/postfix-current/Makefile	Sun Jul 13 16:09:00 2014	(r361692)
+++ head/mail/postfix-current/Makefile	Sun Jul 13 16:24:44 2014	(r361693)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	postfix
-DISTVERSION=	2.12-20140507
-PORTREVISION=	1
+DISTVERSION=	2.12-20140709
 PORTEPOCH=	4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
@@ -29,10 +28,13 @@ CONFLICTS_INSTALL=	courier-0.* postfix-1
 
 USERS=		postfix
 GROUPS=		mail maildrop postfix
-USES=		perl5 shebangfix
+USES=		perl5 shebangfix cpe
 SHEBANG_LANG=	perl
 SHEBANG_FILES=	auxiliary/qshape/qshape.pl
 
+CPE_VENDOR=	postfix
+CPE_PRODUCT=	postfix
+
 USE_SUBMAKE=	yes
 USE_PERL5=	build
 SCRIPTS_ENV+=	POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}"
@@ -116,6 +118,7 @@ SUB_FILES+=	pkg-install pkg-message
 
 POSTFIX_CCARGS+=	-DDEF_CONFIG_DIR=\\\"${ETCDIR}\\\" \
 			-DDEF_DAEMON_DIR=\\\"${DAEMONDIR}\\\" \
+			-DDEF_META_DIR=\\\"${DAEMONDIR}\\\" \
 			-DDEF_COMMAND_DIR=\\\"${PREFIX}/sbin\\\" \
 			-DDEF_SENDMAIL_PATH=\\\"${PREFIX}/sbin/sendmail\\\" \
 			-DDEF_NEWALIAS_PATH=\\\"${PREFIX}/bin/newaliases\\\" \
@@ -175,6 +178,7 @@ POSTFIX_AUXLIBS+=	-L${OPENSSLLIB} ${LDFL
 .endif
 
 .if ${PORT_OPTIONS:MSPF}
+BROKEN=			At the moment, SPF support is unavailable for ${PORTNAME}-${DISTVERSION}
 LIB_DEPENDS+=		libspf2.so:${PORTSDIR}/mail/libspf2
 PATCH_SITES+=		${MASTER_SITE_LOCAL}
 PATCH_SITE_SUBDIR=	mm
@@ -189,7 +193,6 @@ PLIST_SUB+=		SPF="@comment "
 
 .if ${PORT_OPTIONS:MBDB}
 USE_BDB=		yes
-INVALID_BDB_VER=	6
 POSTFIX_CCARGS+=	-I${BDB_INCLUDE_DIR}
 POSTFIX_AUXLIBS+=	-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
 .endif
@@ -326,6 +329,7 @@ do-install:
 		config_directory=${ETCDIR} \
 		command_directory=${PREFIX}/sbin \
 		daemon_directory=${DAEMONDIR} \
+		meta_directory=${DAEMONDIR} \
 		html_directory=${READMEDIR} \
 		mailq_path=${PREFIX}/bin/mailq \
 		manpage_directory=${MANPREFIX}/man \

Modified: head/mail/postfix-current/distinfo
==============================================================================
--- head/mail/postfix-current/distinfo	Sun Jul 13 16:09:00 2014	(r361692)
+++ head/mail/postfix-current/distinfo	Sun Jul 13 16:24:44 2014	(r361693)
@@ -1,4 +1,2 @@
-SHA256 (postfix/postfix-2.12-20140507.tar.gz) = 2326b4b470e3e84173f98c39e5475eb17b0733cec7fced737c2b463ea2c640c6
-SIZE (postfix/postfix-2.12-20140507.tar.gz) = 4034688
-SHA256 (postfix/postfix-2.8.0-libspf2-1.2.x-0.patch.gz) = e5c38e5bc226cab109c02a4e530ab1aefd3bb06f2169f3e052bdf83d2727aacc
-SIZE (postfix/postfix-2.8.0-libspf2-1.2.x-0.patch.gz) = 8191
+SHA256 (postfix/postfix-2.12-20140709.tar.gz) = b0fdebfbf5b49cfa07d19732d1a858739fff762c448592b7566032f60545a67b
+SIZE (postfix/postfix-2.12-20140709.tar.gz) = 4132498

Modified: head/mail/postfix-current/files/pkg-install.in
==============================================================================
--- head/mail/postfix-current/files/pkg-install.in	Sun Jul 13 16:09:00 2014	(r361692)
+++ head/mail/postfix-current/files/pkg-install.in	Sun Jul 13 16:24:44 2014	(r361693)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#	$FreeBSD: /tmp/pcvs/ports/mail/postfix-current/files/pkg-install.in,v 1.4 2011-12-21 22:45:17 sahil Exp $
+#	$FreeBSD$
 #
 
 # If the POSTFIX_DEFAULT_MTA environment variable is set to YES, it
@@ -61,11 +61,11 @@ if [ "$2" = "POST-INSTALL" ]; then
 	for file in $SAMPLES
 	do
 		if [ ! -f ${ETCDIR}/$file ]; then
-                	cp ${DAEMONDIR}/$file ${ETCDIR}/
+                	cp ${DAEMONDIR}/$file.proto ${ETCDIR}/$file
 		fi
 	done
 
-        cmp ${DAEMONDIR}/main.cf ${ETCDIR}/main.cf >/dev/null 2>&1 \
+        cmp ${DAEMONDIR}/main.cf.proto ${ETCDIR}/main.cf >/dev/null 2>&1 \
 	 && POSTARG="set-permissions" \
 	 || POSTARG="upgrade-package"
 
@@ -73,6 +73,7 @@ if [ "$2" = "POST-INSTALL" ]; then
 	 daemon_directory=${DAEMONDIR} \
 	 html_directory=${READMEDIR} \
 	 readme_directory=${READMEDIR} \
+ 	 meta_directory=${DAEMONDIR} \
 	 ${POSTARG}
 fi
 

Modified: head/mail/postfix-current/pkg-plist
==============================================================================
--- head/mail/postfix-current/pkg-plist	Sun Jul 13 16:09:00 2014	(r361692)
+++ head/mail/postfix-current/pkg-plist	Sun Jul 13 16:24:44 2014	(r361693)
@@ -1,5 +1,5 @@
-@unexec if cmp -s %D/libexec/postfix/main.cf %%PFETC%%/main.cf; then rm -f %%PFETC%%/main.cf; fi
-@unexec if cmp -s %D/libexec/postfix/master.cf %%PFETC%%/master.cf; then rm -f %%PFETC%%/master.cf; fi
+@unexec if cmp -s %D/libexec/postfix/main.cf.proto %%PFETC%%/main.cf; then rm -f %%PFETC%%/main.cf; fi
+@unexec if cmp -s %D/libexec/postfix/master.cf.proto %%PFETC%%/master.cf; then rm -f %%PFETC%%/master.cf; fi
 bin/mailq
 bin/newaliases
 %%TEST%%bin/qmqp-sink
@@ -13,7 +13,6 @@ etc/postfix/LICENSE
 etc/postfix/TLS_LICENSE
 etc/postfix/bounce.cf.default
 etc/postfix/main.cf.default
-etc/postfix/makedefs.out
 @cwd %%RESETPREFIX%%
 libexec/postfix/anvil
 libexec/postfix/bounce
@@ -24,9 +23,10 @@ libexec/postfix/error
 libexec/postfix/flush
 libexec/postfix/lmtp
 libexec/postfix/local
-libexec/postfix/main.cf
+libexec/postfix/main.cf.proto
+libexec/postfix/makedefs.out
 libexec/postfix/master
-libexec/postfix/master.cf
+libexec/postfix/master.cf.proto
 libexec/postfix/nqmgr
 libexec/postfix/oqmgr
 libexec/postfix/pickup
@@ -320,7 +320,8 @@ sbin/sendmail
 %%PORTDOCS%%%%DOCSDIR%%/verify.8.html
 %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html
 %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html
-@dirrm libexec/postfix
+@dirrmtry libexec/postfix/postfix-files.d
+@dirrmtry libexec/postfix
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @unexec rmdir "/var/db/postfix" >/dev/null 2>&1 || :
 @unexec rmdir "/var/spool/postfix/active" >/dev/null 2>&1 || :



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