pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/namazu2 Update namazu package to 2.0.13.
details: https://anonhg.NetBSD.org/pkgsrc/rev/aca3e74d738d
branches: trunk
changeset: 474847:aca3e74d738d
user: taca <taca%pkgsrc.org@localhost>
date: Thu May 06 13:40:21 2004 +0000
description:
Update namazu package to 2.0.13.
Overview of Changes in Namazu 2.0.13 - April 14, 2004
* Include File::MMagic 1.20.
* Add -X and --check-filesize options for mknmz text-processing.
* Add Polish translations.
(Contributed by Kryzystof Drewicz.)
* Add German translations.
(Contributed by Gerald Pfeifer.)
* Add new filters
(Ichitaro variants, OpenOffice.org, RTF, apachecache, MP3)
* Add new filter (Macbinary)
* Adapt new filter programs (wvWare 0.7.4, xpdf 2.02 - 3.00)
* Add new directives for namazurc (SUICIDE_TIME, REGEX_SEARCH)
(to prevent possibility of remote DoS, reported by sheepman.)
* Add new directives for mknmzrc (HTML_ATTRIBUTES)
(This pattern specifies attribute of a HTML tag which should be
searchable.)
* Change soname (LTVERSION 7:0:0, lib/libnmz.so.6 -> lib/libnmz.so.7)
* Support $WAKATI="module_mecab"; in mknmzrc. (experimental)
* Fix MacOSX compilation problem (getopt.c deviation from gengetopt-2.5)
* Fix some bugs and possibility of security hole.
diffstat:
textproc/namazu2/INSTALL | 16 +++++-----
textproc/namazu2/Makefile | 11 ++----
textproc/namazu2/PLIST | 23 ++++++++++----
textproc/namazu2/distinfo | 14 ++------
textproc/namazu2/patches/patch-ab | 29 +++++++++++-------
textproc/namazu2/patches/patch-al | 13 --------
textproc/namazu2/patches/patch-an | 13 --------
textproc/namazu2/patches/patch-ap | 32 ---------------------
textproc/namazu2/patches/patch-aq | 59 ---------------------------------------
9 files changed, 50 insertions(+), 160 deletions(-)
diffs (truncated from 370 to 300 lines):
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/INSTALL
--- a/textproc/namazu2/INSTALL Thu May 06 13:38:14 2004 +0000
+++ b/textproc/namazu2/INSTALL Thu May 06 13:40:21 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.3 2003/08/30 20:23:07 jlam Exp $
+# $NetBSD: INSTALL,v 1.4 2004/05/06 13:40:21 taca Exp $
PKGNAME=$1
STAGE=$2
@@ -26,11 +26,12 @@
"LC_ALL", "LC_MESSAGES" or "LANG" environment to "ja".
5. Because of lack of locale support, you need to set "PERL_BADLANG"
- for perl to stop the warning on NetBSD 1.5.X and before.
- On NetBSD current (1.6 or later), you don't need to set
- "PERL_BADLANG" but "LC_LANG" environment.
+ for perl to stop the warning.
-6. If you want to make index of bellow file type, please install
+6. Special notes for perl 5.8.1 users: Please set environment
+ PERL_HASH_SEED as 0.
+
+7. If you want to make index of bellow file type, please install
appropriate package.
Adobe PDF xpdf
@@ -46,9 +47,8 @@
For handling non-English language, you might need lv and/or nkf
package, too.
- DocCat is a commercial product from Dehenken Limited and it dosen't
- provided as NetBSD package (yet?).
- See http://www.dehenken.co.jp/english/doccat.html in detail.
+ DocCat is a commercial product from Dehenken Limited.
+ See http://www.dehenken.co.jp/products/doccat/doccat.html in detail.
=============================================================
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/Makefile
--- a/textproc/namazu2/Makefile Thu May 06 13:38:14 2004 +0000
+++ b/textproc/namazu2/Makefile Thu May 06 13:40:21 2004 +0000
@@ -1,16 +1,12 @@
-# $NetBSD: Makefile,v 1.12 2004/05/04 23:46:36 snj Exp $
+# $NetBSD: Makefile,v 1.13 2004/05/06 13:40:21 taca Exp $
# FreeBSD Id: ports/japanese/namazu2/Makefile,v 1.16 2000/10/26 20:56:25 knu Exp
-DISTNAME= namazu-2.0.12
-PKGREVISION= 3
+DISTNAME= namazu-2.0.13-1
+PKGNAME= namazu-2.0.13
CATEGORIES= japanese textproc www
MASTER_SITES= ftp://ftp.namazu.org/namazu/stable/ \
http://www.namazu.org/stable/
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= namazu-2.0.12-de.diff
-PATCH_DIST_STRIP= -p1
-
MAINTAINER= tech-pkg%NetBSD.org@localhost
HOMEPAGE= http://www.namazu.org/index.html.en
COMMENT= Full-text search system intended for easy use
@@ -22,6 +18,7 @@
DEPENDS+= p5-Text-ChaSen>=1.0:../../textproc/p5-Text-ChaSen
.endif
+WRKSRC= ${WRKDIR}/namazu-2.0.13
CONFIGURE_ARGS+= --localstatedir=${LOCALBASE}/libdata \
--libexecdir=${LOCALBASE}/libexec/cgi-bin
.if defined(WITH_CHASEN) && ${WITH_CHASEN} == NO
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/PLIST
--- a/textproc/namazu2/PLIST Thu May 06 13:38:14 2004 +0000
+++ b/textproc/namazu2/PLIST Thu May 06 13:40:21 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2003/05/26 06:32:00 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/05/06 13:40:21 taca Exp $
bin/adnmz
bin/bnamazu
bin/gcnmz
@@ -34,8 +34,8 @@
lib/libnmz.a
lib/libnmz.la
lib/libnmz.so
-lib/libnmz.so.6
-lib/libnmz.so.6.0
+lib/libnmz.so.7
+lib/libnmz.so.7.0
@exec ${MKDIR} %D/libdata/namazu 2>/dev/null|| /usr/bin/true
@exec ${MKDIR} %D/libdata/namazu/index 2>/dev/null || /usr/bin/true
@dirrm libdata/namazu/index
@@ -43,10 +43,6 @@
libexec/cgi-bin/namazu.cgi
man/man1/mknmz.1
man/man1/namazu.1
-${PKGLOCALEDIR}/locale/es/LC_MESSAGES/namazu.mo
-${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/namazu.mo
-${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/namazu.mo
-${PKGLOCALEDIR}/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo
share/namazu/doc/en/manual.html
share/namazu/doc/en/nmz.html
share/namazu/doc/en/tips.html
@@ -76,6 +72,7 @@
share/namazu/etc/TODO
share/namazu/etc/namazu.png
@dirrm share/namazu/etc
+share/namazu/filter/apachecache.pl
share/namazu/filter/bzip2.pl
share/namazu/filter/compress.pl
share/namazu/filter/deb.pl
@@ -85,16 +82,22 @@
share/namazu/filter/hdml.pl
share/namazu/filter/hnf.pl
share/namazu/filter/html.pl
+share/namazu/filter/macbinary.pl
share/namazu/filter/mailnews.pl
share/namazu/filter/man.pl
share/namazu/filter/mhonarc.pl
+share/namazu/filter/mp3.pl
share/namazu/filter/msword.pl
+share/namazu/filter/ooo.pl
share/namazu/filter/pdf.pl
share/namazu/filter/postscript.pl
share/namazu/filter/powerpoint.pl
share/namazu/filter/rfc.pl
+share/namazu/filter/rtf.pl
share/namazu/filter/rpm.pl
share/namazu/filter/taro.pl
+share/namazu/filter/taro56.pl
+share/namazu/filter/taro7_10.pl
share/namazu/filter/tex.pl
@dirrm share/namazu/filter
share/namazu/mknmzrc.example
@@ -115,26 +118,32 @@
share/namazu/template/NMZ.body.es
share/namazu/template/NMZ.body.fr
share/namazu/template/NMZ.body.ja
+share/namazu/template/NMZ.body.pl
+share/namazu/template/NMZ.tips.pl
share/namazu/template/NMZ.foot
share/namazu/template/NMZ.foot.de
share/namazu/template/NMZ.foot.es
share/namazu/template/NMZ.foot.fr
share/namazu/template/NMZ.foot.ja
+share/namazu/template/NMZ.foot.pl
share/namazu/template/NMZ.head
share/namazu/template/NMZ.head.de
share/namazu/template/NMZ.head.es
share/namazu/template/NMZ.head.fr
share/namazu/template/NMZ.head.ja
+share/namazu/template/NMZ.head.pl
share/namazu/template/NMZ.result.normal
share/namazu/template/NMZ.result.normal.de
share/namazu/template/NMZ.result.normal.es
share/namazu/template/NMZ.result.normal.fr
share/namazu/template/NMZ.result.normal.ja
+share/namazu/template/NMZ.result.normal.pl
share/namazu/template/NMZ.result.short
share/namazu/template/NMZ.result.short.de
share/namazu/template/NMZ.result.short.es
share/namazu/template/NMZ.result.short.fr
share/namazu/template/NMZ.result.short.ja
+share/namazu/template/NMZ.result.short.pl
share/namazu/template/NMZ.tips
share/namazu/template/NMZ.tips.es
share/namazu/template/NMZ.tips.fr
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/distinfo
--- a/textproc/namazu2/distinfo Thu May 06 13:38:14 2004 +0000
+++ b/textproc/namazu2/distinfo Thu May 06 13:40:21 2004 +0000
@@ -1,12 +1,6 @@
-$NetBSD: distinfo,v 1.4 2003/05/25 14:12:13 taca Exp $
+$NetBSD: distinfo,v 1.5 2004/05/06 13:40:21 taca Exp $
-SHA1 (namazu-2.0.12.tar.gz) = ef9ad4bb38150c1857b036e8302de9fdb7049309
-Size (namazu-2.0.12.tar.gz) = 870307 bytes
-SHA1 (namazu-2.0.12-de.diff) = b0a1c825454bd45cc4d9c6baa7efa09e9d8fd547
-Size (namazu-2.0.12-de.diff) = 6801 bytes
+SHA1 (namazu-2.0.13-1.tar.gz) = 1ec8e20e12293fc008371afee98c3165dbe4017e
+Size (namazu-2.0.13-1.tar.gz) = 1046889 bytes
SHA1 (patch-aa) = 336a7f68842d4a9ca29ce085ccded45fe0b1392f
-SHA1 (patch-ab) = c5baa6b5555c4fee0215980ca8df3880fa93390f
-SHA1 (patch-al) = f05436ec713ae1bcb01dd7b1a9a7a598018e9dd7
-SHA1 (patch-an) = 495e9806283eff04cd3900f3066556899bd55513
-SHA1 (patch-ap) = c6cec7dbefd0d13eb046efd392b94ed7b8fdf246
-SHA1 (patch-aq) = cfd62db68b16fed547a11e92e2b6a453366703c1
+SHA1 (patch-ab) = 0643872e5681ca99373a2059e0b520405c62a807
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/patches/patch-ab
--- a/textproc/namazu2/patches/patch-ab Thu May 06 13:38:14 2004 +0000
+++ b/textproc/namazu2/patches/patch-ab Thu May 06 13:40:21 2004 +0000
@@ -1,23 +1,30 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:01:41 seb Exp $
+$NetBSD: patch-ab,v 1.2 2004/05/06 13:40:21 taca Exp $
---- conf/Makefile.in.orig Thu Dec 27 14:06:04 2001
+--- conf/Makefile.in.orig 2004-04-14 03:09:01.000000000 +0900
+++ conf/Makefile.in
-@@ -117,10 +117,10 @@
-
+@@ -25,7 +25,7 @@ bindir = @bindir@
+ sbindir = @sbindir@
+ libexecdir = @libexecdir@
+ datadir = @datadir@
+-sysconfdir = @sysconfdir@
++sysconfdir = $(datadir)
+ sharedstatedir = @sharedstatedir@
+ localstatedir = @localstatedir@
+ libdir = @libdir@
+@@ -133,9 +133,9 @@ lispdir = @lispdir@
AUTOMAKE_OPTIONS = 1.4 no-dependencies
--confdir = $(sysconfdir)/$(PACKAGE)
+ confdir = $(sysconfdir)/$(PACKAGE)
-conf_DATA = namazurc-sample mknmzrc-sample
-+confdir = $(pkgdatadir)
+conf_DATA = namazurc.example mknmzrc.example
EXTRA_DIST = namazurc-sample
-CLEANFILES = mknmzrc-sample
+CLEANFILES = namazurc.example mknmzrc.example
+ subdir = conf
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES =
-@@ -244,7 +244,10 @@
- maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+ CONFIG_HEADER = $(top_builddir)/config.h
+@@ -290,7 +290,10 @@ uninstall-am: uninstall-confDATA uninsta
+ uninstall-info-am
-mknmzrc-sample: ../pl/conf.pl
@@ -26,5 +33,5 @@
+
+mknmzrc.example: ../pl/conf.pl
perl -pe 's/^/\x23 / unless /^(\x23|package|$$)/' ../pl/conf.pl > $@
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/patches/patch-al
--- a/textproc/namazu2/patches/patch-al Thu May 06 13:38:14 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-al,v 1.1.1.1 2002/05/31 13:01:42 seb Exp $
-
---- scripts/mknmz.in.orig Sun Nov 25 18:28:58 2001
-+++ scripts/mknmz.in
-@@ -176,6 +176,8 @@
- my $processed_num = 0;
- my $file_size = util::filesize($cfile);
-
-+ return ($file_size, $processed_num) unless $file_size;
-+
- if ($var::Opt{'htmlsplit'} && $cfile =~ $conf::HTML_SUFFIX) {
- my @parts = htmlsplit::split($cfile, "NMZ.partial");
- if (@parts > 1) {
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/patches/patch-an
--- a/textproc/namazu2/patches/patch-an Thu May 06 13:38:14 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-an,v 1.3 2002/12/01 14:23:06 taca Exp $
-
---- filter/msword.pl.orig Mon Aug 26 12:13:31 2002
-+++ filter/msword.pl
-@@ -128,7 +128,7 @@ sub filter_wv ($$$$$) {
- my $supported = undef;
- my $fh_cmd = util::efopen("$wvversionpath $tmpfile |");
- while (<$fh_cmd>) {
-- if (/^Version: (word\d+),/i) {
-+ if (/^Version: (word\d+)(?:,| )/i) {
- $version = $1;
- #
- # Only word8 format is supported for Japanese.
diff -r 283dcc719e74 -r aca3e74d738d textproc/namazu2/patches/patch-ap
--- a/textproc/namazu2/patches/patch-ap Thu May 06 13:38:14 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2003/05/25 14:12:13 taca Exp $
-
---- filter/mhonarc.pl.orig 2002-08-06 14:00:56.000000000 +0900
-+++ filter/mhonarc.pl
-@@ -156,14 +156,25 @@ sub load_mhonarc_fields {
-
- if ($mha_head =~ /<!--X-Subject: ([^-]+) -->/) {
- my $subject = uncommentize($1);
-+ if (util::islang("ja")) {
-+ codeconv::toeuc(\$subject);
-+ }
- 1 while ($subject =~ s/\A\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*//i);
- $subject =~ s/\A\s*\[[^\]]+\]\s*//;
- $fields->{'subject'} = $subject;
- }
- if ($mha_head =~ /<!--X-From-R13: ([^-]+) -->/) {
-- $fields->{'from'} = mrot13(uncommentize($1));
-+ my $from = mrot13(uncommentize($1));
-+ if (util::islang("ja")) {
-+ codeconv::toeuc(\$from);
-+ }
-+ $fields->{'from'} = $from;
- } elsif ($mha_head =~ /<!--X-From: ([^-]+) -->/) {
-- $fields->{'from'} = uncommentize($1);
-+ my $from = uncommentize($1);
Home |
Main Index |
Thread Index |
Old Index