summaryrefslogtreecommitdiff
path: root/mail/postfix-current
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2012-11-05 02:19:57 +0000
committerSahil Tandon <sahil@FreeBSD.org>2012-11-05 02:19:57 +0000
commit714053470acfd9200aa4371ec77fda6c8b60d7fb (patch)
tree7881e598d71e2a76b45e82737162b05a1fb0b743 /mail/postfix-current
parentUpdate port to the 3.5.18 version (diff)
Update to Postfix 2.10 Snapshot 20121031 and document
incompatible changes in UPDATING. Also, revise the PKGINSTALL script to distinguish upgrades from fresh installs. Feature safe: yes
Notes
Notes: svn path=/head/; revision=306992
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/Makefile2
-rw-r--r--mail/postfix-current/distinfo4
-rw-r--r--mail/postfix-current/files/pkg-install.in14
3 files changed, 12 insertions, 8 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index d0c4fae526bb..06787864635d 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postfix
-DISTVERSION= 2.10-20120801
+DISTVERSION= 2.10-20121031
PORTEPOCH= 4
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index f751b9676e37..fa797a67082d 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1,4 +1,4 @@
-SHA256 (postfix/postfix-2.10-20120801.tar.gz) = b0f076e0fae9faaa7302f66e693f1485a2d6c47c6174f697f64df37821756bd6
-SIZE (postfix/postfix-2.10-20120801.tar.gz) = 3784702
+SHA256 (postfix/postfix-2.10-20121031.tar.gz) = 665a707181b7a32848c96f0609d1c450bd0aefeb4246a70bdb69975e33dd06c5
+SIZE (postfix/postfix-2.10-20121031.tar.gz) = 3814909
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
diff --git a/mail/postfix-current/files/pkg-install.in b/mail/postfix-current/files/pkg-install.in
index de71fede9e18..239363f04308 100644
--- a/mail/postfix-current/files/pkg-install.in
+++ b/mail/postfix-current/files/pkg-install.in
@@ -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