pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/redis



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun May  3 11:31:40 UTC 2020

Modified Files:
        pkgsrc/databases/redis: Makefile distinfo
        pkgsrc/databases/redis/patches: patch-src_Makefile
Added Files:
        pkgsrc/databases/redis/patches: patch-src_config.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/databases/redis/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/databases/redis/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/redis/patches/patch-src_Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/redis/patches/patch-src_config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/redis/Makefile
diff -u pkgsrc/databases/redis/Makefile:1.48 pkgsrc/databases/redis/Makefile:1.49
--- pkgsrc/databases/redis/Makefile:1.48        Fri Mar 13 09:34:56 2020
+++ pkgsrc/databases/redis/Makefile     Sun May  3 11:31:39 2020
@@ -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/
 

Index: pkgsrc/databases/redis/distinfo
diff -u pkgsrc/databases/redis/distinfo:1.47 pkgsrc/databases/redis/distinfo:1.48
--- pkgsrc/databases/redis/distinfo:1.47        Fri Mar 13 09:34:56 2020
+++ pkgsrc/databases/redis/distinfo     Sun May  3 11:31:39 2020
@@ -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

Index: pkgsrc/databases/redis/patches/patch-src_Makefile
diff -u pkgsrc/databases/redis/patches/patch-src_Makefile:1.1 pkgsrc/databases/redis/patches/patch-src_Makefile:1.2
--- pkgsrc/databases/redis/patches/patch-src_Makefile:1.1       Thu Dec 13 19:35:12 2018
+++ pkgsrc/databases/redis/patches/patch-src_Makefile   Sun May  3 11:31:39 2020
@@ -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

Added files:

Index: pkgsrc/databases/redis/patches/patch-src_config.h
diff -u /dev/null pkgsrc/databases/redis/patches/patch-src_config.h:1.1
--- /dev/null   Sun May  3 11:31:40 2020
+++ pkgsrc/databases/redis/patches/patch-src_config.h   Sun May  3 11:31:39 2020
@@ -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);



Home | Main Index | Thread Index | Old Index