From 1dfba5a18d63004ecc0daa216b21fc3a69e6f191 Mon Sep 17 00:00:00 2001 From: ryoon Date: Mon, 14 Mar 2016 13:16:31 +0000 Subject: 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] --- textproc/grep/Makefile | 4 ++-- textproc/grep/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'textproc') diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile index 0832a97d5f2..7f1970da4b4 100644 --- a/textproc/grep/Makefile +++ b/textproc/grep/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.45 2016/02/12 23:28:43 ryoon Exp $ +# $NetBSD: Makefile,v 1.46 2016/03/14 13:16:31 ryoon Exp $ -DISTNAME= grep-2.23 +DISTNAME= grep-2.24 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU:=grep/} EXTRACT_SUFX= .tar.xz diff --git a/textproc/grep/distinfo b/textproc/grep/distinfo index d1242cff9b4..e9a5c8e6f16 100644 --- a/textproc/grep/distinfo +++ b/textproc/grep/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.19 2016/02/12 23:28:43 ryoon Exp $ +$NetBSD: distinfo,v 1.20 2016/03/14 13:16:31 ryoon Exp $ -SHA1 (grep-2.23.tar.xz) = 76239b0c7f6d93acc820832b8241227619ff1cdb -RMD160 (grep-2.23.tar.xz) = e44f6a41cfced6cd08f7b0cbb838c63507b16f00 -SHA512 (grep-2.23.tar.xz) = 4b1d86bfe46039db6d5e1c773f73a30a1fd21a2bdceba6286df0e6b97d93f01750e9ba3a6363a31c06c9ff9fa3850b0a9bca214d52cccf4d0d27e087208ab3ab -Size (grep-2.23.tar.xz) = 1317488 bytes +SHA1 (grep-2.24.tar.xz) = 3ecbec7805b8c3082094dc4dd9c4d415c24b9669 +RMD160 (grep-2.24.tar.xz) = 79303252099639b42b5bcc01089f060cb281d056 +SHA512 (grep-2.24.tar.xz) = 44dafa41ef74687ef91efdb6fd8e81a1a8469f74ec98a6d681eee304455dd18561abca328b89e22b4b7ba5ce157b1d34cae3251d86354df36807b7042afc3650 +Size (grep-2.24.tar.xz) = 1321680 bytes -- cgit v1.2.3