Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 1, 2012
  1. Add symlink gnu/man/man1/sed

    cheusov authored
    ++pkgrevision
Commits on May 29, 2012
  1. Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).

    cheusov authored
    All utilities are installed with a prefix 'g'. Symlinks with original
    names are created in ${PREFIX}/gnu/bin.
    
    ++pkgrevision
Commits on Dec 29, 2011
  1. Make sure that the gsed package always has a 'gsed' executable.

    sbd authored
    Bump PKGREVISION
Commits on Apr 22, 2011
  1. recursive bump from gettext-lib shlib bump.

    obache authored
Commits on May 2, 2010
  1. Update to 4.2.1:

    wiz authored
    Sed 4.2.1
    
    * fix parsing of s/[[[[[[[[[]//
    
    * security contexts are preserved by -i too under SELinux
    
    * temporary files for sed -i are not made group/world-readable until
      they are complete
Commits on Aug 8, 2009
  1. Update to 4.2:

    wiz authored
    * now released under GPLv3
    
    * added a new extension `z` to clear pattern space even in the presence
    of invalid multibyte sequences
    
    * a preexisting GNU gettext installation is needed in order to compile
    GNU sed with NLS support
    
    * new option --follow-symlinks, available when editing a file in-place.
    This option may not be available on some systems (in this case, the
    option will *not* be a no-op; it will be completely unavailable).
    In the future, the option may be added as a no-op on systems without
    symbolic links at all, since in this case a no-op is effectively
    indistinguishable from a correct implementation.
    
    * hold-space is reset between different files in -i and -s modes.
    
    * multibyte processing fixed
    
    * the following GNU extensions are turned off by --posix: options [iImMsSxX]
    in the `s' command, address kinds `FIRST~STEP' and `ADDR1,+N' and `ADDR1,~N',
    line address 0, `e' or `z' commands, text between an `a' or `c' or `i'
    command and the following backslash, arguments to the `l' command.
    --posix disables all extensions to regular expressions.
    
    * fixed bug in 'i\' giving a segmentation violation if given alone.
    
    * much improved portability
    
    * much faster in UTF-8 locales
    
    * will correctly replace ACLs when using -i
    
    * will now accept NUL bytes for `.'
Commits on Apr 4, 2008
  1. DESTDIR supported.

    joerg authored
Commits on Dec 19, 2007
  1. Fixed a typo in the patch for regcomp.

    rillig authored
  2. Fixed the build on Solaris with the Sun C compiler. Like many other

    rillig authored
    pieces of GNU software, this package makes use of GCC extensions.
    
    Another thing is that on Solaris, <stdbool.h> may only be included by
    the c99 compiler, not any other; therefore we need to define our boolean
    type ourself.
Commits on Apr 10, 2007
  1. Kill a completely bogus fragment of configure (also dead upstream)

    joerg authored
    and fix the issue in po/Makefile.in.in directly.
Commits on Mar 8, 2007
  1. Update to 4.1.5:

    wiz authored
    Sed 4.1.5
    
    * fix parsing of a negative character class not including a closed bracket,
      like [^]] or [^]a-z].
    
    * fix parsing of [ inside an y command, like y/[/A/.
    
    * output the result of commands a, r, R when a q command is found.
    
    ----------------------------------------------------------------------------
    Sed 4.1.4
    
    * \B correctly means "not on a word boundary" rather than "inside a word"
    
    * bugfixes for platform without internationalization
    
    * more thorough testing framework for tarballs (`make full-distcheck')
    
    ----------------------------------------------------------------------------
    Sed 4.1.3
    
    * regex addresses do not use leftmost-longest matching.  In other words,
      /.\+/ only looks for a single character, and does not try to find as
      many of them as possible like it used to do.
    
    * added a note to BUGS and the manual about changed interpretation
      of `s|abc\|def||', and about localization issues.
    
    * fixed --disable-nls build problems on Solaris.
    
    * fixed `make check' in non-English locales.
    
    * `make check' tests the regex library by default if the included regex
      is used (regex tests had to be enabled separately up to now).
    
    ----------------------------------------------------------------------------
    Sed 4.1.2
    
    * fix bug in 'y' command in multi-byte character sets
    
    * fix severe bug in parsing of ranges with an embedded open bracket
    
    * fix off-by-one error when printing a "bad command" error
Commits on Feb 22, 2007
  1. Whitespace cleanup, courtesy of pkglint.

    wiz authored
    Patch provided by Sergey Svishchev in private mail.
Commits on Nov 5, 2006
  1. This package wants USE_TOOLS+=makeinfo, at least under my environment.

    dsainty authored
    It's not exactly clear why, since the error states:
    
    "You should only need it [makeinfo] if you modified a `.texi' or
    `.texinfo' file, or any other file indirectly affecting the aspect of
    the manual."
    
    ... but it's possibly a side effect of GNU_PROGRAM_PREFIX=g.  At any
    rate, "makeinfo" seems a harmless request.
Commits on Apr 17, 2006
  1. Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey

    jlam authored
    PKGLOCALEDIR and which install their locale files directly under
    ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
    on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
    transforming the PLIST to refer to the correct locale directory.
Commits on Apr 7, 2006
Commits on Mar 4, 2006
  1. Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no

    jlam authored
    developer is officially maintaining the package.
    
    The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
    that it implies that any user can try to maintain the package (by
    submitting patches to the mailing list).  Since the folks most likely
    to care about the package are the folks that want to use it or are
    already using it, this would leverage the energy of users who aren't
    developers.
Commits on Feb 5, 2006
Commits on Dec 27, 2005
Commits on Dec 5, 2005
  1. Fixed pkglint warnings. The warnings are mostly quoting issues, for

    rillig authored
    example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
    other changes are outlined in
    
        http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Commits on May 22, 2005
  1. Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

    jlam authored
    	USE_GNU_TOOLS	-> USE_TOOLS
    	awk		-> gawk
    	m4		-> gm4
    	make		-> gmake
    	sed		-> gsed
    	yacc		-> bison
Commits on Apr 11, 2005
Commits on Mar 1, 2005
  1. add grep to GNU_TOOLS. Needed on solaris.

    dmcmahill authored
Commits on Feb 24, 2005
  1. Add RMD160 digests to the SHA1 ones.

    agc authored
Commits on Oct 3, 2004
  1. Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10

    tv authored
    in the process.  (More information on tech-pkg.)
    
    Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
    installing .la files.
    
    Bump PKGREVISION (only) of all packages depending directly on the above
    via a buildlink3 include.
Commits on Jul 7, 2004
  1. Update to version 4.1.1.

    seb authored
    Disable the config.status overriding, it causes config.status to be rerun...
    FYI an alternative would be to use  GNU make!
    
    Changes since last packaged version:
    
    Sed 4.1.1
    * preserve permissions of in-place edited files
    * yield an error when running -i on terminals or other non regular files
    * do not interpret - as stdin when running in in-place editing mode
    * fix bug that prevented 's' command modifiers from working
Commits on Jun 25, 2004
  1. Update to version 4.1.

    seb authored
    Package changes:
    
    * remove inclusion of converters/libiconv/buildlink3.mk,
    devel/gettext-lib/builtin.mk will take care of that if needed.
    
    Changes since last packaged version (4.0.9):
    
    * // matches the last regular expression even in POSIXLY_CORRECT mode.
    
    * change the way we treat lines which are not terminated by a newline.
    Such lines are printed without the terminating newline (as before)
    but as soon as more text is sent to the same output stream, the
    missing newline is printed, so that the two lines don't concatenate.
    The behavior is now independent from POSIXLY_CORRECT because POSIX
    actually has undefined behavior in this case, and the new implementation
    arguably gives the ``least expected surprise''.  Thanks to Stepan
    Kasal for the implementation.
    
    * documentation improvements, with updated references to the POSIX.2
    specification
    
    * error messages on I/O errors are better, and -i does not leave temporary
    files around (e.g. when running ``sed -i'' on a directory).
    
    * escapes are accepted in the y command (for example: y/o/\n/ transforms
    o's into newlines)
    
    * -i option tries to set the owner and group to the same as the input file
    
    * `L' command is deprecated and will be removed in sed 4.2.
    
    * line number addresses are processed differently -- this is supposedly
    conformant to POSIX and surely more idiot-proof.  Line number addresses
    are not affected by jumping around them: they are activated and
    deactivated exactly where the script says, while previously
        5,8b
        1,5d
    would actually delete lines 1,2,3,4 and 9 (!).
    
    * multibyte characters are taken in consideration to compute the
    operands of s and y, provided you set LC_CTYPE correctly.  They are
    also considered by \l, \L, \u, \U, \E.
    
    * [\n] matches either backslash or 'n' when POSIXLY_CORRECT.
    
    * new option --posix, disables all GNU extensions.  POSIXLY_CORRECT only
    disables GNU extensions that violate the POSIX standard.
    
    * options -h and -V are not supported anymore, use --help and --version.
    
    * removed documentation for \s and \S which worked incorrectly
    
    * restored correct behavior for \w and \W: match [[:alnum:]_] and
    [^[:alnum:]_] (they used to match [[:alpha:]_] and [^[:alpha:]_]
    
    * the special address 0 can only be used in 0,/RE/ or 0~STEP addresses;
    other cases give an error (you are hindering portability for no reason
    if specifying 0,N and you are giving a dead command if specifying 0
    alone).
    
    * when a \ is used to escape the character that would terminate an operand
    of the s or y commands, the backslash is removed before the regex is
    compiled.  This is left undefined by POSIX; this behavior makes `s+x\+++g'
    remove occurrences of `x+', consistently with `s/x\///g'.  (However, if
    you enjoy yourself trying `s*x\***g', sed will use the `x*' regex, and you
    won't be able to pass down `x\*' while using * as the delimiter; ideas on
    how to simplify the parser in this respect, and/or gain more coherent
    semantics, are welcome).
Commits on May 8, 2004
  1. Enable pkgviews installation.

    uebayasi authored
Commits on Apr 25, 2004
Commits on Mar 10, 2004
  1. Remove info files entries from PLIST.

    seb authored
Commits on Feb 10, 2004
  1. remove a rogue trailing /, fixes build problem reported by Alex

    grant authored
    Gontcharov on tech-pkg.
    
    fix from Charlie Allom.
Commits on Jan 21, 2004
  1. Update to 4.09:

    wiz authored
    * 0 address behaves correctly in single-file (-i and -s) mode.
    * documentation improvements.
    * tested with many hosts and compilers.
    * updated regex matcher from upstream, with many bugfixes and speedups.
    * the `N' command's feature that is detailed in the BUGS file was disabled
      by the first change below in sed 4.0.8.  The behavior has now been
      restored, and is only enabled if POSIXLY_CORRECT behavior is not
      requested.
Commits on Dec 13, 2003
  1. Update to version 4.08.

    seb authored
    Changes since 4.07:
    * fix `sed n' printing the last line twice.
    * fix incorrect error message for invalid character classes.
    * fix segmentation violation with repeated empty subexpressions.
    * fix incorrect parsing of ^ after escaped (.
    * more comprehensive test suite (and with many expected failures...)
    
    Please note that since NetBSD's sed is available in a portable
    version in pkgsrc as textproc/nbsed, and in bootstrap-pkgsrc I do
    not consider this package as being low in the dependencies food-chain
    anymore. This is especially true for platforms other than NetBSD.
    
    So let me explicitly add dependencies on libiconv and gettext-lib packages
    (if needed of course).
Commits on Oct 7, 2003
  1. Add TEST_TARGET and fix tests on Solaris

    heinz authored
Something went wrong with that request. Please try again.