aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix28
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-08-17 20:54:27 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-08-17 20:54:27 +0800
commitb64b70134ad52b054c51c4dbe10069e7c7739b37 (patch)
treedf1d2dd8e5fd009cb16f8ebc4f756d61c032aa79 /mail/postfix28
parent737f62b769a1067e8deb5a15705eb54db0bd3a7c (diff)
downloadfreebsd-ports-gnome-b64b70134ad52b054c51c4dbe10069e7c7739b37.tar.gz
freebsd-ports-gnome-b64b70134ad52b054c51c4dbe10069e7c7739b37.tar.zst
freebsd-ports-gnome-b64b70134ad52b054c51c4dbe10069e7c7739b37.zip
Fix plist at optional IPv6 configuration.
PR: ports/55301 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
Diffstat (limited to 'mail/postfix28')
-rw-r--r--mail/postfix28/pkg-plist2
-rw-r--r--mail/postfix28/scripts/configure.postfix6
2 files changed, 7 insertions, 1 deletions
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