From: Sam Voss Date: Fri, 12 Jan 2018 19:53:45 +0000 (-0600) Subject: package/pure-ftpd: Add uploadscript option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef9be80526dc9740cbde6bfcfb3a229f06def63c;p=buildroot.git 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 Acked-by: Bryce Ferguson --- 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))