redis: bump to version 3.2.5
PATCH 1/1 redis: bump to version 3.2.5
Adjust default config patch to match new major version. localhost binding is now default so drop it, 300s keepalive is now default as well (instead of 60s from the previous patch and 0 by default) - which sounds reasonable so keep it.
Signed-off-by Gustavo Zacarias <[email protected]>
--- ...3-redis.conf-adjust-defauts-for-buildroot.patch | 29 +++++++++++++++++ package/redis/0003-redis.conf-sane-defaults.patch | 37 ---------------------- package/redis/redis.hash | 4 +-- package/redis/redis.mk | 2 +- 4 files changed, 32 insertions(+), 40 deletions(-) create mode 100644 package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch delete mode 100644 package/redis/0003-redis.conf-sane-defaults.patch
package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch new file +29 -0
@@ -0,0 +1,29 @@ +From f79d1d1bf9e6f54b67e5482602084fbff7fd9cc9 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <[email protected]> +Date: Fri, 28 Oct 2016 12:50:34 -0300 +Subject: [PATCH] redis.conf: adjust defauts for buildroot + +Based on Martin Bark's patch hence archlinux package. +We just need to specify a proper db directory. + +Signed-off-by: Gustavo Zacarias <[email protected]> +--- + redis.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/redis.conf b/redis.conf +index 22e00bc..3bb0430 100644 +--- a/redis.conf ++++ b/redis.conf +@@ -244,7 +244,7 @@ dbfilename dump.rdb + # The Append Only File will also be created inside this directory. + # + # Note that you must specify a directory here, not a file name. +-dir ./ ++dir /var/lib/redis/ + + ################################# REPLICATION ################################# + +-- +2.7.3 +
package/redis/0003-redis.conf-sane-defaults.patch deleted +0 -37
@@ -1,37 +0,0 @@ -Taken from archlinux redis package -See https://projects.archlinux.org/svntogit/community.git/tree/trunk/redis.conf-sane-defaults.patch?h=packages/redis&id=5b2491ea61b746f289acebd12bc66e337d7e5b88 - -Signed-off-by: Martin Bark <[email protected]> - -========================================================================= -diff --git a/redis.conf b/redis.conf -index 6efb6ac..344e021 100644 ---- a/redis.conf -+++ b/redis.conf -@@ -61,7 +61,7 @@ tcp-backlog 511 - # Examples: - # - # bind 192.168.1.100 10.0.0.1 --# bind 127.0.0.1 -+bind 127.0.0.1 - - # Specify the path for the Unix socket that will be used to listen for - # incoming connections. There is no default, so Redis will not listen -@@ -87,7 +87,7 @@ timeout 0 - # On other kernels the period depends on the kernel configuration. - # - # A reasonable value for this option is 60 seconds. --tcp-keepalive 0 -+tcp-keepalive 60 - - # Specify the server verbosity level. - # This can be one of: -@@ -184,7 +184,7 @@ dbfilename dump.rdb - # The Append Only File will also be created inside this directory. - # - # Note that you must specify a directory here, not a file name. --dir ./ -+dir /var/lib/redis/ - - ################################# REPLICATION ################################# -
package/redis/redis.hash +2 -2
@@ -1,4 +1,4 @@ # From https://github.com/antirez/redis-hashes/blob/master/README -sha1 e56b4b7e033ae8dbf311f9191cf6fdf3ae974d1c redis-3.0.7.tar.gz +sha1 6f6333db6111badaa74519d743589ac4635eba7a redis-3.2.5.tar.gz # Calculated based on the hash above -sha256 b2a791c4ea3bb7268795c45c6321ea5abcc24457178373e6a6e3be6372737f23 redis-3.0.7.tar.gz +sha256 8509ceb1efd849d6b2346a72a8e926b5a4f6ed3cc7c3cd8d9f36b2e9ba085315 redis-3.2.5.tar.gz
package/redis/redis.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -REDIS_VERSION = 3.0.7 +REDIS_VERSION = 3.2.5 REDIS_SITE = http://download.redis.io/releases REDIS_LICENSE = BSD-3c (core); MIT and BSD family licenses (Bundled components) REDIS_LICENSE_FILES = COPYING
Signature · 1 line
2.7.3
Thomas Petazzoni
AppliedPATCH 1/1 redis: bump to version 3.2.5
Hello,
Quoted 6 lines · Gustavo Zacarias
Adjust default config patch to match new major version. localhost binding is now default so drop it, 300s keepalive is now default as well (instead of 60s from the previous patch and 0 by default) - which sounds reasonable so keep it.
Signed-off-by Gustavo Zacarias <[email protected]>
Quoted 8 lines
--- ...3-redis.conf-adjust-defauts-for-buildroot.patch | 29 +++++++++++++++++ package/redis/0003-redis.conf-sane-defaults.patch | 37 ---------------------- package/redis/redis.hash | 4 +-- package/redis/redis.mk | 2 +- 4 files changed, 32 insertions(+), 40 deletions(-) create mode 100644 package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch delete mode 100644 package/redis/0003-redis.conf-sane-defaults.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com