aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-07-12 11:02:05 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-07-12 11:02:05 +0000
commitccdd511c28e58a830574701580bebb860d2504fb (patch)
treeee0fbeca071d3f74783188e0f75b451ea3b79f6a /ftp
parent4e81cbb7582bf56b3ae44c3a8941e98a4a63dc1f (diff)
downloadports-ccdd511c28e58a830574701580bebb860d2504fb.tar.gz
ports-ccdd511c28e58a830574701580bebb860d2504fb.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pure-ftpd/Makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index 64713f37a9e4..7d4d9900754e 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pure-ftpd
PORTVERSION= 1.0.29
+PORTREVISION= 1
CATEGORIES= ftp ipv6
MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
@@ -46,12 +47,14 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \
PRIVSEP "Enable privilege separation" on \
PERUSERLIMITS "Per-user concurrency limits" off \
THROTTLING "Bandwidth throttling" off \
- BANNER "Show ${PORTNAME} welcome upon session start" on \
UPLOADSCRIPT "Support uploadscript daemon" off \
UTF8 "Support for charset conversion" off \
SENDFILE "Support for the sendfile syscall" on \
LARGEFILE "Support downloading files larger than 2Gb" off \
- VIRTUALCHROOT "Follow symlinks outside a chroot jail" on
+ VIRTUALCHROOT "Follow symlinks outside a chroot jail" on \
+ ANONRESUME "Allow anonymous user to resume file upload" off \
+ ANONRENAME "Allow anonymous user to rename file" off \
+ ANONDELETE "Allow anonymous user to delete file" off
.include <bsd.port.pre.mk>
@@ -107,11 +110,6 @@ CONFIGURE_ARGS+= --with-certfile=${WITH_CERTFILE}
CONFIGURE_ARGS+= --with-pam
.endif
-# for paranoia
-.if defined(WITHOUT_BANNER)
-CONFIGURE_ARGS+= --without-banner
-.endif
-
# support uploadscript?
.if defined (WITH_UPLOADSCRIPT)
CONFIGURE_ARGS+= --with-uploadscript
@@ -141,6 +139,18 @@ CONFIGURE_ARGS+= --with-virtualchroot
CONFIGURE_ARGS+= --without-virtualchroot
.endif
+.if defined(WITH_ANONRESUME)
+CFLAGS+= -DANON_CAN_RESUME
+.endif
+
+.if defined(WITH_ANONRENAME)
+CFLAGS+= -DANON_CAN_RENAME
+.endif
+
+.if defined(WITH_ANONDELETE)
+CFLAGS+= -DANON_CAN_DELETE
+.endif
+
PAM_TEMPL?= ${FILESDIR}/pam.conf.5
PAM_DIR?= ${EXAMPLESDIR}/pam
PAM_TARGET?= pure-ftpd