Skip to contentSkip to conversation

pure-ftpd: Added pure-ftpwho config option

PATCH New Bryce Ferguson 2 participants 2 messages Dec 19, 2016 – Dec 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/pure-ftpd/Config.in    | 11 +++++++++++
 package/pure-ftpd/pure-ftpd.mk |  4 ++++
 2 files changed, 15 insertions(+)
package/pure-ftpd/Config.in +11 -0
index c1b2529..85fdef3 100644
@@ -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
package/pure-ftpd/pure-ftpd.mk +4 -0
index ba4096c..80e432a 100644
@@ -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))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 pure-ftpd: Added pure-ftpwho config option

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bryce" == Bryce Ferguson <[email protected]> writes:

Added the pure-ftpwho config option. When selected, the --with-ftpwho compiler option is passed which enabled the pure-ftpwho command.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard