summaryrefslogtreecommitdiff
path: root/textproc/grep
diff options
context:
space:
mode:
authorryoon <ryoon>2015-11-20 19:04:49 +0000
committerryoon <ryoon>2015-11-20 19:04:49 +0000
commit036d8db3e1d5131a665404152b53baedf8419f6a (patch)
treedc2d202fca11f459d569556c2a4114de67739ddb /textproc/grep
parentabe693eb8f6cf313af0e0e7e7f0d04d06986c185 (diff)
downloadpkgsrc-036d8db3e1d5131a665404152b53baedf8419f6a.tar.gz
Update to 2.22
Changelog: * Noteworthy changes in release 2.22 (2015-11-01) [stable] ** Improvements Performance has improved for patterns containing very long strings, reducing preprocessing time for an N-byte regexp from O(N^2) to only slightly superlinear for most patterns. Before, a command like the following would take over a minute, but now, it takes less than a second: : | grep -f <(seq -s '' 99999) When building grep, 'configure' now uses PCRE's pkg-config module for configuration information, rather than attempting to guess it by hand. ** Bug fixes A DFA matcher bug made this command mistakenly print its input line: echo axb | grep -E '^x|x$' Likewise for this equivalent command: echo axb | grep -e '^x' -e 'x$' [bug introduced in grep-2.19 ] grep no longer reads from uninitialized memory or from beyond the end of the heap-allocated input buffer. This fix addressed CVE-2015-1345. [bug introduced in grep-2.19 ] With -z, '.' and '[^x]' in a pattern now consistently match newline. Previously, they sometimes matched newline, and sometimes did not. [bug introduced in grep-2.4] When the JIT stack is exhausted, grep -P now grows the stack rather than reporting an internal PCRE error. 'grep -D skip PATTERN FILE' no longer hangs if FILE is a fifo. [bug introduced in grep-2.12] --exclude and related options are now matched against entire command-line arguments, not against command-line components. [bug introduced in grep-2.6] Fix performance degradation of grep -Fw in unibyte locales. [bug introduced in grep-2.19 ]
Diffstat (limited to 'textproc/grep')
-rw-r--r--textproc/grep/Makefile5
-rw-r--r--textproc/grep/distinfo10
2 files changed, 7 insertions, 8 deletions
diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile
index 5b97cbe9541..6f0e4fe15c8 100644
--- a/textproc/grep/Makefile
+++ b/textproc/grep/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2015/06/12 10:51:20 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2015/11/20 19:04:49 ryoon Exp $
-DISTNAME= grep-2.21
-PKGREVISION= 1
+DISTNAME= grep-2.22
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
EXTRACT_SUFX= .tar.xz
diff --git a/textproc/grep/distinfo b/textproc/grep/distinfo
index 72f65f7816f..d65dbdf13b5 100644
--- a/textproc/grep/distinfo
+++ b/textproc/grep/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2015/11/04 01:59:29 agc Exp $
+$NetBSD: distinfo,v 1.18 2015/11/20 19:04:49 ryoon Exp $
-SHA1 (grep-2.21.tar.xz) = c7e6525c5c5aaa1bc3c1774db1697f42b11c2d85
-RMD160 (grep-2.21.tar.xz) = 2e4eb132e5188d298631b45217d23b024dd31614
-SHA512 (grep-2.21.tar.xz) = bc894325f89d37413c773d4812cb24180560037ccc8d72c015462043ef3479ea7eefd62557e3a9d191d6d94c68262563d3c68e634acd4e77ba56e96c92805dfd
-Size (grep-2.21.tar.xz) = 1261548 bytes
+SHA1 (grep-2.22.tar.xz) = 561ba83226872b1c45205bdd583106ee8df0fe79
+RMD160 (grep-2.22.tar.xz) = f65e169b216ea7418ae77c49132cc69b56be47ce
+SHA512 (grep-2.22.tar.xz) = c0756e4aa360cc29b3123384eef654743df108cc606372142c79893a09a0c8053b03d048768e972221e0ed96f378b8564f848f9acc180fca499f0494fbe9113c
+Size (grep-2.22.tar.xz) = 1297864 bytes