./textproc/nbsed, NetBSD-currents sed(1)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20240312nb2, Package name: nbsed-20240312nb2, Maintainer: pkgsrc-users

This is a copy of the NetBSD sed(1) program, for use on operating
systems where the native sed(1) is limited in the number of
expressions it will accept.

sed is a stream editor, used for transforming its input stream into
a modified output stream.


Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2024-03-31 15:31:41 by Jonathan Schleifer | Files touched by this commit (4)
Log message:
textproc/nbsed: Check for wcwidth

This fixes the bootstrap on QNX.
   2024-03-20 21:37:28 by David H. Gutteridge | Files touched by this commit (2)
Log message:
nbsed: fix building on operating systems that don't have errc(3)

One of the simplest ways of addressing this is to switch to errx(3). It
seems unclear what the absolute minimums are for C compilers required
for bootstrap, and EILSEQ wasn't codified until the 1994 Normative
Amendment 1 to C89, so its value (per NetBSD) is hard-coded here, too.

This introduces a small diff to upstream, but seems safer than altering
libnbcompat this close to a quarterly branch freeze. (There are also
some questions about libnbcompat's current state to be added to a PR.)

Relates to PR pkg/57970.

Tested on Fedora Linux 39, which was previously broken.
   2024-03-13 14:38:19 by David H. Gutteridge | Files touched by this commit (2)
Log message:
nbsed: sync usage() with r. 1.7 removal of [gG] options
   2024-03-13 12:13:58 by Jonathan Perkin | Files touched by this commit (1)
Log message:
nbsed: Add __dead compat.  Fixes build on SmartOS.

Test suite looks clean compared to previous nbsed and native sed.
   2024-03-13 12:09:28 by Jonathan Perkin | Files touched by this commit (1)
Log message:
nbsed: Add __UNCONST compat.

This now builds on macOS, still failing on other OS.  Running the test suite
appears to show no differences, at least compared to macOS 14.3.1's sed.
   2024-03-13 12:07:49 by Jonathan Perkin | Files touched by this commit (2)
Log message:
nbsed: Remove REG_GNU code.

This is a feature only available on newer NetBSD.  Neither -G nor -g are
supported by any other sed's that I can find, so just completely remove the
options, as we only need to be compatible.  The libnbcompat regcomp is very
old, and so trying to merge in REG_GNU support would also be very difficult.
   2024-03-12 17:45:08 by Christos Zoulas | Files touched by this commit (16) | Package updated
Log message:
update to the latest NetBSD sed(1)
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.