Commit graph

30 commits

Author SHA1 Message Date
Aleksey Cheusov
04bbc19bdc updated to version 0.14.1
======================================================================
  Version 0.14.1, by Aleksey Cheusov, Sat, 19 Jul 2008 22:53:45 +0300

    FIXED: The following code doesn't work with runawk-0.14.0
        runawk -e '
        #use "anymodule.awk"

        <ANY_CODE_HERE>
        '

        This code requires a creation of the temporary file that was
        removed in runawk-0.14.0. Now temporary file is created using
        mkstemp(3).

        Regression tests are created for testing.

  ======================================================================
  Version 0.14.0, by Aleksey Cheusov, Sat, 12 Jul 2008 17:29:22 +0300

    Temporary file is not needed anymore for -e option.

    FIXED: #env didn't work under Linux/glibc.

    FIXED: compilation error under FreeBSD.

    Lots of new regression tests. Code clean-ups.
    fgetln is not required anymore. No hacks about it.

    If error happens while processing a #directive,
    a correct line number is output
2008-07-19 20:47:38 +00:00
Aleksey Cheusov
3db4d525cc update to version 0.13.0
ADDED: option -v|--assign that works like AWK's -v option.
    This is to pass some variables to AWK interpreter.
    Example: runawk -v var=123 -e 'BEGIN {print var }'

    modules/xgetline.awk: better error message/clean-ups

    modules/abort.awk: NR is also printed to stderr

    minor fixes in *.c

    clean-ups and fixes in 'make test'. Now it doesn't depend on my
    own system and runawk directory

    'make test' exits with non-zero exit status if regression tests
    fail

    Makefile: ported to ancient pmake-1.45 found in some Linux distros
2008-06-15 13:36:15 +00:00
Aleksey Cheusov
cccbe134e6 default (upstream) WARNS=n is used
++pkgrevision
2008-05-29 21:26:42 +00:00
Aleksey Cheusov
d3a0ae34a6 fixed: pkglint warning 2008-03-30 00:19:16 +00:00
Aleksey Cheusov
9d32576662 fix: more INSTALLATION_DIRS (DESTDIR) 2008-03-29 22:20:08 +00:00
Aleksey Cheusov
6e999ec223 WARNS=4 is too high: bug found with gcc-4.1.2 under Linux 2008-03-04 16:35:03 +00:00
Aleksey Cheusov
6feb71b7d9 updated to runawk-0.12.1 (fix alt_assert.awk) 2008-03-03 23:20:50 +00:00
Aleksey Cheusov
4ca6add401 updated to the latest upstream release 0.12.0
For news - see NEWS file.
2008-03-03 21:59:31 +00:00
Tobias Nygren
ed892d8f1e Revert my previous change. 2008-02-10 17:37:25 +00:00
Tobias Nygren
93805e720e Needs GNU nroff to generate catpages. 2008-02-07 13:48:35 +00:00
Aleksey Cheusov
0af8d4a9a9 USE_BSD_MAKEFILE=yes 2008-02-05 10:13:08 +00:00
Aleksey Cheusov
c64db98182 update to the latest upstream release 0.10.1
FIXED: If AWK interpreter segfaults or killed by any other signal,
    runawk exits with exit status 0.  Affected runawk versions: all.
    Now this is fixed and runawk exits with exit status 128+SIGNAL
    just like many shells.

    EXIT STATUS section has been added to the manual page.
2008-02-01 19:44:00 +00:00
Aleksey Cheusov
0ee8d8a030 Upgraded to the latest upstream release 0.10.0.
Major changes:

    ADDED: The environment variable RUNAWK_AWKPROG overrides
    the default awk interpreter which is set at compile time.
    Documentation updated accordingly.

    FIXED: unsafe use of strdup(3)

    I've copied MIT License text to code from www.opensource.org.
    Do you see any difference?

    ADDED: new trivial module pow.awk that implements function "pow"

    fix: MKMAN and MKCATPAGES make's standard variables are checked
    during installation

    In order to build runawk not in a directory you can either build
    it like this (standard way)
        cd /src/dir; make all install MAKEOBJDIR=/obj/dir
    or like this
        cd /obj/dir; make -f /src/dir/Makefile all install

    optional config.h is #included if you need it

    other minor fixes and improvements both in code and documentation
