Skip to contentSkip to conversation

ProFTPD: Add config option to enable mod_rewrite

PATCH New Stephan Hoffmann 2 participants 3 messages Feb 5, 2013 – Mar 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ProFTPD: Add config option to enable mod_rewrite

---
 package/proftpd/Config.in  |    6 ++++++
 package/proftpd/proftpd.mk |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)
package/proftpd/Config.in +6 -0
index abdedc9..7866e0a 100644
@@ -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
package/proftpd/proftpd.mk +4 -0
index 1d02194..92644a8 100644
@@ -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
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/2 ProFTPD: Add config option to enable mod_rewrite

Ping?
I'd really like to get this committed since I am using it in a customer system.

Am 05.02.2013 11:54, schrieb Stephan Hoffmann:

Quoted 35 lines
---
 package/proftpd/Config.in  |    6 ++++++
 package/proftpd/proftpd.mk |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)
package/proftpd/Config.in +6 -0
index abdedc9..7866e0a 100644
@@ -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
package/proftpd/proftpd.mk +4 -0
index 1d02194..92644a8 100644
@@ -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
#2 lore raw

PATCH 1/2 ProFTPD: Add config option to enable mod_rewrite

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Stephan" == Stephan Hoffmann <[email protected]> writes:

Stephan> Ping?
Stephan> I'd really like to get this committed since I am using it in a customer Stephan> system.

Stephan> Am 05.02.2013 11:54, schrieb Stephan Hoffmann:

Quoted 13 lines
Quoted 13 lines

---

package/proftpd/Config.in  |    6 ++++++
package/proftpd/proftpd.mk |    4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
package/proftpd/Config.in +0 -0
index abdedc9..7866e0a 100644
@@ -4,3 +4,9 @@ config BR2_PACKAGE_PROFTPD

ProFTPD, a highly configurable FTP server.

Quoted 4 lines

package/proftpd/Config.in config BR2_PACKAGE_PROFTPD · line 9

Quoted 4 lines

http://www.proftpd.org/

package/proftpd/Config.in +3 -0
+
+config BR2_PACKAGE_PROFTPD_MOD_REWRITE
+	bool "proftpd mod_rewrite"

Committed with the option text changed to "mod_rewrite support", thanks.

Signature · 1 line
Bye, Peter Korsgaard