Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] ProFTPD: Add config option to enable mod_rewrite
@ 2013-02-05 10:54 Stephan Hoffmann
  2013-03-04 10:22 ` Stephan Hoffmann
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Hoffmann @ 2013-02-05 10:54 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
 package/proftpd/Config.in  |    6 ++++++
 package/proftpd/proftpd.mk |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in
index abdedc9..7866e0a 100644
--- a/package/proftpd/Config.in
+++ b/package/proftpd/Config.in
@@ -4,3 +4,9 @@ config BR2_PACKAGE_PROFTPD
 	  ProFTPD, a highly configurable FTP server.
 
 	  http://www.proftpd.org/
+
+config BR2_PACKAGE_PROFTPD_MOD_REWRITE
+	bool "proftpd mod_rewrite"
+	depends on BR2_PACKAGE_PROFTPD
+	help
+	  Compile ProFTPD with mod_rewrite
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 1d02194..92644a8 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -20,6 +20,10 @@ PROFTPD_CONF_OPT = --localstatedir=/var/run \
 		--enable-shadow \
 		--with-gnu-ld
 
+ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y)
+PROFTPD_CONF_OPT += --with-modules=mod_rewrite
+endif
+
 define PROFTPD_MAKENAMES
 	$(MAKE1) CC="$(HOSTCC)" CFLAGS="" LDFLAGS="" -C $(@D)/lib/libcap _makenames
 endef
-- 
1.7.0.4

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

end of thread, other threads:[~2013-03-04 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05 10:54 [Buildroot] [PATCH 1/2] ProFTPD: Add config option to enable mod_rewrite Stephan Hoffmann
2013-03-04 10:22 ` Stephan Hoffmann
2013-03-04 12:39   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox