diff options
author | ashish <ashish@FreeBSD.org> | 2013-03-27 22:58:56 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2013-03-27 22:58:56 +0800 |
commit | 3dfa0acf31752801740076122b52d3c3c80eb33b (patch) | |
tree | 3eac07ed315c959842abb4013e0b8da1df1c6a29 /mail | |
parent | 01770f72544fbcb3beedce8d601753942260ca63 (diff) | |
download | freebsd-ports-gnome-3dfa0acf31752801740076122b52d3c3c80eb33b.tar.gz freebsd-ports-gnome-3dfa0acf31752801740076122b52d3c3c80eb33b.tar.zst freebsd-ports-gnome-3dfa0acf31752801740076122b52d3c3c80eb33b.zip |
- Update to 5.3p1
- Bump PORTEPOCH
- Add additional USERS for privilege separation
- Add instructions for fixing permissions in pkg-message
- Add a note about privilege separation to UPDATING file
Changes: http://article.gmane.org/gmane.mail.opensmtpd.general/446
Diffstat (limited to 'mail')
-rw-r--r-- | mail/opensmtpd/Makefile | 10 | ||||
-rw-r--r-- | mail/opensmtpd/distinfo | 4 | ||||
-rw-r--r-- | mail/opensmtpd/files/pkg-message.in | 18 |
3 files changed, 25 insertions, 7 deletions
diff --git a/mail/opensmtpd/Makefile b/mail/opensmtpd/Makefile index 4bd7ea447a95..081dce06e7f3 100644 --- a/mail/opensmtpd/Makefile +++ b/mail/opensmtpd/Makefile @@ -6,7 +6,8 @@ # PORTNAME= opensmtpd -PORTVERSION= 201303011853 +PORTVERSION= 5.3 +PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.opensmtpd.org/archives/ \ http://distfiles.pirateparty.in/ashish/ @@ -24,21 +25,19 @@ OPTIONS_DEFINE= PAM OPTIONS_DEFAULT= PAM -WRKSRC= ${WRKDIR}/${PORTNAME}-5.2.xp1 - USE_AUTOTOOLS= autoconf:env automake:env libtool:env GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libevent-dir=${LOCALBASE} USE_RC_SUBR= smtpd -SUB_FILES= pkg-install pkg-deinstall +SUB_FILES= pkg-install pkg-deinstall pkg-message CONFLICTS= postfix-[0-9]* sendmail-[0-9]* MAN8= makemap.8 newaliases.8 smtpctl.8 smtpd.8 MAN5= smtpd.conf.5 aliases.5 forward.5 -USERS= _smtpd +USERS= _smtpd _smtpq _smtpf GROUPS= _smtpd .include <bsd.port.options.mk> @@ -59,6 +58,7 @@ pre-configure: post-install: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${CAT} ${PKGMESSAGE} post-deinstall: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-DEINSTALL diff --git a/mail/opensmtpd/distinfo b/mail/opensmtpd/distinfo index 503419fd2a1d..994556c72308 100644 --- a/mail/opensmtpd/distinfo +++ b/mail/opensmtpd/distinfo @@ -1,2 +1,2 @@ -SHA256 (opensmtpd-201303011853p1.tar.gz) = 7e3fbf22cbf62296efd2febb6933bd71d64bc5a436def536ce83344f32342f1a -SIZE (opensmtpd-201303011853p1.tar.gz) = 434541 +SHA256 (opensmtpd-5.3p1.tar.gz) = 618092f1f0b5aba5f8d4c933536a76d3a5a8e45c28b599a6420321cd4478f3d9 +SIZE (opensmtpd-5.3p1.tar.gz) = 335046 diff --git a/mail/opensmtpd/files/pkg-message.in b/mail/opensmtpd/files/pkg-message.in new file mode 100644 index 000000000000..52ac5365641b --- /dev/null +++ b/mail/opensmtpd/files/pkg-message.in @@ -0,0 +1,18 @@ +If you are upgrading from OpenSMTPD version 201303011853 or earlier, please +follow the procedure below to update the permissions on the OpenSMTPD +spool directories: + + 1. Stop 'smtpd' service: + + # %%PREFIX%%/etc/rc.d/smtpd stop + + 2. Update permissions: + + # chown -R _smtpq:wheel /var/spool/smtpd/corrupt + # chown -R _smtpq:wheel /var/spool/smtpd/purge + # chown -R _smtpq:wheel /var/spool/smtpd/queue + # chown -R _smtpq:wheel /var/spool/smtpd/temporary + + 3. Start 'smtpd' service: + + # %%PREFIX%%/etc/rc.d/smtpd start |