summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/pure-ftpd/Config.in6
-rw-r--r--package/pure-ftpd/pure-ftpd.mk4
2 files changed, 10 insertions, 0 deletions
diff --git a/package/pure-ftpd/Config.in b/package/pure-ftpd/Config.in
index b5eca876d9..d03170b7cf 100644
--- a/package/pure-ftpd/Config.in
+++ b/package/pure-ftpd/Config.in
@@ -30,4 +30,10 @@ config BR2_PACKAGE_PURE_FTPD_QUOTAS
his account. In addition, restrictions can also be placed on
the total size.
+config BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT
+ bool "uploadscript"
+ help
+ Enable pure-upload script. Automatically run an external program
+ after a successful upload.
+
endif
diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk
index 815de90f3b..457e67ea60 100644
--- a/package/pure-ftpd/pure-ftpd.mk
+++ b/package/pure-ftpd/pure-ftpd.mk
@@ -53,4 +53,8 @@ ifeq ($(BR2_PACKAGE_PURE_FTPD_QUOTAS),y)
PURE_FTPD_CONF_OPTS += --with-quotas
endif
+ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y)
+PURE_FTPD_CONF_OPTS += --with-uploadscript
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud