On 2015/10/09 18:11, Stuart Henderson wrote: > Fairly old port, never imported in the past due to some weird > errors in tests, though it was always unclear whether they're > test bugs, real bugs, or just something unimportant. > > I thought I'd give it a go with a real program to see if this > is actually anything to be concerned about - tried it as an > hcache backend for mutt instead of qdbm. Seems totally fine and > the difference in speed is astounding. > > OK to import? > > > Tokyo Cabinet, developed as the successor of QDBM, is a library of > routines for managing a simple file-based key/value database. > Keys and values are serial bytes with variable length; both binary > data and character string can be used as key or value. Data are > organized in a hash table, B+ tree, or fixed-length array. > There is no concept of data tables or data types. >
Mutt diff to go with this. Index: Makefile =================================================================== RCS file: /cvs/ports/mail/mutt/Makefile,v retrieving revision 1.68 diff -u -p -r1.68 Makefile --- Makefile 9 Sep 2015 18:39:40 -0000 1.68 +++ Makefile 9 Oct 2015 17:22:35 -0000 @@ -3,7 +3,7 @@ COMMENT= tty-based e-mail client DISTNAME= mutt-1.5.24 -REVISION= 0 +REVISION= 1 EPOCH= 0 CATEGORIES= mail @@ -14,7 +14,7 @@ MAINTAINER= Stuart Henderson <sthen@open # GPLv2+ PERMIT_PACKAGE_CDROM= Yes -WANTLIB+= c crypto idn qdbm>=14 ssl z +WANTLIB+= c crypto idn tokyocabinet ssl z MASTER_SITES= http://ftp.mutt.org/pub/mutt/ \ https://bitbucket.org/mutt/mutt/downloads/ \ @@ -26,7 +26,7 @@ PATCH_DIST_STRIP= -p1 MODULES= devel/gettext -LIB_DEPENDS= databases/qdbm \ +LIB_DEPENDS= databases/tokyocabinet \ devel/libidn BUILD_DEPENDS+= textproc/docbook-xsl \ www/lynx