Subject: pkg/24124: www/swish-e is horribly outdated; fix included
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 01/17/2004 02:18:13
>Number:         24124
>Category:       pkg
>Synopsis:       www/swish-e is horribly outdated; fix included
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 17 02:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        N/A
>Organization:
>Environment:
N/A
>Description:
www/swig-e is *lightyears* behind the actual version. Everything's changed and needs update.

http://swish-e.org/current/docs/CHANGES.html

Updates only for 2.4.0 -> 2.4.1 include:
Version 2.4.1 - December 17, 2003

Added new example CGI script 

search.cgi is a new skeleton CGI script that uses SWISH::API for searching. It is installed in the same location as swish.cgi. 

Add Fuzzy access to C and Perl interfaces 

Added a number of functions to the C API (and SWISH::API) to access the stemmer used when indexing a given index. 

Commas in numbers 

Added commas to summary display at end of indexing. 

Insert whitespace between tags 

Parser.c was updated to flush the text buffer before and after every (non-inline HTML) tag. 

The problem was that: 

  	

    foo<tag>bar</tag>baz

would index as a single word ``foobarbaz''. 

DirTree.pl 

DirTree.pl was updated to work with SWISH::Filter and to work on Windows. DirTree.pl is a program to fetch files from the file system and works with the -S prog input method. 

Problem with --enable-incremental option 

Fixed configure script to build incremental option. Note that this is still experimental. But testers are welcome. 

headers.c bug 

Mark Fletcher with the help of valgrind found a bug in headers.c function SwishIndexHeaderNames used by the C API. 

Clarify documentation regarding search order 

At the prompting of Doralyn Rossmann updated SEARCH.pod to try and make the explanation of searching clearer, and to fix an error in the description of nested searches.
>How-To-Repeat:
Don't repeat it.
>Fix:
Patches are located at:

    http://pasternak.w.lub.pl/pkgsrc_www_swish-e.diff

Make sure you remove patches/ directory

As the pkg maintainer left it in such state, I propose changing the MAINTAINER to point to my e-mail address.

I will be using swish-e together with some software I am preparing, so I can get this one through testing.
>Release-Note:
>Audit-Trail:
>Unformatted: