NetBSD Problem Report #31895
From obata@lins.jp Sun Oct 23 14:23:24 2005
Return-Path: <obata@lins.jp>
Received: from miki.lins.jp (cb8ab2-008.tiki.ne.jp [203.138.178.8])
by narn.netbsd.org (Postfix) with ESMTP id 2385C63B8C8
for <gnats-bugs@gnats.NetBSD.org>; Sun, 23 Oct 2005 14:23:24 +0000 (UTC)
Message-Id: <20051023142322.CAEA3264A55@miki.lins.jp>
Date: Sun, 23 Oct 2005 23:23:22 +0900 (JST)
From: obata@lins.jp
To: gnats-bugs@netbsd.org
Subject: Newer multibytes patch file for textproc/ja-grep now on network
X-Send-Pr-Version: 3.95
>Number: 31895
>Category: pkg
>Synopsis: Newer multibytes patch file for textproc/ja-grep now on network
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Oct 23 14:24:00 +0000 2005
>Closed-Date: Sat Mar 11 13:11:16 +0000 2006
>Last-Modified: Sat Mar 11 13:15:01 +0000 2006
>Originator: OBATA Akio
>Release: NetBSD 2.0.2_STABLE
>Organization:
LINS, Japan.
>Environment:
System: NetBSD miki.lins.jp 2.0.2_STABLE NetBSD 2.0.2_STABLE (MIKI) #4: Mon Aug 1 16:28:54 JST 2005 obata@miki.lins.jp:/usr/src/sys/arch/i386/compile/MIKI i386
Architecture: i386
Machine: i386
>Description:
Newer multibytes patch file for textproc/ja-grep now on network.
>How-To-Repeat:
N/A
>Fix:
Here is a patch for update (and patch-aa & patch-ab should be removed).
Index: Makefile
===================================================================
RCS file: /home/cvsroot/NetBSD/pkgsrc/textproc/ja-grep/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 24 Mar 2005 21:13:02 -0000 1.3
+++ Makefile 23 Oct 2005 14:05:32 -0000
@@ -1,19 +1,28 @@
# $NetBSD: Makefile,v 1.3 2005/03/24 21:13:02 wiz Exp $
-DISTNAME= grep-2.0
-PKGNAME= ja-grep-2.0
+DISTNAME= grep-2.4.2
+PKGNAME= ja-grep-2.4.2
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
+PATCH_SITES= http://www.hinadori.atnifty.com/~wills/program/
+PATCHFILES= grep-2.4.2-mlb2.patch.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
COMMENT= GNU grep + multi-byte extension
GNU_CONFIGURE= yes
-PATCH_STRIP= -p1
+USE_PKGLOCALEDIR= yes
+CONFIGURE_ARGS+= --program-transform-name='s,^,j,'
+TEST_TARGET= check
+
+INFO_FILES= grep.info
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ja-grep
${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/ja-grep
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /home/cvsroot/NetBSD/pkgsrc/textproc/ja-grep/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST 31 May 2002 13:00:42 -0000 1.1
+++ PLIST 23 Oct 2005 14:10:40 -0000
@@ -3,5 +3,26 @@
bin/jegrep
bin/jfgrep
man/man1/jgrep.1
+man/man1/jegrep.1
+man/man1/jfgrep.1
share/doc/ja-grep/README.MB
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/eo/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/grep.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/grep.mo
@dirrm share/doc/ja-grep
Index: distinfo
===================================================================
RCS file: /home/cvsroot/NetBSD/pkgsrc/textproc/ja-grep/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 24 Feb 2005 14:48:43 -0000 1.3
+++ distinfo 23 Oct 2005 13:44:28 -0000
@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.3 2005/02/24 14:48:43 agc Exp $
-SHA1 (grep-2.0.tar.gz) = 99e8f917557f1496cd3786e6c13f3900b8de24d8
-RMD160 (grep-2.0.tar.gz) = 9bef80d053aaa96fe6d7e6867d044f44748c4da2
-Size (grep-2.0.tar.gz) = 127065 bytes
-SHA1 (patch-aa) = 41d2bd451f1332b8dbc3f72e6c6a56308a2c081b
-SHA1 (patch-ab) = ee7821abf28e1cdfab00068f86c1454362d7f25d
+SHA1 (grep-2.4.2.tar.gz) = 83fbd0fcb6ec4b10edf438a28d12608a4f06d588
+RMD160 (grep-2.4.2.tar.gz) = 768399d130cb517889ccfea952e6bc6798dd27cc
+Size (grep-2.4.2.tar.gz) = 460582 bytes
+SHA1 (grep-2.4.2-mlb2.patch.gz) = d2df678e73efd995db2a41cba110e1d0c1ff5104
+RMD160 (grep-2.4.2-mlb2.patch.gz) = d1d59c8e252d4ef5096843f6ea2fed0277237ecb
+Size (grep-2.4.2-mlb2.patch.gz) = 39453 bytes
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Sat, 11 Mar 2006 13:11:16 +0000
State-Changed-Why:
Committed, thank you!
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/31895 CVS commit: pkgsrc/textproc/ja-grep
Date: Sat, 11 Mar 2006 13:10:43 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Sat Mar 11 13:10:42 UTC 2006
Modified Files:
pkgsrc/textproc/ja-grep: Makefile PLIST distinfo
Removed Files:
pkgsrc/textproc/ja-grep/patches: patch-aa patch-ab
Log Message:
Update to 2.4.2 with latest patch (2.4.2-mlb2). Provided by OBATA Akio
in PR 31895.
Patch changes unknown.
Mainstream changes between 2.0 and 2.4.2:
Version 2.4.2
- Added more check in configure to default the grep-${version}/src/regex.c
instead of the one in GNU Lib C.
Version 2.4.1
- If the final byte of an input file is not a newline, grep now silently
supplies one.
- The new option --binary-files=TYPE makes grep assume that a binary input
file is of type TYPE.
--binary-files='binary' (the default) outputs a 1-line summary of matches.
--binary-files='without-match' assumes binary files do not match.
--binary-files='text' treats binary files as text
(equivalent to the -a or --text option).
- New option -I; equivalent to --binary-files='without-match'.
Version 2.4:
- egrep is now equivalent to `grep -E' as required by POSIX,
removing a longstanding source of confusion and incompatibility.
`grep' is now more forgiving about stray `{'s, for backward
compatibility with traditional egrep.
- The lower bound of an interval is not optional.
You must use an explicit zero, e.g. `x{0,10}' instead of `x{,10}'.
(The old documentation incorrectly claimed that it was optional.)
- The --revert-match option has been renamed to --invert-match.
- The --fixed-regexp option has been renamed to --fixed-string.
- New option -H or --with-filename.
- New option --mmap. By default, GNU grep now uses read instead of mmap.
This is faster on some hosts, and is safer on all.
- The new option -z or --null-data causes `grep' to treat a zero byte
(the ASCII NUL character) as a line terminator in input data, and
to treat newlines as ordinary data.
- The new option -Z or --null causes `grep' to output a zero byte
instead of the normal separator after a file name.
- These two options can be used with commands like `find -print0',
`perl -0', `sort -z', and `xargs -0' to process arbitrary file names,
even those that contain newlines.
- The environment variable GREP_OPTIONS specifies default options;
e.g. GREP_OPTIONS='--directories=skip' reestablishes grep 2.1's
behavior of silently skipping directories.
- You can specify a matcher multiple times without error, e.g.
`grep -E -E' or `fgrep -F'. It is still an error to specify
conflicting matchers.
- -u and -U are now allowed on non-DOS hosts, and have no effect.
- Modifications of the tests scripts to go around the "Broken Pipe"
errors from bash. See Bash FAQ.
- New option -r or --recursive or --directories=recurse.
(This option was also in grep 2.3, but wasn't announced here.)
- --without-included-regex disable, was causing bogus reports .i.e
doing more harm then good.
Version 2.3:
- When searching a binary file FOO, grep now just reports
`Binary file FOO matches' instead of outputting binary data.
This is typically more useful than the old behavior,
and it is also more consistent with other utilities like `diff'.
A file is considered to be binary if it contains a NUL (i.e. zero) byte.
The new -a or --text option causes `grep' to assume that all
input is text. (This option has the same meaning as with `diff'.)
Use it if you want binary data in your output.
- `grep' now searches directories just like ordinary files; it no longer
silently skips directories. This is the traditional behavior of
Unix text utilities (in particular, of traditional `grep').
Hence `grep PATTERN DIRECTORY' should report
`grep: DIRECTORY: Is a directory' on hosts where the operating system
does not permit programs to read directories directly, and
`grep: DIRECTORY: Binary file matches' (or nothing) otherwise.
The new -d ACTION or --directories=ACTION option affects directory handling.
`-d skip' causes `grep' to silently skip directories, as in grep 2.1;
`-d read' (the default) causes `grep' to read directories if possible,
as in earlier versions of grep.
- The MS-DOS and Microsoft Windows ports now behave identically to the
GNU and Unix ports with respect to binary files and directories.
Version 2.2:
Bug fix release.
- Status error number fix.
- Skipping directories removed.
- Many typos fix.
- -f /dev/null fix(not to consider as an empty pattern).
- Checks for wctype/wchar.
- -E was using the wrong matcher fix.
- bug in regex char class fix
- Fixes for DJGPP
Version 2.1:
This is a bug fix release(see Changelog) i.e. no new features.
- More compliance to GNU standard.
- Long options.
- Internationalisation.
- Use automake/autoconf.
- Directory hierarchy change.
- Sigvec with -e on Linux corrected.
- Sigvec with -f on Linux corrected.
- Sigvec with the mmap() corrected.
- Bug in kwset corrected.
- -q, -L and -l stop on first match.
- New and improve regex.[ch] from Ulrich Drepper.
- New and improve dfa.[ch] from Arnold Robbins.
- Prototypes for over zealous C compiler.
- Not scanning a file, if it's a directory
(cause problems on Sun).
- Ported to MS-DOS/MS-Windows with DJGPP tools.
See Changelog for the full story and proper credits.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/textproc/ja-grep/Makefile \
pkgsrc/textproc/ja-grep/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/textproc/ja-grep/PLIST
cvs rdiff -r1.1 -r0 pkgsrc/textproc/ja-grep/patches/patch-aa
cvs rdiff -r1.2 -r0 pkgsrc/textproc/ja-grep/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.