Accepting request 1104035 from home:darix:apps

- redis 7.2.0
  - Bug Fixes
    - redis-cli in cluster mode handles unknown-endpoint (#12273)
    - Update request / response policy hints for a few commands
      (#12417)
    - Ensure that the function load timeout is disabled during
      loading from RDB/AOF and on replicas. (#12451)
    - Fix false success and a memory leak for ACL selector with bad
      parenthesis combination (#12452)
    - Fix the assertion when script timeout occurs after it
      signaled a blocked client (#12459)
  - Fixes for issues in previous releases of Redis 7.2
    - Update MONITOR client's memory correctly for INFO and
      client-eviction (#12420)
    - The response of cluster nodes was unnecessarily adding an
      extra comma when no hostname was present. (#12411)
- refreshed redis-conf.patch:
- switch to autosetup now that we switched the last patch to patch
  level 1

OBS-URL: https://build.opensuse.org/request/show/1104035
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=228
This commit is contained in:
Martin Pluskal 2023-08-21 08:20:31 +00:00 committed by Git OBS Bridge
parent ce9b309603
commit 1f4aec653b
6 changed files with 48 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7
size 2992216

3
redis-7.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b12e242647635b419a0e1833eda02b65bf64e39eb9e509d9db4888fb3124943
size 3381269

View File

@ -1,8 +1,8 @@
Index: redis.conf diff --git a/redis.conf b/redis.conf
=================================================================== index 97f077b0d..6ba6b290e 100644
--- redis.conf.orig --- a/redis.conf
+++ redis.conf +++ b/redis.conf
@@ -244,7 +244,7 @@ @@ -306,7 +306,7 @@ tcp-keepalive 300
# By default Redis does not run as a daemon. Use 'yes' if you need it. # 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. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
# When Redis is supervised by upstart or systemd, this parameter has no impact. # When Redis is supervised by upstart or systemd, this parameter has no impact.
@ -11,7 +11,7 @@ Index: redis.conf
# If you run Redis from upstart or systemd, Redis can interact with your # If you run Redis from upstart or systemd, Redis can interact with your
# supervision tree. Options: # supervision tree. Options:
@@ -262,7 +262,7 @@ @@ -324,7 +324,7 @@ daemonize no
# The default is "no". To run under upstart/systemd, you can simply uncomment # The default is "no". To run under upstart/systemd, you can simply uncomment
# the line below: # the line below:
# #
@ -20,7 +20,7 @@ Index: redis.conf
# If a pid file is specified, Redis writes it where specified at startup # If a pid file is specified, Redis writes it where specified at startup
# and removes it at exit. # and removes it at exit.
@@ -276,7 +276,7 @@ @@ -338,7 +338,7 @@ daemonize no
# #
# Note that on modern Linux systems "/run/redis.pid" is more conforming # Note that on modern Linux systems "/run/redis.pid" is more conforming
# and should be used instead. # and should be used instead.
@ -29,7 +29,7 @@ Index: redis.conf
# Specify the server verbosity level. # Specify the server verbosity level.
# This can be one of: # This can be one of:
@@ -289,7 +289,8 @@ @@ -352,7 +352,8 @@ loglevel notice
# Specify the log file name. Also the empty string can be used to force # 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 # 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 # output for logging but daemonize, logs will be sent to /dev/null
@ -39,7 +39,7 @@ Index: redis.conf
# To enable logging to the system logger, just set 'syslog-enabled' to yes, # To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs. # and optionally update the other syslog parameters to suit your needs.
@@ -441,7 +442,7 @@ @@ -507,7 +508,7 @@ rdb-del-sync-files no
# The Append Only File will also be created inside this directory. # The Append Only File will also be created inside this directory.
# #
# Note that you must specify a directory here, not a file name. # Note that you must specify a directory here, not a file name.
@ -48,11 +48,11 @@ Index: redis.conf
################################# REPLICATION ################################# ################################# REPLICATION #################################
Index: sentinel.conf diff --git a/sentinel.conf b/sentinel.conf
=================================================================== index b7b3604f0..8262608ad 100644
--- sentinel.conf.orig --- a/sentinel.conf
+++ sentinel.conf +++ b/sentinel.conf
@@ -24,16 +24,18 @@ @@ -13,11 +13,12 @@ port 26379
# Note that Redis will write a pid file in /var/run/redis-sentinel.pid when # Note that Redis will write a pid file in /var/run/redis-sentinel.pid when
# daemonized. # daemonized.
daemonize no daemonize no
@ -64,12 +64,14 @@ Index: sentinel.conf
-pidfile /var/run/redis-sentinel.pid -pidfile /var/run/redis-sentinel.pid
+pidfile /run/redis/sentinel-default.pid +pidfile /run/redis/sentinel-default.pid
# Specify the server verbosity level.
# This can be one of:
@@ -31,7 +32,7 @@ loglevel notice
# Specify the log file name. Also the empty string can be used to force # Specify the log file name. Also the empty string can be used to force
# Sentinel to log on the standard output. Note that if you use standard # Sentinel to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null # output for logging but daemonize, logs will be sent to /dev/null
-logfile "" -logfile ""
+loglevel notice
+logfile /var/log/redis/sentinel-default.log +logfile /var/log/redis/sentinel-default.log
# sentinel announce-ip <ip> # To enable logging to the system logger, just set 'syslog-enabled' to yes,
# sentinel announce-port <port> # and optionally update the other syslog parameters to suit your needs.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Aug 15 11:28:07 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
- redis 7.2.0
- Bug Fixes
- redis-cli in cluster mode handles unknown-endpoint (#12273)
- Update request / response policy hints for a few commands
(#12417)
- Ensure that the function load timeout is disabled during
loading from RDB/AOF and on replicas. (#12451)
- Fix false success and a memory leak for ACL selector with bad
parenthesis combination (#12452)
- Fix the assertion when script timeout occurs after it
signaled a blocked client (#12459)
- Fixes for issues in previous releases of Redis 7.2
- Update MONITOR client's memory correctly for INFO and
client-eviction (#12420)
- The response of cluster nodes was unnecessarily adding an
extra comma when no hostname was present. (#12411)
- refreshed redis-conf.patch:
- switch to autosetup now that we switched the last patch to patch
level 1
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 12 14:10:43 UTC 2023 - Danilo Spinella <danilo.spinella@suse.com> Wed Jul 12 14:10:43 UTC 2023 - Danilo Spinella <danilo.spinella@suse.com>

View File

@ -163,3 +163,4 @@ hash redis-6.0.20.tar.gz sha256 173d4c5f44b5d7186da96c4adc5cb20e8018b50ec3a8dfe0
hash redis-6.2.13.tar.gz sha256 89ff27c80d420456a721ccfb3beb7cc628d883c53059803513749e13214a23d1 http://download.redis.io/releases/redis-6.2.13.tar.gz hash redis-6.2.13.tar.gz sha256 89ff27c80d420456a721ccfb3beb7cc628d883c53059803513749e13214a23d1 http://download.redis.io/releases/redis-6.2.13.tar.gz
hash redis-7.0.12.tar.gz sha256 9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7 http://download.redis.io/releases/redis-7.0.12.tar.gz hash redis-7.0.12.tar.gz sha256 9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7 http://download.redis.io/releases/redis-7.0.12.tar.gz
hash redis-7.2-rc3.tar.gz sha256 4035e2b146ca1eb43b4188ca30a6d7be1a4d40ac2dfdf58db8f885517bbab41a http://download.redis.io/releases/redis-7.2-rc3.tar.gz hash redis-7.2-rc3.tar.gz sha256 4035e2b146ca1eb43b4188ca30a6d7be1a4d40ac2dfdf58db8f885517bbab41a http://download.redis.io/releases/redis-7.2-rc3.tar.gz
hash redis-7.2.0.tar.gz sha256 8b12e242647635b419a0e1833eda02b65bf64e39eb9e509d9db4888fb3124943 http://download.redis.io/releases/redis-7.2.0.tar.gz

View File

@ -20,7 +20,7 @@
%define _log_dir %{_localstatedir}/log/%{name} %define _log_dir %{_localstatedir}/log/%{name}
%define _conf_dir %{_sysconfdir}/%{name} %define _conf_dir %{_sysconfdir}/%{name}
Name: redis Name: redis
Version: 7.0.12 Version: 7.2.0
Release: 0 Release: 0
Summary: Persistent key-value database Summary: Persistent key-value database
License: BSD-3-Clause License: BSD-3-Clause
@ -63,10 +63,7 @@ different kind of sorting abilities.
%prep %prep
echo "`grep -F %{name}-%{version}.tar.gz %{SOURCE10} | cut -d' ' -f4` %{SOURCE0}" | sha256sum -c echo "`grep -F %{name}-%{version}.tar.gz %{SOURCE10} | cut -d' ' -f4` %{SOURCE0}" | sha256sum -c
%setup -q %autosetup -p1
%patch0
%patch3 -p1
%patch4 -p1
%build %build
export HOST=OBS # for reproducible builds export HOST=OBS # for reproducible builds