Wed Nov 16 10:41:36 2022 UTC ()
gsed: update to 4.9.

* Noteworthy changes in release 4.9 (2022-11-06) [stable]

** Bug fixes

  'sed --follow-symlinks -i' no longer loops forever when its operand
  is a symbolic link cycle.
  [bug introduced in sed 4.2]

  a program with an execution line longer than 2GB can no longer trigger
  an out-of-bounds memory write.

  using the R command to read an input line of length longer than 2GB
  can no longer trigger an out-of-bounds memory read.

  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 sed 4.8]

  I/O errors involving temp files no longer confuse sed into using a
  FILE * pointer after fclosing it, which has undefined behavior in C.

** New Features

  The 'r' command now accepts address 0, allowing inserting a file before
  the first line.

** Changes in behavior

   Sed now prints the less-surprising variant in a corner case of
   POSIX-unspecified behavior.  Before, this would print "n".
   Now, it prints "X":

    printf n | sed 'sn\nnXn'; echo


(wiz)
diff -r1.59 -r1.60 pkgsrc/textproc/gsed/Makefile
diff -r1.17 -r1.18 pkgsrc/textproc/gsed/PLIST
diff -r1.29 -r1.30 pkgsrc/textproc/gsed/distinfo

cvs diff -r1.59 -r1.60 pkgsrc/textproc/gsed/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/gsed/Makefile 2022/06/28 11:36:10 1.59
+++ pkgsrc/textproc/gsed/Makefile 2022/11/16 10:41:36 1.60
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.59 2022/06/28 11:36:10 wiz Exp $ 1# $NetBSD: Makefile,v 1.60 2022/11/16 10:41:36 wiz Exp $
2 2
3DISTNAME= sed-4.8 3DISTNAME= sed-4.9
4PKGNAME= g${DISTNAME} 4PKGNAME= g${DISTNAME}
5PKGREVISION= 2 
6CATEGORIES= textproc editors 5CATEGORIES= textproc editors
7MASTER_SITES= ${MASTER_SITE_GNU:=sed/} 6MASTER_SITES= ${MASTER_SITE_GNU:=sed/}
8EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.gnu.org/software/sed/sed.html 10HOMEPAGE= https://www.gnu.org/software/sed/sed.html
12COMMENT= GNU implementation of sed, the POSIX stream editor 11COMMENT= GNU implementation of sed, the POSIX stream editor
13LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3 12LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3
14 13
15USE_GCC_RUNTIME= yes 14USE_GCC_RUNTIME= yes
16USE_PKGLOCALEDIR= YES 15USE_PKGLOCALEDIR= YES
17GNU_CONFIGURE= YES 16GNU_CONFIGURE= YES
18INFO_FILES= YES 17INFO_FILES= YES

cvs diff -r1.17 -r1.18 pkgsrc/textproc/gsed/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/gsed/PLIST 2017/01/16 11:45:14 1.17
+++ pkgsrc/textproc/gsed/PLIST 2022/11/16 10:41:36 1.18
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.17 2017/01/16 11:45:14 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.18 2022/11/16 10:41:36 wiz Exp $
2bin/gsed 2bin/gsed
3gnu/bin/sed 3gnu/bin/sed
4gnu/man/man1/sed.1 4gnu/man/man1/sed.1
5info/sed.info 5info/sed.info
6man/man1/gsed.1 6man/man1/gsed.1
7share/locale/af/LC_MESSAGES/sed.mo 7share/locale/af/LC_MESSAGES/sed.mo
8share/locale/ast/LC_MESSAGES/sed.mo 8share/locale/ast/LC_MESSAGES/sed.mo
9share/locale/bg/LC_MESSAGES/sed.mo 9share/locale/bg/LC_MESSAGES/sed.mo
10share/locale/ca/LC_MESSAGES/sed.mo 10share/locale/ca/LC_MESSAGES/sed.mo
11share/locale/cs/LC_MESSAGES/sed.mo 11share/locale/cs/LC_MESSAGES/sed.mo
12share/locale/da/LC_MESSAGES/sed.mo 12share/locale/da/LC_MESSAGES/sed.mo
13share/locale/de/LC_MESSAGES/sed.mo 13share/locale/de/LC_MESSAGES/sed.mo
14share/locale/el/LC_MESSAGES/sed.mo 14share/locale/el/LC_MESSAGES/sed.mo
@@ -16,26 +16,27 @@ share/locale/eo/LC_MESSAGES/sed.mo @@ -16,26 +16,27 @@ share/locale/eo/LC_MESSAGES/sed.mo
16share/locale/es/LC_MESSAGES/sed.mo 16share/locale/es/LC_MESSAGES/sed.mo
17share/locale/et/LC_MESSAGES/sed.mo 17share/locale/et/LC_MESSAGES/sed.mo
18share/locale/eu/LC_MESSAGES/sed.mo 18share/locale/eu/LC_MESSAGES/sed.mo
19share/locale/fi/LC_MESSAGES/sed.mo 19share/locale/fi/LC_MESSAGES/sed.mo
20share/locale/fr/LC_MESSAGES/sed.mo 20share/locale/fr/LC_MESSAGES/sed.mo
21share/locale/ga/LC_MESSAGES/sed.mo 21share/locale/ga/LC_MESSAGES/sed.mo
22share/locale/gl/LC_MESSAGES/sed.mo 22share/locale/gl/LC_MESSAGES/sed.mo
23share/locale/he/LC_MESSAGES/sed.mo 23share/locale/he/LC_MESSAGES/sed.mo
24share/locale/hr/LC_MESSAGES/sed.mo 24share/locale/hr/LC_MESSAGES/sed.mo
25share/locale/hu/LC_MESSAGES/sed.mo 25share/locale/hu/LC_MESSAGES/sed.mo
26share/locale/id/LC_MESSAGES/sed.mo 26share/locale/id/LC_MESSAGES/sed.mo
27share/locale/it/LC_MESSAGES/sed.mo 27share/locale/it/LC_MESSAGES/sed.mo
28share/locale/ja/LC_MESSAGES/sed.mo 28share/locale/ja/LC_MESSAGES/sed.mo
 29share/locale/ka/LC_MESSAGES/sed.mo
