Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 2, 2012
Commits on Mar 21, 2010
Commits on Oct 29, 2009
  1. getline -> get_line

    tnn authored
Commits on Apr 9, 2009
Commits on Apr 8, 2009
Commits on Sep 8, 2008
  1. Properly implement the equivalent of strdup again as the portable

    joerg authored
    version and the src version of nawk differ in that. Complained about by
    Joachim Koenig, blame on me. Bump revision.
Commits on Aug 26, 2008
  1. As dholland pointed out, don't leak memory when FS needs resizing more

    joerg authored
    than once. Bump revision again.
  2. Remove junk.

    joerg authored
Commits on Jun 19, 2008
Commits on Mar 4, 2008
  1. Mechanical changes to add DESTDIR support to packages that install

    jlam authored
    their files via a custom do-install target.
Commits on May 27, 2007
  1. Rename "makefile" to "makefile.orig" to avoid case-insensitive

    schmonz authored
    filename clash with "Makefile".
Commits on May 7, 2007
Commits on Feb 22, 2007
  1. Whitespace cleanup, courtesy of pkglint.

    wiz authored
    Patch provided by Sergey Svishchev in private mail.
Commits on Jul 14, 2006
  1. Mark these packages as NO_MTREE as they are bootstrap packages and don't

    jlam authored
    need mtree to pre-generate any directories for them.
  2. Prepare nawk for use as a bootstrap tool by including the sources

    jlam authored
    directly in pkgsrc/lang/nawk/files and adjusting the package Makefile
    accordingly.  The README.pkgsrc file includes notes on how the source
    files were (minimally) adjusted.
Commits on May 6, 2006
  1. PKGMANDIR instead of man.

    reed authored
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
Commits on May 19, 2005
  1. reorder lines to please pkglint

    dillo authored
Commits on May 18, 2005
  1. Update lang/nawk to 20050425. Pkgsrc changes include:

    jlam authored
    	Grab distfile from ${MASTER_SITE_LOCAL} where it's in a
    	${PKGNAME}-specific directory since the distfile has no version
    	number.
    
    	Use the .shar instead of .tar.gz distfile to remove the need
    	for dependencies to build this package.
    
    Changes from nawk-20040207 include:
    
    Apr 24, 2005:
    	modified lib.c so that values of $0 et al are preserved in the END
    	block, apparently as required by posix.  thanks to havard eidnes
    	for the report and code.
    
    Jan 14, 2005:
    	fixed infinite loop in parsing, originally found by brian tsang.
    	thanks to arnold robbins for a suggestion that started me
    	rethinking it.
    
    Dec 31, 2004:
    	prevent overflow of -f array in main, head off potential error in
    	call of SYNTAX(), test malloc return in lib.c, all with thanks to
    	todd miller.
    
    Dec 22, 2004:
    	cranked up size of NCHARS; coverity thinks it can be overrun with
    	smaller size, and i think that's right.  added some assertions to b.c
    	to catch places where it might overrun.  the RE code is still fragile.
    
    Dec 5, 2004:
    	fixed a couple of overflow problems with ridiculous field numbers:
    	e.g., print $(2^32-1).  thanks to ruslan ermilov, giorgos keramidas
    	and david o'brien at freebsd.org for patches.  this really should
    	be re-done from scratch.
    
    Nov 21, 2004:
    	fixed another 25-year-old RE bug, in split.  it's another failure
    	to (re-)initialize.  thanks to steve fisher for spotting this and
    	providing a good test case.
Commits on Apr 11, 2005
Commits on Feb 24, 2005
  1. Add RMD160 digests

    agc authored
Commits on Dec 3, 2004
  1. Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.

    wiz authored
    Suggested by Roland Illig, ok'd by various.
Commits on Mar 11, 2004
  1. Uses yacc during build.

    reed authored
Commits on Feb 9, 2004
  1. Update of nawk to 20040207. Changes since previous version from bwk:

    cjep authored
            Fixed a bug in regular expressions that dates (so help me) from 1977;
            it's been there from the beginning.  an anchored longest match that
            was longer than the number of states triggered a failure to initialize
            the machine properly.  many thanks to moinak ghosh for not only finding
            this one but for providing a fix, in some of the most mysterious
            code known to man.
    
            fixed a storage leak in call() that appears to have been there since
            1983 or so -- a function without an explicit return that assigns a
            string to a parameter leaked a Cell.  thanks to moinak ghosh for
            spotting this very subtle one.
Commits on Feb 8, 2004
  1. We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBT…

    jlam authored
    …OOL,
    
    etc. because the bare variables will point to the correct executables.
Commits on Jan 20, 2004
Commits on Jan 5, 2004
  1. bl3ify

    jlam authored
Commits on Sep 6, 2003
  1. Update of lang/nawk to 20030731. Cut-down version of changes since

    cjep authored
    20030321 version:
    
    Jul 29, 2003:
            fixed (i think) the long-standing botch that included the beginning of
            line state ^ for RE's in the set of valid characters; this led to a
            variety of odd problems, including failure to properly match certain
            regular expressions in non-US locales.  thanks to ruslan for keeping
            at this one.
    
    Jul 28, 2003:
            n-th try at getting internationalization right, with thanks to volker
            kiefel, arnold robbins and ruslan ermilov for advice, though they
            should not be blamed for the outcome.  according to posix, "."  is the
            radix character in programs and command line arguments regardless of
            the locale; otherwise, the locale should prevail for input and output
            of numbers.
    
            i have rescinded the attempt to use strcoll in expanding shorthands in
            regular expressions (cclenter).
    
    Jul 4, 2003:
            fixed bug that permitted non-terminated RE, as in "awk /x".
    
    Jun 1, 2003:
            subtle change to split: if source is empty, number of elems
            is always 0 and the array is not set.
Commits on Jul 17, 2003
  1. s/netbsd.org/NetBSD.org/

    grant authored
Commits on Mar 29, 2003
Commits on Mar 16, 2003
  1. Update of lang/nawk to version 20030314. Changes since 20021213:

    cjep authored
    Mar 14, 2003:
    	the internationalization changes, somewhat modified, are now
    	reinstated.  in theory awk will now do character comparisons
    	and case conversions in national language, but "." will always
    	be the decimal point separator on input and output regardless
    	of national language.  isblank(){} has an #ifndef.
    
    	this no longer compiles on windows: LC_MESSAGES isn't defined
    	in vc6++.
    
    	fixed subtle behavior in field and record splitting: if FS is
    	a single character and RS is not empty, \n is NOT a separator.
    	this tortuous reading is found in the awk book; behavior now
    	matches gawk and mawk.
Commits on Jan 3, 2003
  1. Take maintainership of nawk

    cjep authored
  2. Update of lang/nawk to 20021213.

    cjep authored
    Changes since previous version:
    For the moment, the internationalization changes of nov 29 are
    rolled back -- programs like x = 1.2 don't work in some locales,
    because the parser is expecting x = 1,2. Until I understand this
    better, this will have to wait.
Something went wrong with that request. Please try again.