summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryce Ferguson <bryce.ferguson@rockwellcollins.com>2017-01-18 12:58:51 -0600
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-24 22:20:46 +1300
commit4a25798cafddfa597a45f4d7a7a1d51b9db28e27 (patch)
tree244d3170b74e61577c2f2dd07ce8efbb1e2f1e25
parent43ab1e949fa8c194a05e4d4c2ae17ed2f3298632 (diff)
downloadbuildroot-4a25798cafddfa597a45f4d7a7a1d51b9db28e27.tar.gz
buildroot-4a25798cafddfa597a45f4d7a7a1d51b9db28e27.zip
pure-ftpd: Added pure-ftpd quotas config option
Added the pure-ftp quotas option. When selected, the --with-quotas compiler option is passed which enables the quota feature Note that this increases the size of the pure-ftpd executable by about 20%. Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/pure-ftpd/Config.in8
-rw-r--r--package/pure-ftpd/pure-ftpd.mk4
2 files changed, 12 insertions, 0 deletions
diff --git a/package/pure-ftpd/Config.in b/package/pure-ftpd/Config.in
index 85fdef30eb..57b78d1ae6 100644
--- a/package/pure-ftpd/Config.in
+++ b/package/pure-ftpd/Config.in
@@ -20,4 +20,12 @@ config BR2_PACKAGE_PURE_FTPD_FTPWHO
client sessions. Only the system administrator may run this. Output
can be text (default), HTML, XML data and parser-optimized.
+config BR2_PACKAGE_PURE_FTPD_QUOTAS
+ bool "quotas"
+ help
+ Enable virtual quotas. With virtual quotas, restrictions can
+ be placed on the maximum number of files a user can store in
+ his account. In addition, restrictions can also be placed
+ on the total size.
+
endif
diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk
index 80e432af56..95e7065580 100644
--- a/package/pure-ftpd/pure-ftpd.mk
+++ b/package/pure-ftpd/pure-ftpd.mk
@@ -49,4 +49,8 @@ ifeq ($(BR2_PACKAGE_PURE_FTPD_FTPWHO),y)
PURE_FTPD_CONF_OPTS += --with-ftpwho
endif
+ifeq ($(BR2_PACKAGE_PURE_FTPD_QUOTAS),y)
+PURE_FTPD_CONF_OPTS += --with-quotas
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud