Hello community, here is the log from the commit of package redis for openSUSE:Leap:15.2 checked in at 2020-02-29 17:15:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/redis (Old) and /work/SRC/openSUSE:Leap:15.2/.redis.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redis" Sat Feb 29 17:15:46 2020 rev:41 rq:779981 version:5.0.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/redis/redis.changes 2020-01-15 15:56:55.891717865 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.redis.new.26092/redis.changes 2020-02-29 17:16:30.589050595 +0100 @@ -1,0 +2,133 @@ +Sat Feb 8 15:40:07 UTC 2020 - Marcus Rueckert <[email protected]> + +- print instance name in the from the service files + +------------------------------------------------------------------- +Thu Jan 23 18:58:34 UTC 2020 - Thorsten Kukuk <[email protected]> + +- Don't install redis-trib.rb, it's only a dummy telling the user + to use redis-cli instead and pulls in ruby for that. + +------------------------------------------------------------------- +Mon Dec 30 17:59:52 UTC 2019 - Thorsten Kukuk <[email protected]> + +- Make redis useable in a container (drop size from 100MB to 20MB): + - Change user generation from shadow to sysusers + - Drop redis-initscript.patch and sudo requires, we use systemd + - Drop BuildRequires for procps and tcl, they are not needed + - Make logrotate recommend, it's not required for redis to work + +------------------------------------------------------------------- +Sun Dec 1 15:47:06 UTC 2019 - Илья Индиго <[email protected]> + +- Update to 5.0.7 + * https://raw.githubusercontent.com/antirez/redis/5.0.7/00-RELEASENOTES + * Test: fix implementation-dependent test after code change. + * RED-31295 - redis: avoid race between dlopen and thread creation. + * Cluster: fix memory leak of cached master. + * Fix usage of server.stream_node_max_*. + * Update mkreleasehdr.sh. + * Remove additional space from comment. + * Fix stream test after addition of 0-0 ID test. + * AOF: fix assignment for aof_fsync_offset. + * Rename var to fixed_time_expire now that is more general. + * Expires & blocking: handle ready keys as call(). + * XADD with ID 0-0 stores an empty key. + * Fix unreported overflow in autogerenared stream IDs. + * Expires: refactoring judgment about whether a key is expired. +- Refresh reproducible.patch +- Update to 5.0.6 + * https://raw.githubusercontent.com/antirez/redis/5.0.6/00-RELEASENOTES + * RDB: fix MODULE_AUX loading by continuing to next opcode. + * Missing per-skiplist overheads in MEMORY USAGE. + * RM_Log: add support for logging without a context or context + without module. + * Cluster: abort loading nodes data if vars arguments are unbalanced. + * More strict checks and better comments in flushSlaveOutputBuffers(). + * Improve comment in flushSlavesOutputBuffers(). + * Replication: clarify why repl_put_online_on_ack exists at all. + * Networking: flushSlavesOutputBuffers bugfix. + * RM_ReplyWithCString was missing registration. + * Fix to module aux data rdb format for backwards compatibility + with old check-rdb. + * Implement module api for aux data in rdb. + * Redis-cli: always report server errors on read errors. + * Reduce the calling stack. + * Make EMBSTR case of #6261 more obvious. + * Make memory usage consistent of robj with OBJ_ENCODING_INT. + * HyperLogLog: fix the fix of a corruption bug. + * Fix HLL corruption bug. + * Extend REDISMODULE_CTX_FLAGS to indicate if redis is currently + loading from either RDB or AOF. + * Uses addReplyBulkCString. + * Adds RedisModule_ReplyWithCString. + +------------------------------------------------------------------- +Thu Jun 6 20:43:34 UTC 2019 - Marcus Rueckert <[email protected]> + +- update to 5.0.5 + Major changes from the Redis 5 series: + + 1. The new Stream data type. + https://redis.io/topics/streams-intro + 2. New Redis modules APIs: Timers, Cluster and Dictionary APIs. + 3. RDB now store LFU and LRU information. + 4. The cluster manager was ported from Ruby (redis-trib.rb) to C + code inside redis-cli. Check `redis-cli --cluster help` for + more info. + 5. New sorted set commands: ZPOPMIN/MAX and blocking variants. + 6. Active defragmentation version 2. + 7. Improvemenets in HyperLogLog implementations. + 8. Better memory reporting capabilities. + 9. Many commands with sub-commands now have an HELP subcommand. + 10. Better performances when clients connect and disconnect + often. + 11. Many bug fixes and other random improvements. + 12. Jemalloc was upgraded to version 5.1 + 13. CLIENT UNBLOCK and CLIENT ID. + 14. The LOLWUT command was added. http://antirez.com/news/123 + 15. We no longer use the "slave" word if not for API backward + compatibility. + 16. Differnet optimizations in the networking layer. + 17. Lua improvements: + - Better propagation of Lua scripts to replicas / AOF. + - Lua scripts can now timeout and get in -BUSY state in the + replica as well. + 18. Dynamic HZ to balance idle CPU usage with responsiveness. + 19. The Redis core was refactored and improved in many ways. + + However the list above really does not do justice to the changes + of Redis 5 since the core was improved in many ways during the + development of the new version. However certain changes were back + ported into Redis 4 once they were sensed as safe, because many + improvements were hard to distinguish from fixes. + + The most important user facing improvement is without doubts the + introduction of the new general purpose data type after years: + the streams. + + Note that we worked to improve and fix streams till a few hours + ago, so while we are not aware of critical bugs in this release, + surely there is to handle it with some care for the first weeks. + Bug reporting will be highly appreciated and we are ready to work + immediately to release 5.0.1 once there is enough important stuff + to justify a new release (probably soon). + + People not using the streams can have probably a better + production-ready experience with Redis 5, also because many + internals are shared with Redis 4 so the jump is not as big as it + was between 3.2 and 4 in terms of how things internally work. + + Well, many thanks to the Redis community and the developers that + made this release possible, contributing bug reports, patches, + new features, working on the clients, sometimes debugging + problems for days. Also thank to everybody that adopted Redis for + their use cases making things work for users worldwide. + + see installed /usr/share/doc/packages/redis/00-RELEASENOTES +- refreshed patches to apply cleanly again: + redis-conf.patch + redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch + reproducible.patch + +------------------------------------------------------------------- Old: ---- redis-4.0.11.tar.gz redis-initscript.patch New: ---- redis-5.0.7.tar.gz redis-user.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ redis.spec ++++++ --- /var/tmp/diff_new_pack.pPb9EE/_old 2020-02-29 17:16:31.197051848 +0100 +++ /var/tmp/diff_new_pack.pPb9EE/_new 2020-02-29 17:16:31.201051856 +0100 @@ -1,7 +1,7 @@ # # spec file for package redis # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,9 +19,8 @@ %define _data_dir %{_localstatedir}/lib/%{name} %define _log_dir %{_localstatedir}/log/%{name} %define _conf_dir %{_sysconfdir}/%{name} - Name: redis -Version: 4.0.11 +Version: 5.0.7 Release: 0 Summary: Persistent key-value database License: BSD-3-Clause @@ -36,20 +35,18 @@ Source6: %{name}.sysctl Source7: %{name}[email protected] Source8: %{name}-sentinel.target -# PATCH-FIX-OPENSUSE -- openSUSE-style init script -Patch0: %{name}-initscript.patch +Source9: %{name}-user.conf # PATCH-MISSING-TAG -- See https://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch1: %{name}-conf.patch -Patch2: %{name}-enable-bactrace-on-x86-ia64-and_arm32_only.patch -Patch3: %{name}-disable_integration_logging.patch -Patch4: reproducible.patch +Patch0: %{name}-conf.patch +Patch1: %{name}-enable-bactrace-on-x86-ia64-and_arm32_only.patch +Patch2: %{name}-disable_integration_logging.patch +Patch3: reproducible.patch BuildRequires: pkgconfig -BuildRequires: procps -BuildRequires: tcl +BuildRequires: sysuser-shadow +BuildRequires: sysuser-tools BuildRequires: pkgconfig(systemd) -Requires: logrotate -Requires: sudo -Requires(pre): shadow +Recommends: logrotate +%sysusers_requires %description %{name} is an advanced key-value store. It is similar to memcached but the dataset @@ -63,16 +60,16 @@ %setup -q %patch0 %patch1 -%patch2 %ifnarch %{ix86} x86_64 ia64 %{arm} # We have no backtrace, so disable logging test -%patch3 +%patch2 %endif -%patch4 -p1 +%patch3 -p1 %build export HOST=OBS # for reproducible builds make %{?_smp_mflags} CFLAGS="%{optflags}" V=1 +%sysusers_generate_pre %{SOURCE9} redis %install install -m 0750 -d \ @@ -85,7 +82,6 @@ install -Dpm 0755 src/%{name}-benchmark %{buildroot}%{_bindir}/%{name}-benchmark install -Dpm 0755 src/%{name}-cli %{buildroot}%{_bindir}/%{name}-cli -install -Dpm 0755 src/%{name}-trib.rb %{buildroot}%{_bindir}/%{name}-trib.rb install -Dpm 0755 src/%{name}-server %{buildroot}%{_sbindir}/%{name}-server @@ -111,6 +107,9 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} cp %{SOURCE5} README.SUSE +mkdir -p %{buildroot}%{_sysusersdir} +install -m 644 %{SOURCE9} %{buildroot}%{_sysusersdir}/ + %check %ifnarch ppc ppc64 cat <<EOF @@ -122,11 +121,7 @@ make %{?_smp_mflags} test || true %endif -%pre -getent group %{name} >/dev/null || %{_sbindir}/groupadd -r %{name} || : -getent passwd %{name} >/dev/null || \ - %{_sbindir}/useradd -g %{name} -s /bin/false -r \ - -c "User for %{name} key-value store" -d %{_data_dir} %{name} || : +%pre -f redis.pre %service_add_pre redis.target [email protected] redis-sentinel.target [email protected] %post @@ -149,6 +144,7 @@ %{_sbindir}/%{name}-* %{_sbindir}/rc%{name} %{_libexecdir}/tmpfiles.d/%{name}.conf +%{_sysusersdir}/redis-user.conf %{_unitdir}/%{name}@.service %{_unitdir}/%{name}.target %{_unitdir}/%{name}[email protected] ++++++ redis-4.0.11.tar.gz -> redis-5.0.7.tar.gz ++++++ ++++ 135366 lines of diff (skipped) ++++++ redis-conf.patch ++++++ --- /var/tmp/diff_new_pack.pPb9EE/_old 2020-02-29 17:16:31.585052648 +0100 +++ /var/tmp/diff_new_pack.pPb9EE/_new 2020-02-29 17:16:31.585052648 +0100 @@ -61,8 +61,3 @@ # *** IMPORTANT *** # -@@ -202,4 +206,3 @@ sentinel failover-timeout mymaster 18000 - # to get the program executed. - - sentinel deny-scripts-reconfig yes -- ++++++ redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch ++++++ --- /var/tmp/diff_new_pack.pPb9EE/_old 2020-02-29 17:16:31.597052673 +0100 +++ /var/tmp/diff_new_pack.pPb9EE/_new 2020-02-29 17:16:31.597052673 +0100 @@ -2,10 +2,10 @@ =================================================================== --- src/config.h.orig +++ src/config.h -@@ -63,8 +63,10 @@ - - /* Test for backtrace() */ - #if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) +@@ -65,8 +65,10 @@ + #if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ + defined(__FreeBSD__) || (defined(__OpenBSD__) && defined(USE_BACKTRACE))\ + || defined(__DragonFly__) +#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__) || defined (__arm__) #define HAVE_BACKTRACE 1 #endif ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.pPb9EE/_old 2020-02-29 17:16:31.621052722 +0100 +++ /var/tmp/diff_new_pack.pPb9EE/_new 2020-02-29 17:16:31.621052722 +0100 @@ -1,5 +1,5 @@ [Unit] -Description=Redis +Description=Redis Sentinel instance: %i After=network.target PartOf=redis-sentinel.target ++++++ redis-user.conf ++++++ # Type Name ID GECOS [HOME] u redis - "User for redis key-value store" /var/lib/redis ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.pPb9EE/_old 2020-02-29 17:16:31.685052854 +0100 +++ /var/tmp/diff_new_pack.pPb9EE/_new 2020-02-29 17:16:31.689052863 +0100 @@ -1,5 +1,5 @@ [Unit] -Description=Redis +Description=Redis instance: %i After=network.target PartOf=redis.target ++++++ reproducible.patch ++++++ --- /var/tmp/diff_new_pack.pPb9EE/_old 2020-02-29 17:16:31.697052879 +0100 +++ /var/tmp/diff_new_pack.pPb9EE/_new 2020-02-29 17:16:31.697052879 +0100 @@ -11,40 +11,16 @@ src/mkreleasehdr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/mkreleasehdr.sh b/src/mkreleasehdr.sh -index 1ae95886b4a..c48156cf3dd 100755 ---- a/src/mkreleasehdr.sh -+++ b/src/mkreleasehdr.sh +Index: redis-5.0.5/src/mkreleasehdr.sh +=================================================================== +--- redis-5.0.5.orig/src/mkreleasehdr.sh ++++ redis-5.0.5/src/mkreleasehdr.sh @@ -1,7 +1,7 @@ #!/bin/sh GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1` GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l` -BUILD_ID=`uname -n`"-"`date +%s` -+BUILD_ID=`uname -n`"-"`date -r ../00-RELEASENOTES +%s` - test -f release.h || touch release.h - (cat release.h | grep SHA1 | grep $GIT_SHA1) && \ - (cat release.h | grep DIRTY | grep $GIT_DIRTY) && exit 0 # Already up-to-date - -From 96c1ddd8ad5b6f0f437011efef090e837a41f8e8 Mon Sep 17 00:00:00 2001 -From: "Bernhard M. Wiedemann" <[email protected]> -Date: Wed, 11 Jul 2018 18:52:06 +0200 -Subject: [PATCH 2/2] Allow to override hostname - -to make builds reproducible. ---- - src/mkreleasehdr.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/mkreleasehdr.sh b/src/mkreleasehdr.sh -index c48156cf3dd..39cf37d3378 100755 ---- a/src/mkreleasehdr.sh -+++ b/src/mkreleasehdr.sh -@@ -1,7 +1,7 @@ - #!/bin/sh - GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1` - GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l` --BUILD_ID=`uname -n`"-"`date -r ../00-RELEASENOTES +%s` +BUILD_ID=${HOST:-`uname -n`}"-"`date -r ../00-RELEASENOTES +%s` - test -f release.h || touch release.h - (cat release.h | grep SHA1 | grep $GIT_SHA1) && \ - (cat release.h | grep DIRTY | grep $GIT_DIRTY) && exit 0 # Already up-to-date + if [ -n "$SOURCE_DATE_EPOCH" ]; then + BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u +%s) + fi
