The NetBSD Project

CVS log for pkgsrc/lang/mawk/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / mawk

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri May 10 11:56:11 2024 UTC (2 years, 6 months ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, HEAD
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Fix PKGNAME

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri May 10 11:53:13 2024 UTC (2 years, 6 months ago) by cheusov
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -11 lines
Update mawk to 20240123
20240123
	+ improve manpage style/formatting.
	+ improve conversion of parameter of srand() when using srandom()
	  (Original-Mawk #66).
	+ minor improvement for configure script

20231210
	+ correct interator type in REcompile (Original-Mawk #73)
	+ improve configure script check for arc4random
	+ reduce compiler warnings in configure script checks

20231126
	+ fix a couple of problems reported by Coverity:
	  + modify cell_destroy() to set the string pointer to NULL if zfree()
	    might have freed it.
	  + replace a couple of strcpy's with loop.
	  + eliminate a fixed-size array in re_cmpl.c
	+ change casts in strftime() and srand() to avoid truncation on 64-bit
	  machines (report by John Naman).

20231102
	+ environment-fixes for building with Solaris 10.

20231101
	+ repair parsing for comma-separated -W options used in "#" lines
	  (report by Leif Baron).
	+ updated makedeps.sh and examples/deps.awk, to update Makefile.in
	+ remove obsolete/incorrect zero-termination assignment from fillbuff()
	  (Original-Mawk #71).
	+ updated configure macros
	+ update config.guess and config.sub

20230816
	+ start work on _CALLX
	+ da.c:  replace most of the string-literals in fprintf's with result
	  from da_op_name()
	+ da.c, mawk.h:  simplify ifdef for da_op_name(), to reuse in
	  refactoring of _CALL
	+ da.c:  dumping the function name in front of the offset is
	  distracting, use just "@"
	+ da.c: make the trace show offsets like the -Wdump option
	+ da.c:  add traces to show which function is being dumped (and
	  possibly patched).  this improves on the fix for dump_funcs() as well,
	  freeing the linked-list
	+ code.c: fix a use-after-free when no-leaks and traces are combined.
	+ code.c: add trace to be_setup()
	+ parse.y: make trace message consistent with fcall.c
	+ execute.c: eliminate a couple of comparisons
	+ change SYMTAB_TYPES to mixed enum/masks, to reduce comparisons for
	  array types.
	+ some cleanup, using NUM_ARGS and SYM_TYPE typedefs.

20230808
	+ modify input buffer-resizing to improve performance with very long
	  longs (report/testcase by Leif LeBaron).

20230804
	> fixes for nulls (patches by Miguel Pineiro Jr).
	  + support nulls in toupper() and tolower().
	  + modify str_str() to ensure lengths for key/target are large enough
	    for the memcmp() call.
	+ treat special case of failure to open input file due to too many open
	  files as a fatal error (report/testcase by Christoph Brunhuber).
	+ fix a shift/reduce conflict for length vs length()
	+ quote string-parameter in a few error-messages
	+ add MinGW-code for system() calls (Original-Mawk #51).

20230730
	+ rexp.c: do not unroll repetition into loops if the repetition applies
	  to more than one character.
	+ rexp3.c: increment machine on completing M_2JC step to fix a case
	  with infinite loop.
	+ print.c: improve parameter-passing, eliminating a duplicate check.

20230726
	+ modify makefile to install mawk-array and mawk-code manpages.

20230725
	+ use da_string more consistently in dumps.
	+ improve scanner to some type-checks of arrays versus scalars by
	  deferring this into the runtime execution (report by Rajeev V Pillai).

20230716
	+ modify scanner to accommodate scripts which use the same name for
	  some function-parameters as for a function (report by Kaz Kylheku).
	+ amend/limit special case optimization for redundant wildwards
	  (Original-Mawk #36).
	+ regenerate parse.c using byacc 20230521

20230525
	+ fix a regression for big-endian machines caused by mismatch between
	  printf/sprintf format and long integer types (Original-Mawk #69, cf:
	  20200731).

20230404
	+ add a null-pointer check in bi_mktime() (Original-Mawk #57).
	+ cast parameter of srand() to double if it is not already (patch by
	  "q3cpma", Original-Mawk #66).
	+ manpage fixes (report/suggested by David Apps).
	+ fix parsing of "--" token on command-line, from 20200828 changes
	  (report by Pavel Vinogradov).
	+ add a null-pointer check in the case for "-W" when parsing command
	  options (Original-Mawk #68).
	+ improve CF_XOPEN_SOURCE configure macro to avoid clearing the host's
	  definition for _XOPEN_SOURCE if _POSIX_C_SOURCE is defined (report
	  by A. Wilcox).
	+ modify makefile "clean" rule to remove ".i" files.
	+ modify configure script to allow for using clock_gettime vs
	  gettimeofday.

20230322
	+ remove an unwanted string/number conversion in print.c, from changes
	  in 20200717 (report by Jan Psota).
	+ reduce compiler-warnings in configure script checks.

20230215
	+ update URLs, changing ftp to https
	+ modify configure.in, moving checks for standard headers before the
	  options, to improve check for arc4random (Redhat #2167291).

20230203
	+ split up do_printf to fix build with fortified mingw stdio.h
	+ reduce compiler-warnings in configure script checks.

20221229
	+ fix shellcheck warnings in test-scripts.
	+ updated configure macros
	+ update config.guess, config.sub, and install-sh

20210824
	+ updated configure macros
	+ update config.guess and config.sub

20210528
	+ add FreeBSD build-scripts, for test-builds
	+ updated configure macros
	+ update config.guess and config.sub

20201023
	+ start work on experimental approach to interval-expressions which
	  does not involve loop-unrolling.
	+ improve type-checking for builtin-regex's by using PTR only for the
	  external-regex's.
	+ improve dump format, showing intervals in curly-brace format.

20201016
	+ improve dump format, showing the jump-targets rather than offsets.

20201009
	+ show limits for brace-expressions in dump.
	+ change RE_panic to stdarg, and log its message in trace file

20200925
	+ improve compatibility vs gawk/bwk in gsub handling of backslash by
	  only escaping backslash with itself if those backslashes happen to
	  precede a "&", e.g., "\\&" vs "\\" (Original-Mawk #14).
	+ fix a regression in recent command-line option parsing.
	+ modify configure/makefile to use .PHONY if available.
	+ review/improve example-scripts

20200918
	+ build-fix for HP-UX 11.23, which lacks #define's for maximum of
	  int64_t and uint64_t
	+ build-fix for OpenBSD, which mis-types int64_t, just like macOS.
	+ build-fix for macOS, which mis-types int64_t

20200911
	+ improve range of printf/sprintf for decimal formats by using the
	  unsigned limit if the value is positive.
	+ improve checks for command-line numeric options.
	+ allow long-options to be abbreviated.

20200828
	+ modify configure script to move gcc -Werror flags to EXTRA_CFLAGS
	  to avoid breaking configure-checks.
	+ use sprintf-buffer for intermediate output of strftime, to handle
	  extra-long format strings.
	+ modify MAWK_LONG_OPTIONS "ignore" to limit that to the "-xxx" options
	  in this set of changes, plus the existing --lint/--lint-old options.
	+ allow -Wxxx options to use long-option format as -xxx, for better
	  script-compatibility with gawk.
	+ use standard output for -Whelp, but show usage message in standard
	  error when no command arguments are given.
	+ print version for -Wversion consistently in standard output.
	+ improve use of const for making tables readonly.
	+ change -W compat to -W traditional for better script-compatibility
	  with gawk.

20200821
	+ completed first draft of mawk-code.7

20200807
	+ begin man/mawk-code.7
	+ drop noweb dependency, move docs to man/mawk-arrays.7

20200731
	+ amend fix for Debian #303825 to more closely match gawk and BWK.
	  Those use larger data types, e.g., long vs int, for limits, and also
	  provide for using int64_t and uint64_t.  Internally, mawk now uses
	  long long's where those are supported.
	+ add --help and --version options

20200724
	+ modify logic for "{0}" in rexp.c so that a left-parenthesis is not
	  trimmed when cancelling the previous token.
	+ modify RE_cat to add a dummy M_ACCEPT as a workaround for logic in
	  the new RE_init_it_cnt and RE_set_limit functions.
	+ modify regexp_system.c to work with interval-expressions.
	+ recognize gawk's --traditional and --posix as aliases for mawk's
	  -W options, as well as -r and --re-interval to improve scripting
	  compatibility.
	+ add -W compat and -W posix, using the former to replace
	  -W repetitions and the latter to replace -W posix_space
	+ enable interval-expressions by default.

20200717
	+ add configure option "--disable-interval-expr"
	> integrated/adapted changes by James Parkinson (jlp765):
	+ add regexp intervals,
	+ add tests for intervals to test/mawktest and associated
	  test/repetitions files,
	+ add -W repetitions to enable r{m,n}
	+ add man page updates to man/mawk.1

20200708
	+ update manpage comment about "nextfile" (AustinGroup #607).
	+ amend manpage comment about "fflush" (AustinGroup #634).
	+ amend manpage comment about "delete array" (AustinGroup #544).
	+ updated configure macros
	+ update config.guess and config.sub

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Mar 2 02:53:40 2021 UTC (5 years, 8 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
mawk: update to 20200120

20200120
	+ resync with my-autoconf.
	+ fix typos found with codespell.
	+ when reading input in interactive mode, provide for extending the
	  buffer size for very long lines (Original-Mawk #59).

20200106
	+ correct line-number shown in too-many-arguments error message for
	  the case where the function is a forward reference (report by
	  "mukti").
	+ fix install for manpage when configure --srcdir option is used
	  (report by Rajeev V Pillai).
	+ use both CFLAGS/LDFLAGS when linking in makefile (report by
	  Rajeev V Pillai).
	+ fix clang-9 warning in bi_funct.c (report by Rajeev V Pillai).
	+ minor improvement to gcc warning options, from vile

20191231
	+ updated configure macros
	+ update config.guess and config.sub

20190203
	+ improve manpage formatting, e.g., for man2html
	+ improve debug-traces

20190129
	+ eliminate non-portable tdestroy() from zmalloc no-leaks code.
	+ updated configure macros
	+ update config.guess and config.sub

20181114
	+ revert a change for memory-leaks which made the forced-exit via a
	  user function inconsistent with earlier versions (report by Sihera
	  Andre).
	+ amend a change for memory-leaks to avoid a double-free (Original-Mawk
	  #56).

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Jun 22 11:37:13 2019 UTC (7 years, 4 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Use https for all invisible-island.net HOMEPAGEs.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Feb 15 19:51:43 2019 UTC (7 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
20171017
	+ add Debian compile/link flags to test-package.
	+ cleanup spurious warnings from latest gcc.
	+ changes for Original-Mawk #48:
	  + add checks for stack overflow and underflow
	  + increase stack limit to 1024
	+ updated configure macros
	+ update config.guess and config.sub

20161120
	+ add runtime check for assignments to OFMT and CONVFMT to ensure
	  they use a single parameter (Original-Mawk #47).
	+ repair build for --with-valgrind, broken in 20160930 const-fixes.

20161107
	+ correct sign-extension from 20160615 change to rand() (report by
	  Christian Neukirchen).

20160930
	+ optimize closes on regular expressions to filter out redundant
	  wildcards, fixing a special case leftover by changes in 20100224
	  (Original-Mawk #34).
	+ add regular-expressions to the -Wdump option when using mawk's
	  built-in regular expressions.
	+ fix a sign-extension in character-class parser (Original-Mawk #46).
	+ minor optimizations.
	+ improve use of const in tables.

20160927
	+ allow single-quote as a flag in printf, to complete the change
	  for LC_NUMERIC in 20121129 (report by Graham Monteith).
	+ revert one of the fixes made for a Coverity warning about loss of
	  precision in 20121209, which unnecessarily exposed a different
	  problem (Original-Mawk #45).

20160918
	+ simplify "system()" function by calling C "system()" function, and
	  use POSIX macros for wait-status to provide a less-ambiguous return
	  value (suggested by Aharon Robbins).
	+ add a null-pointer check in bi_mktime (patch by Ismael Luceno).

20160905
	+ escape '/' in range for test/reg4.awk to allow test-comparison with
	  gawk and BWK.
	+ updated configure macros, e.g., for compiler warnings and static
	  analysis:
	  + CF_CC_ENV_FLAGS
	  + CF_GNU_SOURCE
	  + CF_PROG_LINT
	  + CF_RAND
	  + CF_XOPEN_SOURCE
	+ minor build-fix for HPUX 11.11 "make", which is confused by the
	  recursive use of "make" in clean/distclean rules.
	+ amend fix for Gentoo #424137 to eliminate a memory leak when opening
	  files (Original-Mawk #44).
	+ update config.guess and config.sub

20160615
	+ correct range when using system rand() function, which was 0..2
	  rather than 0..1 on BSD systems (report/patch by Masaki Waga).

20160313
	+ correct order of checks for machine state in REtest which caused an
	  out-of-bounds reference (Original-Mawk #36).

20160226
	+ update COPYING from
	  https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
	  (Original-Mawk #38).
	+ minor updates to configure script macros
	+ update config.guess and config.sub

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Feb 25 14:42:56 2016 UTC (10 years, 8 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -4 lines
Use OPSYSVARS.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue May 12 14:00:21 2015 UTC (11 years, 6 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Update to 1.3.4.150503

Upstream changes:
20150503
	+ add --with-man2html configure option
	+ improve description of -W options and how they can be combined into
	  a comma-separated list (adapted from Leif LeBaron).
	+ modify parsing for -Wexec to permit its value to be separated by '='
	  in addition to a space, for consistency with the other -W options.
	+ cosmetic changes to configure script macros, from work on xterm.
	+ update config.guess and config.sub

20141206
	+ Mawk behaves incorrectly when using the nextfile statement.  It marks
	  the file as dead, but does not check such state and thus ends reading
	  from a closed fd (patch by Ismael Luceno).

20141027
	+ remove a special check for anchored regular expressions in gsub3
	  which did not handle expressions with "|" alternation (report by
	  "Ypnose").

20140914
	+ rename vs6.mak / vs6.h to vs2008 for Visual Studio 2008 compiles.
	+ remove MS-DOS support.
	+ add a check in split for empty regex, treating that the same as an
	  empty string (Original-Mawk #9).
	+ correct inconsistently-ifdef'd reset of errno in check_strnum()
	  function, which caused some values to be internally classified as
	  strings rather than strnums (Original-Mawk #26).
	+ add parameter to REmatch to control use of REG_NOTBOL and its
	  equivalent in mawk (prompted by discussion with Mike Brennan,
	  Original-Mawk #24).
	+ settle on "gsub3" implementation (suggested by Mike Brennan,
	  Original-Mawk #11).
	+ change default for configure option --enable-init-srand to enable
	  this (discussion with Mike Brennan).
	+ add -W random option to set initial srand() seed.
	+ add TraceVA, use to provide debug-traces for errmsg().
	+ add note in manpage about "nextfile", see for example:
	    http://www.opengroup.org/austin/docs/austin_578.txt
	    http://austingroupbugs.net/view.php?id=607
	+ make it possible to build with "bsd" library ported to Linux by
	  setting LIBS=-lbsd before running configure script.
	+ show random-function names in version message, as well as maximum
	  integer-value.
	+ modify initialization of srand default seed from time of day to use
	  gettimeofday, etc., so that successive runs of mawk are less likely
	  to use the same seed value (suggested by Mike Brennan).
	+ make a further refinement, "gsub3" which uses a single pass.
	+ change SType and SLen types to improve performance as well as
	  handling larger regular expressions (suggested by Mike Brennan).
	+ fix some minor issues reported by Coverity.
	+ regenerate parse.c using byacc 20140422
	+ modify makefile-rule for generating parse.c to keep the "#line"
	  preprocessor lines consistent with the actual filename.  This is
	  needed by lcov.
	+ add test/reg7.awk to help with recent testing.
	+ discard intermediate new_gsub used for regression-testing, will do
	  further improvements based on "gsub2".
	+ fix a comparison in rexp3.c to work with embedded nulls (patch by
	  Mike Brennan).
	+ in-progress changes to implement "gsub2", which will reduce copying.
	+ discard intermediate old_gsub used for regression-testing, using
	  original gsub function renamed to "gsub0" for that purpose.
	+ remove old compiler information from version message.
	+ remove NF value from version message.
	+ patches by Mike Brennan:
	  + changed the intermediate storage of STRINGS used by split.
	  + cleaned up the xxx_split() functions.
	    a) removed hand loop unrolling. What was an optimization for
            intel 8086/88 is silly today.
            b) consequence of a) some macros went away so the code is easier
            to read/understand.
            c) handles null in input string
	       Note:  re_split() does \x00 null correctly, but it calls
	       REmatch() which does not.  I have examples where REmatch works
	       with nulls and examples of not working.  That needs to be fixed.
	  + changed field allocation to support no upper limit.
	+ when comparing two strings, allow for embedded nulls.
	+ add checks in rexp3.c for infinite loop for testcase noloop.awk
	  (report by Tibor Palinkas).
	+ improve test-package for debian by adding postrm script to restore
	  "mawk-base" to its unalternatized configuration, as well as adding
	  messages to the other pre/post scripts.
	+ patches by Mike Brennan:
	  + increase some limits: NF is now 1048575, sprintf limit is 8192.
	  + updated array.w; mostly documentation improvements
	  + add array.pdf generated from array.w
	+ add -Wu / -Wusage / -Wh / -Whelp to show usage message, like gawk.
	  If long options are enabled, honor --help and --usage as well.
	+ if no command-line parameters are given, show usage message like
	  gawk and BWK (report by Michael Sanders).
	+ improve configure macros CF_ADD_CFLAGS, CF_ADD_LIBS, CF_XOPEN_SOURCE,
	  e.g., for Minix3.2 port.
	+ restore in-progress change to gsub; resolved problem handling its
	  internal use of vectors for second parameter when "&" marker is used.
	+ improve configure check for Intel compiler warnings; trim unwanted
	  -no-gcc option.
	+ for Solaris suppress the followup check for defining _XOPEN_SOURCE
	+ update config.guess and config.sub

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 13 16:35:23 2014 UTC (12 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -12 lines
Changes 1.3.4.20131226:
+ add configure check to work around recent breakage in Cygwin's math.h
  which declares _LIB_VERSION without allowing it to be updated
+ minor updates to configure script, for clang and mingw
+ update config.guess and config.sub

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon May 13 01:47:57 2013 UTC (13 years, 6 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Update to 1.3.4.20130219

Upstream changes:
20130219
        + modify missing-operand check in rexp.c to allow the case of empty
          "()", matching behavior of gawk and BWK (report by Arkadiusz
          Miskiewicz).
        + revert in-progress change to gsub retain ifdef'd for additional
          development since it did not handle array as the second parameter
          (report by Arkadiusz Miskiewicz).

20121209
        + build-fix for cygwin in matherr.c, which declares a different type
          for _LIB_VERSION
        + add missing "-f" option in examples/gdecl.awk
        + fix a regression in fflush, ensuring that it returns an error if
          the argument does not match any output filename (report by Nathan
          Weeks).
        + modify wording of configure --help message to make it clear that
          the default for --with-builtin-regex uses the builtin regular
          expression engine of mawk.
        + fix issues reported by Coverity scan.  Most of these were minor,
          and were addressed by modifying the source to allow Coverity to
          improve its analysis of the code.
        + amend support for LC_NUMERIC by translating period to the local
          decimal separator as needed to work with strtod() which is used
          to validate decimal constants when scanning source files.  This
          fixes an infinite loop with
                mawk 'BEGIN { print 1.0 }'
          (report by Jan Psota).
        + regenerate man/mawk.doc, overlooked in previous updates.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Dec 2 10:28:41 2012 UTC (13 years, 11 months ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -3 lines

Update mawk to 1.3.4-20121129. For details see share/doc/mawk/CHANGES

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Oct 3 12:58:34 2012 UTC (14 years, 1 month ago) by asau
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -2 lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Oct 2 20:11:45 2012 UTC (14 years, 1 month ago) by asau
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -3 lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Dec 20 09:07:10 2011 UTC (14 years, 11 months ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -5 lines

HOMEPAGE was added (PR 45726)
Fixes for pkglint warnings.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Oct 9 10:02:46 2011 UTC (15 years, 1 month ago) by cheusov
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Update my email

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 7 09:43:05 2011 UTC (15 years, 6 months ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines

Closes PR pkg/44852, oked by wiz@ and reed@
Update mawk to 1.3.4.20100625
Major changes in this release of mawk:
    20100625
        + correct translation of octal and hex escapes for system regular
          expression library.
        + modify configure script to support --program-suffix, etc.
        + add Debian package scripts, for "mawk-cur".
        + add RPM spec-file.
        + move release- and patch-level values from version.c to patchlev.h
          to simplify packaging scripts.

    20100618
        + correct translation of "^{" pattern for system regular expression
          library  (report by Elias Pipping).
        + fix sentence fragment in README (report by Elias Pipping).

    20100507
        + cleanup gcc warnings for 64-bit platform, e.g., use size_t rather
          than unsigned, etc.
        + fix warnings from clang --analyze
        + update/improve configure script
          + modify CF_GCC_VERSION to ignore stderr, e.g., from c89 alias
          + modify CF_GCC_WARNINGS, moving -W and -Wall into the list to check,
            since c89 alias for gcc complains about these options.
          + add --disable-leaks and related options, for testing.
          + add lint rule to makefile.
          + add configure-check for ctags to work with pkgsrc.
        + amend change of array.w, fixes a regression in "delete" (report by
          Heiner Marxen).

    20100419
        + modify split() to handle embedded nulls in the string to split, e.g.,
                BEGIN{s="a\0b"; print length(s); n = split(s,f,""); print n}
          (report by Morris Lee).
        + modify array.w to update table pointers in the special case where
          an array is known to have string-indices, but is later indexed via
          integers.  The problem occurs when the array grows large enough to
          rehash it, e.g.,
                BEGIN{a["n"];for(i=1;i<1000;++i)printf "%d\n", a[i]; }
          (report by Morris Lee).
        + increase size of reference-count for strings to unsigned.  It was an
          unsigned short, which prevented using arrays larger than 64k, e.g.,
                BEGIN{for(i = 1; i <= 65550; ++i){if(i >= 65534 && i<=65537) print i; s[i] = "a"}; delete s;}
          (report by Morris Lee).
        + add special case for Solaris 10 (and up) to configure check
          CF_XOPEN_SOURCE
        + refactored configure check CF_REGEX

    20100224
        + add a configure check for large files (report by Sean Kumar).
        + modify check in collect_RE() to show the actual limit value, e.g.,
          MIN_SPRINTF-2 used for built-in regular expressions.
        + increase MIN_SPRINTF, used as limit on regular-expression size, to
          match the MAX_SPLIT value, i.e., slightly more than doubling the size
          (report by Markus Gnam).
        + further modify makefile to build outside the source-tree.
        + modify makefile and mawktest to use relative path again, since the
          existing script did not work with openSUSE's build (patch by Guido
          Berhoerster).
        + fix makefile's .c.i rule, which lacked CPP definition.
        + update mawktest.bat script to more/less correspond with mawktest,
          for Win32 console except where echo command does not handle the
          required quoting syntax.
        + add vs6.mak, for Visual Studio 6.
        + modify mawktest script to report results from all tests, rather than
          halting on the first failure.
        + add limit-check after processing match(test, "[^0-9A-Za-z]") to
          ensure the internal trailing null of the test-string is not mistaken
          for part of the string, i.e., RSTART, RLENGTH are computed correctly
          (report by Markus Gnam).
        + modify parsing of -W option to use comma-separated values, e.g.,
          "-Wi,e" for "-Winteractive" and "-Werror".
        + add timestamp to scancode.c, to help manage revisions.
        + improve configure macro CF_XOPEN_SOURCE, making it remove possibly
          conflicting definitions before adding new ones.
        + update config.guess and config.sub

        > patches by Jan Psota:

        + improve buffering for -Winteractive option.
        + allow multiple single-character flags after -W, e.g., "-Wie" for
          "-Winteractive" and "-Werror" to permit these to be passed on a
          "#"-line of a shell script, e.g.,
                #!/usr/bin/mawk -Wie

        > patches by Jonathan Nieder:

        + add new M_SAVE_POS and M_2JC operation codes (states) to the
          built-in regular expression engine.  Use these to reimplement
          m* (closure), to provide a way to avoid infinite looping on
          matches against empty strings.  This change requires
          reimplementing
          the workaround for gawk's noloop1 testcase from 20090726.
        + improve buffer-overflow check for string_buff.
        + fix collect_RE to treat "[^]]" as a character class (meaning "not a
          closing bracket") but "[^^]]" not as one.  This also requires
          initializing the local "start of character class" variable to NULL
          rather than the beginning of the string, to avoid an invalid array
          access when collecting expressions such as "^text".
        + within a character class and not followed by a :, ., or ~, a "[" is
          just like any other character.  This way, you can tell mawk to scan
          for a literal [ character with "mawk /[[]/", and you can scan for a [
          or ] with "mawk /[][]/".  Also clean up the relevant loop in
          do_class() to make it a bit more readable.
        + outside a character class, a "]" is just like any other character.
        + prevent do_class() from scanning past the end, e.g., if the
          terminating zero byte was escaped.
        + fix regular-expression parsing when a right parenthesis ")" is
          found without a preceding left parenthesis.
        + fix resetting of position stack when backtracking.
        + modify regular-expression engine to avoid exponential running time
          for some regular expression matches in which the first match mawk
          finds extends to the end of the string.  This is a new fix for the
          gawk noloop2 test, added here for regression testing.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Apr 20 19:23:14 2010 UTC (16 years, 7 months ago) by zafer
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -6 lines
Update mawk to 1.3.4 (via wip/mawk)

Changelog:
20091220
+ bump version to 1.3.4

+ update INSTALL and README files.

+ improve configure checks for math library.

+ change test for NaN to use sqrt() rather than log() to work around
	cygwin's partly broken math functions.

+ add/use isnanf() to work around other breakage in cygwin math
	functions.

+ add configure check for _XOPEN_SOURCE, etc., needed to define
	proper function pointer for sigaction, e.g., on Tru64.

+ add check for sigaction function pointer, whose POSIX form is
	absent from the cygwin header.

+ extend MAWKBINMODE, adding a third bit which when set will suppress
  the change for RS or ORS to use CR/LF rather than LF.  This is used
  for MinGW to make the "check" rule in a build work, for instance.

+ add configure check for functions used for pipe/system calls, e.g.,
  for MinGW where these are absent.

+ add runtime check for floating-point underflow exceptions

+ fix an old 1.3.3 bug in re_split(), which did not check properly for
  the end of buffer; this broke on Tru64.

+ drop obsolete config-user, v7 and atarist subdirectories

+ improve configure checks for sigaction, making the definitions used
  in fpe_check.c consistent with matherr.c

+ build fixes for AIX, Tru64.

+ add configure check for 'environ'.

+ remove redundant setlocale() calls; only LC_CTYPE and LC_NUMERIC
  are used.

20091213
+ add makedeps.sh script to aid in updating object dependencies in
  Makefile.in

+ use "mkdir -p" rather than mkdirs.sh (suggested by Aleksey Cheusov).

+ reformatted this file, to simplify extraction of contributor names.

+ update config.guess and config.sub

> patches by Jonathan Nieder:

+ modify CF_DISABLE_ECHO autoconf macro to ensure that command lines
  in Makefile.in begin with a tab.

+ the makefile does not use $(MAKE); remove the SET_MAKE substitution.

+ add some files to the "make clean" rule, in case make gets
  interrupted in the middle of a rule.

+ add a maintainer-clean rule to the makefile, to remove files which
  could be regenerated.

+ fix an unescaped "-" in man/mawk.1

+ remove an unneeded cast in bi_funct.c

+ fix an unused parameter warning in matherr.c

+ drop unused line_no parameter from compile_error() and its callers.

+ convert makescan.c to ANSI C, do further cleanup of that file.

+ split-out scancode.h from scan.h

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 2 00:11:10 2007 UTC (18 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
Remove ex-MASTER_SITE. From Zafer Aydogan.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Aug 22 16:03:58 2007 UTC (19 years, 2 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Set MAKE_JOBS_SAFE=no, per Francois Tigeot in PR 36801

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:42:26 2007 UTC (19 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Add DESTDIR support

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Feb 22 19:26:38 2007 UTC (19 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Dec 27 21:20:49 2005 UTC (20 years, 10 months ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Honor PKGMANDIR.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Oct 4 18:19:16 2005 UTC (21 years, 1 month ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Use CONFIGURE_HAS_MANDIR=NO because configure is old
and does not know --mandir.
(This still needs a patch that I have to commit.)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Apr 7 19:10:16 2004 UTC (22 years, 7 months ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -1 lines
I noticed that this install doesn't not create the man directory.
So added: INSTALLATION_DIRS=     man/man1
The alternative would be to add a BSD_INSTALL_MAN_DIR
to the patch-aa.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Nov 11 16:10:36 2003 UTC (23 years ago) by abs
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -1 lines
mawk configure fails with -ffast-math, so add
CFLAGS:= ${CFLAGS:S/-ffast-math//}
No change on default builds (without -ffast-math)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Sep 30 21:47:14 2003 UTC (23 years, 1 month ago) by seb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Fix build with GCC 3.3.1: don't hunt for libm with log() but with floor().

While here set TEST_TARGET even if the submake all target includes the
test ones.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 5 19:00:59 2003 UTC (23 years, 2 months ago) by tron
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Remove "/pub" from pathnames on "ftp.fu-berlin.de" because such a directory
doesn't exist. It's apparently only mapped in the FTP server configuration.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 17 21:44:52 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
s/netbsd.org/NetBSD.org/

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Mar 15 16:57:22 2003 UTC (23 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -4 lines
Distfile name has been standardised. Mentioned in PR 20715 by Mr. Reed.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Feb 17 09:07:19 2001 UTC (25 years, 9 months ago) by agc
Branches: MAIN
CVS tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6-1-base, netbsd-1-6-1, netbsd-1-6, netbsd-1-5-PATCH003, netbsd-1-5-PATCH001, buildlink2-base, buildlink2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Move the COMMENT from being in its own file to a definition in the
package Makefile.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 5 06:26:59 2000 UTC (26 years, 6 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Add missing trailing slash to entry in master site list.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 24 17:56:49 2000 UTC (26 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4 lines
Update mawk to 1.3.3.  Changes from 1.2.2:

1.3.1 -> 1.3.2 Sep 1996

1) Numeric but not integer indices caused core dump in new array scheme.
   Fixed bug and fired test division.

2) Added ferror() checks on writes.

3) Added some static storage specs to array.c to keep non-ansi
   compilers happy.

1.3 -> 1.3.1 Sep 1996
Release to new ftp site ftp://ftp.whidbey.net.

1) Workaround for overflow exception in strtod, sunos5.5 solaris.

2) []...] and [^]...] put ] in a class (or not in a class) without
   having to use back-slash escape.

1.2.2 -> 1.3 Jul 1996
Extensive redesign of array data structures to support large arrays and
fast access to arrays created with split.  Many of the ideas in the
new design were inspired by reading "The Design and Implementation of
Dynamic Hashing Sets and Tables in Icon" by William Griswold and
Gregg Townsend, SPE 23,351-367.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Sep 4 15:22:02 1999 UTC (27 years, 2 months ago) by agc
Branches: MAIN
CVS tags: netbsd-1-4-PATCH002, comdex-fall-1999
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -1 lines
Make this package work on Solaris.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 22 12:44:31 1998 UTC (28 years, 5 months ago) by agc
Branches: MAIN
CVS tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, netbsd-1-3-PATCH003
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
Update package Makefiles for automatic manual page handling.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 15 10:38:29 1998 UTC (28 years, 7 months ago) by agc
Branches: MAIN
CVS tags: netbsd-1-3-PATCH002
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -7 lines
Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jan 24 20:19:46 1998 UTC (28 years, 9 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
portlint: fix RCS Id, add MAINTAINER

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Oct 16 13:49:08 1997 UTC (29 years, 1 month ago) by agc
Branches: TNF
CVS tags: pkgs-mawk-1-2-2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of Mike Brennan's small, fast awk clone to
NetBSD package system.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Oct 16 13:49:08 1997 UTC (29 years, 1 month ago) by agc
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>