From 7e8f571ea9dd54c24795abe8e6b67c2b41f10a9a8d78d15c37c4ef89f1244efa Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 7 Aug 2013 14:40:05 +0000 Subject: [PATCH] - build require procps to get "ps" which is needed for the cleanup of the redis processes launched by the testsuite. - update to 2.6.14 UPGRADE URGENCY: HIGH because of the following two issues: * Lua scripting + Replication + AOF in slaves problem (see Issue #1164). * AOF + expires possible race condition (see Issue #1079). * [FIX] AOF bug: expire could be removed from key on AOF rewrite. * [FIX] Allow writes from scripts called by AOF loading in read-only slaves. * [FIX] Sentinel: parse new verison of INFO replication output correctly. * [NEW] Reset masterauth if an empty string is configured. For the changes from 2.6.10-2.6.13 see /usr/share/doc/packages/redis/00-RELEASENOTES - refreshed patches: - redis-conf.patch: - redis-enable-bactrace-on-x86-and-ia64-only.patch: just to get rid of fuzz - skip-aof-test.patch: can not comment in the array like that. rather remove the line. OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=44 --- redis-2.6.14.tar.gz | 3 ++ redis-2.6.9.tar.gz | 3 -- redis-conf.patch | 6 ++-- ...enable-bactrace-on-x86-and-ia64-only.patch | 8 ++--- redis.changes | 29 +++++++++++++++++++ redis.spec | 6 ++-- skip-aof-test.patch | 3 +- 7 files changed, 44 insertions(+), 14 deletions(-) create mode 100644 redis-2.6.14.tar.gz delete mode 100644 redis-2.6.9.tar.gz diff --git a/redis-2.6.14.tar.gz b/redis-2.6.14.tar.gz new file mode 100644 index 0000000..f13e2bb --- /dev/null +++ b/redis-2.6.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdf61c693e5c4908b4bb44c428d4a2b7568f05566c144c58fdf19c5cb12a9caf +size 995036 diff --git a/redis-2.6.9.tar.gz b/redis-2.6.9.tar.gz deleted file mode 100644 index 5677cfb..0000000 --- a/redis-2.6.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d967eff2038aebea33875d17e85ed67179df6505df68529a622f7836d1c7489 -size 989119 diff --git a/redis-conf.patch b/redis-conf.patch index 2503e24..a81f0f0 100644 --- a/redis-conf.patch +++ b/redis-conf.patch @@ -25,7 +25,7 @@ Index: redis.conf # 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 -@@ -50,7 +50,7 @@ loglevel notice +@@ -66,7 +66,7 @@ loglevel notice # Specify the log file name. Also 'stdout' 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 @@ -34,8 +34,8 @@ Index: redis.conf # To enable logging to the system logger, just set 'syslog-enabled' to yes, # and optionally update the other syslog parameters to suit your needs. -@@ -134,7 +134,7 @@ dbfilename dump.rdb - # Also the Append Only File will be created inside this directory. +@@ -150,7 +150,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 ./ diff --git a/redis-enable-bactrace-on-x86-and-ia64-only.patch b/redis-enable-bactrace-on-x86-and-ia64-only.patch index cab8670..78e8aa9 100644 --- a/redis-enable-bactrace-on-x86-and-ia64-only.patch +++ b/redis-enable-bactrace-on-x86-and-ia64-only.patch @@ -1,13 +1,13 @@ -Index: redis-2.6.9/src/config.h +Index: src/config.h =================================================================== ---- redis-2.6.9.orig/src/config.h -+++ redis-2.6.9/src/config.h +--- src/config.h.orig ++++ src/config.h @@ -54,9 +54,11 @@ #endif /* Test for backtrace() */ +#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__) - #if defined(__APPLE__) || defined(__linux__) || defined(__sun) + #if defined(__APPLE__) || defined(__linux__) #define HAVE_BACKTRACE 1 #endif +#endif diff --git a/redis.changes b/redis.changes index dd6bb72..456c8a2 100644 --- a/redis.changes +++ b/redis.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Aug 7 14:37:30 UTC 2013 - mrueckert@suse.de + +- build require procps to get "ps" which is needed for the cleanup + of the redis processes launched by the testsuite. + +------------------------------------------------------------------- +Wed Aug 7 14:31:17 UTC 2013 - mrueckert@suse.de + +- update to 2.6.14 + UPGRADE URGENCY: HIGH because of the following two issues: + * Lua scripting + Replication + AOF in slaves problem (see Issue #1164). + * AOF + expires possible race condition (see Issue #1079). + + * [FIX] AOF bug: expire could be removed from key on AOF rewrite. + * [FIX] Allow writes from scripts called by AOF loading in read-only slaves. + * [FIX] Sentinel: parse new verison of INFO replication output correctly. + * [NEW] Reset masterauth if an empty string is configured. + + For the changes from 2.6.10-2.6.13 see + /usr/share/doc/packages/redis/00-RELEASENOTES +- refreshed patches: + - redis-conf.patch: + - redis-enable-bactrace-on-x86-and-ia64-only.patch: + just to get rid of fuzz + - skip-aof-test.patch: + can not comment in the array like that. rather remove the + line. + ------------------------------------------------------------------- Thu Jul 4 16:10:47 UTC 2013 - dvaleev@suse.com diff --git a/redis.spec b/redis.spec index 817d52f..4d26b9c 100644 --- a/redis.spec +++ b/redis.spec @@ -21,7 +21,7 @@ %define _conf_dir %{_sysconfdir}/%{name} Name: redis -Version: 2.6.9 +Version: 2.6.14 Release: 0 Summary: Persistent key-value database License: BSD-3-Clause @@ -39,6 +39,7 @@ Patch2: skip-aof-test.patch # for make test Patch3: redis-enable-bactrace-on-x86-and-ia64-only.patch BuildRequires: tcl +BuildRequires: procps Requires: logrotate BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,7 +56,7 @@ different kind of sorting abilities. %patch0 %patch1 %patch2 -%patch3 -p1 +%patch3 %build make %{?_smp_mflags} CFLAGS="%{optflags}" V=1 @@ -91,6 +92,7 @@ The test suite often fails to start a server, with 'child process exited abnormally' -- sometimes it works. --------------------------------------------------- EOF +# skip for now. it does not clean up the redis processes properly. make test && true %endif diff --git a/skip-aof-test.patch b/skip-aof-test.patch index 5cef501..3fa70c3 100644 --- a/skip-aof-test.patch +++ b/skip-aof-test.patch @@ -2,12 +2,11 @@ Index: tests/test_helper.tcl =================================================================== --- tests/test_helper.tcl.orig +++ tests/test_helper.tcl -@@ -30,7 +30,7 @@ set ::all_tests { +@@ -32,7 +32,6 @@ set ::all_tests { integration/replication-2 integration/replication-3 integration/replication-4 - integration/aof -+# integration/aof integration/rdb integration/convert-zipmap-hash-on-load unit/pubsub