Mon Mar 14 13:16:31 2016 UTC ()
Update to 2.24

Changelog:
* Noteworthy changes in release 2.24 (2016-03-10) [stable]

** Bug fixes

  grep -z would match strings it should not.  To trigger the bug, you'd
  have to use a regular expression including an anchor (^ or $) and a
  feature like a range or a backreference, causing grep to forego its DFA
  matcher and resort to using re_search.  With a multibyte locale, that
  matcher could mistakenly match a string containing a newline.
  For example, this command:
    printf 'a\nb\0' | LC_ALL=en_US.utf-8 grep -z '^[a-b]*b'
  would mistakenly match and print all four input bytes.  After the fix,
  there is no match, as expected.
  [bug introduced in grep-2.7]

  grep -Pz now diagnoses attempts to use patterns containing ^ and $,
  instead of mishandling these patterns.  This problem seems to be
  inherent to the PCRE API; removing this limitation is on PCRE's
  maint/README wish list.  Patterns can continue to match literal ^
  and $ by escaping them with \ (now needed even inside [...]).
  [bug introduced in grep-2.5]


(ryoon)
diff -r1.45 -r1.46 pkgsrc/textproc/grep/Makefile
diff -r1.19 -r1.20 pkgsrc/textproc/grep/distinfo

cvs diff -r1.45 -r1.46 pkgsrc/textproc/grep/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/grep/Makefile 2016/02/12 23:28:43 1.45
+++ pkgsrc/textproc/grep/Makefile 2016/03/14 13:16:31 1.46
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.45 2016/02/12 23:28:43 ryoon Exp $ 1# $NetBSD: Makefile,v 1.46 2016/03/14 13:16:31 ryoon Exp $
2 2
3DISTNAME= grep-2.23 3DISTNAME= grep-2.24
4CATEGORIES= textproc 4CATEGORIES= textproc
5MASTER_SITES= ${MASTER_SITE_GNU:=grep/} 5MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= bouyer@NetBSD.org 8MAINTAINER= bouyer@NetBSD.org
9HOMEPAGE= http://www.gnu.org/software/grep/grep.html 9HOMEPAGE= http://www.gnu.org/software/grep/grep.html
10COMMENT= GNU grep 10COMMENT= GNU grep
11LICENSE= gnu-gpl-v3 # or later 11LICENSE= gnu-gpl-v3 # or later
12 12
13USE_PKGLOCALEDIR= yes 13USE_PKGLOCALEDIR= yes
14USE_TOOLS+= makeinfo msgfmt 14USE_TOOLS+= makeinfo msgfmt
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16CONFIGURE_ARGS+= --disable-perl-regexp 16CONFIGURE_ARGS+= --disable-perl-regexp

cvs diff -r1.19 -r1.20 pkgsrc/textproc/grep/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/grep/distinfo 2016/02/12 23:28:43 1.19
+++ pkgsrc/textproc/grep/distinfo 2016/03/14 13:16:31 1.20
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.19 2016/02/12 23:28:43 ryoon Exp $ 1$NetBSD: distinfo,v 1.20 2016/03/14 13:16:31 ryoon Exp $
2 2
3SHA1 (grep-2.23.tar.xz) = 76239b0c7f6d93acc820832b8241227619ff1cdb 3SHA1 (grep-2.24.tar.xz) = 3ecbec7805b8c3082094dc4dd9c4d415c24b9669
4RMD160 (grep-2.23.tar.xz) = e44f6a41cfced6cd08f7b0cbb838c63507b16f00 4RMD160 (grep-2.24.tar.xz) = 79303252099639b42b5bcc01089f060cb281d056
5SHA512 (grep-2.23.tar.xz) = 4b1d86bfe46039db6d5e1c773f73a30a1fd21a2bdceba6286df0e6b97d93f01750e9ba3a6363a31c06c9ff9fa3850b0a9bca214d52cccf4d0d27e087208ab3ab 5SHA512 (grep-2.24.tar.xz) = 44dafa41ef74687ef91efdb6fd8e81a1a8469f74ec98a6d681eee304455dd18561abca328b89e22b4b7ba5ce157b1d34cae3251d86354df36807b7042afc3650
6Size (grep-2.23.tar.xz) = 1317488 bytes 6Size (grep-2.24.tar.xz) = 1321680 bytes