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>
This commit is contained in:
Sam Voss 2018-01-12 13:53:45 -06:00 committed by Peter Korsgaard
parent 20a4583ebf
commit ef9be80526
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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))