aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-08-22 02:20:44 +0800
committerseanc <seanc@FreeBSD.org>2003-08-22 02:20:44 +0800
commit175fd0e46352934efa340ec98c5939b3f3dfdd87 (patch)
treef24ce93a8f2db184c2a691d36a5d8b6e7d817319 /databases
parent65c79c78690a2b6727d5b1fb8e13af948d74c941 (diff)
downloadfreebsd-ports-gnome-175fd0e46352934efa340ec98c5939b3f3dfdd87.tar.gz
freebsd-ports-gnome-175fd0e46352934efa340ec98c5939b3f3dfdd87.tar.zst
freebsd-ports-gnome-175fd0e46352934efa340ec98c5939b3f3dfdd87.zip
Upgrade memcached to 1.1.8
Noticed by: fenner's distfile survey
Diffstat (limited to 'databases')
-rw-r--r--databases/memcached/Makefile4
-rw-r--r--databases/memcached/distinfo2
-rw-r--r--databases/memcached/files/patch-items.c7
-rw-r--r--databases/memcached/files/patch-memcached.c28
4 files changed, 29 insertions, 12 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index 81cb5e5eb4e5..aff3c80e8ba5 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= memcached
-PORTVERSION= 1.1.6
+PORTVERSION= 1.1.8
CATEGORIES= databases
-MASTER_SITES= http://www.danga.com/memcached/
+MASTER_SITES= http://www.danga.com/memcached/dist/
MAINTAINER= seanc@FreeBSD.org
COMMENT= High-performance distributed memory object cache system
diff --git a/databases/memcached/distinfo b/databases/memcached/distinfo
index a31b47da3c92..eb72067f61c4 100644
--- a/databases/memcached/distinfo
+++ b/databases/memcached/distinfo
@@ -1 +1 @@
-MD5 (memcached-1.1.6.tar.gz) = e175c78e66b9120aa2c007f2bbacc2b4
+MD5 (memcached-1.1.8.tar.gz) = ee7302df1b634beedccae3a97e5d207b
diff --git a/databases/memcached/files/patch-items.c b/databases/memcached/files/patch-items.c
index 1af3cd3cdf89..dda854c3a145 100644
--- a/databases/memcached/files/patch-items.c
+++ b/databases/memcached/files/patch-items.c
@@ -1,11 +1,10 @@
---- items.c.orig Mon Jul 21 22:57:51 2003
-+++ items.c Mon Jul 21 22:57:58 2003
-@@ -17,8 +17,6 @@
+--- items.c.orig Thu Aug 21 11:05:52 2003
++++ items.c Thu Aug 21 11:05:56 2003
+@@ -17,7 +17,6 @@
#include <errno.h>
#include <time.h>
#include <event.h>
-#include <malloc.h>
--#include <Judy.h>
#include <assert.h>
#include "memcached.h"
diff --git a/databases/memcached/files/patch-memcached.c b/databases/memcached/files/patch-memcached.c
index 481e64fdbc26..8dae062a879c 100644
--- a/databases/memcached/files/patch-memcached.c
+++ b/databases/memcached/files/patch-memcached.c
@@ -1,5 +1,5 @@
---- memcached.c.orig Mon Jul 21 22:56:55 2003
-+++ memcached.c Mon Jul 21 22:58:46 2003
+--- memcached.c.orig Tue Jul 29 22:43:57 2003
++++ memcached.c Thu Aug 21 11:18:45 2003
@@ -34,7 +34,6 @@
#include <errno.h>
#include <time.h>
@@ -8,7 +8,7 @@
#include <assert.h>
#include "memcached.h"
-@@ -293,26 +292,6 @@
+@@ -314,26 +313,6 @@
return;
}
@@ -35,7 +35,7 @@
if (strcmp(command, "stats maps") == 0) {
char *wbuf;
int wsize = 8192; /* should be enough */
-@@ -1089,7 +1068,6 @@
+@@ -1114,7 +1093,6 @@
printf("-d run as a daemon\n");
printf("-m <num> max memory to use for items in megabytes, default is 64 MB\n");
printf("-c <num> max simultaneous connections, default is 1024\n");
@@ -43,7 +43,25 @@
printf("-v verbose (print errors/warnings while in event loop)\n");
printf("-h print this help and exit\n");
printf("-i print memcached and libevent license\n");
-@@ -1236,11 +1214,6 @@
+@@ -1198,7 +1176,6 @@
+ int c;
+ conn *l_conn;
+ struct in_addr addr;
+- int lock_memory = 0;
+ int daemonize = 0;
+
+ /* init settings */
+@@ -1222,9 +1199,6 @@
+ case 'i':
+ usage_license();
+ exit(0);
+- case 'k':
+- lock_memory = 1;
+- break;
+ case 'v':
+ settings.verbose = 1;
+ break;
+@@ -1261,11 +1235,6 @@
fprintf(stderr, "failed to daemon() in order to daemonize\n");
return 1;
}