Update tokyocabinet to 1.4.41. 2009-12-07 Mikio Hirabayashi <hirarin@gmail.com> * tctdb.c (tctdbidxputtoken, tctdbidxputqgram): domain overflow checking was added. - Release: 1.4.41 2009-11-24 Mikio Hirabayashi <hirarin@gmail.com> * tchdb.c (tchdbputimpl): efficiency of using the free block pool was improved. * tchdb.c (tchdboptimizeimpl): the behaviour in no lock mode was modified. - Release: 1.4.40 2009-11-11 Mikio Hirabayashi <hirarin@gmail.com> * tcutil.h (TCALIGNOF, tcgeneric_t): new macros. * tcutil.h (TCALIGNPAD): the alignment is now calculated by the generic union. * myconf.h (_alignof, _issigned, _maxof): new macros. - Release: 1.4.39 2009-11-09 Mikio Hirabayashi <hirarin@gmail.com> * tcutil.c (tcsysinfo): FreeBSD and Mac OS X are now supported. * tcutil.c (tcmpoolclear): new function. * tchdb.c (tchdbputproc): a potential bug of memory aligment violation was fixed. * tcbdb.c (tcbdbputproc): a potential bug of memory aligment violation was fixed. * tcfdb.c (tcfdbputproc): a potential bug of memory aligment violation was fixed. - Release: 1.4.38 2009-10-27 Mikio Hirabayashi <hirarin@gmail.com> * tctdb.c (tctdbcacheclear, tctdbcacheclearimpl): new functions. * tcadb.c (tcadbmisc): "getpart", "cacheclear", and "regex" functions were added. - Release: 1.4.37 2009-10-26 Mikio Hirabayashi <hirarin@gmail.com> * tcutil.c (tcwwwformdecode2): a bug related to multiple cookie handling was fixed. * tcadb.c (tcadbmisc): the "error" functions were added. - Release: 1.4.36 2009-10-06 Mikio Hirabayashi <hirarin@gmail.com> * tchdb.c (tchdbseekwrite): a bug related to emulation of the UBC was fixed. * tchdb.c (tchdbvanishimpl): potential memory leak was removed. * tcfdb.c (tcfdbvanishimpl): potential memory leak was removed. * tcadb.c (tcadbsetskelmulti, tcadbmulnew, tcadbmuldel): new functions. * tcadb.c (tcadbmisc): "range" sub function for B+ tree was added. * tcamgr.c (setskeltran): new function. * tcamttest.c: new file. - Release: 1.4.35 2009-09-11 Mikio Hirabayashi <hirarin@gmail.com> * myconf.h: a macro for environment without "nanl" was added. * tctdbmetasearch (tctdbmetasearch): a bug related to the limit parameters was fixed. - Release: 1.4.34 2009-08-31 Mikio Hirabayashi <hirarin@gmail.com> * tcutil.h, tchdb.h, tcbdb.h, tcfdb.h, tctdb.h, tcadb.h: including stdbool.h was wrapped. * tcutil.c (tccmpdecimal): accuracy was improved and now real number is supported. * tctdb.c (tctdbqrycondmatch): accuracy of decimal operators was improved. - Release: 1.4.33diff -r1.36 -r1.37 pkgsrc/databases/tokyocabinet/Makefile
(obache)
@@ -1,37 +1,36 @@ | @@ -1,37 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.36 2009/12/19 12:56:45 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.37 2010/01/17 02:45:00 obache Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= tokyocabinet-1.4.32 | 4 | DISTNAME= tokyocabinet-1.4.41 | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= databases | 5 | CATEGORIES= databases | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/} | 6 | MASTER_SITES= ${HOMEPAGE} | |
8 | 7 | |||
9 | MAINTAINER= obache@NetBSD.org | 8 | MAINTAINER= obache@NetBSD.org | |
10 | HOMEPAGE= http://1978th.net/tokyocabinet/ | 9 | HOMEPAGE= http://1978th.net/tokyocabinet/ | |
11 | COMMENT= Modern implementation of DBM | 10 | COMMENT= Modern implementation of DBM | |
12 | LICENSE= gnu-lgpl-v2.1 | 11 | LICENSE= gnu-lgpl-v2.1 | |
13 | 12 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 14 | |||
16 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
17 | USE_TOOLS+= gmake pkg-config | 16 | USE_TOOLS+= gmake pkg-config | |
18 | USE_LANGUAGES= c99 | 17 | USE_LANGUAGES= c99 | |
19 | 18 | |||
20 | PKGCONFIG_OVERRIDE+= tokyocabinet.pc.in | 19 | PKGCONFIG_OVERRIDE+= tokyocabinet.pc.in | |
21 | 20 | |||
22 | .include "options.mk" | 21 | .include "options.mk" | |
23 | 22 | |||
24 | TEST_TARGET= check | 23 | TEST_TARGET= check | |
25 | 24 | |||
26 | .include "../../mk/pthread.buildlink3.mk" | 25 | .include "../../mk/pthread.buildlink3.mk" | |
27 | PTHREAD_AUTO_VARS= yes | 26 | PTHREAD_AUTO_VARS= yes | |
28 | .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" | 27 | .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" | |
29 | CONFIGURE_ARGS+= --disable-pthread | 28 | CONFIGURE_ARGS+= --disable-pthread | |
30 | .else | 29 | .else | |
31 | CONFIGURE_ARGS+= --enable-pthread | 30 | CONFIGURE_ARGS+= --enable-pthread | |
32 | SUBST_CLASSES+= pthread | 31 | SUBST_CLASSES+= pthread | |
33 | SUBST_STAGE.pthread= pre-configure | 32 | SUBST_STAGE.pthread= pre-configure | |
34 | SUBST_FILES.pthread= configure | 33 | SUBST_FILES.pthread= configure | |
35 | SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|' | 34 | SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|' | |
36 | .endif | 35 | .endif | |
37 | .include "../../mk/bsd.pkg.mk" | 36 | .include "../../mk/bsd.pkg.mk" |
@@ -1,74 +1,76 @@ | @@ -1,74 +1,76 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.34 2009/08/22 06:42:35 obache Exp $ | 1 | @comment $NetBSD: PLIST,v 1.35 2010/01/17 02:45:00 obache Exp $ | |
2 | bin/tcamgr | 2 | bin/tcamgr | |
3 | bin/tcamttest | |||
3 | bin/tcatest | 4 | bin/tcatest | |
4 | bin/tcbmgr | 5 | bin/tcbmgr | |
5 | bin/tcbmttest | 6 | bin/tcbmttest | |
6 | bin/tcbtest | 7 | bin/tcbtest | |
7 | bin/tcfmgr | 8 | bin/tcfmgr | |
8 | bin/tcfmttest | 9 | bin/tcfmttest | |
9 | bin/tcftest | 10 | bin/tcftest | |
10 | bin/tchmgr | 11 | bin/tchmgr | |
11 | bin/tchmttest | 12 | bin/tchmttest | |
12 | bin/tchtest | 13 | bin/tchtest | |
13 | bin/tctmgr | 14 | bin/tctmgr | |
14 | bin/tctmttest | 15 | bin/tctmttest | |
15 | bin/tcttest | 16 | bin/tcttest | |
16 | bin/tcucodec | 17 | bin/tcucodec | |
17 | bin/tcumttest | 18 | bin/tcumttest | |
18 | bin/tcutest | 19 | bin/tcutest | |
19 | include/tcadb.h | 20 | include/tcadb.h | |
20 | include/tcbdb.h | 21 | include/tcbdb.h | |
21 | include/tcfdb.h | 22 | include/tcfdb.h | |
22 | include/tchdb.h | 23 | include/tchdb.h | |
23 | include/tctdb.h | 24 | include/tctdb.h | |
24 | include/tcutil.h | 25 | include/tcutil.h | |
25 | lib/libtokyocabinet.a | 26 | lib/libtokyocabinet.a | |
26 | lib/libtokyocabinet.so | 27 | lib/libtokyocabinet.so | |
27 | lib/libtokyocabinet.so.8 | 28 | lib/libtokyocabinet.so.9 | |
28 | lib/libtokyocabinet.so.8.23.0 | 29 | lib/libtokyocabinet.so.9.4.0 | |
29 | lib/pkgconfig/tokyocabinet.pc | 30 | lib/pkgconfig/tokyocabinet.pc | |
30 | libexec/tcawmgr.cgi | 31 | libexec/tcawmgr.cgi | |
31 | man/man1/tcamgr.1 | 32 | man/man1/tcamgr.1 | |
33 | man/man1/tcamttest.1 | |||
32 | man/man1/tcatest.1 | 34 | man/man1/tcatest.1 | |
33 | man/man1/tcbmgr.1 | 35 | man/man1/tcbmgr.1 | |
34 | man/man1/tcbmttest.1 | 36 | man/man1/tcbmttest.1 | |
35 | man/man1/tcbtest.1 | 37 | man/man1/tcbtest.1 | |
36 | man/man1/tcfmgr.1 | 38 | man/man1/tcfmgr.1 | |
37 | man/man1/tcfmttest.1 | 39 | man/man1/tcfmttest.1 | |
38 | man/man1/tcftest.1 | 40 | man/man1/tcftest.1 | |
39 | man/man1/tchmgr.1 | 41 | man/man1/tchmgr.1 | |
40 | man/man1/tchmttest.1 | 42 | man/man1/tchmttest.1 | |
41 | man/man1/tchtest.1 | 43 | man/man1/tchtest.1 | |
42 | man/man1/tctmgr.1 | 44 | man/man1/tctmgr.1 | |
43 | man/man1/tctmttest.1 | 45 | man/man1/tctmttest.1 | |
44 | man/man1/tcttest.1 | 46 | man/man1/tcttest.1 | |
45 | man/man1/tcucodec.1 | 47 | man/man1/tcucodec.1 | |
46 | man/man1/tcumttest.1 | 48 | man/man1/tcumttest.1 | |
47 | man/man1/tcutest.1 | 49 | man/man1/tcutest.1 | |
48 | man/man3/tcadb.3 | 50 | man/man3/tcadb.3 | |
49 | man/man3/tcbdb.3 | 51 | man/man3/tcbdb.3 | |
50 | man/man3/tcfdb.3 | 52 | man/man3/tcfdb.3 | |
51 | man/man3/tchdb.3 | 53 | man/man3/tchdb.3 | |
52 | man/man3/tclist.3 | 54 | man/man3/tclist.3 | |
53 | man/man3/tcmap.3 | 55 | man/man3/tcmap.3 | |
54 | man/man3/tcmdb.3 | 56 | man/man3/tcmdb.3 | |
55 | man/man3/tcmpool.3 | 57 | man/man3/tcmpool.3 | |
56 | man/man3/tctdb.3 | 58 | man/man3/tctdb.3 | |
57 | man/man3/tctree.3 | 59 | man/man3/tctree.3 | |
58 | man/man3/tcutil.3 | 60 | man/man3/tcutil.3 | |
59 | man/man3/tcxstr.3 | 61 | man/man3/tcxstr.3 | |
60 | man/man3/tokyocabinet.3 | 62 | man/man3/tokyocabinet.3 | |
61 | share/tokyocabinet/COPYING | 63 | share/tokyocabinet/COPYING | |
62 | share/tokyocabinet/ChangeLog | 64 | share/tokyocabinet/ChangeLog | |
63 | share/tokyocabinet/THANKS | 65 | share/tokyocabinet/THANKS | |
64 | share/tokyocabinet/doc/benchmark.pdf | 66 | share/tokyocabinet/doc/benchmark.pdf | |
65 | share/tokyocabinet/doc/common.css | 67 | share/tokyocabinet/doc/common.css | |
66 | share/tokyocabinet/doc/icon16.png | 68 | share/tokyocabinet/doc/icon16.png | |
67 | share/tokyocabinet/doc/index.html | 69 | share/tokyocabinet/doc/index.html | |
68 | share/tokyocabinet/doc/index.ja.html | 70 | share/tokyocabinet/doc/index.ja.html | |
69 | share/tokyocabinet/doc/logo-ja.png | 71 | share/tokyocabinet/doc/logo-ja.png | |
70 | share/tokyocabinet/doc/logo.png | 72 | share/tokyocabinet/doc/logo.png | |
71 | share/tokyocabinet/doc/spex-en.html | 73 | share/tokyocabinet/doc/spex-en.html | |
72 | share/tokyocabinet/doc/spex-ja.html | 74 | share/tokyocabinet/doc/spex-ja.html | |
73 | share/tokyocabinet/doc/tokyoproducts.pdf | 75 | share/tokyocabinet/doc/tokyoproducts.pdf | |
74 | share/tokyocabinet/doc/tokyoproducts.ppt | 76 | share/tokyocabinet/doc/tokyoproducts.ppt |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.34 2009/08/22 06:42:35 obache Exp $ | 1 | $NetBSD: distinfo,v 1.35 2010/01/17 02:45:00 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (tokyocabinet-1.4.32.tar.gz) = 9b2b2774beaa91735502ffbc10b7344dace8ce33 | 3 | SHA1 (tokyocabinet-1.4.41.tar.gz) = aefd98f86cd86141254978574e10ca58228902a6 | |
4 | RMD160 (tokyocabinet-1.4.32.tar.gz) = a213d5e4e7625978186fb05f16b3fae205e0bc74 | 4 | RMD160 (tokyocabinet-1.4.41.tar.gz) = 104f3e3c83caf7f510a64537e8815a7e41fd8e24 | |
5 | Size (tokyocabinet-1.4.32.tar.gz) = 950225 bytes | 5 | Size (tokyocabinet-1.4.41.tar.gz) = 991669 bytes | |
6 | SHA1 (patch-aa) = f81f4ff8d80f632e0b06e2aad6050b95a4819c97 | 6 | SHA1 (patch-aa) = da66f5289c3e3e5fcbc306422ca69fb46c90b9dd |
@@ -1,34 +1,34 @@ | @@ -1,34 +1,34 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.6 2009/12/19 12:56:45 obache Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.7 2010/01/17 02:45:00 obache Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= tokyocabinet | 3 | BUILDLINK_TREE+= tokyocabinet | |
4 | 4 | |||
5 | .if !defined(TOKYOCABINET_BUILDLINK3_MK) | 5 | .if !defined(TOKYOCABINET_BUILDLINK3_MK) | |
6 | TOKYOCABINET_BUILDLINK3_MK:= | 6 | TOKYOCABINET_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.3.7 | 8 | BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.3.7 | |
9 | BUILDLINK_ABI_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.32nb1 | 9 | BUILDLINK_ABI_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.41 | |
10 | BUILDLINK_PKGSRCDIR.tokyocabinet?= ../../databases/tokyocabinet | 10 | BUILDLINK_PKGSRCDIR.tokyocabinet?= ../../databases/tokyocabinet | |
11 | 11 | |||
12 | pkgbase := tokyocabinet | 12 | pkgbase := tokyocabinet | |
13 | .include "../../mk/pkg-build-options.mk" | 13 | .include "../../mk/pkg-build-options.mk" | |
14 | 14 | |||
15 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mbzip2) | 15 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mbzip2) | |
16 | .include "../../archivers/bzip2/buildlink3.mk" | 16 | .include "../../archivers/bzip2/buildlink3.mk" | |
17 | .endif | 17 | .endif | |
18 | 18 | |||
19 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mlzma) | 19 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mlzma) | |
20 | .include "../../archivers/lzmalib/buildlink3.mk" | 20 | .include "../../archivers/lzmalib/buildlink3.mk" | |
21 | .endif | 21 | .endif | |
22 | 22 | |||
23 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mlzo) | 23 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mlzo) | |
24 | .include "../../archivers/lzo/buildlink3.mk" | 24 | .include "../../archivers/lzo/buildlink3.mk" | |
25 | .endif | 25 | .endif | |
26 | 26 | |||
27 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mzlib) | 27 | .if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mzlib) | |
28 | .include "../../devel/zlib/buildlink3.mk" | 28 | .include "../../devel/zlib/buildlink3.mk" | |
29 | .endif | 29 | .endif | |
30 | 30 | |||
31 | .include "../../mk/pthread.buildlink3.mk" | 31 | .include "../../mk/pthread.buildlink3.mk" | |
32 | .endif # TOKYOCABINET_BUILDLINK3_MK | 32 | .endif # TOKYOCABINET_BUILDLINK3_MK | |
33 | 33 | |||
34 | BUILDLINK_TREE+= -tokyocabinet | 34 | BUILDLINK_TREE+= -tokyocabinet |
@@ -1,30 +1,30 @@ | @@ -1,30 +1,30 @@ | |||
1 | $NetBSD: patch-aa,v 1.10 2009/05/07 10:55:07 obache Exp $ | 1 | $NetBSD: patch-aa,v 1.11 2010/01/17 02:45:00 obache Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2009-04-30 09:20:57.000000000 +0000 | 3 | --- configure.orig 2009-12-07 03:03:56.000000000 +0000 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -1853,22 +1853,19 @@ MYDOCUMENTFILES="COPYING ChangeLog THANK | 5 | @@ -1855,22 +1855,19 @@ 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) -I$HOME/include -I/usr/local/include" | 10 | -MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include" | |
11 | +MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" | 11 | +MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" | |
12 | +MYCPPFLAGS="-I. -I\$(INCLUDEDIR)" | 12 | +MYCPPFLAGS="-I. -I\$(INCLUDEDIR)" | |
13 | MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__" | 13 | MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__" | |
14 | -MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" | 14 | -MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" | |
15 | +MYLDFLAGS="-L. -L\$(LIBDIR)" | 15 | +MYLDFLAGS="-L. -L\$(LIBDIR)" | |
16 | MYCMDLDFLAGS="" | 16 | MYCMDLDFLAGS="" | |
17 | MYRUNPATH="\$(LIBDIR)" | 17 | MYRUNPATH="\$(LIBDIR)" | |
18 | MYLDLIBPATHENV="LD_LIBRARY_PATH" | 18 | MYLDLIBPATHENV="LD_LIBRARY_PATH" | |
19 | MYPOSTCMD="true" | 19 | MYPOSTCMD="true" | |
20 | 20 | |||
21 | # Building paths | 21 | # Building paths | |
22 | -PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" | 22 | -PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" | |
23 | -PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" | 23 | -PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" | |
24 | CPATH="$HOME/include:/usr/local/include:$CPATH" | 24 | CPATH="$HOME/include:/usr/local/include:$CPATH" | |
25 | LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" | 25 | LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" | |
26 | LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" | 26 | LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" | |
27 | -PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" | 27 | -PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" | |
28 | export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH | 28 | export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH | |
29 | 29 | |||
30 | 30 |