head 1.7; access; symbols pkgsrc-2022Q4:1.6.0.24 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.22 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.20 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.18 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.16 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.14 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.12 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.10 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.8 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.6 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.4 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.2 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.5.0.4 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.4.0.40 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.38 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.36 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.34 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.32 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.30 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.28 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.26 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.24 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.20 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.18 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.16 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.14 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.12 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.10 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.8 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.6 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.4 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.2 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.3.0.6 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.4 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.2 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.2.0.18 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.16 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.14 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.12 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.10 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.6 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.4 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.2 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.1.0.2 pkgsrc-2011Q4-base:1.1; locks; strict; comment @# @; 1.7 date 2023.03.09.07.38.48; author adam; state dead; branches; next 1.6; commitid e4CjWCBJk5ad9qgE; 1.6 date 2020.01.22.18.53.13; author adam; state Exp; branches; next 1.5; commitid DO7BeUQsdE1eAITB; 1.5 date 2019.11.11.17.29.50; author adam; state Exp; branches; next 1.4; commitid PQwPCHVnOADjrsKB; 1.4 date 2015.03.26.10.16.14; author jperkin; state Exp; branches; next 1.3; commitid y802cBuj5R2oo6fy; 1.3 date 2014.04.25.09.27.37; author wiz; state Exp; branches; next 1.2; commitid 2wj5qk6SetkyT2yx; 1.2 date 2012.02.25.20.52.53; author mspo; state Exp; branches; next 1.1; 1.1 date 2011.10.03.11.53.11; author adam; state Exp; branches; next ; desc @@ 1.7 log @memcached: updated to 1.6.19 Memcached 1.6.19 Many fixes and new features for the Proxy feature. Rest are small fixes or code cleanups to the cache daemon. If you're trying out the Proxy code, please upgrade or continue to track the next branch. If you use the lru_crawler metadump hash command, specifically the hash mode, there is a fix for potential slowdowns. -Werror is no longer the default when compiling. Add --enable-werror to restore the feature. @ text @$NetBSD: patch-configure,v 1.6 2020/01/22 18:53:13 adam Exp $ Remove -Werror from default flags since different compilers have very different warnings. --- configure.orig 2020-01-21 22:09:10.000000000 +0000 +++ configure @@@@ -7245,7 +7245,7 @@@@ $as_echo "#define _GNU_SOURCE 1" >>confd elif test "$GCC" = "yes" then GCC_VERSION=`$CC -dumpversion` - CFLAGS="$CFLAGS -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls" + CFLAGS="$CFLAGS -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls" if test "x$enable_asan" = "xyes"; then CFLAGS="$CFLAGS -fsanitize=address" fi @ 1.6 log @memcached: updated to 1.5.21 Memcached 1.5.21 Overview Bugfixes and smaller changes. Thanks to all the external contributors! Fixes Adding missing defaults to the --help output stats: Fix stats delimiter unit tests Allow compilation with ASAN restart: add error handling if mmap fails For text auth token mode, use alternative bcmp implementation memcached-tool: Fix up tabular output for the 'stats' command. linux_priv.c: add termios.h include to fix powerpc(64) builds Update the build documentation in BUILD file Update documentation for --max-item-size Fix build issue due to improper pthread_t comparison Ensure t/whitespace.t test is skipped when outside a memcached git checkout Allocating large chunk of slabs for FreeBSD. New Features configuration option to disable watch commands (-W) @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.5 2019/11/11 17:29:50 adam Exp $ @ 1.5 log @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 @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2015/03/26 10:16:14 jperkin Exp $ d6 1 a6 1 --- configure.orig 2019-11-11 09:22:25.000000000 +0000 d8 1 a8 1 @@@@ -7221,7 +7221,7 @@@@ $as_echo "#define _GNU_SOURCE 1" >>confd d14 3 a16 3 case $GCC_VERSION in 4.4.*) CFLAGS="$CFLAGS -fno-strict-aliasing" @ 1.4 log @Fix build with newer DTrace. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2014/04/25 09:27:37 wiz Exp $ d6 1 a6 3 Ensure DTrace tests include valid probes. --- configure.orig 2015-01-01 07:53:30.000000000 +0000 d8 1 a8 25 @@@@ -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 @ 1.3 log @Update to 1.4.18: Stats conns New "stats conns" command, which will show you what currently open connections are up to, how idle they've been, etc. Starttime Hash Algorithm Selection The jenkins hash was getting a little long in the tooth, and we might want to add specific hash algorithms for different platforms in the future. This makes it selectable in some sense. We've initially added murmur3 hash to the lineup and that seems to run a tiny bit faster in some tests. -o hash_algorithm=murmur3 LRU Crawler A new background thread emerges! Currently experimental, so the syntax might change. If you run into bugs please let us know (though it's been testing fine in torture tests so far). If you wish to clean your slab classes of items which have been expired, either one-time or periodically, this will do it with low impact as a background operation. Currently it requires kicking off a crawl via manual command: First, enable the thread: lru_crawler enable or use -o lru_crawler as a starttime option. lru_crawler crawl 1,3,5 ... would crawl slab classes 1,3,5 looking for expired items to add to the freelist. This is generally not useful or required, unless you have memory with very mixed TTLs, you do not fetch items frequently enough or otherwise cause them to expire, and you don't want items with longer TTLs block reclaiming expired items, or to be evicted early. Future uses of the thread should allow examining and purging items via a plugin interface: IE crawl all items matching some string and remove them, or count them. It is simple to modify to experiment with as of now. See doc/protocol.txt for full explanation of related commands and counters. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2012/02/25 20:52:53 mspo Exp $ d6 3 a8 1 --- configure.orig 2012-02-25 19:58:48.000000000 +0000 d10 25 a34 1 @@@@ -6261,7 +6261,7 @@@@ $as_echo "#define _GNU_SOURCE 1" >>confd @ 1.2 log @1.4.8: Feature and bugfix release. New Touch commands, counters, and a change to connection limit functionality. *Touch Commands *Binary Touch/GAT commands were backported from 1.6. *New GATK/GATKQ commands were added for completeness. *Finally, an Ascii protocol touch command was also added. *Fast Connection Limit Handling *Internal Hash Table *New Stats: expired_unfetched, evicted_unfetched 1.4.9: Small bugfix release. Mainly fixing a critical issue where using -c to increase the connection limit was broken in 1.4.8. If you are on 1.4.8, an upgrade is highly recommended. 1.4.10: This release is focused on thread scalability and performance improvements. This release should be able to feed data back faster than any network card can support as of this writing. 1.4.11: Memcached 1.4.11. Fixes race conditions and crashes introduced in 1.4.10. Adds the ability to rebalance and reassign slab memory. *Slab Reassign *Slab Automove *New Stats: slab_reassign_running, slabs_moved 1.4.12: Fix a small number of bugs, mostly in building on different platforms. 1.4.13: Really tiny release with some important build fixes which were accidentally omitted from 1.4.12. @ text @d1 4 a4 1 $NetBSD$ @ 1.1 log @Changes 1.4.7: * Use a monotonically increasing timer * Immediately expire items when given a negative expiration time * Fix memcached-tool to print about all slabs * Properly daemonize memcached for debian * Don't permanently close UDP listeners on error * Allow memcached-init to start multiple instances (not recommended) * Issue 214: Search for network libraries before searching for libevent * Issue 213: Search for clock_gettime in librt * Issue 115: accont for CAS in item_size_ok * Fix incredibly slim race for maxconns handler. Should no longer hang ever * Issue 183: Reclaim items dead by flush_all * Issue 200: Don't fire dtrace probe as the last thing in a function @ text @d3 1 a3 1 --- configure.orig 2011-08-16 22:35:45.000000000 +0000 d5 1 a5 10 @@@@ -5282,7 +5282,7 @@@@ rm -f core conftest.err conftest.$ac_obj saved_LDFLAGS="$saved_LDFLAGS -Wl,-R$ledir/lib" else if test "$GCC" = "yes"; then : - saved_LDFLAGS="$saved_LDFLAGS -Wl,-rpath=$ledir/lib" + saved_LDFLAGS="$saved_LDFLAGS -Wl,-rpath $ledir/lib" fi fi else @@@@ -6183,7 +6183,7 @@@@ $as_echo "#define _GNU_SOURCE 1" >>confd d10 1 a10 1 + CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls" @