pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/grep Update to 2.15:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70699fdd9ab4
branches:  trunk
changeset: 625929:70699fdd9ab4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Oct 27 23:22:54 2013 +0000

description:
Update to 2.15:

* Noteworthy changes in release 2.15 (2013-10-26) [stable]

** Bug fixes

  grep's \s and \S failed to work with multi-byte white space characters.
  For example, \s would fail to match a non-breaking space, and this
  would print nothing: printf '\xc2\xa0' | LC_ALL=en_US.UTF-8 grep '\s'
  A related bug is that \S would mistakenly match an invalid multibyte
  character.  For example, the following would match:
    printf '\x82\n' | LC_ALL=en_US.UTF-8 grep '^\S$'
  [bug present since grep-2.6]

  grep -i would segfault on systems using UTF-16-based wchar_t (Cygwin)
  when converting an input string containing certain 4-byte UTF-8
  sequences to lower case.  The conversions to wchar_t and back to
  a UTF-8 multibyte string did not take surrogate pairs into account.
  [bug present since at least grep-2.6, though the segfault is new with 2.13]

  grep -E would segfault when given a regexp like '([^.]*[M]){1,2}'
  for any multibyte character M. [bug introduced in grep-2.6, which would
  segfault, but 2.7 and 2.8 had no problem, and 2.9 through 2.14 would
  hit a failed assertion. ]

  grep -F would get stuck in an infinite loop when given a search string
  that is an invalid byte sequence in the current locale and that matches
  the bytes of the input twice on a line.  Now grep fails with exit status 1.

  grep -P could misbehave.  While multi-byte mode is only supported by PCRE
  with UTF-8 locales, grep did not activate it.  This would cause failures
  to match multibyte characters against some regular expressions, especially
  those including the '.' or '\p' metacharacters.

** New features

  grep -P can now use a just-in-time compiler to greatly speed up matches,
  This feature is transparent to the user; no flag is required to enable
  it.  It is only available if the corresponding support in the PCRE
  library is detected when grep is compiled.

diffstat:

 textproc/grep/Makefile |  5 ++---
 textproc/grep/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (26 lines):

diff -r 50c2dc0ebd15 -r 70699fdd9ab4 textproc/grep/Makefile
--- a/textproc/grep/Makefile    Sun Oct 27 23:19:11 2013 +0000
+++ b/textproc/grep/Makefile    Sun Oct 27 23:22:54 2013 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2013/05/31 12:42:07 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2013/10/27 23:22:54 wiz Exp $
 
-DISTNAME=      grep-2.14
-PKGREVISION=   2
+DISTNAME=      grep-2.15
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNU:=grep/}
 EXTRACT_SUFX=  .tar.xz
diff -r 50c2dc0ebd15 -r 70699fdd9ab4 textproc/grep/distinfo
--- a/textproc/grep/distinfo    Sun Oct 27 23:19:11 2013 +0000
+++ b/textproc/grep/distinfo    Sun Oct 27 23:22:54 2013 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2012/08/21 18:04:58 adam Exp $
+$NetBSD: distinfo,v 1.12 2013/10/27 23:22:54 wiz Exp $
 
-SHA1 (grep-2.14.tar.xz) = fb6ea404a0ef915334ca6212c7b517432ffe193e
-RMD160 (grep-2.14.tar.xz) = 4157376c36ebb7b5da83687f241745ca6df9058b
-Size (grep-2.14.tar.xz) = 1195640 bytes
+SHA1 (grep-2.15.tar.xz) = 1dffd7a82761166cc4d39727944655233c2d95fd
+RMD160 (grep-2.15.tar.xz) = 30eb794edee7bc2effd6974e2953e78eb49c14ba
+Size (grep-2.15.tar.xz) = 1267312 bytes



Home | Main Index | Thread Index | Old Index