proftpd: add mod_redis support
The mod_redis module enables ProFTPD support for caching data in Redis servers, using the hiredis client library. This is available since proftpd-1.3.6rc5 and later. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c01199a1a6
commit
818c794dec
|
@ -13,4 +13,11 @@ config BR2_PACKAGE_PROFTPD_MOD_REWRITE
|
||||||
help
|
help
|
||||||
Compile ProFTPD with mod_rewrite support
|
Compile ProFTPD with mod_rewrite support
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROFTPD_MOD_REDIS
|
||||||
|
bool "mod_redis support"
|
||||||
|
select BR2_PACKAGE_HIREDIS
|
||||||
|
help
|
||||||
|
The mod_redis module enables ProFTPD support for caching data in Redis
|
||||||
|
servers, using the hiredis client library.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -27,6 +27,13 @@ ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y)
|
||||||
PROFTPD_CONF_OPTS += --with-modules=mod_rewrite
|
PROFTPD_CONF_OPTS += --with-modules=mod_rewrite
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REDIS),y)
|
||||||
|
PROFTPD_CONF_OPTS += --enable-redis
|
||||||
|
PROFTPD_DEPENDENCIES += hiredis
|
||||||
|
else
|
||||||
|
PROFTPD_CONF_OPTS += --disable-redis
|
||||||
|
endif
|
||||||
|
|
||||||
# configure script doesn't handle detection of %llu format string
|
# configure script doesn't handle detection of %llu format string
|
||||||
# support for printing the file size when cross compiling, breaking
|
# support for printing the file size when cross compiling, breaking
|
||||||
# access for large files.
|
# access for large files.
|
||||||
|
|
Loading…
Reference in a new issue