Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2013 02:44:04 +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: r311090 - in head/mail/postfix: . files
Message-ID:  <201301280244.r0S2i4vG087822@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sahil
Date: Mon Jan 28 02:44:04 2013
New Revision: 311090
URL: http://svnweb.freebsd.org/changeset/ports/311090

Log:
  Update to 2.9.5 and revise the PKGINSTALL script to
  distinguish between upgrades and fresh installs. Also,
  mark BROKEN when users try to build WITH_LDAP_SASL but
  WITHOUT_SASL2.

Modified:
  head/mail/postfix/Makefile
  head/mail/postfix/distinfo
  head/mail/postfix/files/patch-src::util::sys_defs.h
  head/mail/postfix/files/pkg-install.in

Modified: head/mail/postfix/Makefile
==============================================================================
--- head/mail/postfix/Makefile	Mon Jan 28 01:27:03 2013	(r311089)
+++ head/mail/postfix/Makefile	Mon Jan 28 02:44:04 2013	(r311090)
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	postfix
-PORTVERSION=	2.9.4
-PORTREVISION=	2
+PORTVERSION=	2.9.5
 PORTEPOCH=	1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
@@ -21,7 +20,7 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	sahil@FreeBSD.org
 COMMENT=	A secure alternative to widely-used Sendmail
 
-VDAVERSION=	2.9.1
+VDAVERSION=	2.9.5
 CONFLICTS=	courier-0.* postfix-1.* postfix-2.[0-8].* postfix-base-2.[0-8].* \
 		postfix-current-2.* postfix-current-base-2.* sendmail-8.* \
 		sendmail+*-8.* smail-3.* zmailer-2.* opensmtpd-[0-9]*
@@ -220,6 +219,9 @@ POSTFIX_CCARGS+=	-DHAS_LDAP -I${LOCALBAS
 POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lldap -llber
 _REQUIRE+=		slapd
 .if defined(WITH_LDAP_SASL)
+.if !defined(WITH_SASL2)
+BROKEN=			Compile with Cyrus SASL to use LDAP_SASL
+.endif
 POSTFIX_CCARGS+=	-DUSE_LDAP_SASL
 .endif
 .endif

Modified: head/mail/postfix/distinfo
==============================================================================
--- head/mail/postfix/distinfo	Mon Jan 28 01:27:03 2013	(r311089)
+++ head/mail/postfix/distinfo	Mon Jan 28 02:44:04 2013	(r311090)
@@ -1,6 +1,6 @@
-SHA256 (postfix/postfix-2.9.4.tar.gz) = 58343afcc727594cc1f9a3980562d8199aa55fc2cf2330da6b9ddfbf31502679
-SIZE (postfix/postfix-2.9.4.tar.gz) = 3760718
+SHA256 (postfix/postfix-2.9.5.tar.gz) = 590381cc0705a6d3fd2279760e79aff625adab6000cb895cf5336ae6a11ee6e4
+SIZE (postfix/postfix-2.9.5.tar.gz) = 3761272
 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-vda-v11-2.9.1.patch) = 611283a932577944bcdde36e5fe1a80ca750a0a66eb5f3490666e2adafd2bf84
-SIZE (postfix/postfix-vda-v11-2.9.1.patch) = 55009
+SHA256 (postfix/postfix-vda-v11-2.9.5.patch) = df30379c456971a514ae5587531bb5cd8492921a6a27e6d23f5014a1434945aa
+SIZE (postfix/postfix-vda-v11-2.9.5.patch) = 55009

Modified: head/mail/postfix/files/patch-src::util::sys_defs.h
==============================================================================
--- head/mail/postfix/files/patch-src::util::sys_defs.h	Mon Jan 28 01:27:03 2013	(r311089)
+++ head/mail/postfix/files/patch-src::util::sys_defs.h	Mon Jan 28 02:44:04 2013	(r311090)
@@ -1,11 +1,11 @@
---- src/util/sys_defs.h.orig	2011-03-01 19:35:19.000000000 -0500
-+++ src/util/sys_defs.h	2011-03-01 19:36:54.000000000 -0500
+--- src/util/sys_defs.h.orig	2013-01-19 18:30:14.000000000 +0000
++++ src/util/sys_defs.h	2013-01-19 18:31:50.000000000 +0000
 @@ -25,7 +25,7 @@
    */
  #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
      || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
--    || defined(FREEBSD8) \
+-    || defined(FREEBSD8) || defined(FREEBSD9) \
 +    || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
      || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
      || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
-     || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
+     || defined(OPENBSD5) \

Modified: head/mail/postfix/files/pkg-install.in
==============================================================================
--- head/mail/postfix/files/pkg-install.in	Mon Jan 28 01:27:03 2013	(r311089)
+++ head/mail/postfix/files/pkg-install.in	Mon Jan 28 02:44:04 2013	(r311090)
@@ -65,11 +65,15 @@ if [ "$2" = "POST-INSTALL" ]; then
 		fi
 	done
 
-      /bin/sh ${DAEMONDIR}/post-install tempdir=/tmp \
-	daemon_directory=${DAEMONDIR} \
-	html_directory=${READMEDIR} \
-	readme_directory=${READMEDIR} \
-	upgrade-package
+        cmp ${DAEMONDIR}/main.cf ${ETCDIR}/main.cf >/dev/null 2>&1 \
+	 && POSTARG="set-permissions" \
+	 || POSTARG="upgrade-package"
+
+	/bin/sh ${DAEMONDIR}/post-install tempdir=/tmp \
+	 daemon_directory=${DAEMONDIR} \
+	 html_directory=${READMEDIR} \
+	 readme_directory=${READMEDIR} \
+	 ${POSTARG}
 fi
 
 if [ "$2" = "POST-INSTALL" -a -z "${PACKAGE_BUILDING}" -a -f "${MC}" ]; then



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