summaryrefslogtreecommitdiff
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-06-09 19:01:14 +0000
committerXin LI <delphij@FreeBSD.org>2006-06-09 19:01:14 +0000
commit2787db82db340722c0844a931d7e9a41fd9c1db2 (patch)
treebfd603b52e4340516dbe0acb0dd8f8b866e565e0 /ftp/pure-ftpd
parent- Give a few homeless ports a home with multimedia@ (diff)
Add an new option to provide a mechanism for users to disable kqueue
support if necessary. Submitted by: Kirk Strauser <kirk daycos com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=164920
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index 5a1d4e5c4a8b..d191f659949b 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pure-ftpd
PORTVERSION= 1.0.21
+PORTREVISION= 1
CATEGORIES= ftp ipv6
MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
@@ -47,7 +48,8 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \
THROTTLING "Bandwidth throttling" off \
BANNER "Show ${PORTNAME} welcome upon session start" on \
UPLOADSCRIPT "Support uploadscript daemon" off \
- UTF8 "Support for charset conversion (expreimental)" off
+ UTF8 "Support for charset conversion (expreimental)" off \
+ SENDFILE "Support for the sendfile syscall" on
.include <bsd.port.pre.mk>
@@ -115,6 +117,12 @@ USE_ICONV= YES
CONFIGURE_ARGS+= --with-rfc2640
.endif
+.if defined(WITH_SENDFILE)
+CONFIGURE_ARGS+= --with-sendfile
+.else
+CONFIGURE_ARGS+= --without-sendfile
+.endif
+
.if ${OSVERSION} > 500000
PAM_TEMPL?= ${FILESDIR}/pam.conf.5
.else