ports/52511: update of postfix-current port

Ben Rosengart ben at narcissus.net
Thu Jun 5 16:10:13 UTC 2003


The following reply was made to PR ports/52511; it has been noted by GNATS.

From: Ben Rosengart <ben at narcissus.net>
To: Stefan `Sec` Zehl <sec at 42.org>
Cc: Vivek Khera <vivek at khera.org>, freebsd-gnats-submit at FreeBSD.org,
	Ben Rosengart <gnats at narcissus.net>
Subject: Re: ports/52511: update of postfix-current port
Date: Thu, 5 Jun 2003 12:09:15 -0400

 --LQksG6bCIzRHxTLp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Thu, Jun 05, 2003 at 05:56:24PM +0200, Stefan `Sec` Zehl wrote:
 > 
 > The last mail in this PR speaks of an attached patchset which is missing
 > (at least from the web interface).
 
 I've regenerated it and attached it to this message.
  
 > The latest patchest in the PR is missing a few things, namely an updated
 > scripts/configure.postfix (the patchnames are different for the
 > experimental releases) and the MD5sums in the distinfo file.
 
 My patchset only addresses the basic functionality, not TLS or any of
 the other optional add-ons.
 
 > I can send a patch for these, if needed.
 
 I would appreciate it.
 
 > In any case, I hope this is going to be completed and committed soon :)
 
 I don't have a commit bit, so it's pretty much out of my hands.
 
 -- 
  Ben Rosengart                                          ben at narcissus.net
        "Young people should be seen and not heard, because they're
         good-looking but not too bright.  We're pretty bright now,
         but we're ugly." -- Grace Slick on the '60s youth movement
 
 --LQksG6bCIzRHxTLp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=postfix-patch
 
 diff -ru /usr/ports/mail/postfix-current/Makefile postfix-current/Makefile
 --- /usr/ports/mail/postfix-current/Makefile	Sat Feb 22 04:54:30 2003
 +++ postfix-current/Makefile	Thu May 22 18:34:33 2003
 @@ -7,14 +7,15 @@
  
  # To pre-select options in batch mode, run make like this:
  #
 -#  make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
 +#  make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
  #
  # the options are the same names as in the scripts/configure.postfix file.
  # POSTFIX_OPTIONS can be set in /etc/make.conf also.
  
 +# NOTE: PCRE is enabled by default unless you specifically disable it.
 +
  PORTNAME=	postfix
 -PORTVERSION=	1.1.11-20021115
 -#PORTREVISION=	1
 +PORTVERSION=	2.0.10-20030521
  PORTEPOCH=	1
  CATEGORIES=	mail ipv6
  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
 @@ -27,7 +28,7 @@
  DISTNAME=	postfix-${PORTVERSION}
  DIST_SUBDIR=	${PORTNAME}
  
 -MAINTAINER=	khera at kciLink.com
 +MAINTAINER=	ben+postfix-current at narcissus.net
  COMMENT=	An alternative to widely-used Sendmail
  
  USE_SUBMAKE=	yes
 @@ -41,8 +42,8 @@
  	relocated.5 transport.5 virtual.5
  
  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
 -	master.8 nqmgr.8 pickup.8 pipe.8 qmgr.8 qmqpd.8 showq.8 smtp.8 \
 -	smtpd.8 spawn.8 trivial-rewrite.8 virtual.8
 +	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \
 +	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8
  
  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to
  # patch it.
 @@ -71,6 +72,15 @@
  .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
  .endif
  
 +.if defined(WITHOUT_PCRE)
 +POSTFIX_CCARGS+=	-DNO_PCRE
 +.else
 +LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
 +POSTFIX_CCARGS+=	-DHAS_PCRE -I${LOCALBASE}/include
 +POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lpcre
 +.endif
 +
 +
  post-patch:
  	(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
  	CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
 @@ -107,7 +117,7 @@
  .endif
  
  do-install:
 -	cd ${WRKSRC}; sh postfix-install -non-interactive install_root=/ tempdir=/tmp \
 +	cd ${WRKSRC}; ${SH} postfix-install -non-interactive install_root=/ tempdir=/tmp \
  	 config_directory=${PREFIX}/etc/postfix \
  	 daemon_directory=${PREFIX}/libexec/postfix \
  	 command_directory=${PREFIX}/sbin \
 diff -ru /usr/ports/mail/postfix-current/Makefile.inc postfix-current/Makefile.inc
 --- /usr/ports/mail/postfix-current/Makefile.inc	Mon Apr  7 13:29:51 2003
 +++ postfix-current/Makefile.inc	Fri May 23 19:42:48 2003
 @@ -1,7 +1,3 @@
  PREFIX=	/usr/local
 -LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
 -POSTFIX_CCARGS+=	-DHAS_PCRE -I${LOCALBASE}/include
 -POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lpcre
 -PCRE_SUFFIX=	+pcre
  PLIST_SUB+=	SUB_TLS="@comment "
  PLIST_SUB+=	SUB_TEST="@comment "
 diff -ru /usr/ports/mail/postfix-current/distinfo postfix-current/distinfo
 --- /usr/ports/mail/postfix-current/distinfo	Sat Nov 23 04:22:58 2002
 +++ postfix-current/distinfo	Thu May 22 18:35:15 2003
 @@ -1,4 +1 @@
 -MD5 (postfix/postfix-1.1.11-20021115.tar.gz) = dd3c98b616844a3548049bbaa418c296
 -MD5 (postfix/pfixtls-0.8.11a-1.1.11-20021031-0.9.6g.tar.gz) = 1fc29989315ab5570486929c24187626
 -MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba
 -MD5 (postfix/tls+ipv6-1.8-pf-1.1.11-20021115.patch) = f01d9a0e28fb3d1a59614f2093ad24f3
 +MD5 (postfix/postfix-2.0.10-20030521.tar.gz) = 2c04b067663187b3da6c6d0040efda70
 diff -ru /usr/ports/mail/postfix-current/pkg-message postfix-current/pkg-message
 --- /usr/ports/mail/postfix-current/pkg-message	Wed May  8 15:52:54 2002
 +++ postfix-current/pkg-message	Thu May 22 11:31:00 2003
 @@ -10,15 +10,31 @@
  
  This will disable Sendmail completely.
  
 +Alternatively to the above settings, you can enable postfix to start with
 +the other local services, for example, after your database server starts if
 +you need it to be running for postfix.  To do this, set in your rc.conf file:
  
 -Also, you may wish to disable some Sendmail-specific daily maintenance
 +sendmail_enable="NONE"                                
 +
 +Then make the following symbolic link:
 +
 +cd /usr/local/etc/rc.d
 +ln -s /usr/local/sbin/postfix postfix.sh
 +
 +
 +Also, you will want to disable some Sendmail-specific daily maintenance
  routines in your /etc/periodic.conf file:
  
 +daily_clean_hoststat_enable="NO"
  daily_status_mail_rejects_enable="NO"                                      
  daily_status_include_submit_mailq="NO"
  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).
 +
 +If you are upgrading from postfix version prior to 2.0, please see the README
 +files for recommended changes to your configuration.
 diff -ru /usr/ports/mail/postfix-current/pkg-plist postfix-current/pkg-plist
 --- /usr/ports/mail/postfix-current/pkg-plist	Sat Feb 22 04:54:30 2003
 +++ postfix-current/pkg-plist	Thu May 22 17:30:54 2003
 @@ -37,6 +37,7 @@
  etc/postfix/sample-pcre-access.cf
  etc/postfix/sample-pcre-body.cf
  etc/postfix/sample-pcre-header.cf
 +etc/postfix/sample-pgsql-aliases.cf
  etc/postfix/sample-qmqpd.cf
  etc/postfix/sample-rate.cf
  etc/postfix/sample-regexp-access.cf
 @@ -45,11 +46,13 @@
  etc/postfix/sample-relocated.cf
  etc/postfix/sample-resource.cf
  etc/postfix/sample-rewrite.cf
 +etc/postfix/sample-scheduler.cf
  etc/postfix/sample-smtp.cf
  etc/postfix/sample-smtpd.cf
  etc/postfix/sample-transport.cf
  etc/postfix/sample-virtual.cf
  etc/postfix/sample-transport
 +etc/postfix/sample-verify.cf
  etc/postfix/sample-virtual
  %%SUB_TLS%%etc/postfix/sample-tls.cf
  libexec/postfix/bounce
 @@ -62,6 +65,7 @@
  libexec/postfix/nqmgr
  libexec/postfix/pickup
  libexec/postfix/pipe
 +libexec/postfix/proxymap
  libexec/postfix/qmgr
  libexec/postfix/qmqpd
  libexec/postfix/showq
 @@ -69,6 +73,7 @@
  libexec/postfix/smtpd
  libexec/postfix/spawn
  libexec/postfix/trivial-rewrite
 +libexec/postfix/verify
  libexec/postfix/virtual
  %%SUB_TLS%%libexec/postfix/tlsmgr
  sbin/postalias
 @@ -87,6 +92,8 @@
  bin/mailq
  %%SUB_TEST%%sbin/smtp-sink
  %%SUB_TEST%%sbin/smtp-source
 +%%PORTDOCS%%share/doc/postfix/ADDRESS_CLASS_README
 +%%PORTDOCS%%share/doc/postfix/ADDRESS_VERIFICATION_README
  %%PORTDOCS%%share/doc/postfix/DB_README
  %%PORTDOCS%%share/doc/postfix/DEBUG_README
  %%PORTDOCS%%share/doc/postfix/ETRN_README
 @@ -94,15 +101,19 @@
  %%PORTDOCS%%share/doc/postfix/INSTALL
  %%PORTDOCS%%share/doc/postfix/LDAP_README
  %%PORTDOCS%%share/doc/postfix/LINUX_README
 +%%PORTDOCS%%share/doc/postfix/LOCAL_RECIPIENT_README
  %%PORTDOCS%%share/doc/postfix/LMTP_README
  %%PORTDOCS%%share/doc/postfix/MACOSX_README
 +%%PORTDOCS%%share/doc/postfix/MAILDROP_README
  %%PORTDOCS%%share/doc/postfix/MYSQL_README
  %%PORTDOCS%%share/doc/postfix/NFS_README
  %%PORTDOCS%%share/doc/postfix/PACKAGE_README
  %%PORTDOCS%%share/doc/postfix/PCRE_README
  %%PORTDOCS%%share/doc/postfix/QMQP_README
 +%%PORTDOCS%%share/doc/postfix/RELEASE_NOTES
  %%PORTDOCS%%share/doc/postfix/RESTRICTION_CLASS_README
  %%PORTDOCS%%share/doc/postfix/SASL_README
 +%%PORTDOCS%%share/doc/postfix/SCHEDULER_README
  %%PORTDOCS%%share/doc/postfix/ULTRIX_README
  %%PORTDOCS%%share/doc/postfix/UUCP_README
  %%PORTDOCS%%share/doc/postfix/VERP_README
 @@ -148,6 +159,7 @@
  %%PORTDOCS%%share/doc/postfix/postmap.1.html
  %%PORTDOCS%%share/doc/postfix/postqueue.1.html
  %%PORTDOCS%%share/doc/postfix/postsuper.1.html
 +%%PORTDOCS%%share/doc/postfix/proxymap.8.html
  %%PORTDOCS%%share/doc/postfix/qmgr.8.html
  %%PORTDOCS%%share/doc/postfix/qmqpd.8.html
  %%PORTDOCS%%share/doc/postfix/queuing.html
 diff -ru /usr/ports/mail/postfix-current/scripts/configure.postfix postfix-current/scripts/configure.postfix
 --- /usr/ports/mail/postfix-current/scripts/configure.postfix	Sat Mar  1 04:25:28 2003
 +++ postfix-current/scripts/configure.postfix	Thu May 22 17:32:01 2003
 @@ -1,5 +1,5 @@
  #!/bin/sh
 -# $FreeBSD: ports/mail/postfix-current/scripts/configure.postfix,v 1.43 2003/02/24 02:26:52 edwin Exp $
 +# $FreeBSD: ports/mail/postfix/scripts/configure.postfix,v 1.33 2003/05/12 21:02:53 obraun Exp $
  
  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
  	exit
 @@ -9,8 +9,6 @@
  
  if [ "${POSTFIX_OPTIONS}" ]; then
  	set ${POSTFIX_OPTIONS}
 -else
 -	set PCRE
  fi
  
  for i; do
 @@ -21,17 +19,21 @@
  	/usr/bin/dialog --title "Postfix configuration options" --clear \
  		--checklist "\n\
  Please select desired options:" -1 -1 16 \
 -PCRE		"Perl Compatible Regular Expressions" "$status_PCRE" \
 +NOPCRE		"DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
  SASL		"Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
  SASL2		"Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
 +TLS		"SSL and TLS" "$status_TLS" \
 +IPv6		"IPv6 support" "$status_IPv6" \
 +IPv6TLS		"IPv6 support with SSL and TLS" "$status_IPv6TLS" \
  DB3		"Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \
 +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" \
 -TLS		"SSL and TLS" "$status_TLS" \
 -IPv6		"IPv6 support (currently broken)" "$status_IPv6" \
 -IPv6TLS		"IPv6 support with SSL and TLS" "$status_IPv6TLS" \
  2> $tempfile
  
  	retval=$?
 @@ -62,12 +64,10 @@
  
  while [ "$1" ]; do
  	case $1 in
 -		PCRE)
 -			echo "LIB_DEPENDS+=	pcre.0:\${PORTSDIR}/devel/pcre"
 -			echo "POSTFIX_CCARGS+=	-DHAS_PCRE -I\${LOCALBASE}/include"
 -			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -lpcre"
 -			echo "PCRE_SUFFIX=	+pcre"
 -			SUB_PCRE=""
 +		NOPCRE)
 +			echo "WITHOUT_PCRE=	yes"
 +			echo "NOPCRE_SUFFIX=	+nopcre"
 +			SUB_NOPCRE=""
  			;;
                  SASL)
                          echo "LIB_DEPENDS+=     sasl.8:\${PORTSDIR}/security/cyrus-sasl"
 @@ -84,7 +84,7 @@
                                  echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
                          fi
                          echo ".if exists(/usr/lib/libkrb.a)"
 -                        echo "POSTFIX_AUXLIBS+= -lkrb -ldes -lcom_err"
 +                        echo "POSTFIX_AUXLIBS+= -lkrb -lcrypto -lcom_err"
                          echo ".endif"
                          SUB_SASL=""
                          ;;
 @@ -103,25 +103,56 @@
  				echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
  			fi
  			echo ".if exists(/usr/lib/libkrb.a)"
 -			echo "POSTFIX_AUXLIBS+=	-lkrb -ldes -lcom_err"
 +			echo "POSTFIX_AUXLIBS+=	-lkrb -lcrypto -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.11a-1.1.11-20021031-0.9.6g.tar.gz"
 -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.11a-1.1.11-20021031-0.9.6g/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.9-0.9.7b.tar.gz"
 +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.13-2.0.9-0.9.7b/pfixtls.diff"
  			echo "PATCH_STRIP=	-p1"
  			echo "TLS_SUFFIX=	+tls"
  			SUB_TLS=""
  			;;
  		DB3)
 +			if [ X$DB40_SELECTED != "X" -o X$DB41_SELECTED != "X" ]; then
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40 and DB41 options." 5 60 > /dev/stderr
 +				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
 +				exit 1
 +			fi
  			echo "LIB_DEPENDS+=	db3.3:\${PORTSDIR}/databases/db3"
  			echo "POSTFIX_CCARGS+=	-I\${LOCALBASE}/include/db3"
  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -ldb3"
 -			echo "DB3_SUFFIX=	+db3"
 +			echo "DB_SUFFIX=	+db3"
 +			DB3_SELECTED="YES"
 +			;;
 +		DB40)
 +			if [ X$DB3_SELECTED != "X" -o X$DB41_SELECTED != "X" ]; then
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40 and DB41 options." 5 60 > /dev/stderr
 +				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
 +				exit 1
 +			fi
 +			echo "LIB_DEPENDS+=	db4.0:\${PORTSDIR}/databases/db4"
 +			echo "POSTFIX_CCARGS+=	-I\${LOCALBASE}/include/db4"
 +			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -ldb4"
 +			echo "DB_SUFFIX=	+db40"
 +			DB40_SELECTED="YES"
 +			;;
 +		DB41)
 +			if [ X$DB3_SELECTED != "X" -o X$DB40_SELECTED != "X" ]; then
 +				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40 and DB41 options." 5 60 > /dev/stderr
 +				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
 +				exit 1
 +			fi
 +			echo "LIB_DEPENDS+=	db41.1:\${PORTSDIR}/databases/db41"
 +			echo "POSTFIX_CCARGS+=	-I\${LOCALBASE}/include/db41"
 +			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -ldb41"
 +			echo "DB_SUFFIX=	+db41"
 +			DB41_SELECTED="YES"
  			;;
  		MySQL)
  			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql323-client"
 @@ -134,35 +165,42 @@
  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"
  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt"
 -			echo "PGSQL_SUFFIX=	+pgsql"
  			echo "PATCH_SITES+=	http://mat.cc/postfix/"
 -			echo "PATCHFILES+=	postfix-pg.postfix-1.1.8.patch"
 +			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch"
  			echo "PATCH_DIST_STRIP= -p1"
 +			echo "PGSQL_SUFFIX=	+pgsql"
  			;;
 -		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"
  			SUB_TEST=""
  			;;
  		IPv6)
 -			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
 -			exit 1
 -			fi
  			if [ X$SUB_TLS = "X" ]; then
  				/usr/bin/dialog --msgbox "Select exactly one of the IPv6 and TLS patches" 5 60 > /dev/stderr
  				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
  				exit 1
  			fi
 -			echo "PATCH_SITES+=	http://www.cyber-magic.org/~taka/misc/"
 -			echo "PATCHFILES+=	postfix-1.1.11+ipv6.patch.gz"
 -			echo "PATCH_DIST_STRIP= -p1"
 +			echo "PATCH_SITES+=	ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.14/"
 +			echo "PATCHFILES+=	ipv6-1.14-pf-2.0.9.patch.gz"
 +			echo "PATCH_DIST_STRIP=	-p1"
  			echo "IPv6_SUFFIX=	+ipv6"
  			echo ""
  			IPv6SELECTED=YES
 @@ -174,12 +212,13 @@
  				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.8/"
 -			echo "PATCHFILES+=	tls+ipv6-1.8-pf-1.1.11-20021115.patch"
 +			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.14/"
 +			echo "PATCHFILES+=	tls+ipv6-1.14-pf-2.0.9.patch.gz"
  			echo "PATCH_DIST_STRIP=	-p1"
 -			echo "TLS_SUFFIX=	+ipv6+tls"
 +			echo "TLS_SUFFIX=	+tls+ipv6"
  			SUB_TLS=""
  			;;
  		*)
 @@ -198,4 +237,4 @@
  # 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}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
 +#echo "PKGNAMESUFFIX=	\${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
 Only in postfix-current: work
 
 --LQksG6bCIzRHxTLp--



More information about the freebsd-ports-bugs mailing list