pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/memcached memcached: updated to 1.5.20



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1feb3a9be2d
branches:  trunk
changeset: 404349:c1feb3a9be2d
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 11 17:29:50 2019 +0000

description:
memcached: updated to 1.5.20

Memcached 1.5.20

Bugfix release.

Security issue: When enabling SASL authentication for binary protocol, enabling UDP mode would allow bypassing SASL. Now refuses to start with both UDP and SASL enabled. Text mode authentication was 
not vulnerable.

Includes a performance improvement for page rebalancing. Full discussion here: https://github.com/memcached/memcached/pull/524 - in some circumstances, page will be moved between slab classes much 
faster than before.

Fixes

Security fix: Don't allow UDP with binprot SASL
Remove multiple double-initializations of condition variables and mutexes
Fix data race in assoc_start_expand
Use a proper data type for settings.sig_hup
restart: add error handling when a tag is not found in a metadata file.
doc: Update rfc2629.dtd, use local copy, fix error, and fix warning
doc: Fix out-of-tree build
slab rebalance performance improvements
fix potential deadlock bug in log watcher
Support running tests in out-of-tree build
configure: Fix cross-compilation errors
DTrace build fix

diffstat:

 devel/memcached/Makefile                  |   4 +-
 devel/memcached/PLIST                     |   4 ++-
 devel/memcached/distinfo                  |  14 ++++++------
 devel/memcached/patches/patch-Makefile.in |  10 ++++----
 devel/memcached/patches/patch-configure   |  32 ++----------------------------
 5 files changed, 20 insertions(+), 44 deletions(-)

diffs (118 lines):

diff -r 3c59a7f16379 -r c1feb3a9be2d devel/memcached/Makefile
--- a/devel/memcached/Makefile  Mon Nov 11 17:06:00 2019 +0000
+++ b/devel/memcached/Makefile  Mon Nov 11 17:29:50 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2019/11/03 10:39:20 rillig Exp $
+# $NetBSD: Makefile,v 1.68 2019/11/11 17:29:50 adam Exp $
 
-DISTNAME=      memcached-1.5.19
+DISTNAME=      memcached-1.5.20
 CATEGORIES=    devel
 MASTER_SITES=  http://www.memcached.org/files/
 
diff -r 3c59a7f16379 -r c1feb3a9be2d devel/memcached/PLIST
--- a/devel/memcached/PLIST     Mon Nov 11 17:06:00 2019 +0000
+++ b/devel/memcached/PLIST     Mon Nov 11 17:29:50 2019 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST,v 1.14 2019/04/16 07:50:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2019/11/11 17:29:50 adam Exp $
 bin/memcached
 bin/memcached-tool
 include/memcached/protocol_binary.h
 man/man1/memcached.1
 share/doc/memcached/new_lru.txt
+share/doc/memcached/protocol-binary-range.txt
+share/doc/memcached/protocol-binary.txt
 share/doc/memcached/protocol.txt
 share/doc/memcached/readme.txt
 share/doc/memcached/storage.txt
diff -r 3c59a7f16379 -r c1feb3a9be2d devel/memcached/distinfo
--- a/devel/memcached/distinfo  Mon Nov 11 17:06:00 2019 +0000
+++ b/devel/memcached/distinfo  Mon Nov 11 17:29:50 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.38 2019/10/01 18:17:24 adam Exp $
+$NetBSD: distinfo,v 1.39 2019/11/11 17:29:50 adam Exp $
 
-SHA1 (memcached-1.5.19.tar.gz) = 14e6a02e743838696fcb620edf6a2fd7e60cabec
-RMD160 (memcached-1.5.19.tar.gz) = fa9bac7effb07c9fc44d23de45b249308a281630
-SHA512 (memcached-1.5.19.tar.gz) = 4445f383e18ffc53071c13b495c3864978658f4f6f439ab4579dd831fc12ad4850e04e9526954608ae627b0b23a9d6cb327560f02d15abff23e12f5d7c1723b4
-Size (memcached-1.5.19.tar.gz) = 517380 bytes
-SHA1 (patch-Makefile.in) = c292d9ecc04c18925731a2710676789972584fe8
-SHA1 (patch-configure) = d44e07c0c38029df4f10bb5411049595b5a8ffbb
+SHA1 (memcached-1.5.20.tar.gz) = 5d3b5af3ce0a1483d655017db7228bcaeff10d47
+RMD160 (memcached-1.5.20.tar.gz) = fd150833ca05ec5712fc030a3450510f0a8ae760
+SHA512 (memcached-1.5.20.tar.gz) = 07b125971fcec2cd06797fe16e9825e18b9d3446f6b91583f82f1b50920cd0e55c65506ebdf5fcef7b08d92f9641a20859ba67b3dd3986ba5624d0d6f494293d
+Size (memcached-1.5.20.tar.gz) = 531035 bytes
+SHA1 (patch-Makefile.in) = d0dce85040734a2532d4dced9daed0032433e80f
+SHA1 (patch-configure) = d2234d7270837c2c192d4ca3b485de9d4b6ac3ee
 SHA1 (patch-items.c) = 33e9ff564f755fa2ef201978cb509800ea400fa0
 SHA1 (patch-logger.h) = 130c573e07b7d9b6caff1c98e40b36a96cb3c064
 SHA1 (patch-memcached.c) = ce42a0b1aea95b1e4126b08310ac7276cadcdaef
