ProFTPD: Add config option to enable mod_rewrite

[Peter: tweak Config.in text]
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Stephan Hoffmann 2013-02-05 00:54:17 +00:00 committed by Peter Korsgaard
parent 8e8eddaf2f
commit 06ae891a39
2 changed files with 10 additions and 0 deletions

View File

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

View File

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