aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2004-03-27 04:17:38 +0800
committermharo <mharo@FreeBSD.org>2004-03-27 04:17:38 +0800
commit3997802526e60936d673391be0354fec779a794b (patch)
tree7c804e1cd7aae1da0bdd1fa8242a367c5d816df8 /ftp
parentbdf4b6b4dc384e370220f0af624f40fb9c5a83ff (diff)
downloadfreebsd-ports-gnome-3997802526e60936d673391be0354fec779a794b.tar.gz
freebsd-ports-gnome-3997802526e60936d673391be0354fec779a794b.tar.zst
freebsd-ports-gnome-3997802526e60936d673391be0354fec779a794b.zip
Add build knob WITH_IPV6 to enable IPV6 support. Note that when
IPv6 is enabled IPv4 is not listened to by default. You need to update proftpd.conf if you want to support both. Also, remove a substitution that was incorrectly 'fixing' the manpage.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile9
-rw-r--r--ftp/proftpd/Makefile9
2 files changed, 12 insertions, 6 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 71b0d0ce5d3d..a06f0060f71a 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
PORTVERSION= 1.2.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
ftp://ftp.stikman.com/pub/proftpd/ \
@@ -64,6 +64,10 @@ CONFIGURE_ARGS+= --enable-force-setpassent
CONFIGURE_ARGS+= --disable-pam
.endif
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
#allow user to override
MODULES?= mod_ratio:mod_readme:mod_wrap
@@ -122,8 +126,7 @@ post-configure:
< ${WRKSRC}/Make.rules.pre_sed > ${WRKSRC}/Make.rules
@${MV} ${WRKSRC}/src/proftpd.8 ${WRKSRC}/src/proftpd.8.pre_sed
- @${SED} -e 's:/etc:${PREFIX}/etc:' \
- -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
+ @${SED} -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
-e 's:/usr/sbin:${PREFIX}/sbin:' \
-e 's:/usr/bin:${PREFIX}/bin:' \
< ${WRKSRC}/src/proftpd.8.pre_sed > ${WRKSRC}/src/proftpd.8
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 71b0d0ce5d3d..a06f0060f71a 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
PORTVERSION= 1.2.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
ftp://ftp.stikman.com/pub/proftpd/ \
@@ -64,6 +64,10 @@ CONFIGURE_ARGS+= --enable-force-setpassent
CONFIGURE_ARGS+= --disable-pam
.endif
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
#allow user to override
MODULES?= mod_ratio:mod_readme:mod_wrap
@@ -122,8 +126,7 @@ post-configure:
< ${WRKSRC}/Make.rules.pre_sed > ${WRKSRC}/Make.rules
@${MV} ${WRKSRC}/src/proftpd.8 ${WRKSRC}/src/proftpd.8.pre_sed
- @${SED} -e 's:/etc:${PREFIX}/etc:' \
- -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
+ @${SED} -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
-e 's:/usr/sbin:${PREFIX}/sbin:' \
-e 's:/usr/bin:${PREFIX}/bin:' \
< ${WRKSRC}/src/proftpd.8.pre_sed > ${WRKSRC}/src/proftpd.8