summaryrefslogtreecommitdiff
path: root/databases/redis
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-03 11:31:39 +0000
committeradam <adam@pkgsrc.org>2020-05-03 11:31:39 +0000
commit42ff20ce58c6a0f16ae6e1ca158693e1e1d6ced3 (patch)
tree2f3a5fb47ceae1c47192bafdb53861c8d0f961c2 /databases/redis
parent3e7ec559dfd62b4a6d3f585b79564ac64ae3b868 (diff)
downloadpkgsrc-42ff20ce58c6a0f16ae6e1ca158693e1e1d6ced3.tar.gz
redis: updated to 6.0.1
Redis 6.0.1 =========== Upgrade urgency HIGH: This release fixes a crash when builiding against Libc malloc. Here we revert 8110ba888, an optimization that causes a crash due to a bug in the code. It does not happen with the default allocator because of differences between Jemalloc and libc malloc, so this escaped all our testing but was reported by a user. We'll add back the original optimization that was reverted here later, after checking what happens: it is not a critical optimization. Redis 6.0.0 GA ============== Upgrade urgency CRITICAL: many bugs fixed compared to the last release candidate. Better to upgrade if you see things affecting your environment in the changelog. Hi all, finally we have Redis 6.0.0 GA! Enjoy this new Redis release. Most of the documentation was updated today so that you can likely find what you are looking for about the new features at redis.io. This is the list of what changed compared to the previoius release candidate: * XCLAIM AOF/replicas propagation fixed. * Client side caching: new NOLOOP option to avoid getting notified about changes performed by ourselves. * ACL GENPASS now uses HMAC-SHA256 and have an optional "bits" argument. It means you can use it as a general purpose "secure random strings" primitive! * Cluster "SLOTS" subcommand memory optimization. * The LCS command is now a subcommand of STRALGO. * Meaningful offset for replicas as well. More successful partial resynchronizations. * Optimize memory usage of deferred replies. * Faster CRC64 algorithm for faster RDB loading. * XINFO STREAM FULL, a new subcommand to get the whole stream state. * CLIENT KILL USER <username>. * MIGRATE AUTH2 option, for ACL style authentication support. * Other random bugfixes.
Diffstat (limited to 'databases/redis')
-rw-r--r--databases/redis/Makefile4
-rw-r--r--databases/redis/distinfo13
-rw-r--r--databases/redis/patches/patch-src_Makefile13
-rw-r--r--databases/redis/patches/patch-src_config.h20
4 files changed, 36 insertions, 14 deletions
diff --git a/databases/redis/Makefile b/databases/redis/Makefile
index 5686dba651d..cf6c0693864 100644
--- a/databases/redis/Makefile
+++ b/databases/redis/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.48 2020/03/13 09:34:56 adam Exp $
+# $NetBSD: Makefile,v 1.49 2020/05/03 11:31:39 adam Exp $
-DISTNAME= redis-5.0.8
+DISTNAME= redis-6.0.1
CATEGORIES= databases
MASTER_SITES= http://download.redis.io/releases/
diff --git a/databases/redis/distinfo b/databases/redis/distinfo
index 89145520063..d86312bd2e7 100644
--- a/databases/redis/distinfo
+++ b/databases/redis/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.47 2020/03/13 09:34:56 adam Exp $
+$NetBSD: distinfo,v 1.48 2020/05/03 11:31:39 adam Exp $
-SHA1 (redis-5.0.8.tar.gz) = 6a31f85506d5f2fc5aa83dedbdb7ddb82948a7dc
-RMD160 (redis-5.0.8.tar.gz) = 91bb5a283b0a040aeb67dcab954a7c1b85490e3b
-SHA512 (redis-5.0.8.tar.gz) = 106a74ab910267472fb418fdeb4f39e29efe9d73ed5af78b7847c91eaabd473dd729a63078e72d8e87c842169502946e9a0a97c42dea415db82732864c7c46dc
-Size (redis-5.0.8.tar.gz) = 1985757 bytes
+SHA1 (redis-6.0.1.tar.gz) = 0dbc4ae6bcc5f3efb80fff584b2ee08a1f2339a4
+RMD160 (redis-6.0.1.tar.gz) = b6b3c04aa80bf8df6ff0476482c3cb929bc102c2
+SHA512 (redis-6.0.1.tar.gz) = bf1312f08433819941a5d64674d989d260930e2f2588e4a7d743950714e565684cfc35866763a66a3aeed2fe6f750c64a759e6227243784acc97975d49b9ecc2
+Size (redis-6.0.1.tar.gz) = 2204138 bytes
SHA1 (patch-redis.conf) = 528c28e2b7483eb20ccab8f2ab9543822792f016
-SHA1 (patch-src_Makefile) = 2c4f6d822980874cc9ff95d239040985fa364649
+SHA1 (patch-src_Makefile) = 17043eeff933b5eb2ffb37d2c27263939b39bf6d
+SHA1 (patch-src_config.h) = a0026ef9264ce454eca7291128eb67294eef4bb5
SHA1 (patch-src_hyperloglog.c) = 65a4a220ccd4282162c50293f4fe278a43b84239
SHA1 (patch-src_object.c) = 30ffaec9c7e6135e3a5576cd1a35d7bcec668299
diff --git a/databases/redis/patches/patch-src_Makefile b/databases/redis/patches/patch-src_Makefile
index a6ce90c1338..994c4b1d8a2 100644
--- a/databases/redis/patches/patch-src_Makefile
+++ b/databases/redis/patches/patch-src_Makefile
@@ -1,8 +1,9 @@
-$NetBSD: patch-src_Makefile,v 1.1 2018/12/13 19:35:12 adam Exp $
+$NetBSD: patch-src_Makefile,v 1.2 2020/05/03 11:31:39 adam Exp $
-Add DESTDIR support. Fix NetBSD support.
+Add DESTDIR support.
+Fix NetBSD support.
---- src/Makefile.orig 2018-12-12 12:25:58.000000000 +0000
+--- src/Makefile.orig 2020-05-01 22:10:20.000000000 +0000
+++ src/Makefile
@@ -30,8 +30,8 @@ WARN=-Wall -W -Wno-missing-field-initial
OPT=$(OPTIMIZATION)
@@ -12,10 +13,10 @@ Add DESTDIR support. Fix NetBSD support.
-INSTALL=install
+INSTALL_BIN=$(DESTDIR)$(PREFIX)/bin
+INSTALL=$(BSD_INSTALL_PROGRAM)
+ PKG_CONFIG?=pkg-config
# Default allocator defaults to Jemalloc if it's not an ARM
- MALLOC=libc
-@@ -109,6 +109,10 @@ ifeq ($(uname_S),OpenBSD)
+@@ -121,6 +121,10 @@ ifeq ($(uname_S),OpenBSD)
endif
else
@@ -26,7 +27,7 @@ Add DESTDIR support. Fix NetBSD support.
ifeq ($(uname_S),FreeBSD)
# FreeBSD
FINAL_LIBS+= -lpthread -lexecinfo
-@@ -126,6 +130,7 @@ endif
+@@ -138,6 +142,7 @@ endif
endif
endif
endif
diff --git a/databases/redis/patches/patch-src_config.h b/databases/redis/patches/patch-src_config.h
new file mode 100644
index 00000000000..197ea751308
--- /dev/null
+++ b/databases/redis/patches/patch-src_config.h
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_config.h,v 1.1 2020/05/03 11:31:39 adam Exp $
+
+Support pthread_setname_np() on NetBSD.
+
+--- src/config.h.orig 2020-05-03 10:34:02.787449751 +0000
++++ src/config.h
+@@ -230,9 +230,12 @@ void setproctitle(const char *fmt, ...);
+ #ifdef __linux__
+ #define redis_set_thread_title(name) pthread_setname_np(pthread_self(), name)
+ #else
+-#if (defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__)
++#if (defined __FreeBSD__ || defined __OpenBSD__)
+ #include <pthread_np.h>
+ #define redis_set_thread_title(name) pthread_set_name_np(pthread_self(), name)
++#elif defined __NetBSD__
++#include <pthread.h>
++#define redis_set_thread_title(name) pthread_setname_np(pthread_self(), name, NULL)
+ #else
+ #if (defined __APPLE__ && defined(MAC_OS_X_VERSION_10_7))
+ int pthread_setname_np(const char *name);