pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/grep textproc/grep: update to 3.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/350ce9957351
branches:  trunk
changeset: 345667:350ce9957351
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Sun Dec 15 21:12:33 2019 +0000

description:
textproc/grep: update to 3.3

* Noteworthy changes in release 3.3 (2018-12-20) [stable]

** Bug fixes

  Some uses of \b in the C locale and with the DFA matcher would fail, e.g.,
  the following would print nothing (it should print the input line):
    echo 123-x|LC_ALL=C grep '.\bx'
  Using a multibyte locale, using certain regexp constructs (some ranges,
  backreferences), or forcing use of the PCRE matcher via --perl-regexp (-P)
  would avoid the bug.
  [bug introduced in grep 2.3]


* Noteworthy changes in release 3.2 (2018-12-20) [stable]

** Changes in behavior

  The --files-without-match (-L) option now causes grep to succeed
  when a file is listed, instead of when a line is selected.  This
  resembles what git-grep does.

** Bug fixes

  The --recursive (-r) option no longer fails on MS-Windows.
  [bug introduced in grep 2.11]

** Improvements

  An over-30x performance improvement when many 'or'd expressions
  share a common prefix, thanks to improvements in gnulib's dfa.c,
  by Norihiro Tanaka.  See gnulib commits v0.1-2110-ge648401be,
  v0.1-2111-g4299106ce, v0.1-2117-g617a60974

  An additional 3-23% speed-up when searching large files, via
  increased initial buffer size.

  grep now diagnoses stack overflow.  Before grep-2.6, the included
  regexp code would detect it.  Since 2.6, grep defaulted to using
  glibc's regexp, which lost that capability.

diffstat:

 textproc/grep/Makefile |   4 ++--
 textproc/grep/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 9464561fa538 -r 350ce9957351 textproc/grep/Makefile
--- a/textproc/grep/Makefile    Sun Dec 15 20:47:15 2019 +0000
+++ b/textproc/grep/Makefile    Sun Dec 15 21:12:33 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2019/08/11 13:23:23 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2019/12/15 21:12:33 rhialto Exp $
 
-DISTNAME=      grep-3.1
+DISTNAME=      grep-3.3
 PKGREVISION=   4
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNU:=grep/}
diff -r 9464561fa538 -r 350ce9957351 textproc/grep/distinfo
--- a/textproc/grep/distinfo    Sun Dec 15 20:47:15 2019 +0000
+++ b/textproc/grep/distinfo    Sun Dec 15 21:12:33 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.25 2019/06/11 10:17:28 jperkin Exp $
+$NetBSD: distinfo,v 1.26 2019/12/15 21:12:33 rhialto Exp $
 
-SHA1 (grep-3.1.tar.xz) = d1d677e959c7d874e18e7e3839f26a0f0c1733d5
-RMD160 (grep-3.1.tar.xz) = 6eaaac1245c653628fd57f07df25b3a60e842891
-SHA512 (grep-3.1.tar.xz) = 05494381c7dd8aad7e2ee4c17450de8d7b969a99dcfe17747db60df3475bf02d5323d091e896e8343e4f3251c29dc7f0b7a9f93c575c9d58ee2a57014c2c9d26
-Size (grep-3.1.tar.xz) = 1370880 bytes
+SHA1 (grep-3.3.tar.xz) = e0befe21e7d9caa8e5e98385c96355d890f83123
+RMD160 (grep-3.3.tar.xz) = dd32e6f23b55fd7bde6adec25c4d2666b9d4daf1
+SHA512 (grep-3.3.tar.xz) = e4805dbddf7cd0f0faf412557d408509650c1ccf703bc450f10a3f727c690dbfaa1235aa81939a0e4b7ac6190f88c15ea1fcc562b343d4b4c7550f967aeb15db
+Size (grep-3.3.tar.xz) = 1473056 bytes
 SHA1 (patch-src_Makefile.in) = 9efe4748d4b1ff33adca4e251e2e4249c62f0035



Home | Main Index | Thread Index | Old Index