Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 15:08:16 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561473 - in head/databases/redis-devel: . files
Message-ID:  <202101131508.10DF8GEk066265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Wed Jan 13 15:08:16 2021
New Revision: 561473
URL: https://svnweb.freebsd.org/changeset/ports/561473

Log:
  Update from 6.0.8 to 6.0.10.
  
  <ChangeLog>
  
  ================================================================================
  Redis 6.0.10     Released Tue Jan 12 16:20:20 IST 2021
  ================================================================================
  
  Upgrade urgency MODERATE: several bugs with moderate impact are fixed,
  Here is a comprehensive list of changes in this release compared to 6.0.9.
  
  Command behavior changes:
  * SWAPDB invalidates WATCHed keys (#8239)
  * SORT command behaves differently when used on a writable replica (#8283)
  * EXISTS should not alter LRU (#8016)
    In Redis 5.0 and 6.0 it would have touched the LRU/LFU of the key.
  * OBJECT should not reveal logically expired keys (#8016)
    Will now behave the same TYPE or any other non-DEBUG command.
  * GEORADIUS[BYMEMBER] can fail with -OOM if Redis is over the memory limit (#8107)
  
  Other behavior changes:
  * Sentinel: Fix missing updates to the config file after SENTINEL SET command (#8229)
  * CONFIG REWRITE is atomic and safer, but requires write access to the config file's folder (#7824, #8051)
    This change was already present in 6.0.9, but was missing from the release notes.
  
  Bug fixes with compatibility implications (bugs introduced in Redis 6.0):
  * Fix RDB CRC64 checksum on big-endian systems (#8270)
    If you're using big-endian please consider the compatibility implications with
    RESTORE, replication and persistence.
  * Fix wrong order of key/value in Lua's map response (#8266)
    If your scripts use redis.setresp() or return a map (new in Redis 6.0), please
    consider the implications.
  
  Bug fixes:
  * Fix an issue where a forked process deletes the parent's pidfile (#8231)
  * Fix crashes when enabling io-threads-do-reads (#8230)
  * Fix a crash in redis-cli after executing cluster backup (#8267)
  * Handle output buffer limits for module blocked clients (#8141)
    Could result in a module sending reply to a blocked client to go beyond the limit.
  * Fix setproctitle related crashes. (#8150, #8088)
    Caused various crashes on startup, mainly on Apple M1 chips or under instrumentation.
  * Backup/restore cluster mode keys to slots map for repl-diskless-load=swapdb (#8108)
    In cluster mode with repl-diskless-load, when loading failed, slot map wouldn't
    have been restored.
  * Fix oom-score-adj-values range, and bug when used in config file (#8046)
    Enabling setting this in the config file in a line after enabling it, would
    have been buggy.
  * Reset average ttl when empty databases (#8106)
    Just causing misleading metric in INFO
  * Disable rehash when Redis has child process (#8007)
    This could have caused excessive CoW during BGSAVE, replication or AOFRW.
  * Further improved ACL algorithm for picking categories (#7966)
    Output of ACL GETUSER is now more similar to the one provided by ACL SETUSER.
  * Fix bug with module GIL being released prematurely (#8061)
    Could in theory (and rarely) cause multi-threaded modules to corrupt memory.
  * Reduce effect of client tracking causing feedback loop in key eviction (#8100)
  * Fix cluster access to unaligned memory (SIGBUS on old ARM) (#7958)
  * Fix saving of strings larger than 2GB into RDB files (#8306)
  
  Additional improvements:
  * Avoid wasteful transient memory allocation in certain cases (#8286, #5954)
  
  Platform / toolchain support related improvements:
  * Fix crash log registers output on ARM. (#8020)
  * Add a check for an ARM64 Linux kernel bug (#8224)
    Due to the potential severity of this issue, Redis will print log warning on startup.
  * Raspberry build fix. (#8095)
  
  New configuration options:
  * oom-score-adj-values config can now take absolute values (besides relative ones) (#8046)
  
  Module related fixes:
  * Moved RMAPI_FUNC_SUPPORTED so that it's usable (#8037)
  * Improve timer accuracy (#7987)
  * Allow '\0' inside of result of RM_CreateStringPrintf (#6260)
  
  ================================================================================
  Redis 6.0.9     Released Mon Oct 26 10:37:47 IST 2020
  ================================================================================
  
  Upgrade urgency: SECURITY if you use an affected platform (see below).
                   Otherwise the upgrade urgency is MODERATE.
  
  This release fixes a potential heap overflow when using a heap allocator other
  than jemalloc or glibc's malloc. See:
  https://github.com/redis/redis/pull/7963
  
  Other fixes in this release:
  
  New:
  * Memory reporting of clients argv (#7874)
  * Add redis-cli control on raw format line delimiter (#7841)
  * Add redis-cli support for rediss:// -u prefix (#7900)
  * Get rss size support for NetBSD and DragonFlyBSD
  
  Behavior changes:
  * WATCH no longer ignores keys which have expired for MULTI/EXEC (#7920)
  * Correct OBJECT ENCODING response for stream type (#7797)
  * Allow blocked XREAD on a cluster replica (#7881)
  * TLS: Do not require CA config if not used (#7862)
  
  Bug fixes:
  * INFO report real peak memory (before eviction) (#7894)
  * Allow requirepass config to clear the password (#7899)
  * Fix config rewrite file handling to make it really atomic (#7824)
  * Fix excessive categories being displayed from ACLs (#7889)
  * Add fsync in replica when full RDB payload was received (#7839)
  * Don't write replies to socket when output buffer limit reached (#7202)
  * Fix redis-check-rdb support for modules aux data (#7826)
  * Other smaller bug fixes
  
  Modules API:
  * Add APIs for version and compatibility checks (#7865)
  * Add RM_GetClientCertificate (#7866)
  * Add RM_GetDetachedThreadSafeContext (#7886)
  * Add RM_GetCommandKeys (#7884)
  * Add Swapdb Module Event (#7804)
  * RM_GetContextFlags provides indication of being in a fork child (#7783)
  * RM_GetContextFlags document missing flags: MULTI_DIRTY, IS_CHILD (#7821)
  * Expose real client on connection events (#7867)
  * Minor improvements to module blocked on keys (#7903)
  
  </ChangeLog>

Modified:
  head/databases/redis-devel/Makefile
  head/databases/redis-devel/distinfo
  head/databases/redis-devel/files/extra-patch-src-Makefile.lua
  head/databases/redis-devel/files/extra-patch-src-Makefile.luajit
  head/databases/redis-devel/files/extra-patch-src-Makefile.luajit-or

Modified: head/databases/redis-devel/Makefile
==============================================================================
--- head/databases/redis-devel/Makefile	Wed Jan 13 15:01:23 2021	(r561472)
+++ head/databases/redis-devel/Makefile	Wed Jan 13 15:08:16 2021	(r561473)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	redis
-PORTVERSION=	6.0.8.20200910
+PORTVERSION=	6.0.10.20210112
 CATEGORIES=	databases
 PKGNAMESUFFIX=	-devel
 
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES+=		compiler:c11 gmake
 USE_GITHUB=	yes
-GH_TUPLE= 	redis:${PORTNAME}:03b59cd
+GH_TUPLE= 	redis:${PORTNAME}:8d70d49
 
 OPTIONS_DEFINE=	JEMALLOC TESTS TLS TRIB
 OPTIONS_RADIO=	EXTLUA

Modified: head/databases/redis-devel/distinfo
==============================================================================
--- head/databases/redis-devel/distinfo	Wed Jan 13 15:01:23 2021	(r561472)
+++ head/databases/redis-devel/distinfo	Wed Jan 13 15:08:16 2021	(r561473)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1599714558
-SHA256 (redis-redis-6.0.8.20200910-03b59cd_GH0.tar.gz) = 61f8d085c8c75d712d4a171f2e79795f478270ba1f34a95f740e57a0230ba7ad
-SIZE (redis-redis-6.0.8.20200910-03b59cd_GH0.tar.gz) = 2266772
+TIMESTAMP = 1610549664
+SHA256 (redis-redis-6.0.10.20210112-8d70d49_GH0.tar.gz) = 8280c19d124cd894428af68a52dfa529f93a9c7af808502cbe352801f33a0180
+SIZE (redis-redis-6.0.10.20210112-8d70d49_GH0.tar.gz) = 2294074

Modified: head/databases/redis-devel/files/extra-patch-src-Makefile.lua
==============================================================================
--- head/databases/redis-devel/files/extra-patch-src-Makefile.lua	Wed Jan 13 15:01:23 2021	(r561472)
+++ head/databases/redis-devel/files/extra-patch-src-Makefile.lua	Wed Jan 13 15:08:16 2021	(r561473)
@@ -40,13 +40,13 @@
  REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
  REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
 @@ -217,6 +220,7 @@
- REDIS_SERVER_NAME=redis-server
- REDIS_SENTINEL_NAME=redis-sentinel
+ REDIS_SERVER_NAME=redis-server$(PROG_SUFFIX)
+ REDIS_SENTINEL_NAME=redis-sentinel$(PROG_SUFFIX)
  REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crcspeed.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o timeout.o setcpuaffinity.o
 +REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
- REDIS_CLI_NAME=redis-cli
+ REDIS_CLI_NAME=redis-cli$(PROG_SUFFIX)
  REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o ae.o crcspeed.o crc64.o siphash.o crc16.o
- REDIS_BENCHMARK_NAME=redis-benchmark
+ REDIS_BENCHMARK_NAME=redis-benchmark$(PROG_SUFFIX)
 @@ -268,7 +272,7 @@
  
  # redis-server

Modified: head/databases/redis-devel/files/extra-patch-src-Makefile.luajit
==============================================================================
--- head/databases/redis-devel/files/extra-patch-src-Makefile.luajit	Wed Jan 13 15:01:23 2021	(r561472)
+++ head/databases/redis-devel/files/extra-patch-src-Makefile.luajit	Wed Jan 13 15:08:16 2021	(r561473)
@@ -40,13 +40,13 @@
  REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
  REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
 @@ -217,6 +220,7 @@
- REDIS_SERVER_NAME=redis-server
- REDIS_SENTINEL_NAME=redis-sentinel
+ REDIS_SERVER_NAME=redis-server$(PROG_SUFFIX)
+ REDIS_SENTINEL_NAME=redis-sentinel$(PROG_SUFFIX)
  REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crcspeed.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o timeout.o setcpuaffinity.o
 +REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
- REDIS_CLI_NAME=redis-cli
+ REDIS_CLI_NAME=redis-cli$(PROG_SUFFIX)
  REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o ae.o crcspeed.o crc64.o siphash.o crc16.o
- REDIS_BENCHMARK_NAME=redis-benchmark
+ REDIS_BENCHMARK_NAME=redis-benchmark$(PROG_SUFFIX)
 @@ -268,7 +272,7 @@
  
  # redis-server

Modified: head/databases/redis-devel/files/extra-patch-src-Makefile.luajit-or
==============================================================================
--- head/databases/redis-devel/files/extra-patch-src-Makefile.luajit-or	Wed Jan 13 15:01:23 2021	(r561472)
+++ head/databases/redis-devel/files/extra-patch-src-Makefile.luajit-or	Wed Jan 13 15:08:16 2021	(r561473)
@@ -40,13 +40,13 @@
  REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
  REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
 @@ -217,6 +220,7 @@
- REDIS_SERVER_NAME=redis-server
- REDIS_SENTINEL_NAME=redis-sentinel
+ REDIS_SERVER_NAME=redis-server$(PROG_SUFFIX)
+ REDIS_SENTINEL_NAME=redis-sentinel$(PROG_SUFFIX)
  REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crcspeed.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o timeout.o setcpuaffinity.o
 +REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
- REDIS_CLI_NAME=redis-cli
+ REDIS_CLI_NAME=redis-cli$(PROG_SUFFIX)
  REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o ae.o crcspeed.o crc64.o siphash.o crc16.o
- REDIS_BENCHMARK_NAME=redis-benchmark
+ REDIS_BENCHMARK_NAME=redis-benchmark$(PROG_SUFFIX)
 @@ -268,7 +272,7 @@
  
  # redis-server



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101131508.10DF8GEk066265>