Fri Dec 21 16:33:37 2018 UTC ()
Update to 4.6

Changelog:
* Noteworthy changes in release 4.6 (2018-12-19) [stable]

** Improvements

  sed now prints a clear error message when r/R/w/W (and s///w) commands
  are missing a filename. Previously, w/W commands would fail with confusing
  error message, while r/R would be a silent no-op.

  sed now uses fully-buffered output (instead of line-buffered) when
  writing to files. This should noticeably improve performance of "sed -i"
  and other write commands.
  Buffering can be disabled (as before) with "sed -u".

  sed in non-cygwin windows environments (e.g. mingw) now properly handles
  '\n' newlines in -b/--binary mode.

** Bug fixes

  sed no longer accesses invalid memory (heap overflow) when given invalid
  backreferences in 's' command [bug#32082, present at least since sed-4.0.6].

  sed no longer adds extraneous NUL when given s/$//n command.
  [related to bug#32271, present since sed-4.0.7]

  sed no longer accesses invalid memory (heap overflow) with s/$//n regexes.
  [bug#32271, present since sed-4.3].

** New Features

  New option, --debug: print the input sed script in canonical form
  and annotate program execution.


(ryoon)
diff -r1.52 -r1.53 pkgsrc/textproc/gsed/Makefile
diff -r1.24 -r1.25 pkgsrc/textproc/gsed/distinfo
diff -r1.2 -r0 pkgsrc/textproc/gsed/patches/patch-sed_utils.c

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

--- pkgsrc/textproc/gsed/Makefile 2018/07/17 10:56:24 1.52
+++ pkgsrc/textproc/gsed/Makefile 2018/12/21 16:33:37 1.53
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.52 2018/07/17 10:56:24 jperkin Exp $ 1# $NetBSD: Makefile,v 1.53 2018/12/21 16:33:37 ryoon Exp $
2 2
3DISTNAME= sed-4.5 3DISTNAME= sed-4.6
4PKGNAME= g${DISTNAME} 4PKGNAME= g${DISTNAME}
5CATEGORIES= textproc editors 5CATEGORIES= textproc editors
6MASTER_SITES= ${MASTER_SITE_GNU:=sed/} 6MASTER_SITES= ${MASTER_SITE_GNU:=sed/}
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.gnu.org/software/sed/sed.html 10HOMEPAGE= http://www.gnu.org/software/sed/sed.html
11COMMENT= GNU implementation of sed, the POSIX stream editor 11COMMENT= GNU implementation of sed, the POSIX stream editor
12LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3 12LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3
13 13
14USE_GCC_RUNTIME= yes 14USE_GCC_RUNTIME= yes
15USE_PKGLOCALEDIR= YES 15USE_PKGLOCALEDIR= YES
16GNU_CONFIGURE= YES 16GNU_CONFIGURE= YES

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

--- pkgsrc/textproc/gsed/distinfo 2018/04/27 14:16:23 1.24
+++ pkgsrc/textproc/gsed/distinfo 2018/12/21 16:33:37 1.25
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.24 2018/04/27 14:16:23 wiz Exp $ 1$NetBSD: distinfo,v 1.25 2018/12/21 16:33:37 ryoon Exp $
2 2
3SHA1 (sed-4.5.tar.xz) = 6635c344956ef928cc33aca798ad20c6c1ea25f7 3SHA1 (sed-4.6.tar.xz) = 2aa05831700e46d674fa53d96df24e0f7b40ba36
4RMD160 (sed-4.5.tar.xz) = 5eb9b1adee939572cca4d353a83e6e35f9423bfb 4RMD160 (sed-4.6.tar.xz) = cef06c2809ab453c3814a9b448e9d8be12a2e669
5SHA512 (sed-4.5.tar.xz) = f95fb27e03b2301dae63878413b4c48e40341cc676945a612e1d0bd911da3192858ae142791292a99fbdaacbc7dab2d6fccb50787c06846f99b0b3740b40c196 5SHA512 (sed-4.6.tar.xz) = dba1d3a7867e4b20266fe4aae88fa779985b6554ef0eeedbf0d2124fa91745419ad843ed20f38ce734c778a2702d3530e92a0b12ce83e546cf093ad612c44e0b
6Size (sed-4.5.tar.xz) = 1274252 bytes 6Size (sed-4.6.tar.xz) = 1297724 bytes
7SHA1 (patch-sed_utils.c) = a4d0c5aaadc6a0fac1100e949f2d8a63eb16d427 

File Deleted: pkgsrc/textproc/gsed/patches/Attic/patch-sed_utils.c