Commit graph

40 commits

Author SHA1 Message Date
asau
49d542f06c Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 12:55:08 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
cheusov
245591de47 HOMEPAGE was added (PR 45726)
Fixes for pkglint warnings.
2011-12-20 09:07:10 +00:00
cheusov
98589abbad Update my email 2011-10-09 10:02:44 +00:00
cheusov
816352b502 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.
2011-05-07 09:43:05 +00:00
zafer
bc98bf48a4 forgot to remove patches. 2010-04-20 19:25:16 +00:00
zafer
c2bdcd651a 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
2010-04-20 19:23:14 +00:00
wiz
a2ed90727a Remove ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 00:11:10 +00:00
agc
492b007d10 Set MAKE_JOBS_SAFE=no, per Francois Tigeot in PR 36801 2007-08-22 16:03:58 +00:00
agc
446a0e15d2 Add DESTDIR support 2007-08-20 21:42:26 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
reed
5576b88525 Honor PKGMANDIR. 2005-12-27 21:20:49 +00:00
joerg
3925481e1b Fix GCC 3.4+: floor called in configure should take an argument. 2005-12-23 15:36:25 +00:00
reed
cbfd7fe7a1 Use CONFIGURE_HAS_MANDIR=NO because configure is old
and does not know --mandir.
(This still needs a patch that I have to commit.)
2005-10-04 18:19:16 +00:00
minskim
4a63a789ac Fix the configure script to detect floor(3) correctly. This makes the
package build on platforms where the "-lm" link option is not necessary.
2005-06-30 05:57:38 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
tv
ae68ffa9dd Interix fix: don't prototype setmode() differently unless it'll actually
be used that way; #ifdef guard it.
2005-01-21 12:55:11 +00:00
reed
9e3b9ebea0 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.
2004-04-07 19:10:16 +00:00
abs
36d58f518b mawk configure fails with -ffast-math, so add
CFLAGS:= ${CFLAGS:S/-ffast-math//}
No change on default builds (without -ffast-math)
2003-11-11 16:10:36 +00:00
seb
a36cb52f04 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.
2003-09-30 21:47:14 +00:00
tron
20f7d53ff8 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.
2003-09-05 19:00:57 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
93cfb42f69 Distfile name has been standardised. Mentioned in PR 20715 by Mr. Reed. 2003-03-15 16:57:22 +00:00
mrg
63caa7a68f enable vax FP support when defined(__vax__) as well as BSD43_VAX. from ragge. 2002-04-06 14:02:56 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
tron
e4568232c9 Add missing trailing slash to entry in master site list. 2000-05-05 06:26:59 +00:00
jlam
45f8d7161b 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.
2000-03-24 17:56:49 +00:00
agc
2544e60ce1 Make this package work on Solaris. 1999-09-04 15:22:02 +00:00
agc
7bfb5c4758 Add package patch checksum files. 1999-07-09 13:54:06 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
daa3dd519a Update package Makefiles for automatic manual page handling. 1998-06-22 12:44:29 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
hubertf
9bf801d7f3 portlint: remove empty line 1998-01-24 20:19:57 +00:00
hubertf
10429aa346 portlint: fix RCS Id, add MAINTAINER 1998-01-24 20:19:46 +00:00
agc
5358faaf74 Add a NetBSD RCS Id to all the PLIST files. 1997-11-06 09:57:11 +00:00
agc
165fb7ce1f Initial import of Mike Brennan's small, fast awk clone to
NetBSD package system.
1997-10-16 13:49:08 +00:00