All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] pure-ftpd: Added pure-ftpwho config option
@ 2016-12-19 21:17 Bryce Ferguson
  2016-12-20 20:36 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Bryce Ferguson @ 2016-12-19 21:17 UTC (permalink / raw)
  To: buildroot

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>
---
 package/pure-ftpd/Config.in    | 11 +++++++++++
 package/pure-ftpd/pure-ftpd.mk |  4 ++++
 2 files changed, 15 insertions(+)

diff --git a/package/pure-ftpd/Config.in b/package/pure-ftpd/Config.in
index c1b2529..85fdef3 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 ba4096c..80e432a 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))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] pure-ftpd: Added pure-ftpwho config option
  2016-12-19 21:17 [Buildroot] [PATCH 1/1] pure-ftpd: Added pure-ftpwho config option Bryce Ferguson
@ 2016-12-20 20:36 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2016-12-20 20:36 UTC (permalink / raw)
  To: buildroot

>>>>> "Bryce" == Bryce Ferguson <bryce.ferguson@rockwellcollins.com> writes:

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

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-20 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-19 21:17 [Buildroot] [PATCH 1/1] pure-ftpd: Added pure-ftpwho config option Bryce Ferguson
2016-12-20 20:36 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.