Update tokyocabinet to 1.3.11. 2008-09-23 Mikio Hirabayashi * tchdb.c (tchdbputimpl): performance of the ADDINT mode was improved. * tcbdb.c (tcbdbleafaddrec): performance of the ADDINT mode was improved. * tcfdb.c (tcfdbputimpl): performance of the ADDINT mode was improved. * tcutil.c (tcpagealign): new function. * tchdb.c (tchdbsetxmsiz): the parameter is now rounded up to multiple of the page size. * tcfdb.c (tcfdbtune): the parameter is now rounded up to multiple of the page size. * tchdb.c (tcseekwrite, tcseekread, tcseekreadtry): page border handling was added. - Release: 1.3.11 2008-09-20 Mikio Hirabayashi * tcutil.c (tcunlock): new function. * tchdb.c (tchdbsetmutex): useless locking was eliminated. * tcbdb.c (tcbdbsetmutex): useless locking was eliminated. * tcfdb.c (tcfdbsetmutex): useless locking was eliminated. - Release: 1.3.10 2008-09-10 Mikio Hirabayashi * tchdb.c (tchdblockallrecords, tchdbunlockallrecords): new functions. * tcfdb.c (tcfdblockallrecords, tcfdbunlockallrecords): new functions. - Release: 1.3.9diff -r1.2 -r1.3 pkgsrc/databases/tokyocabinet/Makefile
(obache)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2008/09/05 07:15:25 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2008/10/06 10:41:25 obache Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= tokyocabinet-1.3.8 | 4 | DISTNAME= tokyocabinet-1.3.11 | |
5 | CATEGORIES= databases | 5 | CATEGORIES= databases | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/} | |
7 | 7 | |||
8 | MAINTAINER= obache@NetBSD.org | 8 | MAINTAINER= obache@NetBSD.org | |
9 | HOMEPAGE= http://tokyocabinet.sourceforge.net/ | 9 | HOMEPAGE= http://tokyocabinet.sourceforge.net/ | |
10 | COMMENT= Modern implementation of DBM | 10 | COMMENT= Modern implementation of DBM | |
11 | 11 | |||
12 | PKG_DESTDIR_SUPPORT= user-destdir | 12 | PKG_DESTDIR_SUPPORT= user-destdir | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | USE_TOOLS+= gmake pkg-config | 15 | USE_TOOLS+= gmake pkg-config | |
16 | 16 | |||
17 | PKGCONFIG_OVERRIDE+= tokyocabinet.pc.in | 17 | PKGCONFIG_OVERRIDE+= tokyocabinet.pc.in |
@@ -1,37 +1,37 @@ | @@ -1,37 +1,37 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2008/09/05 07:15:25 obache Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2008/10/06 10:41:25 obache Exp $ | |
2 | bin/tcamgr | 2 | bin/tcamgr | |
3 | bin/tcatest | 3 | bin/tcatest | |
4 | bin/tcbmgr | 4 | bin/tcbmgr | |
5 | bin/tcbmttest | 5 | bin/tcbmttest | |
6 | bin/tcbtest | 6 | bin/tcbtest | |
7 | bin/tcfmgr | 7 | bin/tcfmgr | |
8 | bin/tcfmttest | 8 | bin/tcfmttest | |
9 | bin/tcftest | 9 | bin/tcftest | |
10 | bin/tchmgr | 10 | bin/tchmgr | |
11 | bin/tchmttest | 11 | bin/tchmttest | |
12 | bin/tchtest | 12 | bin/tchtest | |
13 | bin/tcucodec | 13 | bin/tcucodec | |
14 | bin/tcumttest | 14 | bin/tcumttest | |
15 | bin/tcutest | 15 | bin/tcutest | |
16 | include/tcadb.h | 16 | include/tcadb.h | |
17 | include/tcbdb.h | 17 | include/tcbdb.h | |
18 | include/tcfdb.h | 18 | include/tcfdb.h | |
19 | include/tchdb.h | 19 | include/tchdb.h | |
20 | include/tcutil.h | 20 | include/tcutil.h | |
21 | lib/libtokyocabinet.a | 21 | lib/libtokyocabinet.a | |
22 | lib/libtokyocabinet.so | 22 | lib/libtokyocabinet.so | |
23 | lib/libtokyocabinet.so.5 | 23 | lib/libtokyocabinet.so.5 | |
24 | lib/libtokyocabinet.so.5.2.0 | 24 | lib/libtokyocabinet.so.5.6.0 | |
25 | lib/pkgconfig/tokyocabinet.pc | 25 | lib/pkgconfig/tokyocabinet.pc | |
26 | libexec/tcawmgr.cgi | 26 | libexec/tcawmgr.cgi | |
27 | man/man1/tcamgr.1 | 27 | man/man1/tcamgr.1 | |
28 | man/man1/tcatest.1 | 28 | man/man1/tcatest.1 | |
29 | man/man1/tcbmgr.1 | 29 | man/man1/tcbmgr.1 | |
30 | man/man1/tcbmttest.1 | 30 | man/man1/tcbmttest.1 | |
31 | man/man1/tcbtest.1 | 31 | man/man1/tcbtest.1 | |
32 | man/man1/tcfmgr.1 | 32 | man/man1/tcfmgr.1 | |
33 | man/man1/tcfmttest.1 | 33 | man/man1/tcfmttest.1 | |
34 | man/man1/tcftest.1 | 34 | man/man1/tcftest.1 | |
35 | man/man1/tchmgr.1 | 35 | man/man1/tchmgr.1 | |
36 | man/man1/tchmttest.1 | 36 | man/man1/tchmttest.1 | |
37 | man/man1/tchtest.1 | 37 | man/man1/tchtest.1 |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2008/09/05 07:15:25 obache Exp $ | 1 | $NetBSD: distinfo,v 1.3 2008/10/06 10:41:25 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (tokyocabinet-1.3.8.tar.gz) = d614def2b2a07a4d6c6dea04fe00f94a4e948490 | 3 | SHA1 (tokyocabinet-1.3.11.tar.gz) = 97cf455161a8f774f125711d9a2425db9956a075 | |
4 | RMD160 (tokyocabinet-1.3.8.tar.gz) = 2873317612d9d426982b8835881ce458d13117be | 4 | RMD160 (tokyocabinet-1.3.11.tar.gz) = 3165f4f147aaaa194dea4419ccf7d6ea0dc3f8dd | |
5 | Size (tokyocabinet-1.3.8.tar.gz) = 443894 bytes | 5 | Size (tokyocabinet-1.3.11.tar.gz) = 445551 bytes | |
6 | SHA1 (patch-aa) = 0bccf7e2f027a19af7d96f593aa302717a6c252f | 6 | SHA1 (patch-aa) = d66ee31d4ebfb6c822cb137bfc092a890b2e438e | |
7 | SHA1 (patch-ab) = ea56d5fe1176ac3a8d8546d2bd46eca6b63b3a55 | 7 | SHA1 (patch-ab) = cf7ec539a76f1f3fe0eb162cc55d9580e2341c61 |
@@ -1,53 +1,62 @@ | @@ -1,53 +1,62 @@ | |||
1 | $NetBSD: patch-aa,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2008/10/06 10:41:25 obache Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2008-08-25 01:32:42.000000000 +0000 | 3 | --- configure.orig 2008-09-29 02:53:37.000000000 +0000 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -1737,9 +1737,9 @@ MYDOCUMENTFILES="COPYING ChangeLog THANK | 5 | @@ -1738,18 +1738,15 @@ MYDOCUMENTFILES="COPYING ChangeLog THANK | |
6 | MYPCFILES="tokyocabinet.pc" | 6 | MYPCFILES="tokyocabinet.pc" | |
7 | 7 | |||
8 | # Building flags | 8 | # Building flags | |
9 | -MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" | 9 | -MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" | |
10 | -MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -L$HOME/include -L/usr/local/include -DNDEBUG -D_GNU_SOURCE=1" | 10 | -MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1" | |
11 | -MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" | 11 | -MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" | |
12 | +MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" | 12 | +MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" | |
13 | +MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -DNDEBUG -D_GNU_SOURCE=1" | 13 | +MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -DNDEBUG -D_GNU_SOURCE=1" | |
14 | +MYLDFLAGS="-L. -L\$(LIBDIR)" | 14 | +MYLDFLAGS="-L. -L\$(LIBDIR)" | |
15 | MYCMDLDFLAGS="" | |||
15 | MYRUNPATH="\$(LIBDIR)" | 16 | MYRUNPATH="\$(LIBDIR)" | |
16 | MYLDLIBPATHENV="LD_LIBRARY_PATH" | 17 | MYLDLIBPATHENV="LD_LIBRARY_PATH" | |
17 | MYPOSTCMD="true" | 18 | MYPOSTCMD="true" | |
18 | @@ -4074,7 +4074,7 @@ _ACEOF | 19 | ||
20 | # Building paths | |||
21 | -pathtmp="$PATH" | |||
22 | -PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" | |||
23 | -PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp" | |||
24 | LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" | |||
25 | LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" | |||
26 | CPATH="$HOME/include:/usr/local/include:$CPATH" | |||
27 | @@ -4076,7 +4073,7 @@ _ACEOF | |||
19 | fi | 28 | fi | |
20 | 29 | |||
21 | fi | 30 | fi | |
22 | -if test "$enable_exlzma" == "yes" | 31 | -if test "$enable_exlzma" == "yes" | |
23 | +if test "$enable_exlzma" = "yes" | 32 | +if test "$enable_exlzma" = "yes" | |
24 | then | 33 | then | |
25 | 34 | |||
26 | { echo "$as_me:$LINENO: checking for main in -llzma" >&5 | 35 | { echo "$as_me:$LINENO: checking for main in -llzma" >&5 | |
27 | @@ -4142,7 +4142,7 @@ _ACEOF | 36 | @@ -4144,7 +4141,7 @@ _ACEOF | |
28 | fi | 37 | fi | |
29 | 38 | |||
30 | fi | 39 | fi | |
31 | -if test "$enable_exlzo" == "yes" | 40 | -if test "$enable_exlzo" == "yes" | |
32 | +if test "$enable_exlzo" = "yes" | 41 | +if test "$enable_exlzo" = "yes" | |
33 | then | 42 | then | |
34 | 43 | |||
35 | { echo "$as_me:$LINENO: checking for main in -llzo2" >&5 | 44 | { echo "$as_me:$LINENO: checking for main in -llzo2" >&5 | |
36 | @@ -5427,7 +5427,7 @@ fi | 45 | @@ -5429,7 +5426,7 @@ fi | |
37 | 46 | |||
38 | 47 | |||
39 | fi | 48 | fi | |
40 | -if test "$enable_exlzma" == "yes" | 49 | -if test "$enable_exlzma" == "yes" | |
41 | +if test "$enable_exlzma" = "yes" | 50 | +if test "$enable_exlzma" = "yes" | |
42 | then | 51 | then | |
43 | if test "${ac_cv_header_lzmalib_h+set}" = set; then | 52 | if test "${ac_cv_header_lzmalib_h+set}" = set; then | |
44 | { echo "$as_me:$LINENO: checking for lzmalib.h" >&5 | 53 | { echo "$as_me:$LINENO: checking for lzmalib.h" >&5 | |
45 | @@ -5564,7 +5564,7 @@ fi | 54 | @@ -5566,7 +5563,7 @@ fi | |
46 | 55 | |||
47 | 56 | |||
48 | fi | 57 | fi | |
49 | -if test "$enable_exlzo" == "yes" | 58 | -if test "$enable_exlzo" == "yes" | |
50 | +if test "$enable_exlzo" = "yes" | 59 | +if test "$enable_exlzo" = "yes" | |
51 | then | 60 | then | |
52 | if test "${ac_cv_header_lzo_lzo1x_h+set}" = set; then | 61 | if test "${ac_cv_header_lzo_lzo1x_h+set}" = set; then | |
53 | { echo "$as_me:$LINENO: checking for lzo/lzo1x.h" >&5 | 62 | { echo "$as_me:$LINENO: checking for lzo/lzo1x.h" >&5 |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-ab,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $ | 1 | $NetBSD: patch-ab,v 1.2 2008/10/06 10:41:25 obache Exp $ | |
2 | 2 | |||
3 | --- Makefile.in.orig 2008-08-26 13:39:59.000000000 +0000 | 3 | --- Makefile.in.orig 2008-09-29 01:22:12.000000000 +0000 | |
4 | +++ Makefile.in | 4 | +++ Makefile.in | |
5 | @@ -50,8 +50,8 @@ CPPFLAGS = @MYCPPFLAGS@ \ | 5 | @@ -50,8 +50,8 @@ CPPFLAGS = @MYCPPFLAGS@ \ | |
6 | -D_TC_PREFIX="\"$(prefix)\"" -D_TC_INCLUDEDIR="\"$(INCLUDEDIR)\"" \ | 6 | -D_TC_PREFIX="\"$(prefix)\"" -D_TC_INCLUDEDIR="\"$(INCLUDEDIR)\"" \ | |
7 | -D_TC_LIBDIR="\"$(LIBDIR)\"" -D_TC_BINDIR="\"$(BINDIR)\"" -D_TC_LIBEXECDIR="\"$(LIBEXECDIR)\"" \ | 7 | -D_TC_LIBDIR="\"$(LIBDIR)\"" -D_TC_BINDIR="\"$(BINDIR)\"" -D_TC_LIBEXECDIR="\"$(LIBEXECDIR)\"" \ | |
8 | -D_TC_APPINC="\"-I$(INCLUDEDIR)\"" -D_TC_APPLIBS="\"-L$(LIBDIR) -ltokyocabinet @LIBS@\"" | 8 | -D_TC_APPINC="\"-I$(INCLUDEDIR)\"" -D_TC_APPLIBS="\"-L$(LIBDIR) -ltokyocabinet @LIBS@\"" | |
9 | -CFLAGS = @MYCFLAGS@ | 9 | -CFLAGS = @MYCFLAGS@ | |
10 | -LDFLAGS = @MYLDFLAGS@ | 10 | -LDFLAGS = @MYLDFLAGS@ | |
11 | +CFLAGS = @CFLAGS@ @MYCFLAGS@ | 11 | +CFLAGS = @CFLAGS@ @MYCFLAGS@ | |
12 | +LDFLAGS = @LDFLAGS@ @MYLDFLAGS@ | 12 | +LDFLAGS = @LDFLAGS@ @MYLDFLAGS@ | |
13 | CMDLDFLAGS = @MYCMDLDFLAGS@ | |||
13 | LIBS = @LIBS@ | 14 | LIBS = @LIBS@ | |
14 | LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. | 15 | LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. | |
15 | RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ |