From 06ae891a39655568cbf4956cb3217994207876dd Mon Sep 17 00:00:00 2001 From: Stephan Hoffmann Date: Tue, 5 Feb 2013 00:54:17 +0000 Subject: [PATCH] ProFTPD: Add config option to enable mod_rewrite [Peter: tweak Config.in text] Signed-off-by: Stephan Hoffmann Signed-off-by: Peter Korsgaard --- package/proftpd/Config.in | 6 ++++++ package/proftpd/proftpd.mk | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in index abdedc9e5b..7793713474 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 "mod_rewrite support" + depends on BR2_PACKAGE_PROFTPD + help + Compile ProFTPD with mod_rewrite support diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk index 1d02194b91..92644a80ae 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 -- 2.30.2