Commit 06ae891a authored by Stephan Hoffmann's avatar Stephan Hoffmann Committed by Peter Korsgaard
Browse files

ProFTPD: Add config option to enable mod_rewrite



[Peter: tweak Config.in text]
Signed-off-by: default avatarStephan Hoffmann <sho@relinux.de>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 8e8eddaf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -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