diff options
author | leeym <leeym@FreeBSD.org> | 2008-01-23 16:01:45 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2008-01-23 16:01:45 +0800 |
commit | 9affefd73fc271cc4ee81f457b954a42569cf036 (patch) | |
tree | eeb031b0f5bedbf883bb986d89c61d08db47c934 /databases | |
parent | e0dd2cfa7b9a6e040a97fa1e52f161d9d7edc5da (diff) | |
download | freebsd-ports-gnome-9affefd73fc271cc4ee81f457b954a42569cf036.tar.gz freebsd-ports-gnome-9affefd73fc271cc4ee81f457b954a42569cf036.tar.zst freebsd-ports-gnome-9affefd73fc271cc4ee81f457b954a42569cf036.zip |
- add libmemcached-0.14
libmemcached is a C and C++ client library to the memcached server
(http://danga.com/memcached). It has been designed to be light on memory usage,
thread safe, and provide full access to server side methods.
A few notes on its design:
# Synchronous and Asynchronous support.
# TCP and Unix Socket protocols.
# A half dozen or so different hash algorithms.
# Implementations of the new cas, replace, and append operators.
# Man pages written up on entire API.
# Implements both modulo and consistent hashing solutions.
It also implements several command line tools:
memcat - Copy the value of a key to standard output
memflush - Flush the contents of your servers.
memrm - Remove a key(s) from the serrver.
memcp - Copy files to a memached server.
memstat - Dump the stats of your servers to standard output
memslap - Generate testing loads on a memcached cluster
WWW: http://tangent.org/552/libmemcached.html
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/libmemcached/Makefile | 76 | ||||
-rw-r--r-- | databases/libmemcached/distinfo | 3 | ||||
-rw-r--r-- | databases/libmemcached/pkg-descr | 23 | ||||
-rw-r--r-- | databases/libmemcached/pkg-plist | 15 |
5 files changed, 118 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index be33bdacaf0a..9209aa8a7a19 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -111,6 +111,7 @@ SUBDIR += libgnomedb-reference SUBDIR += libiodbc SUBDIR += libmemcache + SUBDIR += libmemcached SUBDIR += libodbc++ SUBDIR += libpbl SUBDIR += libsdb diff --git a/databases/libmemcached/Makefile b/databases/libmemcached/Makefile new file mode 100644 index 000000000000..12ace8ef9eb5 --- /dev/null +++ b/databases/libmemcached/Makefile @@ -0,0 +1,76 @@ +# New ports collection makefile for: libmemcached +# Date created: January 22, 2008 +# Whom: Yen-Ming Lee <leeym@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libmemcached +PORTVERSION= 0.14 +CATEGORIES= databases +MASTER_SITES= http://download.tangent.org/ + +MAINTAINER= leeym@FreeBSD.org +COMMENT= A C and C++ client library to the memcached server + +USE_PERL5_BUILD=yes # pod2man +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +USE_GNOME= gnometarget + +post-patch: + ${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = libdata/pkgconfig|' \ + ${WRKSRC}/support/Makefile.in + +MAN1= memcat.1 memcp.1 memerror.1 memflush.1 memrm.1 memslap.1 memstat.1 +MAN3= libmemcached.3 \ + libmemcached_examples.3 \ + memcached_add.3 \ + memcached_add_by_key.3 \ + memcached_append.3 \ + memcached_append_by_key.3 \ + memcached_behavior_get.3 \ + memcached_behavior_set.3 \ + memcached_callback_get.3 \ + memcached_callback_set.3 \ + memcached_cas.3 \ + memcached_cas_by_key.3 \ + memcached_clone.3 \ + memcached_create.3 \ + memcached_decrement.3 \ + memcached_delete.3 \ + memcached_delete_by_key.3 \ + memcached_fetch.3 \ + memcached_fetch_execute.3 \ + memcached_fetch_result.3 \ + memcached_free.3 \ + memcached_get.3 \ + memcached_get_by_key.3 \ + memcached_increment.3 \ + memcached_lib_version.3 \ + memcached_mget.3 \ + memcached_mget_by_key.3 \ + memcached_prepend.3 \ + memcached_prepend_by_key.3 \ + memcached_quit.3 \ + memcached_replace.3 \ + memcached_replace_by_key.3 \ + memcached_server_add.3 \ + memcached_server_count.3 \ + memcached_server_list.3 \ + memcached_server_list_append.3 \ + memcached_server_list_count.3 \ + memcached_server_list_free.3 \ + memcached_server_push.3 \ + memcached_servers_parse.3 \ + memcached_set.3 \ + memcached_set_by_key.3 \ + memcached_stat.3 \ + memcached_stat_get_keys.3 \ + memcached_stat_get_value.3 \ + memcached_stat_servername.3 \ + memcached_strerror.3 \ + memcached_verbosity.3 \ + memcached_version.3 + +.include <bsd.port.mk> diff --git a/databases/libmemcached/distinfo b/databases/libmemcached/distinfo new file mode 100644 index 000000000000..383a842a3d72 --- /dev/null +++ b/databases/libmemcached/distinfo @@ -0,0 +1,3 @@ +MD5 (libmemcached-0.14.tar.gz) = 7055ac8b77244758dc94f6faa468bd2f +SHA256 (libmemcached-0.14.tar.gz) = f52704266777b7bd36020b69245c08b23fe9df4118ff08821a809d380b91a71c +SIZE (libmemcached-0.14.tar.gz) = 396189 diff --git a/databases/libmemcached/pkg-descr b/databases/libmemcached/pkg-descr new file mode 100644 index 000000000000..47bd9c83467c --- /dev/null +++ b/databases/libmemcached/pkg-descr @@ -0,0 +1,23 @@ +libmemcached is a C and C++ client library to the memcached server +(http://danga.com/memcached). It has been designed to be light on memory usage, +thread safe, and provide full access to server side methods. + +A few notes on its design: + +# Synchronous and Asynchronous support. +# TCP and Unix Socket protocols. +# A half dozen or so different hash algorithms. +# Implementations of the new cas, replace, and append operators. +# Man pages written up on entire API. +# Implements both modulo and consistent hashing solutions. + +It also implements several command line tools: + +memcat - Copy the value of a key to standard output +memflush - Flush the contents of your servers. +memrm - Remove a key(s) from the serrver. +memcp - Copy files to a memached server. +memstat - Dump the stats of your servers to standard output +memslap - Generate testing loads on a memcached cluster + +WWW: http://tangent.org/552/libmemcached.html diff --git a/databases/libmemcached/pkg-plist b/databases/libmemcached/pkg-plist new file mode 100644 index 000000000000..c680ef0d03f6 --- /dev/null +++ b/databases/libmemcached/pkg-plist @@ -0,0 +1,15 @@ +bin/memcat +bin/memcp +bin/memerror +bin/memflush +bin/memrm +bin/memslap +bin/memstat +include/libmemcached/memcached.h +include/libmemcached/memcached.hh +lib/libmemcached.a +lib/libmemcached.la +lib/libmemcached.so +lib/libmemcached.so.2 +@dirrmtry lib/pkgconfig +@dirrmtry include/libmemcached |