pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/tokyotyrant Import tokyotyrant-1.1.4 as data...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a13917482d30
branches:  trunk
changeset: 548195:a13917482d30
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Oct 11 12:26:24 2008 +0000

description:
Import tokyotyrant-1.1.4 as databases/tokyotyrant.

Tokyo Tyrant is a package of network interface to the DBM called Tokyo Cabinet.
Though the DBM has high performance, you might bother in case that multiple
processes share the same database, or remote processes access the database.
Thus, Tokyo Tyrant is provided for concurrent and remote connections to Tokyo
Cabinet. It is composed of the server process managing a database and its
access library for client applications.

The server features high concurrency due to thread-pool modeled implementation
and the epoll/kqueue mechanism of the modern Linux/*BSD kernel. The server and
its clients communicate with each other by simple binary protocol on TCP/IP.
Protocols compatible with memcached and HTTP/1.1 are also supported so that
almost all principal platforms and programming languages can use Tokyo Tyrant.
High availability and high integrity are also featured due to hot such
mechanisms as hot backup, update logging, and replication.

As for now, the server works on Linux, FreeBSD, Mac OS X only.

diffstat:

 databases/tokyotyrant/DESCR            |  16 ++++++++++++++++
 databases/tokyotyrant/Makefile         |  24 ++++++++++++++++++++++++
 databases/tokyotyrant/PLIST            |  33 +++++++++++++++++++++++++++++++++
 databases/tokyotyrant/distinfo         |   7 +++++++
 databases/tokyotyrant/patches/patch-aa |  15 +++++++++++++++
 databases/tokyotyrant/patches/patch-ab |  22 ++++++++++++++++++++++
 6 files changed, 117 insertions(+), 0 deletions(-)

diffs (141 lines):

diff -r c4a1d47a29d6 -r a13917482d30 databases/tokyotyrant/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/DESCR       Sat Oct 11 12:26:24 2008 +0000
@@ -0,0 +1,16 @@
+Tokyo Tyrant is a package of network interface to the DBM called Tokyo Cabinet.
+Though the DBM has high performance, you might bother in case that multiple
+processes share the same database, or remote processes access the database.
+Thus, Tokyo Tyrant is provided for concurrent and remote connections to Tokyo
+Cabinet. It is composed of the server process managing a database and its
+access library for client applications.
+
+The server features high concurrency due to thread-pool modeled implementation
+and the epoll/kqueue mechanism of the modern Linux/*BSD kernel. The server and
+its clients communicate with each other by simple binary protocol on TCP/IP.
+Protocols compatible with memcached and HTTP/1.1 are also supported so that
+almost all principal platforms and programming languages can use Tokyo Tyrant.
+High availability and high integrity are also featured due to hot such
+mechanisms as hot backup, update logging, and replication.
+
+As for now, the server works on Linux, FreeBSD, Mac OS X only.
diff -r c4a1d47a29d6 -r a13917482d30 databases/tokyotyrant/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/Makefile    Sat Oct 11 12:26:24 2008 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/11 12:26:24 obache Exp $
+#
+
+DISTNAME=      tokyotyrant-1.1.4
+CATEGORIES=    databases net
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
+
+MAINTAINER=    obache%NetBSD.org@localhost
+HOMEPAGE=      http://tokyocabinet.sourceforge.net/
+COMMENT=       Network interface of Tokyo Cabinet
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+=    gmake pkg-config
+
+PKGCONFIG_OVERRIDE+=   tokyotyrant.pc.in
+
+TEST_TARGET=   check
+
+.include "../../databases/tokyocabinet/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c4a1d47a29d6 -r a13917482d30 databases/tokyotyrant/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/PLIST       Sat Oct 11 12:26:24 2008 +0000
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/11 12:26:24 obache Exp $
+bin/tcrmgr
+bin/tcrmttest
+bin/tcrtest
+bin/ttserver
+bin/ttulmgr
+bin/ttultest
+include/tcrdb.h
+include/tculog.h
+include/ttutil.h
+lib/libtokyotyrant.1.22.0.so
+lib/libtokyotyrant.1.so
+lib/libtokyotyrant.a
+lib/libtokyotyrant.so
+lib/pkgconfig/tokyotyrant.pc
+man/man1/tcrmgr.1
+man/man1/tcrmttest.1
+man/man1/tcrtest.1
+man/man1/ttserver.1
+man/man1/ttulmgr.1
+man/man1/ttultest.1
+man/man3/tcrdb.3
+man/man3/tculog.3
+man/man3/ttutil.3
+man/man8/ttservctl.8
+sbin/ttservctl
+share/tokyotyrant/COPYING
+share/tokyotyrant/ChangeLog
+share/tokyotyrant/THANKS
+share/tokyotyrant/doc/index.html
+share/tokyotyrant/senatus.lua
+@dirrm share/tokyotyrant/doc
+@dirrm share/tokyotyrant
diff -r c4a1d47a29d6 -r a13917482d30 databases/tokyotyrant/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/distinfo    Sat Oct 11 12:26:24 2008 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/11 12:26:24 obache Exp $
+
+SHA1 (tokyotyrant-1.1.4.tar.gz) = 99d70421fa02e47cb8564ca0d95acadf1cd6d766
+RMD160 (tokyotyrant-1.1.4.tar.gz) = 0089003241fb2621f6cf20ebd1cd07e4d4922d05
+Size (tokyotyrant-1.1.4.tar.gz) = 172812 bytes
+SHA1 (patch-aa) = 94d950d5ddee5520cc1637f7026270ce0b5e1af5
+SHA1 (patch-ab) = 9d717b7c31d80bf196ef1cbc6817d5bb4e061250
diff -r c4a1d47a29d6 -r a13917482d30 databases/tokyotyrant/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/patches/patch-aa    Sat Oct 11 12:26:24 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/10/11 12:26:24 obache Exp $
+
+--- Makefile.in.orig   2008-09-29 02:32:50.000000000 +0000
++++ Makefile.in
+@@ -54,8 +54,8 @@ CPPFLAGS = @MYCPPFLAGS@ \
+   -D_TT_PREFIX="\"$(prefix)\"" -D_TT_INCLUDEDIR="\"$(INCLUDEDIR)\"" \
+   -D_TT_LIBDIR="\"$(LIBDIR)\"" -D_TT_BINDIR="\"$(BINDIR)\"" -D_TT_LIBEXECDIR="\"$(LIBEXECDIR)\"" \
+   -D_TT_APPINC="\"-I$(INCLUDEDIR)\"" -D_TT_APPLIBS="\"-L$(LIBDIR) -ltokyotyrant @LIBS@\""
+-CFLAGS = @MYCFLAGS@
+-LDFLAGS = @MYLDFLAGS@
++CFLAGS = @CFLAGS@ @MYCFLAGS@
++LDFLAGS = @LDFLAGS@ @MYLDFLAGS@
+ CMDLDFLAGS = @MYCMDLDFLAGS@
+ LIBS = @LIBS@
+ LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
diff -r c4a1d47a29d6 -r a13917482d30 databases/tokyotyrant/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/patches/patch-ab    Sat Oct 11 12:26:24 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/10/11 12:26:24 obache Exp $
+
+--- configure.orig     2008-09-29 02:49:28.000000000 +0000
++++ configure
+@@ -4303,7 +4303,7 @@ _ACEOF
+ 
+ fi
+ 
+-if test "$enable_lua" == "yes"
++if test "$enable_lua" = "yes"
+ then
+ 
+ { echo "$as_me:$LINENO: checking for main in -llua" >&5
+@@ -5110,7 +5110,7 @@ echo "$as_me: error: tcutil.h is require
+ fi
+ 
+ 
+-if test "$enable_lua" == "yes"
++if test "$enable_lua" = "yes"
+ then
+   if test "${ac_cv_header_lua_h+set}" = set; then
+   { echo "$as_me:$LINENO: checking for lua.h" >&5



Home | Main Index | Thread Index | Old Index