mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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:
parent
8e8eddaf2f
commit
06ae891a39
@ -4,3 +4,9 @@ config BR2_PACKAGE_PROFTPD
|
|||||||
ProFTPD, a highly configurable FTP server.
|
ProFTPD, a highly configurable FTP server.
|
||||||
|
|
||||||
http://www.proftpd.org/
|
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 \
|
--enable-shadow \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y)
|
||||||
|
PROFTPD_CONF_OPT += --with-modules=mod_rewrite
|
||||||
|
endif
|
||||||
|
|
||||||
define PROFTPD_MAKENAMES
|
define PROFTPD_MAKENAMES
|
||||||
$(MAKE1) CC="$(HOSTCC)" CFLAGS="" LDFLAGS="" -C $(@D)/lib/libcap _makenames
|
$(MAKE1) CC="$(HOSTCC)" CFLAGS="" LDFLAGS="" -C $(@D)/lib/libcap _makenames
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user