summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/memcached/Makefile5
-rw-r--r--devel/memcached/distinfo14
-rw-r--r--devel/memcached/patches/patch-items.c9
-rw-r--r--devel/memcached/patches/patch-memcached.c10
4 files changed, 19 insertions, 19 deletions
diff --git a/devel/memcached/Makefile b/devel/memcached/Makefile
index 57e2ebdc49f..b9402852469 100644
--- a/devel/memcached/Makefile
+++ b/devel/memcached/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2019/08/11 13:18:46 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2019/09/05 09:34:51 adam Exp $
-DISTNAME= memcached-1.5.16
-PKGREVISION= 1
+DISTNAME= memcached-1.5.17
CATEGORIES= devel
MASTER_SITES= http://www.memcached.org/files/
diff --git a/devel/memcached/distinfo b/devel/memcached/distinfo
index e63ab9ecea1..f830dd9b689 100644
--- a/devel/memcached/distinfo
+++ b/devel/memcached/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.35 2019/05/26 19:37:42 adam Exp $
+$NetBSD: distinfo,v 1.36 2019/09/05 09:34:51 adam Exp $
-SHA1 (memcached-1.5.16.tar.gz) = 06a9661638cb20232d0ccea088f52ca10b959968
-RMD160 (memcached-1.5.16.tar.gz) = 018d4e53a0c14a66a414a0a99b49f14937324dea
-SHA512 (memcached-1.5.16.tar.gz) = 999872c4c68e0210feab76f74c9487fbfb652cf3e6b7fa347f882767aad41ea6d8ba3ee056494409c054d673fc209032d8a890605810b2c6c9048d26d50751a0
-Size (memcached-1.5.16.tar.gz) = 487868 bytes
+SHA1 (memcached-1.5.17.tar.gz) = 479b16693f5c3de1309a1726586b6b6e28dcd9c0
+RMD160 (memcached-1.5.17.tar.gz) = 3eddca3f58457ef0e0d0b667dfd2f687c1e84bc3
+SHA512 (memcached-1.5.17.tar.gz) = 533c916015d738ff4c7ba8420654ae15b19370b3e959b89d43bc60cae1bda65d36906be05fad44a025ea1878570a8c1a36041c4e4c0cdf0cea84e6bb0e7ba325
+Size (memcached-1.5.17.tar.gz) = 490891 bytes
SHA1 (patch-Makefile.in) = c292d9ecc04c18925731a2710676789972584fe8
SHA1 (patch-configure) = d44e07c0c38029df4f10bb5411049595b5a8ffbb
-SHA1 (patch-items.c) = ee082c7ebe234b3e8cc170e01bca56ed4275e6de
+SHA1 (patch-items.c) = 33e9ff564f755fa2ef201978cb509800ea400fa0
SHA1 (patch-logger.h) = 130c573e07b7d9b6caff1c98e40b36a96cb3c064
-SHA1 (patch-memcached.c) = 3c39c873332704c8d269de4a3c7049281bf101c6
+SHA1 (patch-memcached.c) = ce42a0b1aea95b1e4126b08310ac7276cadcdaef
diff --git a/devel/memcached/patches/patch-items.c b/devel/memcached/patches/patch-items.c
index 8e14f26d344..dfa4a3bdb77 100644
--- a/devel/memcached/patches/patch-items.c
+++ b/devel/memcached/patches/patch-items.c
@@ -1,10 +1,10 @@
-$NetBSD: patch-items.c,v 1.2 2017/11/14 14:13:52 fhajny Exp $
+$NetBSD: patch-items.c,v 1.3 2019/09/05 09:34:51 adam Exp $
time_t changes
---- items.c.orig 2017-11-04 21:49:54.000000000 +0000
+--- items.c.orig 2019-08-29 22:13:13.000000000 +0000
+++ items.c
-@@ -588,10 +588,10 @@ char *item_cachedump(const unsigned int
+@@ -606,10 +606,10 @@ char *item_cachedump(const unsigned int
/* Copy the key since it may not be null-terminated in the struct */
strncpy(key_temp, ITEM_key(it), it->nkey);
key_temp[it->nkey] = 0x00; /* terminate */
@@ -17,12 +17,13 @@ time_t changes
if (bufcurr + len + 6 > memlimit) /* 6 is END\r\n\0 */
break;
memcpy(buffer + bufcurr, temp, len);
-@@ -768,13 +768,13 @@ void item_stats(ADD_STAT add_stats, void
+@@ -787,14 +787,14 @@ void item_stats(ADD_STAT add_stats, void
APPEND_NUM_FMT_STAT(fmt, n, "age_hot", "%u", age_hot);
APPEND_NUM_FMT_STAT(fmt, n, "age_warm", "%u", age_warm);
}
- APPEND_NUM_FMT_STAT(fmt, n, "age", "%u", age);
+ APPEND_NUM_FMT_STAT(fmt, n, "age", "%jd", age);
+ APPEND_NUM_FMT_STAT(fmt, n, "mem_requested", "%llu", (unsigned long long)totals.mem_requested);
APPEND_NUM_FMT_STAT(fmt, n, "evicted",
"%llu", (unsigned long long)totals.evicted);
APPEND_NUM_FMT_STAT(fmt, n, "evicted_nonzero",
diff --git a/devel/memcached/patches/patch-memcached.c b/devel/memcached/patches/patch-memcached.c
index b14c4991441..98cbcfbeaf1 100644
--- a/devel/memcached/patches/patch-memcached.c
+++ b/devel/memcached/patches/patch-memcached.c
@@ -1,11 +1,11 @@
-$NetBSD: patch-memcached.c,v 1.2 2015/05/21 22:21:08 rodent Exp $
+$NetBSD: patch-memcached.c,v 1.3 2019/09/05 09:34:51 adam Exp $
-Fix this the right way thanks to joerg@.
+time_t changes
---- memcached.c.orig 2015-01-01 07:50:52.000000000 +0000
+--- memcached.c.orig 2019-08-29 22:13:13.000000000 +0000
+++ memcached.c
-@@ -2764,8 +2764,8 @@ static void process_stats_conns(ADD_STAT
- APPEND_NUM_STAT(i, "addr", "%s", conn_name);
+@@ -3593,8 +3593,8 @@ static void process_stats_conns(ADD_STAT
+ }
APPEND_NUM_STAT(i, "state", "%s",
state_text(conns[i]->state));
- APPEND_NUM_STAT(i, "secs_since_last_cmd", "%d",