summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libmemcache/DESCR4
-rw-r--r--devel/libmemcache/Makefile18
-rw-r--r--devel/libmemcache/PLIST6
-rw-r--r--devel/libmemcache/buildlink3.mk18
-rw-r--r--devel/libmemcache/distinfo7
-rw-r--r--devel/libmemcache/patches/patch-aa35
-rw-r--r--devel/libmemcache/patches/patch-ab13
7 files changed, 101 insertions, 0 deletions
diff --git a/devel/libmemcache/DESCR b/devel/libmemcache/DESCR
new file mode 100644
index 00000000000..71ab5e80aa8
--- /dev/null
+++ b/devel/libmemcache/DESCR
@@ -0,0 +1,4 @@
+libmemcache is a C API for memcached, which is a high-performance,
+distributed memory object caching system, generic in nature, but
+intended for use in speeding up dynamic web applications by
+alleviating database load.
diff --git a/devel/libmemcache/Makefile b/devel/libmemcache/Makefile
new file mode 100644
index 00000000000..44b5bbf01d0
--- /dev/null
+++ b/devel/libmemcache/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/11 15:31:20 joerg Exp $
+#
+
+DISTNAME= libmemcache-1.4.0.b9
+PKGNAME= ${DISTNAME:S/.b/beta/}
+CATEGORIES= devel
+MASTER_SITES= http://people.freebsd.org/~seanc/libmemcache/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= joerg@netbsd.org
+HOMEPAGE= http://people.freebsd.org/~seanc/libmemcache/
+COMMENT= C API for memcached
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libmemcache/PLIST b/devel/libmemcache/PLIST
new file mode 100644
index 00000000000..c264c64d344
--- /dev/null
+++ b/devel/libmemcache/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/11 15:31:20 joerg Exp $
+include/memcache/_buffer.h
+include/memcache/buffer.h
+include/memcache.h
+lib/libmemcache.la
+@dirrm include/memcache
diff --git a/devel/libmemcache/buildlink3.mk b/devel/libmemcache/buildlink3.mk
new file mode 100644
index 00000000000..14cca604376
--- /dev/null
+++ b/devel/libmemcache/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/11 15:31:20 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMEMCACHE_BUILDLINK3_MK:= ${LIBMEMCACHE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmemcache
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmemcache}
+BUILDLINK_PACKAGES+= libmemcache
+
+.if !empty(LIBMEMCACHE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmemcache+= libmemcache>=1.4.0beta5
+BUILDLINK_PKGSRCDIR.libmemcache?= ../../devel/libmemcache
+.endif # LIBMEMCACHE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/libmemcache/distinfo b/devel/libmemcache/distinfo
new file mode 100644
index 00000000000..51c148e0622
--- /dev/null
+++ b/devel/libmemcache/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/11 15:31:20 joerg Exp $
+
+SHA1 (libmemcache-1.4.0.b9.tar.bz2) = 09f8e059a7833a207b7dfbf6e30a42309801fdc9
+RMD160 (libmemcache-1.4.0.b9.tar.bz2) = 8c97e89df37956584f743639440dd980fd277b92
+Size (libmemcache-1.4.0.b9.tar.bz2) = 284358 bytes
+SHA1 (patch-aa) = 8f2615a72dda00fc2805730d067005a694d95fe0
+SHA1 (patch-ab) = 0864a80c3ee18bf48fc142973db97366cc0f8848
diff --git a/devel/libmemcache/patches/patch-aa b/devel/libmemcache/patches/patch-aa
new file mode 100644
index 00000000000..7016601f5fd
--- /dev/null
+++ b/devel/libmemcache/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/11 15:31:20 joerg Exp $
+
+--- configure.orig 2005-09-25 20:11:16.000000000 +0200
++++ configure
+@@ -20837,18 +20837,18 @@ MCM_KEY_VALID_CTXT=md5a142d8b02e6ad56fa5
+ MCM_KEY_VALID_KEY=md5537bb21da67eb92e5898f9911c607217
+ MCM_KEY_VALID_LEN=md55ecd4a9c706b439f8eebaca09eeadacf
+ else
+-MCM_CALLBACK_CTXT=`$BIN_MD5 -qs "MCM_CALLBACK_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_CALLBACK_KEY=`$BIN_MD5 -qs "MCM_CALLBACK_KEY${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_CALLBACK_LEN=`$BIN_MD5 -qs "MCM_CALLBACK_LEN${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_CALLBACK_MC=`$BIN_MD5 -qs "MCM_CALLBACK_MC${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_CALLBACK_PTR=`$BIN_MD5 -qs "MCM_CALLBACK_PTR${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_CALLBACK_RES=`$BIN_MD5 -qs "MCM_CALLBACK_RES${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_ERR_MASK=`$BIN_MD5 -qs "MCM_ERR_MASK${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_ERR_FUNC_ERR_CTXT=`$BIN_MD5 -qs "MCM_ERR_FUNC_ERR_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_ERR_FUNC_MC_CTXT=`$BIN_MD5 -qs "MCM_ERR_FUNC_MC_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_KEY_VALID_CTXT=`$BIN_MD5 -qs "MCM_KEY_VALID_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_KEY_VALID_KEY=`$BIN_MD5 -qs "MCM_KEY_VALID_KEY${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
+-MCM_KEY_VALID_LEN=`$BIN_MD5 -qs "MCM_KEY_VALID_LEN${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}"`
++MCM_CALLBACK_CTXT=`echo "MCM_CALLBACK_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_CALLBACK_KEY=`echo "MCM_CALLBACK_KEY${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_CALLBACK_LEN=`echo "MCM_CALLBACK_LEN${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_CALLBACK_MC=`echo "MCM_CALLBACK_MC${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_CALLBACK_PTR=`echo "MCM_CALLBACK_PTR${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_CALLBACK_RES=`echo "MCM_CALLBACK_RES${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_ERR_MASK=`echo "MCM_ERR_MASK${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_ERR_FUNC_ERR_CTXT=`echo "MCM_ERR_FUNC_ERR_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_ERR_FUNC_MC_CTXT=`echo "MCM_ERR_FUNC_MC_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_KEY_VALID_CTXT=`echo "MCM_KEY_VALID_CTXT${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
++MCM_KEY_VALID_KEY=`echo "MCM_KEY_VALID_KEY${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5"`
++MCM_KEY_VALID_LEN=`echo "MCM_KEY_VALID_LEN${MEMCACHE_RELDATE}${MEMCACHE_VERSION_NUMBER}" | $BIN_MD5`
+ fi
+
+
diff --git a/devel/libmemcache/patches/patch-ab b/devel/libmemcache/patches/patch-ab
new file mode 100644
index 00000000000..719ab0dc010
--- /dev/null
+++ b/devel/libmemcache/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/10/11 15:31:20 joerg Exp $
+
+--- src/buffer.c.orig 2005-10-11 00:41:57.000000000 +0200
++++ src/buffer.c
+@@ -35,7 +35,7 @@
+ #include <sys/types.h>
+ #include <sys/uio.h>
+ #include <unistd.h>
+-#include <sys/errno.h>
++#include <errno.h>
+
+ #include "memcache/buffer.h"
+