head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.36 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.34 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.32 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.30 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.28 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.26 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.24 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.22 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.20 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.18 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.1.1.0.2 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.1.1.0.6 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.1.1.0.8 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.1.1.0.12 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.1.1.0.14 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.16 pkgviews-base:1.1 buildlink2-base:1.1.1.1 buildlink2:1.1.1.1.0.10 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2006.03.11.13.10.42; author wiz; state dead; branches; next 1.2; 1.2 date 2004.12.11.08.04.25; author minskim; state Exp; branches; next 1.1; 1.1 date 2002.05.31.13.00.43; author seb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.05.31.13.00.43; author seb; state Exp; branches 1.1.1.1.10.1; next ; 1.1.1.1.10.1 date 2002.05.31.13.00.43; author jlam; state dead; branches; next 1.1.1.1.10.2; 1.1.1.1.10.2 date 2002.06.23.19.01.48; author jlam; state Exp; branches; next ; desc @@ 1.3 log @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. @ text @$NetBSD: patch-ab,v 1.2 2004/12/11 08:04:25 minskim Exp $ --- grep-2.0/Makefile.in.orig 2004-12-11 01:56:57.000000000 -0600 +++ grep-2.0/Makefile.in @@@@ -60,9 +60,9 @@@@ prefix=/usr/local exec_prefix=$(prefix) # Prefix for installed program, normally empty or `g'. -binprefix= +binprefix=j # Prefix for installed man page, normally empty or `g'. -manprefix= +manprefix=j # Where to install executables. bindir=$(exec_prefix)/bin @@@@ -74,7 +74,7 @@@@ mandir=$(prefix)/man/man1 manext=1 # How to make a hard link. -LN=ln +LN=ln -s #### End of system configuration section. #### @@@@ -97,10 +97,10 @@@@ grep.lint: $(SRCS) install: all $(INSTALL_PROGRAM) grep $(bindir)/$(binprefix)grep rm -f $(bindir)/$(binprefix)egrep - $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)egrep + cd $(bindir); $(LN) $(binprefix)grep $(binprefix)egrep rm -f $(bindir)/$(binprefix)fgrep - $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)fgrep - $(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext) + cd $(bindir); $(LN) $(binprefix)grep $(binprefix)fgrep + $(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/$(manprefix)grep.$(manext) check: AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests @ 1.2 log @Merge two patches modifying the same file. As a side effect, this removes fuzz with GNU patch. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 15 a17 3 --- grep-2.0/Makefile.in.orig Tue Apr 4 02:25:58 1995 +++ grep-2.0/Makefile.in Tue Apr 4 02:27:57 1995 @@@@ -74,7 +74,7 @@@@ d26 1 a26 1 @@@@ -97,10 +97,10 @@@@ d34 1 d36 1 a36 1 $(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext) @ 1.1.1.1 log @Reimport of package ja-grep from japanese/grep into textproc/ja-grep. This is part of the japanese category retirement. CATEGORIES and pathnames to japanese/ adjusted. @ text @@ 1.1.1.1.10.1 log @file patch-ab was added on branch buildlink2 on 2002-06-23 19:01:48 +0000 @ text @d1 26 @ 1.1.1.1.10.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 26 $NetBSD: patch-ab,v 1.1.1.1.10.1 2002/06/23 19:01:48 jlam Exp $ --- grep-2.0/Makefile.in.orig Tue Apr 4 02:25:58 1995 +++ grep-2.0/Makefile.in Tue Apr 4 02:27:57 1995 @@@@ -74,7 +74,7 @@@@ manext=1 # How to make a hard link. -LN=ln +LN=ln -s #### End of system configuration section. #### @@@@ -97,10 +97,10 @@@@ install: all $(INSTALL_PROGRAM) grep $(bindir)/$(binprefix)grep rm -f $(bindir)/$(binprefix)egrep - $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)egrep + cd $(bindir); $(LN) $(binprefix)grep $(binprefix)egrep rm -f $(bindir)/$(binprefix)fgrep - $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)fgrep + cd $(bindir); $(LN) $(binprefix)grep $(binprefix)fgrep $(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext) check: AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests @