* [Buildroot] [PATCH] proftpd: add mod_redis support
@ 2017-04-12 10:56 Vicente Olivert Riera
2017-04-12 20:14 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Olivert Riera @ 2017-04-12 10:56 UTC (permalink / raw)
To: buildroot
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>
---
Note to maintainer: this patch depends on the proftpd-1.3.6 bump:
http://patchwork.ozlabs.org/patch/748931/
---
package/proftpd/Config.in | 7 +++++++
package/proftpd/proftpd.mk | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in
index dd87eb4..07a5d86 100644
--- a/package/proftpd/Config.in
+++ b/package/proftpd/Config.in
@@ -13,4 +13,11 @@ config BR2_PACKAGE_PROFTPD_MOD_REWRITE
help
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
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 5f42408..3e165c6 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -27,6 +27,13 @@ ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y)
PROFTPD_CONF_OPTS += --with-modules=mod_rewrite
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
# support for printing the file size when cross compiling, breaking
# access for large files.
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] proftpd: add mod_redis support
2017-04-12 10:56 [Buildroot] [PATCH] proftpd: add mod_redis support Vicente Olivert Riera
@ 2017-04-12 20:14 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-12 20:14 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 12 Apr 2017 11:56:19 +0100, Vicente Olivert Riera wrote:
> 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>
> ---
> Note to maintainer: this patch depends on the proftpd-1.3.6 bump:
> http://patchwork.ozlabs.org/patch/748931/
> ---
> package/proftpd/Config.in | 7 +++++++
> package/proftpd/proftpd.mk | 7 +++++++
> 2 files changed, 14 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-12 20:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 10:56 [Buildroot] [PATCH] proftpd: add mod_redis support Vicente Olivert Riera
2017-04-12 20:14 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.