diff options
author | Sam Voss <sam.voss@rockwellcollins.com> | 2018-01-12 13:53:45 -0600 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-01-28 17:20:04 +0100 |
commit | ef9be80526dc9740cbde6bfcfb3a229f06def63c (patch) | |
tree | 4388fdfc96bd0ebec5a9b5cf38cef4bd32ae8b98 | |
parent | 20a4583ebf7fe97ea22a1ea11621dd44a8114ca5 (diff) | |
download | buildroot-ef9be80526dc9740cbde6bfcfb3a229f06def63c.tar.gz buildroot-ef9be80526dc9740cbde6bfcfb3a229f06def63c.zip |
package/pure-ftpd: Add uploadscript option
Enable option to compile with '--with-uploadscript' to allow running
script after successful uploads.
Signed-off-by: Sam Voss <sam.voss@rockwellcollins.com>
Acked-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/pure-ftpd/Config.in | 6 | ||||
-rw-r--r-- | package/pure-ftpd/pure-ftpd.mk | 4 |
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)) |