aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix27
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-07 03:59:29 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-07 03:59:29 +0800
commit89ee78e3fb4f619911ee8712c0d2cc958b73437c (patch)
tree80afbc859b5c4698dc0dc83133a6196161100401 /mail/postfix27
parent9b45a8fbc4f47b2360c80272d3367f6d3d1a6de2 (diff)
downloadfreebsd-ports-gnome-89ee78e3fb4f619911ee8712c0d2cc958b73437c.tar.gz
freebsd-ports-gnome-89ee78e3fb4f619911ee8712c0d2cc958b73437c.tar.zst
freebsd-ports-gnome-89ee78e3fb4f619911ee8712c0d2cc958b73437c.zip
Update to 1.1.8
Re-enable IPv6 with non official patch PR: 37798 Submitted by: maintainer
Diffstat (limited to 'mail/postfix27')
-rw-r--r--mail/postfix27/Makefile3
-rw-r--r--mail/postfix27/distinfo5
-rw-r--r--mail/postfix27/pkg-install13
-rw-r--r--mail/postfix27/scripts/configure.postfix29
4 files changed, 24 insertions, 26 deletions
diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile
index 793fe9f6c906..cbf06a2ebf93 100644
--- a/mail/postfix27/Makefile
+++ b/mail/postfix27/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postfix
-PORTVERSION= 1.1.7
+PORTVERSION= 1.1.8
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
@@ -112,6 +112,7 @@ post-install:
# if we run etc/postfix/post-install again during package installation,
# it will complain about missing files.
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/fix-files-list
+ @${CAT} ${PKGMESSAGE}
post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
diff --git a/mail/postfix27/distinfo b/mail/postfix27/distinfo
index 30bce4748ba1..9d93ab04e030 100644
--- a/mail/postfix27/distinfo
+++ b/mail/postfix27/distinfo
@@ -1,2 +1,3 @@
-MD5 (postfix/postfix-1.1.7.tar.gz) = 320ea040f13c084a5e8bea680b422e06
-MD5 (postfix/pfixtls-0.8.7-1.1.6-0.9.6c.tar.gz) = 578ade33d4d5475c55c31041857cc6f1
+MD5 (postfix/postfix-1.1.8.tar.gz) = 3b07a59e8bdb46af8c1d82f085a62d73
+MD5 (postfix/pfixtls-0.8.7-1.1.7-0.9.6c.tar.gz) = a00656e4e7fd1e4827c3e805799d2359
+MD5 (postfix/postfix-1.1.7+ipv6.patch.gz) = 9564e8e1e3ddfb885bb1ffaaf75c670b
diff --git a/mail/postfix27/pkg-install b/mail/postfix27/pkg-install
index 8ecea1626d2b..5acdbac8d974 100644
--- a/mail/postfix27/pkg-install
+++ b/mail/postfix27/pkg-install
@@ -143,19 +143,6 @@ if [ x"$2" = xPOST-INSTALL -a -z "${PACKAGE_BUILDING}" ]; then
echo "send-mail ${PKG_PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
echo "mailq ${PKG_PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
echo "newaliases ${PKG_PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
- cat <<'EOM'
-To enable postfix to start at boot time, please set these variables in
-your /etc/rc.conf file:
-
-sendmail_enable="YES"
-sendmail_flags="-bd"
-sendmail_outbound_enable="NO"
-sendmail_submit_enable="NO"
-sendmail_msp_queue_enable="NO"
-
-This will disable Sendmail completely.
-
-EOM
fi
else
if yesno "Would you like to replace {sendmail,mailq,newaliases} with Postfix versions" n; then
diff --git a/mail/postfix27/scripts/configure.postfix b/mail/postfix27/scripts/configure.postfix
index 8591538a954f..0b4ffd67acea 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.19 2002-04-01 18:01:27 dwcjr Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.20 2002-05-06 19:59:29 dwcjr Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@@ -20,7 +20,7 @@ MySQL "MySQL map lookups" OFF \
OpenLDAP "OpenLDAP map lookups" OFF \
Test "SMTP/LMTP test server and generator" OFF \
TLS "Secure Sockets Layer and Transport Layer Security" OFF \
-IPv6 "IPv6 support (CURRENTLY BROKEN)" OFF \
+IPv6 "IPv6 support (not KAME official)" OFF \
2> $tempfile
retval=$?
@@ -55,12 +55,14 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libpcre.a:\${PORTSDIR}/devel/pcre"
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libpcre.a"
+ echo "PCRE_SUFFIX= +pcre"
SUB_PCRE=""
;;
\"SASL\")
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libsasl.a:\${PORTSDIR}/security/cyrus-sasl"
echo "POSTFIX_CCARGS+= -DUSE_SASL_AUTH -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libsasl.a -lpam -lcrypt"
+ echo "SASL_SUFFIX= +sasl"
if [ -f ${PREFIX}/lib/libsasl.a ]; then
if nm ${PREFIX}/lib/libsasl.a | grep -wq "mysql_verify_password"; then
echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql"
@@ -79,34 +81,35 @@ 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.7-1.1.6-0.9.6c.tar.gz"
- echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.7-1.1.6-0.9.6c/pfixtls.diff"
+ echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.7-1.1.7-0.9.6c.tar.gz"
+ echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.7-1.1.7-0.9.6c/pfixtls.diff"
echo "PATCH_STRIP= -p1"
+ echo "TLS_SUFFIX= +tls"
SUB_TLS=""
;;
\"DB3\")
echo "LIB_DEPENDS+= db3.2:\${PORTSDIR}/databases/db3"
echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3"
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3"
+ echo "DB3_SUFFIX= +db3"
;;
\"MySQL\")
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql323-client"
echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
+ echo "MYSQL_SUFFIX= +mysql"
;;
\"OpenLDAP\")
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libldap.a \${PREFIX}/lib/liblber.a"
+ echo "OPENLDAP_SUFFIX= +openldap"
;;
\"Test\")
echo "BIN1= smtp-sink smtp-source"
SUB_TEST=""
;;
\"IPv6\")
- /usr/bin/dialog --msgbox "IPv6 is currently broken until kame updates patches" 5 60 > /dev/stderr
- rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
- exit 1
if [ `uname -m` != "i386" ]; then
/usr/bin/dialog --msgbox "IPv6 patch currently only supported on i386!" 5 60 > /dev/stderr
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
@@ -117,10 +120,10 @@ while [ "$1" ]; do
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
exit 1
fi
- echo "PATCH_SITES+= ftp://ftp.kame.net/pub/kame/misc/"
- echo "PATCH_SITES+= \${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/kame/misc/&,}"
- echo "PATCHFILES+= postfix-20010225snap-v6-20010228a.diff.gz"
+ echo "PATCH_SITES+= http://www.cyber-magic.org/~taka/misc/"
+ echo "PATCHFILES+= postfix-1.1.7+ipv6.patch.gz"
echo "PATCH_DIST_STRIP= -p1"
+ echo "IPv6_SUFFIX= +ipv6"
echo ""
;;
*)
@@ -134,3 +137,9 @@ done
echo "PLIST_SUB+= SUB_TLS=\"${SUB_TLS}\""
echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
+
+# for some reason, if we alter the pkg name this way, the first build (where
+# we ask the configure questions) doesn't pick up the extensions, but
+# any subsequent build will. so "make; make install" will build twice.
+# don't do this for now.
+#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB3_SUFFIX}\${MYSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"