aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2004-03-26 20:17:38 +0000
committerMichael Haro <mharo@FreeBSD.org>2004-03-26 20:17:38 +0000
commit83302b07cb5305881574be88bf36962aaf65d18a (patch)
tree6692dd526242993be72e0bf69044cf7acc246852 /ftp
parent34ceb04cce561a1b914113f18c3349d509708687 (diff)
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.
Notes
Notes: svn path=/head/; revision=105373
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