2008-01-23 20:02:54 +00:00
Aleksey Cheusov
29e2c09825 Upgraded to the latest upstream release 0.10.0 2008-01-23 19:58:19 +00:00
Aleksey Cheusov
3b5bc95ff4 FIX: now runawk is built correctly if PKGMANDIR=share/man or whatever else 2008-01-06 11:30:00 +00:00
Aleksey Cheusov
f35933ee35 ${PKGBASE} -> runawk 2007-12-31 10:33:27 +00:00
Aleksey Cheusov
5be5a5af90 no AUTO_MKDIRS, now this package can be built with pkgsrc-2007Q3 too 2007-12-31 09:38:28 +00:00
Aleksey Cheusov
0a3e06d832 @dirrm added 2007-12-31 09:37:18 +00:00
Aleksey Cheusov
8c989c5bef fix for Linux and others: MKCATPAGES=no 2007-12-23 23:55:47 +00:00
Aleksey Cheusov
5269292ecc fixed: pkglint warning 2007-12-23 21:59:02 +00:00
Aleksey Cheusov
d9b17ad00e updated to latest upstream release 0.9.0
NEWS:
    I switched to BSD make. I really hate automake and its approach in
    general. I'm not expert in BSD, but their 'make' looks much
    better. But using it makes some changes in building process, see
    README/INSTALLATION section for a brief description.

    ADDED: man page for runawk. HTML version runawk.html can also be
    generated from runawk.pod using pod2html, see Makefile.

    ADDED: -i/-I options for forcing/disabling adding /dev/stdin to
    the list of awk arguments. See man page for more information.

    A few AWK modules are installed to PREFIX/share/runawk: abs.awk,
    min.awk, max.awk and alt_assert.awk. This directory is also checked
    while searching for modules. See man page for more details.

    AWK_PROG and STDIN_FILENAME Makefile variables can be passed to make
    program to change a path to an actual AWK interpreter (/usr/bin/awk
    by default) and stdin file (/dev/stdin by default).

    Lots of improvements in documentation

    ADDED: regression tests. Run them by running 'make test' and let
    me know if somethiung fails.

    debugging output is sent stdout, not stderr

    ADDED: long synonyms for short options, --help, --version etc.

    clean-ups in Makefile

    options handling improvements
2007-12-23 21:38:17 +00:00
Aleksey Cheusov
8779cd7d0c fixed: two pkglint warnings 2007-11-02 22:12:45 +00:00
Aleksey Cheusov
1c2565780b update to the recent version 0.8.1
FIXED: default stdin file should be /std/stdin, not /dev/stderr (typo)
2007-10-24 12:50:30 +00:00
Aleksey Cheusov
5f599382e7 clean-ups 2007-10-21 16:02:35 +00:00
Aleksey Cheusov
bec9b22f40 WARFLAGS is set to empty string for non-gcc compilers 2007-10-21 15:43:12 +00:00
Aleksey Cheusov
2e97093cad DESTDIR support 2007-10-21 15:38:30 +00:00
Aleksey Cheusov
f87f992bbd use upstream target "install" 2007-10-21 15:34:58 +00:00
Aleksey Cheusov
11cd28cb3e updated to the latest upstream release
NEWS:

   FIXED: return code of execvp is not analysed, i.e. when running
   an interpreter fails, runawk silently exits with zero exit status.
   Now it fails with exit status 1 and print an error to stderr.

   stdin filename defaults to "/dev/stdin"

   ROOT variable in Makefile has been renamed
   to more commonly used PREFIX

   realloc(2) is not used anymore. arrays[ARRAY_SZ] are used now.

   AWK and STDIN_FILENAME variables are removed from Makefile.
   Use CPPFLAGS for changing defaults.
2007-10-21 15:28:55 +00:00
Aleksey Cheusov
5f96570778 STDIN_FILENAME=/dev/stdin is added to MAKE_FLAGS 2007-10-14 19:01:23 +00:00
Aleksey Cheusov
31ef93efe0 runawk - Small wrapper for AWK interpreter that implements modules for AWK 2007-09-29 11:21:07 +00:00