29share/locale/ko/LC_MESSAGES/sed.mo 30share/locale/ko/LC_MESSAGES/sed.mo
30share/locale/nb/LC_MESSAGES/sed.mo 31share/locale/nb/LC_MESSAGES/sed.mo
31share/locale/nl/LC_MESSAGES/sed.mo 32share/locale/nl/LC_MESSAGES/sed.mo
32share/locale/pl/LC_MESSAGES/sed.mo 33share/locale/pl/LC_MESSAGES/sed.mo
33share/locale/pt/LC_MESSAGES/sed.mo 34share/locale/pt/LC_MESSAGES/sed.mo
34share/locale/pt_BR/LC_MESSAGES/sed.mo 35share/locale/pt_BR/LC_MESSAGES/sed.mo
35share/locale/ro/LC_MESSAGES/sed.mo 36share/locale/ro/LC_MESSAGES/sed.mo
36share/locale/ru/LC_MESSAGES/sed.mo 37share/locale/ru/LC_MESSAGES/sed.mo
37share/locale/sk/LC_MESSAGES/sed.mo 38share/locale/sk/LC_MESSAGES/sed.mo
38share/locale/sl/LC_MESSAGES/sed.mo 39share/locale/sl/LC_MESSAGES/sed.mo
39share/locale/sr/LC_MESSAGES/sed.mo 40share/locale/sr/LC_MESSAGES/sed.mo
40share/locale/sv/LC_MESSAGES/sed.mo 41share/locale/sv/LC_MESSAGES/sed.mo
41share/locale/tr/LC_MESSAGES/sed.mo 42share/locale/tr/LC_MESSAGES/sed.mo

cvs diff -r1.29 -r1.30 pkgsrc/textproc/gsed/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/gsed/distinfo 2021/10/26 11:21:55 1.29
+++ pkgsrc/textproc/gsed/distinfo 2022/11/16 10:41:36 1.30
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.29 2021/10/26 11:21:55 nia Exp $ 1$NetBSD: distinfo,v 1.30 2022/11/16 10:41:36 wiz Exp $
2 2
3BLAKE2s (sed-4.8.tar.xz) = 91f067d65bd8eea8aa0639e7382937c0057f027672114132e2aa2287de02509d 3BLAKE2s (sed-4.9.tar.xz) = 106e94f33309ff895f952e9200ab27817004f10fae357ad3a6d952f44932b312
4SHA512 (sed-4.8.tar.xz) = 7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8 4SHA512 (sed-4.9.tar.xz) = 36157a4b4a2430cf421b7bd07f1675d680d9f1616be96cf6ad6ee74a9ec0fe695f8d0b1e1f0b008bbb33cc7fcde5e1c456359bbbc63f8aebdd4fedc3982cf6dc
5Size (sed-4.8.tar.xz) = 1348048 bytes 5Size (sed-4.9.tar.xz) = 1397092 bytes