pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/memcached Update devel/memcached from 1.2.1 to 1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d7f1092a0051
branches: trunk
changeset: 532478:d7f1092a0051
user: abs <abs%pkgsrc.org@localhost>
date: Mon Aug 20 17:02:40 2007 +0000
description:
Update devel/memcached from 1.2.1 to 1.2.2:
2007-04-16 Steven Grimm <sgrimm%facebook.com@localhost>
* Command tokenizer performance and cleanliness improvement.
Patch contributed by Paolo Borelli <paolo.borelli%gmail.com@localhost>.
2007-04-16 Paul Lindner <lindner%inuus.com@localhost>
* Add notes to README about MacOS, libevent and kqueue.
* Windows Patch integration -- part 1, warnings elimination.
2007-04-12 Paul Lindner <lindner%mirth.inuus.com@localhost>
* Allow changes to the verbosity level of the server with a new
"verbosity" command and some compiler cleanups.
Patch contributed by Paolo Borelli <paolo.borelli%gmail.com@localhost>.
2007-04-08 Paul Lindner <lindner%inuus.com@localhost>
* Add cleanup patch from "Tim Yardley" <liquid%haveheart.com@localhost> to
clean up source spacing issues, fix -Wall warnings, add some
null checks, adds asserts at the top of each function for any
use of conn *c without checking to see if c is NULL first.
* Also adjust clean-whitespace.pl to clean *.ac files. Add
script to test-suite to test for tabs.
2007-04-04 Paul Lindner <lindner%inuus.com@localhost>
* Add clarification of flush_all in the protocol docs
from Elizabeth Mattijsen <liz%dijkmat.nl@localhost>
2007-03-31 Paul Lindner <lindner%inuus.com@localhost>
* Add patch from Eli Bingham <eli%pandora.com@localhost> to
re-enable the -n switch to memcached.
2007-03-20 Paul Lindner <lindner%inuus.com@localhost>
* Add patch to collect eviction statistics from
Jean-Francois BUSTARRET <jfbustarret%wat.tv@localhost>.
* Updated docs, added new test cases for t/stats.t
2007-03-18 Paul Lindner <lindner%inuus.com@localhost>
* Add more test cases using larger buffer sizes up to and greater
than 1MB.
* Remove unused parameter to item_size_ok()
* Use a single printf() in usage()
* Add a failing test for conforming with maximum connections.
2007-03-17
* crash fix from Thomas van Gulick <thomas%partyflock.nl@localhost> in
conn_shrink(), passing &ptr, instead of ptr to realloc().
2007-03-05 Paul Lindner <lindner%inuus.com@localhost>
* Fix a number of places where (s)printf calls were using unsigned
or signed formats that did not match their arguments.
* Add support for stdbool.h and stdint.h to use the bool and
uint8_t types.
* Major refactoring - move API calls for assoc/items/slabs to
their own individual header files. Add apropriate const and
static declarations as appropriate.
* Avoid type-punning. Do a more efficient realloc inside the
conn_shrink routine.
* Fix overflow bug where uninitialized access to slabclass caused
size-0 mallocs during slab preallocation.
* Use EXIT_SUCCESS/EXIT_FAILURE constants.
* Convert some sprintf calls to snprintf to protect against
buffer overflows.
* Explicitly compare against NULL or zero in many places.
2007-03-05
* Steven Grimm <sgrimm%facebook.com@localhost>: Per-object-type stats collection
support. Specify the object type delimiter with the -D command line
option. Turn stats gathering on and off with "stats detail on" and
"stats detail off". Dump the per-object-type details with
"stats detail dump".
2007-03-01
* Steven Grimm <sgrimm%facebook.com@localhost>: Fix an off-by-one error in the
multithreaded version's message passing code.
2006-12-23
* fix expirations of items set with absolute expiration times in
the past, before the server's start time. bug was introduced in
1.2.0 with rel_time_t. Thanks to Adam Dixon
<adamtdixon%gmail.com@localhost> for the bug report and test case!
diffstat:
devel/memcached/Makefile | 5 ++---
devel/memcached/PLIST | 5 ++---
devel/memcached/distinfo | 12 ++++++------
devel/memcached/patches/patch-aa | 8 ++++----
devel/memcached/patches/patch-ab | 18 ++++++------------
5 files changed, 20 insertions(+), 28 deletions(-)
diffs (91 lines):
diff -r 1d759a34aedc -r d7f1092a0051 devel/memcached/Makefile
--- a/devel/memcached/Makefile Mon Aug 20 13:30:29 2007 +0000
+++ b/devel/memcached/Makefile Mon Aug 20 17:02:40 2007 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2007/08/16 09:27:04 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2007/08/20 17:02:40 abs Exp $
#
-DISTNAME= memcached-1.2.1
-PKGREVISION= 2
+DISTNAME= memcached-1.2.2
CATEGORIES= devel
MASTER_SITES= http://www.danga.com/memcached/dist/
diff -r 1d759a34aedc -r d7f1092a0051 devel/memcached/PLIST
--- a/devel/memcached/PLIST Mon Aug 20 13:30:29 2007 +0000
+++ b/devel/memcached/PLIST Mon Aug 20 17:02:40 2007 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2007/02/27 11:30:49 grant Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/08/20 17:02:40 abs Exp $
man/man1/memcached.1
sbin/memcached
-share/doc/memcached/CONTRIBUTORS.txt
-share/doc/memcached/OSX.txt
share/doc/memcached/memory_management.txt
share/doc/memcached/protocol.txt
+share/doc/memcached/threads.txt
@dirrm share/doc/memcached
diff -r 1d759a34aedc -r d7f1092a0051 devel/memcached/distinfo
--- a/devel/memcached/distinfo Mon Aug 20 13:30:29 2007 +0000
+++ b/devel/memcached/distinfo Mon Aug 20 17:02:40 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2007/03/02 11:20:09 grant Exp $
+$NetBSD: distinfo,v 1.6 2007/08/20 17:02:40 abs Exp $
-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) = 35db483c34debc3a468b7009ddb093c4cf5532d7
+SHA1 (memcached-1.2.2.tar.gz) = b2160f63ffe6e50681b3dd13a192153130897366
+RMD160 (memcached-1.2.2.tar.gz) = 78dd094efb9b17a5e80a631690b929b3a4427854
+Size (memcached-1.2.2.tar.gz) = 166201 bytes
+SHA1 (patch-aa) = 70b649a987f48a1811014ad92c7cc61299d7d6fe
+SHA1 (patch-ab) = 0b899c6b261f8a9943b65e8190daab1b14be8e8a
diff -r 1d759a34aedc -r d7f1092a0051 devel/memcached/patches/patch-aa
--- a/devel/memcached/patches/patch-aa Mon Aug 20 13:30:29 2007 +0000
+++ b/devel/memcached/patches/patch-aa Mon Aug 20 17:02:40 2007 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.2 2007/02/27 11:29:19 grant Exp $
+$NetBSD: patch-aa,v 1.3 2007/08/20 17:02:41 abs Exp $
---- memcached.c.orig 2006-12-05 20:34:10.000000000 +1100
+--- memcached.c.orig 2007-08-20 16:54:17.000000000 +0100
+++ memcached.c
-@@ -49,6 +49,7 @@
- #include <event.h>
+@@ -45,6 +45,7 @@ std *
+ #include <time.h>
#include <assert.h>
#include <limits.h>
+#include <signal.h>
diff -r 1d759a34aedc -r d7f1092a0051 devel/memcached/patches/patch-ab
--- a/devel/memcached/patches/patch-ab Mon Aug 20 13:30:29 2007 +0000
+++ b/devel/memcached/patches/patch-ab Mon Aug 20 17:02:40 2007 +0000
@@ -1,19 +1,13 @@
-$NetBSD: patch-ab,v 1.2 2007/03/02 11:20:10 grant Exp $
+$NetBSD: patch-ab,v 1.3 2007/08/20 17:02:41 abs Exp $
---- memcached.h.orig 2006-12-05 20:34:10.000000000 +1100
+--- memcached.h.orig 2007-08-20 16:55:11.000000000 +0100
+++ memcached.h
-@@ -76,7 +76,7 @@ typedef struct _stritem {
- unsigned char it_flags; /* ITEM_* above */
- unsigned char slabs_clsid;/* which slab class we're in */
- unsigned char nkey; /* key length, w/terminating null and padding */
+@@ -102,7 +102,7 @@ typedef struct _stritem {
+ uint8_t it_flags; /* ITEM_* above */
+ uint8_t slabs_clsid;/* which slab class we're in */
+ uint8_t nkey; /* key length, w/terminating null and padding */
- void * end[0];
+ void * end[];
/* then null-terminated key */
/* then " flags length\r\n" (no terminating null) */
/* then data with terminating \r\n (no terminating null; it's binary!) */
-@@ -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);
Home |
Main Index |
Thread Index |
Old Index