diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-06-20 01:32:20 +0000 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-06-20 01:32:20 +0000 |
commit | 57107bc798eae953bb55919d346efa9db2ffba53 (patch) | |
tree | ed0385fe45a616aead046668a78a4e0937f6396d /mail | |
parent | 88b0f2f948f953d64b5e56b8809678907fdfc594 (diff) | |
download | FreeBSD-ports-57107bc798eae953bb55919d346efa9db2ffba53.zip FreeBSD-ports-57107bc798eae953bb55919d346efa9db2ffba53.tar.gz |
Update to 1.1.11
PR: 3954
Submitted by: maintainer
Diffstat (limited to 'mail')
55 files changed, 275 insertions, 110 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix/pkg-install b/mail/postfix/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix/pkg-install +++ b/mail/postfix/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix/pkg-message b/mail/postfix/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix/pkg-message +++ b/mail/postfix/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix/scripts/configure.postfix b/mail/postfix/scripts/configure.postfix index fa70872..76c1729 100644 --- a/mail/postfix/scripts/configure.postfix +++ b/mail/postfix/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix1/Makefile b/mail/postfix1/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix1/Makefile +++ b/mail/postfix1/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix1/distinfo b/mail/postfix1/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix1/distinfo +++ b/mail/postfix1/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix1/pkg-install b/mail/postfix1/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix1/pkg-install +++ b/mail/postfix1/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix1/pkg-message b/mail/postfix1/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix1/pkg-message +++ b/mail/postfix1/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix1/scripts/configure.postfix b/mail/postfix1/scripts/configure.postfix index fd1d4b6..5e82ead 100644 --- a/mail/postfix1/scripts/configure.postfix +++ b/mail/postfix1/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix1/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix1/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix20/Makefile b/mail/postfix20/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix20/Makefile +++ b/mail/postfix20/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix20/distinfo b/mail/postfix20/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix20/distinfo +++ b/mail/postfix20/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix20/pkg-install b/mail/postfix20/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix20/pkg-install +++ b/mail/postfix20/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix20/pkg-message b/mail/postfix20/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix20/pkg-message +++ b/mail/postfix20/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix20/scripts/configure.postfix b/mail/postfix20/scripts/configure.postfix index 59895af..0c46a1e 100644 --- a/mail/postfix20/scripts/configure.postfix +++ b/mail/postfix20/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix21/Makefile b/mail/postfix21/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix21/Makefile +++ b/mail/postfix21/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix21/distinfo b/mail/postfix21/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix21/distinfo +++ b/mail/postfix21/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix21/pkg-install b/mail/postfix21/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix21/pkg-install +++ b/mail/postfix21/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix21/pkg-message b/mail/postfix21/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix21/pkg-message +++ b/mail/postfix21/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix21/scripts/configure.postfix b/mail/postfix21/scripts/configure.postfix index 32dc145..d25f543 100644 --- a/mail/postfix21/scripts/configure.postfix +++ b/mail/postfix21/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix22/Makefile b/mail/postfix22/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix22/Makefile +++ b/mail/postfix22/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix22/distinfo b/mail/postfix22/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix22/distinfo +++ b/mail/postfix22/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix22/pkg-install b/mail/postfix22/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix22/pkg-install +++ b/mail/postfix22/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix22/pkg-message b/mail/postfix22/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix22/pkg-message +++ b/mail/postfix22/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix22/scripts/configure.postfix b/mail/postfix22/scripts/configure.postfix index 8e25985..fc7f93f 100644 --- a/mail/postfix22/scripts/configure.postfix +++ b/mail/postfix22/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix23/Makefile b/mail/postfix23/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix23/Makefile +++ b/mail/postfix23/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix23/distinfo b/mail/postfix23/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix23/distinfo +++ b/mail/postfix23/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix23/pkg-install b/mail/postfix23/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix23/pkg-install +++ b/mail/postfix23/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix23/pkg-message b/mail/postfix23/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix23/pkg-message +++ b/mail/postfix23/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix23/scripts/configure.postfix b/mail/postfix23/scripts/configure.postfix index 1c23475..cd9ce64 100644 --- a/mail/postfix23/scripts/configure.postfix +++ b/mail/postfix23/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix24/Makefile b/mail/postfix24/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix24/Makefile +++ b/mail/postfix24/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix24/distinfo b/mail/postfix24/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix24/distinfo +++ b/mail/postfix24/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix24/pkg-install b/mail/postfix24/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix24/pkg-install +++ b/mail/postfix24/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix24/pkg-message b/mail/postfix24/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix24/pkg-message +++ b/mail/postfix24/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix24/scripts/configure.postfix b/mail/postfix24/scripts/configure.postfix index b8264ce..3da23d6 100644 --- a/mail/postfix24/scripts/configure.postfix +++ b/mail/postfix24/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix25/Makefile +++ b/mail/postfix25/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix25/distinfo b/mail/postfix25/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix25/distinfo +++ b/mail/postfix25/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix25/pkg-install b/mail/postfix25/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix25/pkg-install +++ b/mail/postfix25/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix25/pkg-message b/mail/postfix25/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix25/pkg-message +++ b/mail/postfix25/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix25/scripts/configure.postfix b/mail/postfix25/scripts/configure.postfix index 100c940..3eee034 100644 --- a/mail/postfix25/scripts/configure.postfix +++ b/mail/postfix25/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix26/Makefile b/mail/postfix26/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix26/Makefile +++ b/mail/postfix26/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix26/distinfo b/mail/postfix26/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix26/distinfo +++ b/mail/postfix26/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix26/pkg-install b/mail/postfix26/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix26/pkg-install +++ b/mail/postfix26/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix26/pkg-message b/mail/postfix26/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix26/pkg-message +++ b/mail/postfix26/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix26/scripts/configure.postfix b/mail/postfix26/scripts/configure.postfix index e83a9af..01d8828 100644 --- a/mail/postfix26/scripts/configure.postfix +++ b/mail/postfix26/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix27/Makefile +++ b/mail/postfix27/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix27/distinfo b/mail/postfix27/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix27/distinfo +++ b/mail/postfix27/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix27/pkg-install b/mail/postfix27/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix27/pkg-install +++ b/mail/postfix27/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix27/pkg-message b/mail/postfix27/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix27/pkg-message +++ b/mail/postfix27/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix27/scripts/configure.postfix b/mail/postfix27/scripts/configure.postfix index ce45499..416a6ec 100644 --- a/mail/postfix27/scripts/configure.postfix +++ b/mail/postfix27/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile index 26fb9d8..c894d27 100644 --- a/mail/postfix28/Makefile +++ b/mail/postfix28/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -PORTVERSION= 1.1.10 +PORTVERSION= 1.1.11 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix28/distinfo b/mail/postfix28/distinfo index a5c0d55..4390983 100644 --- a/mail/postfix28/distinfo +++ b/mail/postfix28/distinfo @@ -1,4 +1,4 @@ -MD5 (postfix/postfix-1.1.10.tar.gz) = 7041ed649b018346cd1a06074a87588d -MD5 (postfix/pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz) = e9052fd2f9a176a54facbad131442386 -MD5 (postfix/postfix-1.1.9+ipv6.patch.gz) = 6ac3b3e201d2d31d28542a3b5ad1d096 +MD5 (postfix/postfix-1.1.11.tar.gz) = b34bb2b5018327c19456a77814141208 +MD5 (postfix/pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz) = 82fc61f233f5edcece3baa749e53677d +MD5 (postfix/postfix-1.1.11+ipv6.patch.gz) = dc2a6362518025583a17305607eb8f0e MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba diff --git a/mail/postfix28/pkg-install b/mail/postfix28/pkg-install index 5acdbac..1ef1fb5 100644 --- a/mail/postfix28/pkg-install +++ b/mail/postfix28/pkg-install @@ -81,6 +81,20 @@ if [ x"$2" = xPRE-INSTALL ]; then exit 1 fi fi + + if /usr/sbin/pw show group mail | grep -q "${USER}" 2>/dev/null; then + echo "You already have user \"${USER}\" in group \"mail\", so I will use it." + else + echo "You need user \"${USER}\" added to group \"mail\"." + if yesno "Would you like me to add it" y; then + /usr/sbin/pw groupmod mail -m ${USER} || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + fi if [ x"$2" = xPOST-INSTALL ]; then diff --git a/mail/postfix28/pkg-message b/mail/postfix28/pkg-message index ba4a1f2..a7ae2b1 100644 --- a/mail/postfix28/pkg-message +++ b/mail/postfix28/pkg-message @@ -20,5 +20,6 @@ daily_submit_queuerun="NO" If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group cyrus and -making the /usr/local/etc/sasldb* file(s) owned by group cyrus. +the sasldb file. This is accomplished by adding postfix to group mail and +making the /usr/local/etc/sasldb* file(s) readable by group mail (this should +be the default for new installs). diff --git a/mail/postfix28/scripts/configure.postfix b/mail/postfix28/scripts/configure.postfix index a835b2a..e304833 100644 --- a/mail/postfix28/scripts/configure.postfix +++ b/mail/postfix28/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.22 2002-05-14 19:38:53 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.23 2002-06-20 01:32:20 dwcjr Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -82,8 +82,8 @@ while [ "$1" ]; do echo "MAN8+= tlsmgr.8" echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl" echo "POSTFIX_AUXLIBS+= -lssl -lcrypto" - echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.9-1.1.9-0.9.6d.tar.gz" - echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.9-1.1.9-0.9.6d/pfixtls.diff" + echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz" + echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.11a-1.1.11-0.9.6d/pfixtls.diff" echo "PATCH_STRIP= -p1" echo "TLS_SUFFIX= +tls" SUB_TLS="" @@ -131,7 +131,7 @@ while [ "$1" ]; do exit 1 fi echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/" - echo "PATCHFILES+= postfix-1.1.9+ipv6.patch.gz" + echo "PATCHFILES+= postfix-1.1.11+ipv6.patch.gz" echo "PATCH_DIST_STRIP= -p1" echo "IPv6_SUFFIX= +ipv6" echo "" |