aboutsummaryrefslogtreecommitdiff
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2009-03-05 18:19:39 +0000
committerRenato Botelho <garga@FreeBSD.org>2009-03-05 18:19:39 +0000
commit68629aad83629986cd9e6f7c98aa96b7764622b6 (patch)
treed431c02d30b5da63f296cbf28ee27dac035bba91 /ftp/pure-ftpd
parent2616be7dd24946a3397c59c242b47d707a1cafdf (diff)
downloadports-68629aad83629986cd9e6f7c98aa96b7764622b6.tar.gz
ports-68629aad83629986cd9e6f7c98aa96b7764622b6.zip
Notes
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index c571cdf205eb..f2a5afdc7b29 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pure-ftpd
PORTVERSION= 1.0.21
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= ftp ipv6
MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
@@ -34,7 +34,6 @@ CONFIGURE_ARGS= --with-everything \
--with-paranoidmsg \
--with-virtualchroot \
--with-tls \
- --with-largefile \
--sysconfdir=${PREFIX}/etc
MAN8= pure-ftpd.8 pure-ftpwho.8 pure-mrtginfo.8 pure-statsdecode.8 \
@@ -51,7 +50,8 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \
BANNER "Show ${PORTNAME} welcome upon session start" on \
UPLOADSCRIPT "Support uploadscript daemon" off \
UTF8 "Support for charset conversion (expreimental)" off \
- SENDFILE "Support for the sendfile syscall" on
+ SENDFILE "Support for the sendfile syscall" on \
+ LARGEFILE "Support downloading files larger than 2Gb" off
.include <bsd.port.pre.mk>
@@ -125,6 +125,12 @@ CONFIGURE_ARGS+= --with-sendfile
CONFIGURE_ARGS+= --without-sendfile
.endif
+.if defined(WITH_LARGEFILE)
+CONFIGURE_ARGS+= --with-largefile
+.else
+CONFIGURE_ARGS+= --disable-largefile
+.endif
+
PAM_TEMPL?= ${FILESDIR}/pam.conf.5
PAM_DIR?= ${EXAMPLESDIR}/pam
PAM_TARGET?= pure-ftpd