summaryrefslogtreecommitdiff
path: root/databases/tokyotyrant/patches
diff options
context:
space:
mode:
authorobache <obache>2008-10-11 12:26:24 +0000
committerobache <obache>2008-10-11 12:26:24 +0000
commit8794e51637747ad54509b5b8b213997a8fbbb26d (patch)
tree59270194a668fe0ffda5ede59714a3387cb56e12 /databases/tokyotyrant/patches
parent8f0a3391fd70899d3e4e001acc272fb4a70fc8c1 (diff)
downloadpkgsrc-8794e51637747ad54509b5b8b213997a8fbbb26d.tar.gz
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 (limited to 'databases/tokyotyrant/patches')
-rw-r--r--databases/tokyotyrant/patches/patch-aa15
-rw-r--r--databases/tokyotyrant/patches/patch-ab22
2 files changed, 37 insertions, 0 deletions
diff --git a/databases/tokyotyrant/patches/patch-aa b/databases/tokyotyrant/patches/patch-aa
new file mode 100644
index 00000000000..e98cbf55558
--- /dev/null
+++ b/databases/tokyotyrant/patches/patch-aa
@@ -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 --git a/databases/tokyotyrant/patches/patch-ab b/databases/tokyotyrant/patches/patch-ab
new file mode 100644
index 00000000000..21d493b8acd
--- /dev/null
+++ b/databases/tokyotyrant/patches/patch-ab
@@ -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