diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-06 19:59:29 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-06 19:59:29 +0000 |
commit | 60532c8c60c73ebda29a7cf5445772530c5c6f12 (patch) | |
tree | 89378504c9023e591189346cd0dbbb211a0cf726 /mail/postfix20 | |
parent | Allow gnomevfs to find charset.alias. This should fix some recent (diff) |
Update to 1.1.8
Re-enable IPv6 with non official patch
PR: 37798
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=58621
Diffstat (limited to 'mail/postfix20')
-rw-r--r-- | mail/postfix20/Makefile | 3 | ||||
-rw-r--r-- | mail/postfix20/distinfo | 5 | ||||
-rw-r--r-- | mail/postfix20/pkg-install | 13 | ||||
-rw-r--r-- | mail/postfix20/scripts/configure.postfix | 29 |
4 files changed, 24 insertions, 26 deletions
diff --git a/mail/postfix20/Makefile b/mail/postfix20/Makefile index 793fe9f6c906..cbf06a2ebf93 100644 --- a/mail/postfix20/Makefile +++ b/mail/postfix20/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/postfix20/distinfo b/mail/postfix20/distinfo index 30bce4748ba1..9d93ab04e030 100644 --- a/mail/postfix20/distinfo +++ b/mail/postfix20/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/postfix20/pkg-install b/mail/postfix20/pkg-install index 8ecea1626d2b..5acdbac8d974 100644 --- a/mail/postfix20/pkg-install +++ b/mail/postfix20/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/postfix20/scripts/configure.postfix b/mail/postfix20/scripts/configure.postfix index 4704833ffe44..b473c5f10354 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.19 2002-04-01 18:01:27 dwcjr Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/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}" |