diff options
author | pav <pav@FreeBSD.org> | 2004-07-24 11:18:47 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-24 11:18:47 +0000 |
commit | 3b53d757b88fb4f4fa06cec1a631f2c515da3eae (patch) | |
tree | f9f7a2cc3c6f0779434833f1fbf4b67380a4128b /ftp/pure-ftpd | |
parent | 7c32f0a29ef7ee3648076a767f9d6b12fc6138c1 (diff) | |
download | FreeBSD-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/Makefile | 11 |
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 |