Permalink
Browse files

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>
  • Loading branch information...
1 parent 8e8edda commit 06ae891a39655568cbf4956cb3217994207876dd @steho steho committed with jacmet Feb 5, 2013
Showing with 10 additions and 0 deletions.
  1. +6 −0 package/proftpd/Config.in
  2. +4 −0 package/proftpd/proftpd.mk
@@ -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
@@ -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

0 comments on commit 06ae891

Please sign in to comment.