pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c8f7020bf33
branches:  trunk
changeset: 384813:6c8f7020bf33
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Sep 05 13:24:27 2022 +0000

description:
grep: Update to 3.8

Changelog:
* Noteworthy changes in release 3.8 (2022-09-02) [stable]

** Changes in behavior

  The -P option is now based on PCRE2 instead of the older PCRE,
  thanks to code contributed by Carlo Arenas.

  The egrep and fgrep commands, which have been deprecated since
  release 2.5.3 (2007), now warn that they are obsolescent and should
  be replaced by grep -E and grep -F.

  The confusing GREP_COLOR environment variable is now obsolescent.
  Instead of GREP_COLOR='xxx', use GREP_COLORS='mt=xxx'.  grep now
  warns if GREP_COLOR is used and is not overridden by GREP_COLORS.
  Also, grep now treats GREP_COLOR like GREP_COLORS by silently
  ignoring it if it attempts to inject ANSI terminal escapes.

  Regular expressions with stray backslashes now cause warnings, as
  their unspecified behavior can lead to unexpected results.
  For example, '\a' and 'a' are not always equivalent
  <https://bugs.gnu.org/39678>.  Similarly, regular expressions or
  subexpressions that start with a repetition operator now also cause
  warnings due to their unspecified behavior; for example, *a(+b|{1}c)
  now has three reasons to warn.  The warnings are intended as a
  transition aid; they are likely to be errors in future releases.

  Regular expressions like [:space:] are now errors even if
  POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior.

** Bug fixes

  In locales using UTF-8 encoding, the regular expression '.' no
  longer sometimes fails to match Unicode characters U+D400 through
  U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and
  Unicode characters U+108000 through U+10FFFF (half of Supplemental
  Private Use Area plane B).
  [bug introduced in grep 3.4]

  The -s option no longer suppresses "binary file matches" messages.
  [Bug#51860 introduced in grep 3.5]

** Documentation improvements

  The manual now covers unspecified behavior in patterns like \x, (+),
  and range expressions outside the POSIX locale.

diffstat:

 textproc/grep/Makefile |  7 +++----
 textproc/grep/PLIST    |  6 +++---
 textproc/grep/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 11 deletions(-)

diffs (69 lines):

diff -r d56a05849343 -r 6c8f7020bf33 textproc/grep/Makefile
--- a/textproc/grep/Makefile    Mon Sep 05 12:47:10 2022 +0000
+++ b/textproc/grep/Makefile    Mon Sep 05 13:24:27 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2022/06/28 11:36:10 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2022/09/05 13:24:27 ryoon Exp $
 
-DISTNAME=      grep-3.7
-PKGREVISION=   1
+DISTNAME=      grep-3.8
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNU:=grep/}
 EXTRACT_SUFX=  .tar.xz
@@ -40,5 +39,5 @@
 .endfor
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d56a05849343 -r 6c8f7020bf33 textproc/grep/PLIST
--- a/textproc/grep/PLIST       Mon Sep 05 12:47:10 2022 +0000
+++ b/textproc/grep/PLIST       Mon Sep 05 13:24:27 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2012/08/03 13:07:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2022/09/05 13:24:27 ryoon Exp $
 bin/gegrep
 bin/gfgrep
 bin/ggrep
@@ -9,8 +9,6 @@
 gnu/man/man1/fgrep.1
 gnu/man/man1/grep.1
 info/grep.info
-man/man1/gegrep.1
-man/man1/gfgrep.1
 man/man1/ggrep.1
 share/locale/af/LC_MESSAGES/grep.mo
 share/locale/be/LC_MESSAGES/grep.mo
@@ -34,6 +32,7 @@
 share/locale/id/LC_MESSAGES/grep.mo
 share/locale/it/LC_MESSAGES/grep.mo
 share/locale/ja/LC_MESSAGES/grep.mo
+share/locale/ka/LC_MESSAGES/grep.mo
 share/locale/ko/LC_MESSAGES/grep.mo
 share/locale/ky/LC_MESSAGES/grep.mo
 share/locale/lt/LC_MESSAGES/grep.mo
@@ -49,6 +48,7 @@
 share/locale/sl/LC_MESSAGES/grep.mo
 share/locale/sr/LC_MESSAGES/grep.mo
 share/locale/sv/LC_MESSAGES/grep.mo
+share/locale/ta/LC_MESSAGES/grep.mo
 share/locale/th/LC_MESSAGES/grep.mo
 share/locale/tr/LC_MESSAGES/grep.mo
 share/locale/uk/LC_MESSAGES/grep.mo
diff -r d56a05849343 -r 6c8f7020bf33 textproc/grep/distinfo
--- a/textproc/grep/distinfo    Mon Sep 05 12:47:10 2022 +0000
+++ b/textproc/grep/distinfo    Mon Sep 05 13:24:27 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.31 2021/10/26 11:21:55 nia Exp $
+$NetBSD: distinfo,v 1.32 2022/09/05 13:24:27 ryoon Exp $
 
-BLAKE2s (grep-3.7.tar.xz) = 6b0e3f8f7f7b4a1d43dcdd74435fecafd79cff462a3a1a55279f9d77eeba389f
-SHA512 (grep-3.7.tar.xz) = e9e45dcd40af8367f819f2b93c5e1b4e98a251a9aa251841fa67a875380fae52cfa27c68c6dbdd6a4dde1b1017ee0f6b9833ef6dd6e419d32d71b6df5e972b82
-Size (grep-3.7.tar.xz) = 1641196 bytes
+BLAKE2s (grep-3.8.tar.xz) = 08b5530af7625d21ac15623fc550c8ca718e891d0912eec5806d27ff88f7a5fe
+SHA512 (grep-3.8.tar.xz) = 2014519a80c6dcd799837e1bd7d9d5ebe8729ec54b0dc76981dac4755a9a8a9f200470cdcc911e2825bed8162e61da39e3dd60289f7393b48bf67314077d0c79
+Size (grep-3.8.tar.xz) = 1709536 bytes
 SHA1 (patch-configure) = b574ebe1575afc5767b0c6634451a3485bb98312
 SHA1 (patch-src_Makefile.in) = 9efe4748d4b1ff33adca4e251e2e4249c62f0035



Home | Main Index | Thread Index | Old Index