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 <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bryce Ferguson 2016-12-19 15:17:29 -06:00 committed by Peter Korsgaard
parent 75c3c94de9
commit d204d96289
2 changed files with 15 additions and 0 deletions

View File

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

View File

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