From: Bryce Ferguson Date: Mon, 19 Dec 2016 21:17:29 +0000 (-0600) Subject: pure-ftpd: Added pure-ftpwho config option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d204d962897961faa12abce2569b77d7f076ed10;p=buildroot.git pure-ftpd: Added pure-ftpwho config option Added the pure-ftpwho config option. When selected, the --with-ftpwho compiler option is passed which enabled the pure-ftpwho command. Signed-off-by: Bryce Ferguson Signed-off-by: Peter Korsgaard --- diff --git a/package/pure-ftpd/Config.in b/package/pure-ftpd/Config.in index c1b2529db9..85fdef30eb 100644 --- a/package/pure-ftpd/Config.in +++ b/package/pure-ftpd/Config.in @@ -10,3 +10,14 @@ config BR2_PACKAGE_PURE_FTPD well as hosting providers. http://www.pureftpd.org + +if BR2_PACKAGE_PURE_FTPD + +config BR2_PACKAGE_PURE_FTPD_FTPWHO + bool "ftpwho" + help + Enable the pure-ftpd command. Pure-ftpwho shows current Pure-ftpd + client sessions. Only the system administrator may run this. Output + can be text (default), HTML, XML data and parser-optimized. + +endif diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index ba4096c281..80e432af56 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -45,4 +45,8 @@ ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no endif +ifeq ($(BR2_PACKAGE_PURE_FTPD_FTPWHO),y) +PURE_FTPD_CONF_OPTS += --with-ftpwho +endif + $(eval $(autotools-package))