summaryrefslogtreecommitdiffstats
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-24 11:18:47 +0000
committerpav <pav@FreeBSD.org>2004-07-24 11:18:47 +0000
commit3b53d757b88fb4f4fa06cec1a631f2c515da3eae (patch)
treef9f7a2cc3c6f0779434833f1fbf4b67380a4128b /ftp/pure-ftpd
parent7c32f0a29ef7ee3648076a767f9d6b12fc6138c1 (diff)
downloadFreeBSD-ports-3b53d757b88fb4f4fa06cec1a631f2c515da3eae.zip
FreeBSD-ports-3b53d757b88fb4f4fa06cec1a631f2c515da3eae.tar.gz
- Add separate PAM knob and new THROTTLING knob
PR: ports/68339 Submitted by: Toni Viemero <toni.viemero@iki.fi> Approved by: maintainer timeout (20 days)
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index 8786c0e..8a92955 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -41,9 +41,11 @@ MAN8= pure-ftpd.8 pure-ftpwho.8 pure-mrtginfo.8 pure-statsdecode.8 \
OPTIONS= LDAP "Support for users in LDAP directories" off \
MYSQL "Support for users in MySQL database" off \
+ PAM "Support for PAM authentication" on \
PGSQL "Support for users in PostgreSQL database" off \
PRIVSEP "Enable privilege separation" off \
- PERUSERLIMITS "Per-user concurrency limits" off
+ PERUSERLIMITS "Per-user concurrency limits" off \
+ THROTTLING "Bandwidth throttling" off
.include <bsd.port.pre.mk>
@@ -81,13 +83,18 @@ CONFIGURE_ARGS+= --with-privsep
CONFIGURE_ARGS+= --with-peruserlimits
.endif
+# throttling requested?
+.if defined(WITH_THROTTLING)
+CONFIGURE_ARGS+= --with-throttling
+.endif
+
# different certificate file location?
.if defined(WITH_CERTFILE)
CONFIGURE_ARGS+= --with-certfile=${WITH_CERTFILE}
.endif
# if mysql or ldap are disabled, enable pam
-.if !defined(WITH_LDAP) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL)
+.if !defined(WITHOUT_PAM)
CONFIGURE_ARGS+= --with-pam
.endif
OpenPOWER on IntegriCloud