From 616e409aa5ad0472b362a05a033569ddfadba88f Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 25 Jan 2007 23:32:27 +0000 Subject: Update to 0.2.1.6: OpenFT 0.2.1.6: * Fixed a bug where full parents could trigger an assertion failure. * Index tokens database by array index instead of by pointer (should improve space efficiency, especially on 64-bit platforms). * Clean up the database properly. Not only does this avoid leaving huge temporary files lying around, but potentially allows the db to be shutdown and restarted at will. * Avoid unaligned memory accesses, which cause problems on some RISC platforms. * Don't die on malformed URLs. OpenFT 0.2.1.5: * Major search database rethink: shares are keyed by host plus a unique identifier instead of by hash. Hopefully this will improve space efficiency (and reduce I/O), and also eliminate the (non-)handling of duplicate hashes that existed previously. * New tokenization API. * Removed support for hidden searches due to new improved hashing algorithm. * New searching functionality: exclusion tokens and quoted queries. * Moved local shares into search database. This should reduce CPU usage with a large number of shares. * Improved documentation about search node configuration. * Fixed two bugs in stats initialization. * Added Bloom filter support, which is currently unused but may eventually be used to optimize query routing. * Temporarily backed out of cleaning up the database environment on exit, because it would try to sync the entire database to disk. This will be fixed properly later when individual children are tracked within ft_search_db.c. * Implemented automatic compressed stream handling for unbounded data (currently search queries and forwarded search results). This reduces bandwidth usage significantly, sometimes by as much as 50%. * Increased maximum packet size, although this is currently unused for compatibility reasons. OpenFT 0.2.1.4: * Fixed a signedness bug that could cause problems with non-ASCII characters on some platforms. * Fixed a packet handling bug that could cause an infinite loop. * Minor networking tweaks. * Fixed clipping of the nodes cache. --- net/gift-openft/Makefile | 5 ++--- net/gift-openft/PLIST | 3 ++- net/gift-openft/distinfo | 9 ++++----- net/gift-openft/patches/patch-ab | 13 ------------- 4 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 net/gift-openft/patches/patch-ab (limited to 'net/gift-openft') diff --git a/net/gift-openft/Makefile b/net/gift-openft/Makefile index b4a6f5addd4..21b32737398 100644 --- a/net/gift-openft/Makefile +++ b/net/gift-openft/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2006/07/07 15:49:33 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2007/01/25 23:32:27 wiz Exp $ # -DISTNAME= gift-openft-0.2.1.3 -PKGREVISION= 3 +DISTNAME= gift-openft-0.2.1.6 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gift/} diff --git a/net/gift-openft/PLIST b/net/gift-openft/PLIST index 0457b14f440..3f078ca0746 100644 --- a/net/gift-openft/PLIST +++ b/net/gift-openft/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:47 jlam Exp $ +@comment $NetBSD: PLIST,v 1.3 2007/01/25 23:33:05 wiz Exp $ lib/giFT/libOpenFT.la share/giFT/OpenFT/OpenFT.conf.template share/giFT/OpenFT/nodes @dirrm share/giFT/OpenFT +@unexec ${RMDIR} %D/lib/giFT 2>/dev/null || ${TRUE} diff --git a/net/gift-openft/distinfo b/net/gift-openft/distinfo index 251811dcb05..cc45cf8ecfe 100644 --- a/net/gift-openft/distinfo +++ b/net/gift-openft/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:13:47 agc Exp $ +$NetBSD: distinfo,v 1.4 2007/01/25 23:33:06 wiz Exp $ -SHA1 (gift-openft-0.2.1.3.tar.gz) = 09a5fc7300105b5040ce7a31edb58fa28ca2c24b -RMD160 (gift-openft-0.2.1.3.tar.gz) = a04ee5d0e4e24386fc4d28ff9854ecffcbb84e12 -Size (gift-openft-0.2.1.3.tar.gz) = 457717 bytes +SHA1 (gift-openft-0.2.1.6.tar.gz) = 7f7c19a3835859c3d76b7b32413161f2c9b007f4 +RMD160 (gift-openft-0.2.1.6.tar.gz) = 492ef2bb691de81a1de099a13c70bce0398adb0b +Size (gift-openft-0.2.1.6.tar.gz) = 469969 bytes SHA1 (patch-aa) = 4a997c48d3bc3faf6a9a3172ddbaad0d66849ecd -SHA1 (patch-ab) = 8a950bf8747c110a444bc10013d80343b36f0fe1 diff --git a/net/gift-openft/patches/patch-ab b/net/gift-openft/patches/patch-ab deleted file mode 100644 index 89baf52aa18..00000000000 --- a/net/gift-openft/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2004/07/27 15:39:21 recht Exp $ - ---- src/ft_search_exec.c.orig 2004-07-27 22:32:38.000000000 +0800 -+++ src/ft_search_exec.c -@@ -235,7 +235,7 @@ static int next_letter (const char **str - len--; - } - -- c = tolower (*str); -+ c = tolower ((unsigned char)*str); - assert (c != '\0'); - - *strref = str + 1; -- cgit v1.2.3