From 68629aad83629986cd9e6f7c98aa96b7764622b6 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 5 Mar 2009 18:19:39 +0000 Subject: --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 --- ftp/pure-ftpd/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'ftp') 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 @@ -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 -- cgit v1.2.3