From 8ddd9cd203f6af4211efa0d92ef742dd8c246382 Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 27 Feb 2007 11:29:18 +0000 Subject: update memcached to 1.2.1. changes since 1.1.12: 2006-11-26 * Steven Grimm : Performance improvements: Dynamic sizing of hashtable to reduce collisions on very large caches and conserve memory on small caches. Only reposition items in the LRU queue once a minute, to reduce overhead of accessing extremely frequently-used items. Stop listening for new connections until an existing one closes if we run out of available file descriptors. Command parser refactoring: Add a single-pass tokenizer to cut down on string scanning. Split the command processing into separate functions for easier profiling and better readability. Pass key lengths along with the keys in all API functions that need keys, to avoid needing to call strlen() repeatedly. 2006-11-13 * Iain Wade : Fix for UDP responses on non-"get" commands. 2006-10-13 * Steven Grimm : New faster hash function. 2006-09-20 * don't listen on UDP by default; more clear message when UDP port in use 2006-09-09 * release 1.2.0 (along with 1.1.13, which is the more tested branch) 2006-09-02 * Nathan Neulinger : fix breakage in expiration code causing expiration times to not be processed correctly. 2006-08-21 * Nathan Neulinger : fix incompatabilities with unix domain socket support and the UDP code and clean up stale sockets 2006-08-20 * Nathan Neulinger : unix domain socket support 2006-05-03 * Steven Grimm : big bunch of changes: big CPU reduction work, UDP-based interface, increased memory efficiency. (intertwined patch, committed all together) or see svn commit logs 2005-08-09 * Elizabeth Mattijsen : needed a way to flush all memcached backend servers, but not at exactly the same time (to reduce load peaks), I've added some simple functionality to the memcached protocol in the "flush_all" command that allows you to specify a time at which the flush will actually occur (instead of always at the moment the "flush_all" command is received). 2005-05-25 * patch from Peter van Dijk to make stderr unbuffered, for running under daemontools --- devel/memcached/Makefile | 5 ++--- devel/memcached/distinfo | 11 ++++++----- devel/memcached/patches/patch-aa | 12 ++++++------ devel/memcached/patches/patch-ab | 10 ++++++++++ 4 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 devel/memcached/patches/patch-ab (limited to 'devel/memcached') diff --git a/devel/memcached/Makefile b/devel/memcached/Makefile index 3d3c0871a98..56c48d86753 100644 --- a/devel/memcached/Makefile +++ b/devel/memcached/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2007/02/11 05:22:24 tv Exp $ +# $NetBSD: Makefile,v 1.9 2007/02/27 11:29:18 grant Exp $ # -DISTNAME= memcached-1.1.12 -PKGREVISION= 1 +DISTNAME= memcached-1.2.1 CATEGORIES= devel MASTER_SITES= http://www.danga.com/memcached/dist/ diff --git a/devel/memcached/distinfo b/devel/memcached/distinfo index fc81f6dfb6c..42dc3fd0f79 100644 --- a/devel/memcached/distinfo +++ b/devel/memcached/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2006/02/23 03:50:23 grant Exp $ +$NetBSD: distinfo,v 1.4 2007/02/27 11:29:19 grant Exp $ -SHA1 (memcached-1.1.12.tar.gz) = 431bfc095c777948073e38436c6cf176acb6b5de -RMD160 (memcached-1.1.12.tar.gz) = 4a1914d157cdd0d73102733f32dd835a494585c4 -Size (memcached-1.1.12.tar.gz) = 114103 bytes -SHA1 (patch-aa) = efcfc94c2dc9342acea4c4c5cc9195c34abf2b97 +SHA1 (memcached-1.2.1.tar.gz) = 07ce5441874c052d28484070438822eedd7cc8ec +RMD160 (memcached-1.2.1.tar.gz) = 0b275591af74440f3de22946fb7ccc658f6578af +Size (memcached-1.2.1.tar.gz) = 148755 bytes +SHA1 (patch-aa) = 0420acd9ba1a90cd32896f3864b53c31528191cf +SHA1 (patch-ab) = c07e16d7234eb14f377a72568580e7bcbbd9e8f1 diff --git a/devel/memcached/patches/patch-aa b/devel/memcached/patches/patch-aa index eef566e8d36..c0c8c0f0332 100644 --- a/devel/memcached/patches/patch-aa +++ b/devel/memcached/patches/patch-aa @@ -1,12 +1,12 @@ -$NetBSD: patch-aa,v 1.1.1.1 2005/02/09 05:37:30 xtraeme Exp $ +$NetBSD: patch-aa,v 1.2 2007/02/27 11:29:19 grant Exp $ ---- memcached.c.orig 2005-02-08 15:26:55.000000000 +0100 -+++ memcached.c 2005-02-08 15:27:09.000000000 +0100 -@@ -42,6 +42,7 @@ - #include +--- memcached.c.orig 2006-12-05 20:34:10.000000000 +1100 ++++ memcached.c +@@ -49,6 +49,7 @@ #include #include + #include +#include #ifdef HAVE_MALLOC_H - #include + /* OpenBSD has a malloc.h, but warns to use stdlib.h instead */ diff --git a/devel/memcached/patches/patch-ab b/devel/memcached/patches/patch-ab new file mode 100644 index 00000000000..f6acedfdafa --- /dev/null +++ b/devel/memcached/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1 2007/02/27 11:29:19 grant Exp $ + +--- memcached.h.orig 2006-12-05 20:34:10.000000000 +1100 ++++ memcached.h +@@ -282,3 +282,5 @@ void item_flush_expired(void); + void set_current_time (); /* update the global variable holding + global 32-bit seconds-since-start time + (to avoid 64 bit time_t) */ ++ ++extern int daemon(int, int); -- cgit v1.2.3