diff options
Diffstat (limited to 'mail/postfix/files')
-rw-r--r-- | mail/postfix/files/patch-src::util::sys_defs.h | 8 | ||||
-rw-r--r-- | mail/postfix/files/pkg-install.in | 14 |
2 files changed, 13 insertions, 9 deletions
diff --git a/mail/postfix/files/patch-src::util::sys_defs.h b/mail/postfix/files/patch-src::util::sys_defs.h index a13c320759ff..bc27051815d6 100644 --- a/mail/postfix/files/patch-src::util::sys_defs.h +++ b/mail/postfix/files/patch-src::util::sys_defs.h @@ -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) \ diff --git a/mail/postfix/files/pkg-install.in b/mail/postfix/files/pkg-install.in index f8d9a47206fc..92185a153fc7 100644 --- a/mail/postfix/files/pkg-install.in +++ b/mail/postfix/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 |