Redis 4.0.11     Released Fri Aug 03 17:09:24 CEST 2018

Upgrade urgency HIGH: not critical but very important bugs fixed.

Dear users, this is just a bugfix release of Redis 4. All new work
is now focused on Redis 5, however we backported a number of bug fixes here:

* The disconnection time between the master and slave was reset in an
  incorrect place, sometimes a good slave will not be able to failover
  because it claims it was disconnected for too much time from the master.
* A replication bug, rare to trigger but non impossible, is in Redis for
  years. It was lately discovered at Redis Labs and fixed by Oran Agra.
  It may cause disconnections, desynchronizations and other issues.
* RANDOMKEY may go in infinite loop on rare situations. Now fixed.
* EXISTS now works in a more consistent way on slaves.
* Sentinel: backport of an option to deny a potential security problem
  when the SENTINEL command is used to configure an arbitrary script
  to execute.

Many of these issues are there for a very long time, however upgrading
is a good idea.
---

Tests pass on amd64 and sparc64, redis continues to work for me.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/redis/Makefile,v
retrieving revision 1.104
diff -u -p -r1.104 Makefile
--- Makefile    10 Jul 2018 13:44:57 -0000      1.104
+++ Makefile    26 Aug 2018 11:33:08 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.104 2018/07/10 13:44:57 kn Exp $
 
 COMMENT =              persistent key-value database
-DISTNAME =             redis-4.0.10
+DISTNAME =             redis-4.0.11
 CATEGORIES =           databases
 HOMEPAGE =             https://redis.io/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/redis/distinfo,v
retrieving revision 1.81
diff -u -p -r1.81 distinfo
--- distinfo    10 Jul 2018 13:44:57 -0000      1.81
+++ distinfo    15 Aug 2018 12:26:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (redis-4.0.10.tar.gz) = HbZ0NacE+NGK7JuWN7Nzw0qiM9ZbbhdL2sTBsWHzjKQ=
-SIZE (redis-4.0.10.tar.gz) = 1738465
+SHA256 (redis-4.0.11.tar.gz) = /FPnOudYa82stLY4ddH/BPaMVHTB3e2njwDlri7tG7s=
+SIZE (redis-4.0.11.tar.gz) = 1739656
Index: patches/patch-sentinel_conf
===================================================================
RCS file: /cvs/ports/databases/redis/patches/patch-sentinel_conf,v
retrieving revision 1.5
diff -u -p -r1.5 patch-sentinel_conf
--- patches/patch-sentinel_conf 27 Sep 2016 14:38:26 -0000      1.5
+++ patches/patch-sentinel_conf 15 Aug 2018 12:27:24 -0000
@@ -1,6 +1,7 @@
 $OpenBSD: patch-sentinel_conf,v 1.5 2016/09/27 14:38:26 dcoppa Exp $
---- sentinel.conf.orig Mon Sep 26 09:10:17 2016
-+++ sentinel.conf      Tue Sep 27 16:34:54 2016
+Index: sentinel.conf
+--- sentinel.conf.orig
++++ sentinel.conf
 @@ -167,7 +167,7 @@ sentinel failover-timeout mymaster 180000
  #
  # Example:
@@ -10,10 +11,12 @@ $OpenBSD: patch-sentinel_conf,v 1.5 2016
  
  # CLIENTS RECONFIGURATION SCRIPT
  #
-@@ -192,5 +192,5 @@ sentinel failover-timeout mymaster 180000
+@@ -192,7 +192,7 @@ sentinel failover-timeout mymaster 180000
  #
  # Example:
  #
 -# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh
 +# sentinel client-reconfig-script mymaster ${DBDIR}/reconfig.sh
  
+ # SECURITY
+ #
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/redis/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   10 May 2016 09:38:48 -0000      1.10
+++ pkg/PLIST   28 Jun 2018 09:38:19 -0000
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.10 2016/05/10 09:38:48 dcoppa Exp $
 @newgroup _redis:686
 @newuser _redis:686:_redis:daemon:redis account:${DBDIR}:/sbin/nologin
+@rcscript ${RCDIR}/redis
 @bin bin/redis-benchmark
 @bin bin/redis-check-aof
 @bin bin/redis-check-rdb
@@ -17,7 +18,3 @@ share/examples/redis/sentinel.conf
 @owner _redis
 @group _redis
 @sample ${DBDIR}/
-@mode
-@owner
-@group
-@rcscript ${RCDIR}/redis

Reply via email to