summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-10-26 11:40:33 +0000
committerobache <obache@pkgsrc.org>2008-10-26 11:40:33 +0000
commitdcf6723f5e6953d02ae67b7a5b00bba930ec17d0 (patch)
treebfbb3cf0f6f9bc81cb963593ce619d6552d9bbb2 /databases
parent3a3b5d52a762e9c47758d9ae22e822fda8ee7d41 (diff)
downloadpkgsrc-dcf6723f5e6953d02ae67b7a5b00bba930ec17d0.tar.gz
Import p5-tokyotyrant-1.2 as databases/p5-tokyotyrant.
This module implements the pure Perl client which connects to the server of Tokyo Tyrant and speaks its original binary protocol. 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 can embed Lua, a lightweight script language so that you can define arbitrary operations of the database. 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 such mechanisms as hot backup, update logging, and replication.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-tokyotyrant/DESCR18
-rw-r--r--databases/p5-tokyotyrant/Makefile25
-rw-r--r--databases/p5-tokyotyrant/PLIST3
-rw-r--r--databases/p5-tokyotyrant/distinfo5
4 files changed, 51 insertions, 0 deletions
diff --git a/databases/p5-tokyotyrant/DESCR b/databases/p5-tokyotyrant/DESCR
new file mode 100644
index 00000000000..77afbe5eebf
--- /dev/null
+++ b/databases/p5-tokyotyrant/DESCR
@@ -0,0 +1,18 @@
+This module implements the pure Perl client which connects to the server of
+Tokyo Tyrant and speaks its original binary protocol.
+
+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 can embed Lua, a lightweight script
+language so that you can define arbitrary operations of the database.
+
+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 such mechanisms as
+hot backup, update logging, and replication.
diff --git a/databases/p5-tokyotyrant/Makefile b/databases/p5-tokyotyrant/Makefile
new file mode 100644
index 00000000000..66fe8a6bcc0
--- /dev/null
+++ b/databases/p5-tokyotyrant/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/26 11:40:33 obache Exp $
+#
+
+DISTNAME= tokyotyrant-perl-1.2
+PKGNAME= p5-${DISTNAME:S/-perl-/-/}
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://tokyocabinet.sourceforge.net/tyrantperldoc/
+COMMENT= Pure Perl Interface of Tokyo Tyrant
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/TokyoTyrant/.packlist
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS+= share/tokyotyrant/doc/perl
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/index.html \
+ ${DESTDIR}${PREFIX}/share/tokyotyrant/doc/perl/index.html
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-tokyotyrant/PLIST b/databases/p5-tokyotyrant/PLIST
new file mode 100644
index 00000000000..f8fb26cebfd
--- /dev/null
+++ b/databases/p5-tokyotyrant/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/26 11:40:33 obache Exp $
+share/tokyotyrant/doc/perl/index.html
+@dirrm share/tokyotyrant/doc/perl
diff --git a/databases/p5-tokyotyrant/distinfo b/databases/p5-tokyotyrant/distinfo
new file mode 100644
index 00000000000..d323c42a7ea
--- /dev/null
+++ b/databases/p5-tokyotyrant/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/26 11:40:33 obache Exp $
+
+SHA1 (tokyotyrant-perl-1.2.tar.gz) = a7580d53883f7ea7befdbe3f06e1c08840854510
+RMD160 (tokyotyrant-perl-1.2.tar.gz) = 46a0009d7eac1575a85e7657576abcddfb12f527
+Size (tokyotyrant-perl-1.2.tar.gz) = 25641 bytes