pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/grep grep: update to 3.7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2fe2144c6f1
branches:  trunk
changeset: 457075:a2fe2144c6f1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Aug 15 17:08:24 2021 +0000

description:
grep: update to 3.7.

** Changes in behavior

  Use of the --unix-byte-offsets (-u) option now evokes a warning.
  Since 3.1, this Windows-only option has had no effect.

** Bug fixes

  Preprocessing N patterns would take at least O(N^2) time when too many
  patterns hashed to too few buckets. This now takes seconds, not days:
  : | grep -Ff <(seq 6400000 | tr 0-9 A-J)
  [Bug#44754 introduced in grep 3.5]


* Noteworthy changes in release 3.6 (2020-11-08) [stable]

** Changes in behavior

  The GREP_OPTIONS environment variable no longer affects grep's behavior.
  The variable was declared obsolescent in grep 2.21 (2014), and since
  then any use had caused grep to issue a diagnostic.

** Bug fixes

  grep's DFA matcher performed an invalid regex transformation
  that would convert an ERE like a+a+a+ to a+a+, which would make
  grep a+a+a+ mistakenly match "aa".
  [Bug#44351 introduced in grep 3.2]

  grep -P now reports the troublesome input filename upon PCRE execution
  failure.  Before, searching many files for something rare might fail with
  just "exceeded PCRE's backtracking limit".  Now, it also reports which file
  triggered the failure.

diffstat:

 textproc/grep/Makefile                |   5 ++---
 textproc/grep/distinfo                |  12 ++++++------
 textproc/grep/patches/patch-configure |  12 ++++++------
 3 files changed, 14 insertions(+), 15 deletions(-)

diffs (58 lines):

diff -r b2938803a402 -r a2fe2144c6f1 textproc/grep/Makefile
--- a/textproc/grep/Makefile    Sun Aug 15 15:22:21 2021 +0000
+++ b/textproc/grep/Makefile    Sun Aug 15 17:08:24 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.61 2021/05/24 19:54:24 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2021/08/15 17:08:24 wiz Exp $
 
-DISTNAME=      grep-3.5
-PKGREVISION=   1
+DISTNAME=      grep-3.7
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNU:=grep/}
 EXTRACT_SUFX=  .tar.xz
diff -r b2938803a402 -r a2fe2144c6f1 textproc/grep/distinfo
--- a/textproc/grep/distinfo    Sun Aug 15 15:22:21 2021 +0000
+++ b/textproc/grep/distinfo    Sun Aug 15 17:08:24 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.28 2020/09/30 19:22:08 ryoon Exp $
+$NetBSD: distinfo,v 1.29 2021/08/15 17:08:24 wiz Exp $
 
-SHA1 (grep-3.5.tar.xz) = a66cc5ddac0b8fe2fbdea4dd9bf74ab3d2ebefcd
-RMD160 (grep-3.5.tar.xz) = 45775cbc551ff7ab644569c7fc334598607fe729
-SHA512 (grep-3.5.tar.xz) = 8367aa930ecf7fa5c07153666bf7991097648bd7bf4ca672e6b14e0bb806c89991ec55d2880812877761cbde1d33562f22803835d74bfcd293c2246e274306c4
-Size (grep-3.5.tar.xz) = 1586396 bytes
-SHA1 (patch-configure) = 436dcb5215243dac0d2661ccd34c8b03140989a5
+SHA1 (grep-3.7.tar.xz) = 4d56da85e468e4012c81533a22052014a4c98b17
+RMD160 (grep-3.7.tar.xz) = 07849ea26faade7d3204b78379acb345eb252a71
+SHA512 (grep-3.7.tar.xz) = e9e45dcd40af8367f819f2b93c5e1b4e98a251a9aa251841fa67a875380fae52cfa27c68c6dbdd6a4dde1b1017ee0f6b9833ef6dd6e419d32d71b6df5e972b82
+Size (grep-3.7.tar.xz) = 1641196 bytes
+SHA1 (patch-configure) = b574ebe1575afc5767b0c6634451a3485bb98312
 SHA1 (patch-src_Makefile.in) = 9efe4748d4b1ff33adca4e251e2e4249c62f0035
diff -r b2938803a402 -r a2fe2144c6f1 textproc/grep/patches/patch-configure
--- a/textproc/grep/patches/patch-configure     Sun Aug 15 15:22:21 2021 +0000
+++ b/textproc/grep/patches/patch-configure     Sun Aug 15 17:08:24 2021 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-configure,v 1.1 2020/09/30 19:22:08 ryoon Exp $
+$NetBSD: patch-configure,v 1.2 2021/08/15 17:08:24 wiz Exp $
 
 * pkgsrc always supplies working grep.
 
---- configure.orig     2020-09-28 02:49:51.000000000 +0000
+--- configure.orig     2021-08-14 19:53:52.000000000 +0000
 +++ configure
-@@ -3715,14 +3715,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+@@ -4258,14 +4258,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  
  
  
@@ -16,6 +16,6 @@
 -  On Solaris 11, install the package text/gnu-grep or system/xopen/xcu4." "$LINENO" 5
 -fi
 -
- ac_aux_dir=
- for ac_dir in build-aux "$srcdir"/build-aux
- do
+ 
+ 
+ 



Home | Main Index | Thread Index | Old Index