aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix26
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-04-15 15:44:41 +0800
committerleeym <leeym@FreeBSD.org>2003-04-15 15:44:41 +0800
commit31f2df98cd2abf4e847961e76ecc2a55bb7aa523 (patch)
tree64ff5f6dc9001370c0eb2b12ec5dcdcd97795415 /mail/postfix26
parentdcebed9544342270284151c404e8a3446a0f3061 (diff)
downloadfreebsd-ports-gnome-31f2df98cd2abf4e847961e76ecc2a55bb7aa523.tar.gz
freebsd-ports-gnome-31f2df98cd2abf4e847961e76ecc2a55bb7aa523.tar.zst
freebsd-ports-gnome-31f2df98cd2abf4e847961e76ecc2a55bb7aa523.zip
update postfix to 2.0.7
1. SSL linking fix 2. specific openldap depedency (ports/48621) 3. Kerberos linking fix PR: 50964 Submitted by: Vivek Khera <khera@kcilink.com> Obtained from: 1. dirk.meyer@dinoex.sub.org 2. Christian Kratzer <ck@cksoft.de> 3. Miles Egan <miles@caddr.com>
Diffstat (limited to 'mail/postfix26')
-rw-r--r--mail/postfix26/Makefile2
-rw-r--r--mail/postfix26/distinfo6
-rw-r--r--mail/postfix26/scripts/configure.postfix44
3 files changed, 34 insertions, 18 deletions
diff --git a/mail/postfix26/Makefile b/mail/postfix26/Makefile
index 8e805122bc8a..4e1b98538f6f 100644
--- a/mail/postfix26/Makefile
+++ b/mail/postfix26/Makefile
@@ -15,7 +15,7 @@
# NOTE: PCRE is enabled by default unless you specifically disable it.
PORTNAME= postfix
-PORTVERSION= 2.0.6
+PORTVERSION= 2.0.7
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 67eb13e955c1..7dee132275d5 100644
--- a/mail/postfix26/distinfo
+++ b/mail/postfix26/distinfo
@@ -1,4 +1,4 @@
MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 5a0aa5ef6a231a593eb6c5628236a3e4
-MD5 (postfix/postfix-2.0.6.tar.gz) = 31a49ed9970cd2abe63e4d3d7851e5f7
-MD5 (postfix/pfixtls-0.8.13-2.0.3-0.9.7.tar.gz) = 72ff441a6e43bf00a8a1d8691ffae1de
-MD5 (postfix/tls+ipv6-1.12-pf-2.0.3.patch.gz) = 7eb7b6dd6d651f722e5da7dc3aa43cc1
+MD5 (postfix/postfix-2.0.7.tar.gz) = 38697ae27e80fe83352aa04ec6175dd4
+MD5 (postfix/tls+ipv6-1.13-pf-2.0.7.patch.gz) = b2bec23a55360ac5bfa55426ecb5f1e3
+MD5 (postfix/pfixtls-0.8.13-2.0.6-0.9.7a.tar.gz) = 42e3c15c5d9b59eb4cd15304f9c11627
diff --git a/mail/postfix26/scripts/configure.postfix b/mail/postfix26/scripts/configure.postfix
index edf3954f2338..c9775abd0869 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.31 2003-03-04 07:31:25 leeym Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.32 2003-04-15 07:44:41 leeym Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@@ -30,7 +30,9 @@ DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \
DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \
MySQL "MySQL map lookups" "$status_MySQL" \
PgSQL "PostgreSQL map lookups" "$status_PgSQL" \
-OpenLDAP "OpenLDAP map lookups" "$status_OpenLDAP" \
+OpenLDAP12 "OpenLDAP 1.2 map lookups" "$status_OpenLDAP" \
+OpenLDAP20 "OpenLDAP 2.0 map lookups" "$status_OpenLDAP" \
+OpenLDAP21 "OpenLDAP 2.1 map lookups" "$status_OpenLDAP" \
Test "SMTP/LMTP test server and generator" "$status_Test" \
2> $tempfile
@@ -82,7 +84,7 @@ while [ "$1" ]; do
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
fi
echo ".if exists(/usr/lib/libkrb.a)"
- echo "POSTFIX_AUXLIBS+= -lkrb -lcrypto -lcom_err"
+ echo "POSTFIX_AUXLIBS+= -lkrb -lcrypto -ldes -lcom_err"
echo ".endif"
SUB_SASL=""
;;
@@ -101,16 +103,17 @@ while [ "$1" ]; do
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
fi
echo ".if exists(/usr/lib/libkrb.a)"
- echo "POSTFIX_AUXLIBS+= -lkrb -lcrypto -lcom_err"
+ echo "POSTFIX_AUXLIBS+= -lkrb -lcrypto -ldes -lcom_err"
echo ".endif"
SUB_SASL=""
;;
TLS)
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.13-2.0.3-0.9.7.tar.gz"
- echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.13-2.0.3-0.9.7/pfixtls.diff"
+ echo "USE_OPENSSL= yes"
+ echo "POSTFIX_CCARGS+= -DHAS_SSL -I\${OPENSSLINC}"
+ echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} -lssl -lcrypto"
+ echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.13-2.0.6-0.9.7a.tar.gz"
+ echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.13-2.0.6-0.9.7a/pfixtls.diff"
echo "PATCH_STRIP= -p1"
echo "TLS_SUFFIX= +tls"
SUB_TLS=""
@@ -167,11 +170,23 @@ while [ "$1" ]; do
echo "PATCHFILES+= postfix-pg.postfix-2.0.0.2.patch"
echo "PATCH_DIST_STRIP= -p1"
;;
- OpenLDAP)
+ OpenLDAP12)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap12"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libldap.a \${PREFIX}/lib/liblber.a"
- echo "OPENLDAP_SUFFIX= +openldap"
+ echo "OPENLDAP_SUFFIX= +openldap12"
+ ;;
+ OpenLDAP20)
+ echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
+ echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
+ echo "POSTFIX_AUXLIBS+= -lldap -llber"
+ echo "OPENLDAP_SUFFIX= +openldap20"
+ ;;
+ OpenLDAP21)
+ echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
+ echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
+ echo "POSTFIX_AUXLIBS+= -lldap -llber"
+ echo "OPENLDAP_SUFFIX= +openldap21"
;;
Test)
echo "BIN1= smtp-sink smtp-source"
@@ -202,10 +217,11 @@ while [ "$1" ]; do
exit 1
fi
echo "MAN8+= tlsmgr.8"
- echo "POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl"
- echo "POSTFIX_AUXLIBS+= -lssl -lcrypto"
- echo "PATCH_SITES+= ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.12/"
- echo "PATCHFILES+= tls+ipv6-1.12-pf-2.0.3.patch.gz"
+ echo "USE_OPENSSL= yes"
+ echo "POSTFIX_CCARGS+= -DHAS_SSL -I\${OPENSSLINC}"
+ echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} -lssl -lcrypto"
+ echo "PATCH_SITES+= ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.13/"
+ echo "PATCHFILES+= tls+ipv6-1.13-pf-2.0.7.patch.gz"
echo "PATCH_DIST_STRIP= -p1"
echo "TLS_SUFFIX= +tls+ipv6"
SUB_TLS=""