aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2009-03-06 02:19:39 +0800
committergarga <garga@FreeBSD.org>2009-03-06 02:19:39 +0800
commitd11dca284fcf63583ef02497cf936be9eb5f18e7 (patch)
treedf9f9713ad6be38d291418411be2145fd5b7d605 /ftp/pure-ftpd
parent10f9c74fe6208dd35b8678de55bb75ee39df6e62 (diff)
downloadfreebsd-ports-graphics-d11dca284fcf63583ef02497cf936be9eb5f18e7.tar.gz
freebsd-ports-graphics-d11dca284fcf63583ef02497cf936be9eb5f18e7.tar.zst
freebsd-ports-graphics-d11dca284fcf63583ef02497cf936be9eb5f18e7.zip
--with-largefile is not recommended to be default, so, convert it to OPTION and
set it off by default, since this changes the default options, bump PORTREVISION Pointed by: Yar Odin <yarodin@gmail.com>
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 c571cdf205e..f2a5afdc7b2 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