From 76f34ce632e97edd9f0ac31516d9cbc88f60ef1e Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sun, 17 Aug 2003 12:54:27 +0000 Subject: Fix plist at optional IPv6 configuration. PR: ports/55301 Submitted by: Kimura Fuyuki --- mail/postfix28/pkg-plist | 2 ++ mail/postfix28/scripts/configure.postfix | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'mail/postfix28') diff --git a/mail/postfix28/pkg-plist b/mail/postfix28/pkg-plist index c102595ef4bf..41e126fff794 100644 --- a/mail/postfix28/pkg-plist +++ b/mail/postfix28/pkg-plist @@ -27,6 +27,7 @@ etc/postfix/sample-compatibility.cf etc/postfix/sample-debug.cf etc/postfix/sample-filter.cf etc/postfix/sample-flush.cf +%%SUB_IPV6%%etc/postfix/sample-ipv6.cf etc/postfix/sample-ldap.cf etc/postfix/sample-lmtp.cf etc/postfix/sample-local.cf @@ -94,6 +95,7 @@ bin/mailq %%PORTDOCS%%share/doc/postfix/ETRN_README %%PORTDOCS%%share/doc/postfix/FILTER_README %%PORTDOCS%%share/doc/postfix/INSTALL +%%PORTDOCS%%%%SUB_IPV6%%share/doc/postfix/IPV6_README %%PORTDOCS%%share/doc/postfix/LDAP_README %%PORTDOCS%%share/doc/postfix/LINUX_README %%PORTDOCS%%share/doc/postfix/LOCAL_RECIPIENT_README diff --git a/mail/postfix28/scripts/configure.postfix b/mail/postfix28/scripts/configure.postfix index 7da993a4e29c..6d00664e4c21 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.38 2003-08-15 00:49:26 kuriyama Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.39 2003-08-17 12:54:27 kuriyama Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -63,6 +63,7 @@ echo "PREFIX= ${PREFIX}" SUB_TLS="@comment " SUB_TEST="@comment " +SUB_IPV6="@comment " while [ "$1" ]; do case $1 in @@ -207,6 +208,7 @@ while [ "$1" ]; do echo "IPv6_SUFFIX= +ipv6" echo "" IPv6SELECTED=YES + SUB_IPV6="" ;; IPv6TLS) if [ X$SUB_TLS = "X" -o X$IPv6SELECTED != X ]; then @@ -223,6 +225,7 @@ while [ "$1" ]; do echo "PATCH_DIST_STRIP= -p1" echo "TLS_SUFFIX= +tls+ipv6" SUB_TLS="" + SUB_IPV6="" ;; *) echo "Unknown option(s): $*" > /dev/stderr @@ -235,6 +238,7 @@ done echo "PLIST_SUB+= SUB_TLS=\"${SUB_TLS}\"" echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\"" +echo "PLIST_SUB+= SUB_IPV6=\"${SUB_IPV6}\"" # 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 -- cgit v1.2.3