From d62564e6bc772be6be8ad385e40aea9a052ef7ce5f324cd65fadbe6ffceedf5c Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 4 Mar 2014 13:56:42 +0000 Subject: [PATCH] - update to 2.8.6 Redis 2.6 is mostly a strict subset of 2.8. However there are a few things that you should be aware of: The following commands changed behavior: * SORT with ALPHA now sorts according to local collation locale if no STORE option is used. * ZADD/ZINCRBY are now able to accept a bigger range of values as valid scores, that is, all the values you may end having as a result of calling ZINCRBY multiple times. * Many errors are now prefixed by a more specific error code instead of the generic -ERR, for example -WRONGTYPE, -NOAUTH, ... * PUBLISH called inside Lua scripts is now correctly propagated to slaves. The following redis.conf and CONFIG GET / SET parameters changed: * logfile now uses the empty string in order to log to standard output, so 'logfile stdout' is now invalid, use 'logfile ""' instead. The following INFO fields changed format in a non-backward compatible way: * The list of slaves in INFO is now in field=value format. Replication: Redis 2.8 can be used as slave for Redis 2.6, but doing this is only a good idea for the short amount of time needed to upgrade your servers. We suggest to update both master and slaves at about the same time. For all the details see /usr/share/doc/packages/redis/00-RELEASENOTES - updated redis-conf.patch to apply cleanly again OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=50 --- redis-2.6.14.tar.gz | 3 --- redis-2.8.6.tar.gz | 3 +++ redis-conf.patch | 20 ++++++++++---------- redis.changes | 31 +++++++++++++++++++++++++++++++ redis.spec | 2 +- 5 files changed, 45 insertions(+), 14 deletions(-) delete mode 100644 redis-2.6.14.tar.gz create mode 100644 redis-2.8.6.tar.gz diff --git a/redis-2.6.14.tar.gz b/redis-2.6.14.tar.gz deleted file mode 100644 index f13e2bb..0000000 --- a/redis-2.6.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fdf61c693e5c4908b4bb44c428d4a2b7568f05566c144c58fdf19c5cb12a9caf -size 995036 diff --git a/redis-2.8.6.tar.gz b/redis-2.8.6.tar.gz new file mode 100644 index 0000000..3356ba8 --- /dev/null +++ b/redis-2.8.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd0c9cb8d2696db44d8cb8309fed96607f68b93bb126615e64bff364e716658 +size 1052017 diff --git a/redis-conf.patch b/redis-conf.patch index a81f0f0..2efa775 100644 --- a/redis-conf.patch +++ b/redis-conf.patch @@ -2,7 +2,7 @@ Index: redis.conf =================================================================== --- redis.conf.orig +++ redis.conf -@@ -14,11 +14,11 @@ +@@ -34,11 +34,11 @@ # By default Redis does not run as a daemon. Use 'yes' if you need it. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. @@ -16,25 +16,25 @@ Index: redis.conf # Accept connections on the specified port, default is 6379. # If port 0 is specified Redis will not listen on a TCP socket. -@@ -27,7 +27,7 @@ port 6379 - # If you want you can bind a single interface, if the bind option is not - # specified all the interfaces will listen for incoming connections. +@@ -62,6 +62,7 @@ tcp-backlog 511 # --# bind 127.0.0.1 + # 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 + # 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 -@@ -66,7 +66,7 @@ loglevel notice - # Specify the log file name. Also 'stdout' can be used to force +@@ -100,7 +101,8 @@ loglevel notice + # Specify the log file name. Also the empty string can be used to force # Redis to log on the standard output. Note that if you use standard # output for logging but daemonize, logs will be sent to /dev/null --logfile stdout +-logfile "" ++# logfile "" +logfile /var/log/redis/default.log # To enable logging to the system logger, just set 'syslog-enabled' to yes, # and optionally update the other syslog parameters to suit your needs. -@@ -150,7 +150,7 @@ dbfilename dump.rdb +@@ -184,7 +186,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. diff --git a/redis.changes b/redis.changes index 3bbd100..91166ab 100644 --- a/redis.changes +++ b/redis.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Tue Mar 4 13:51:48 UTC 2014 - mrueckert@suse.de + +- update to 2.8.6 + Redis 2.6 is mostly a strict subset of 2.8. However there are a + few things that you should be aware of: + The following commands changed behavior: + * SORT with ALPHA now sorts according to local collation locale + if no STORE option is used. + * ZADD/ZINCRBY are now able to accept a bigger range of values + as valid scores, that is, all the values you may end having + as a result of calling ZINCRBY multiple times. + * Many errors are now prefixed by a more specific error code + instead of the generic -ERR, for example -WRONGTYPE, -NOAUTH, ... + * PUBLISH called inside Lua scripts is now correctly propagated + to slaves. + The following redis.conf and CONFIG GET / SET parameters changed: + * logfile now uses the empty string in order to log to standard + output, so 'logfile stdout' is now invalid, use 'logfile ""' + instead. + The following INFO fields changed format in a non-backward compatible way: + * The list of slaves in INFO is now in field=value format. + Replication: + Redis 2.8 can be used as slave for Redis 2.6, but doing this is + only a good idea for the short amount of time needed to upgrade + your servers. We suggest to update both master and slaves at + about the same time. + For all the details see + /usr/share/doc/packages/redis/00-RELEASENOTES +- updated redis-conf.patch to apply cleanly again + ------------------------------------------------------------------- Thu Aug 8 12:50:55 UTC 2013 - mrueckert@suse.de diff --git a/redis.spec b/redis.spec index ece4d7d..7d0ba92 100644 --- a/redis.spec +++ b/redis.spec @@ -21,7 +21,7 @@ %define _conf_dir %{_sysconfdir}/%{name} Name: redis -Version: 2.6.14 +Version: 2.8.6 Release: 0 Summary: Persistent key-value database License: BSD-3-Clause