head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.24 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.20 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.18 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.16 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.14 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.12 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.10 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.24 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.22 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.20 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.18 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.16 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.14 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.12 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.10 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.8 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.6 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.4 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.2 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 FreeBSD-current-1999-12-14:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.5 date 2007.08.16.00.14.43; author joerg; state dead; branches; next 1.4; 1.4 date 2004.06.27.18.30.54; author kristerw; state Exp; branches; next 1.3; 1.3 date 2004.01.22.15.17.07; author xtraeme; state dead; branches; next 1.2; 1.2 date 99.12.14.16.30.02; author bouyer; state Exp; branches; next 1.1; 1.1 date 99.12.14.16.26.23; author bouyer; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.12.14.16.26.23; author bouyer; state Exp; branches; next ; desc @@ 1.5 log @Update to swish-e 2.4.5: - bugfixes - FileFilter is using fork/exec directly, avoiding possible shell escape issues - proximity suppor tfor matchs - fix sparc64 issues - switch to GPL as license with a special link clause - make use of strcoll for sorting @ text @$NetBSD: patch-aa,v 1.4 2004/06/27 18:30:54 kristerw Exp $ --- filters/SWISH/Makefile.in.orig 2003-12-18 06:49:40.000000000 +0100 +++ filters/SWISH/Makefile.in 2004-06-27 19:47:52.000000000 +0200 @@@@ -189,7 +189,7 @@@@ nobase_perlmoduleSCRIPT_INSTALL = $(install_sh_SCRIPT) install-nobase_perlmoduleSCRIPTS: $(nobase_perlmodule_SCRIPTS) @@$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(perlmoduledir) + $(mkinstalldirs) $(DESTDIR)$(perlmoduledir)/Filters @@list='$(nobase_perlmodule_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @ 1.4 log @Make sure the directories exists before trying to install in them. Solves PR 25426. Add dependency on PERL5 so that the configure script does the right thing, since this package use the path in places that cannot be patched by REPLACE_PERL (and bin/swish-filter-test need perl to run anyway). Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update swish-e to 2.4.1, provided by Michal Pasternak in PR pkg/24124 plus minor changes by me. Too many changes to list here, please read this link to see the full list of changes: http://swish-e.org/current/docs/CHANGES.html (new features, bugfixes, etc). @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 1999/12/14 16:30:02 bouyer Exp $ d3 11 a13 46 --- fs.c.orig Wed Jan 6 19:27:02 1999 +++ fs.c Tue Dec 14 17:12:54 1999 @@@@ -41,7 +41,6 @@@@ static struct swline *titconlist = 0; static struct swline *fileislist = 0; static struct swline *suffixlist = 0; -static struct swline *nocontentslist = 0; /* Have we already indexed a file or directory? @@@@ -365,23 +364,28 @@@@ int ishtml(filename) char *filename; { - char *c, suffix[MAXSUFFIXLEN]; + char *c, *d; + d = (char *) strrchr(filename, '/'); c = (char *) strrchr(filename, '.'); + /* make sure the . is part of the filename */ + if (d != NULL && c < d) { + return 0; + } + if (c == NULL) return 0; - strcpy(suffix, c + 1); - if (suffix[0] == '\0') + if (c++ == '\0') return 0; - if (!strncmp(suffix, "htm", 3)) + if (!strncmp(c, "htm", 3)) return 1; - else if (!strncmp(suffix, "HTM", 3)) + else if (!strncmp(c, "HTM", 3)) return 1; - else if (!strncmp(suffix, "shtml", 5)) + else if (!strncmp(c, "shtml", 5)) return 1; - else if (!strncmp(suffix, "SHTML", 5)) + else if (!strncmp(c, "SHTML", 5)) return 1; return 0; } @ 1.2 log @Adapt to NetBSD. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d1 13 a13 3 --- fs.c.old Fri Nov 27 13:30:13 1998 +++ fs.c Fri Nov 27 13:32:19 1998 @@@@ -539,23 +539,28 @@@@ @ 1.1.1.1 log @Initial import of FreeBSD's "swish-e" package: Simple web indexing for humans - enhanced @ text @@