diff -r 3c59a7f16379 -r c1feb3a9be2d devel/memcached/patches/patch-Makefile.in
--- a/devel/memcached/patches/patch-Makefile.in Mon Nov 11 17:06:00 2019 +0000
+++ b/devel/memcached/patches/patch-Makefile.in Mon Nov 11 17:29:50 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-Makefile.in,v 1.6 2019/04/16 07:50:19 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.7 2019/11/11 17:29:50 adam Exp $
 
 List test prerequisite.
 
---- Makefile.in.orig   2019-04-16 04:51:15.000000000 +0000
+--- Makefile.in.orig   2019-11-11 09:22:25.000000000 +0000
 +++ Makefile.in
-@@ -1914,7 +1914,7 @@ memcached_debug_dtrace.o: $(memcached_de
+@@ -2015,7 +2015,7 @@ memcached_debug_dtrace.o: $(memcached_de
  @ENABLE_TLS_TRUE@       echo "Set SSL_TEST=1 to enable TLS tests"; \
  @ENABLE_TLS_TRUE@     fi
  
 -test: memcached-debug sizes testapp
 +test: memcached-debug sizes testapp timedrun
-       $(srcdir)/sizes
-       $(srcdir)/testapp
+       $(builddir)/sizes
+       $(builddir)/testapp
  @ENABLE_TLS_TRUE@     @if test $(SSL_TEST)1 = 1; then \
diff -r 3c59a7f16379 -r c1feb3a9be2d devel/memcached/patches/patch-configure
--- a/devel/memcached/patches/patch-configure   Mon Nov 11 17:06:00 2019 +0000
+++ b/devel/memcached/patches/patch-configure   Mon Nov 11 17:29:50 2019 +0000
@@ -1,37 +1,11 @@
-$NetBSD: patch-configure,v 1.4 2015/03/26 10:16:14 jperkin Exp $
+$NetBSD: patch-configure,v 1.5 2019/11/11 17:29:50 adam Exp $
 
 Remove -Werror from default flags since different compilers
 have very different warnings.
 
-Ensure DTrace tests include valid probes.
-
---- configure.orig     2015-01-01 07:53:30.000000000 +0000
+--- configure.orig     2019-11-11 09:22:25.000000000 +0000
 +++ configure
-@@ -4918,13 +4918,21 @@ fi
- $as_echo "#define ENABLE_DTRACE 1" >>confdefs.h
- 
-     build_dtrace=yes
-+    $as_echo "provider conftest { probe fire(); };" >conftest_provider.d
-+    $DTRACE -h -o conftest_provider.h -s conftest_provider.d >/dev/null 2>/dev/null
-+    cat <<_ACEOF >conftest.$ac_ext
-+#include "conftest_provider.h"
-+int main (void) { CONFTEST_FIRE(); return 0; }
-+_ACEOF
-+    ac_fn_c_try_compile "$LINENO"
-     # DTrace on MacOSX does not use -G option
--    $DTRACE -G -o conftest.$$ -s memcached_dtrace.d 2>/dev/zero
-+    $DTRACE -G -o conftest.$$ -s conftest_provider.d conftest.$ac_objext 2>/dev/null
-     if test $? -eq 0
-     then
-         dtrace_instrument_obj=yes
--        rm conftest.$$
-     fi
-+    rm -f core conftest.err conftest.$ac_objext \
-+        conftest$ac_exeext conftest.$ac_ext conftest.$$
- 
-     if test "`which tr`" = "/usr/ucb/tr"; then
-         as_fn_error $? "Please remove /usr/ucb from your path. See man standards for more info" "$LINENO" 5
-@@ -6435,7 +6443,7 @@ $as_echo "#define _GNU_SOURCE 1" >>confd
+@@ -7221,7 +7221,7 @@ $as_echo "#define _GNU_SOURCE 1" >>confd
  elif test "$GCC" = "yes"
  then
    GCC_VERSION=`$CC -dumpversion`



Home | Main Index | Thread Index | Old Index