head 1.79; access; symbols pkgsrc-2023Q4:1.79.0.2 pkgsrc-2023Q4-base:1.79 pkgsrc-2023Q3:1.77.0.4 pkgsrc-2023Q3-base:1.77 pkgsrc-2023Q2:1.77.0.2 pkgsrc-2023Q2-base:1.77 pkgsrc-2023Q1:1.76.0.4 pkgsrc-2023Q1-base:1.76 pkgsrc-2022Q4:1.76.0.2 pkgsrc-2022Q4-base:1.76 pkgsrc-2022Q3:1.75.0.2 pkgsrc-2022Q3-base:1.75 pkgsrc-2022Q2:1.74.0.6 pkgsrc-2022Q2-base:1.74 pkgsrc-2022Q1:1.74.0.4 pkgsrc-2022Q1-base:1.74 pkgsrc-2021Q4:1.74.0.2 pkgsrc-2021Q4-base:1.74 pkgsrc-2021Q3:1.73.0.10 pkgsrc-2021Q3-base:1.73 pkgsrc-2021Q2:1.73.0.8 pkgsrc-2021Q2-base:1.73 pkgsrc-2021Q1:1.73.0.6 pkgsrc-2021Q1-base:1.73 pkgsrc-2020Q4:1.73.0.4 pkgsrc-2020Q4-base:1.73 pkgsrc-2020Q3:1.73.0.2 pkgsrc-2020Q3-base:1.73 pkgsrc-2020Q2:1.72.0.2 pkgsrc-2020Q2-base:1.72 pkgsrc-2020Q1:1.71.0.2 pkgsrc-2020Q1-base:1.71 pkgsrc-2019Q4:1.70.0.4 pkgsrc-2019Q4-base:1.70 pkgsrc-2019Q3:1.69.0.4 pkgsrc-2019Q3-base:1.69 pkgsrc-2019Q2:1.69.0.2 pkgsrc-2019Q2-base:1.69 pkgsrc-2019Q1:1.68.0.2 pkgsrc-2019Q1-base:1.68 pkgsrc-2018Q4:1.66.0.4 pkgsrc-2018Q4-base:1.66 pkgsrc-2018Q3:1.66.0.2 pkgsrc-2018Q3-base:1.66 pkgsrc-2018Q2:1.65.0.4 pkgsrc-2018Q2-base:1.65 pkgsrc-2018Q1:1.65.0.2 pkgsrc-2018Q1-base:1.65 pkgsrc-2017Q4:1.64.0.10 pkgsrc-2017Q4-base:1.64 pkgsrc-2017Q3:1.64.0.8 pkgsrc-2017Q3-base:1.64 pkgsrc-2017Q2:1.64.0.4 pkgsrc-2017Q2-base:1.64 pkgsrc-2017Q1:1.64.0.2 pkgsrc-2017Q1-base:1.64 pkgsrc-2016Q4:1.63.0.14 pkgsrc-2016Q4-base:1.63 pkgsrc-2016Q3:1.63.0.12 pkgsrc-2016Q3-base:1.63 pkgsrc-2016Q2:1.63.0.10 pkgsrc-2016Q2-base:1.63 pkgsrc-2016Q1:1.63.0.8 pkgsrc-2016Q1-base:1.63 pkgsrc-2015Q4:1.63.0.6 pkgsrc-2015Q4-base:1.63 pkgsrc-2015Q3:1.63.0.4 pkgsrc-2015Q3-base:1.63 pkgsrc-2015Q2:1.63.0.2 pkgsrc-2015Q2-base:1.63 pkgsrc-2015Q1:1.61.0.4 pkgsrc-2015Q1-base:1.61 pkgsrc-2014Q4:1.61.0.2 pkgsrc-2014Q4-base:1.61 pkgsrc-2014Q3:1.60.0.4 pkgsrc-2014Q3-base:1.60 pkgsrc-2014Q2:1.60.0.2 pkgsrc-2014Q2-base:1.60 pkgsrc-2014Q1:1.59.0.2 pkgsrc-2014Q1-base:1.59 pkgsrc-2013Q4:1.58.0.2 pkgsrc-2013Q4-base:1.58 pkgsrc-2013Q3:1.56.0.2 pkgsrc-2013Q3-base:1.56 pkgsrc-2013Q2:1.55.0.2 pkgsrc-2013Q2-base:1.55 pkgsrc-2013Q1:1.54.0.2 pkgsrc-2013Q1-base:1.54 pkgsrc-2012Q4:1.53.0.2 pkgsrc-2012Q4-base:1.53 pkgsrc-2012Q3:1.50.0.4 pkgsrc-2012Q3-base:1.50 pkgsrc-2012Q2:1.50.0.2 pkgsrc-2012Q2-base:1.50 pkgsrc-2012Q1:1.46.0.2 pkgsrc-2012Q1-base:1.46 pkgsrc-2011Q4:1.45.0.6 pkgsrc-2011Q4-base:1.45 pkgsrc-2011Q3:1.45.0.4 pkgsrc-2011Q3-base:1.45 pkgsrc-2011Q2:1.45.0.2 pkgsrc-2011Q2-base:1.45 pkgsrc-2011Q1:1.44.0.4 pkgsrc-2011Q1-base:1.44 pkgsrc-2010Q4:1.44.0.2 pkgsrc-2010Q4-base:1.44 pkgsrc-2010Q3:1.43.0.8 pkgsrc-2010Q3-base:1.43 pkgsrc-2010Q2:1.43.0.6 pkgsrc-2010Q2-base:1.43 pkgsrc-2010Q1:1.43.0.4 pkgsrc-2010Q1-base:1.43 pkgsrc-2009Q4:1.43.0.2 pkgsrc-2009Q4-base:1.43 pkgsrc-2009Q3:1.42.0.2 pkgsrc-2009Q3-base:1.42 pkgsrc-2009Q2:1.38.0.18 pkgsrc-2009Q2-base:1.38 pkgsrc-2009Q1:1.38.0.16 pkgsrc-2009Q1-base:1.38 pkgsrc-2008Q4:1.38.0.14 pkgsrc-2008Q4-base:1.38 pkgsrc-2008Q3:1.38.0.12 pkgsrc-2008Q3-base:1.38 cube-native-xorg:1.38.0.10 cube-native-xorg-base:1.38 pkgsrc-2008Q2:1.38.0.8 pkgsrc-2008Q2-base:1.38 cwrapper:1.38.0.6 pkgsrc-2008Q1:1.38.0.4 pkgsrc-2008Q1-base:1.38 pkgsrc-2007Q4:1.38.0.2 pkgsrc-2007Q4-base:1.38 pkgsrc-2007Q3:1.37.0.2 pkgsrc-2007Q3-base:1.37 pkgsrc-2007Q2:1.36.0.8 pkgsrc-2007Q2-base:1.36 pkgsrc-2007Q1:1.36.0.6 pkgsrc-2007Q1-base:1.36 pkgsrc-2006Q4:1.36.0.4 pkgsrc-2006Q4-base:1.36 pkgsrc-2006Q3:1.36.0.2 pkgsrc-2006Q3-base:1.36 pkgsrc-2006Q2:1.35.0.2 pkgsrc-2006Q2-base:1.35 pkgsrc-2006Q1:1.33.0.2 pkgsrc-2006Q1-base:1.33 pkgsrc-2005Q4:1.32.0.2 pkgsrc-2005Q4-base:1.32 pkgsrc-2005Q3:1.31.0.2 pkgsrc-2005Q3-base:1.31 pkgsrc-2005Q2:1.29.0.2 pkgsrc-2005Q2-base:1.29 pkgsrc-2005Q1:1.27.0.2 pkgsrc-2005Q1-base:1.27 pkgsrc-2004Q4:1.26.0.2 pkgsrc-2004Q4-base:1.26 pkgsrc-2004Q3:1.23.0.2 pkgsrc-2004Q3-base:1.23 pkgsrc-2004Q2:1.22.0.2 pkgsrc-2004Q2-base:1.22 pkgsrc-2004Q1:1.21.0.2 pkgsrc-2004Q1-base:1.21 pkgsrc-2003Q4:1.20.0.2 pkgsrc-2003Q4-base:1.20 netbsd-1-6-1:1.10.0.2 netbsd-1-6-1-base:1.10 netbsd-1-6:1.7.0.6 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.2 pkgviews-base:1.7 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-5-PATCH001:1.4 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.79 date 2023.11.07.13.19.47; author nia; state Exp; branches; next 1.78; commitid qr1Uw6TzjqiYdGLE; 1.78 date 2023.11.07.09.17.20; author wiz; state Exp; branches; next 1.77; commitid pTKzpVllq1sASELE; 1.77 date 2023.05.16.20.31.00; author wiz; state Exp; branches; next 1.76; commitid zYrZQU9VdKXFeepE; 1.76 date 2022.11.27.23.11.29; author wiz; state Exp; branches; next 1.75; commitid rSRQ6TCsygPxAo3E; 1.75 date 2022.09.12.09.55.55; author wiz; state Exp; branches; next 1.74; commitid TIS8Y4QLG6m4DyTD; 1.74 date 2021.11.01.07.07.52; author wiz; state Exp; branches; next 1.73; commitid pxAud03fNwobP3fD; 1.73 date 2020.08.24.07.52.03; author wiz; state Exp; branches; next 1.72; commitid 596c4O7RJ8Zf1ilC; 1.72 date 2020.06.25.19.48.03; author hauke; state Exp; branches; next 1.71; commitid CulkFiHGutkVTDdC; 1.71 date 2020.01.18.23.32.42; author rillig; state Exp; branches; next 1.70; commitid shGUwZfkr7sleeTB; 1.70 date 2019.10.08.14.19.42; author ryoon; state Exp; branches; next 1.69; commitid M7YMgHqLMYdWt4GB; 1.69 date 2019.04.16.11.43.29; author ryoon; state Exp; branches; next 1.68; commitid z3yt3JjGFUB8fzjB; 1.68 date 2019.03.05.16.58.31; author hauke; state Exp; branches; next 1.67; commitid HjQfXD2BJ36ekceB; 1.67 date 2019.03.05.12.44.54; author hauke; state Exp; branches; next 1.66; commitid ZSmIJPdfqeJVVaeB; 1.66 date 2018.07.14.13.47.32; author adam; state Exp; branches; next 1.65; commitid T78TE90o4HKAN6KA; 1.65 date 2018.01.28.16.24.13; author wiz; state Exp; branches; next 1.64; commitid LOrJXggMMAXd2FoA; 1.64 date 2017.01.14.01.03.39; author ryoon; state Exp; branches; next 1.63; commitid nIfcoBvAlmdM7SBz; 1.63 date 2015.05.28.06.35.25; author wiz; state Exp; branches; next 1.62; commitid f3Z1V4sozuzn9bny; 1.62 date 2015.05.01.02.02.40; author wen; state Exp; branches; next 1.61; commitid VZ7MVAkGyWtmvGjy; 1.61 date 2014.10.09.14.06.38; author wiz; state Exp; branches; next 1.60; commitid fBDATFVmQ3454xTx; 1.60 date 2014.06.06.23.24.10; author ryoon; state Exp; branches; next 1.59; commitid LKnlQsRnMpiUawDx; 1.59 date 2014.02.05.20.25.09; author wiz; state Exp; branches; next 1.58; commitid R7lREHQCiAXq4Xnx; 1.58 date 2013.12.15.09.42.14; author richard; state Exp; branches; next 1.57; commitid MfmiOMtFsw9vadhx; 1.57 date 2013.10.19.19.47.39; author bsiegert; state Exp; branches; next 1.56; commitid 5xaBWXbnoKhlmW9x; 1.56 date 2013.07.15.02.02.23; author ryoon; state Exp; branches 1.56.2.1; next 1.55; commitid aGblgSa9xp3HyvXw; 1.55 date 2013.05.15.11.55.20; author adam; state Exp; branches; next 1.54; commitid R9LxjqaHBaHQNIPw; 1.54 date 2013.01.31.22.01.43; author adam; state Exp; branches; next 1.53; 1.53 date 2012.12.31.00.27.36; author sbd; state Exp; branches; next 1.52; 1.52 date 2012.12.06.11.42.05; author jperkin; state Exp; branches; next 1.51; 1.51 date 2012.10.02.20.11.40; author asau; state Exp; branches; next 1.50; 1.50 date 2012.06.15.00.32.27; author sbd; state Exp; branches; next 1.49; 1.49 date 2012.06.15.00.29.27; author sbd; state Exp; branches; next 1.48; 1.48 date 2012.05.31.10.44.30; author fhajny; state Exp; branches; next 1.47; 1.47 date 2012.05.29.14.16.24; author wiz; state Exp; branches; next 1.46; 1.46 date 2012.03.17.03.16.20; author wiz; state Exp; branches; next 1.45; 1.45 date 2011.04.22.13.43.59; author obache; state Exp; branches; next 1.44; 1.44 date 2010.12.02.14.44.04; author wiz; state Exp; branches; next 1.43; 1.43 date 2009.12.20.23.03.15; author tnn; state Exp; branches; next 1.42; 1.42 date 2009.09.23.18.23.05; author tron; state Exp; branches; next 1.41; 1.41 date 2009.08.12.18.07.15; author abs; state Exp; branches; next 1.40; 1.40 date 2009.08.09.11.35.47; author tron; state Exp; branches; next 1.39; 1.39 date 2009.08.08.16.23.48; author wiz; state Exp; branches; next 1.38; 1.38 date 2007.11.02.07.17.59; author adam; state Exp; branches; next 1.37; 1.37 date 2007.09.06.19.56.16; author joerg; state Exp; branches; next 1.36; 1.36 date 2006.07.06.13.14.01; author joerg; state Exp; branches; next 1.35; 1.35 date 2006.04.06.06.22.11; author reed; state Exp; branches 1.35.2.1; next 1.34; 1.34 date 2006.03.30.03.44.43; author jlam; state Exp; branches; next 1.33; 1.33 date 2006.02.05.23.09.44; author joerg; state Exp; branches; next 1.32; 1.32 date 2005.12.05.20.50.25; author rillig; state Exp; branches; next 1.31; 1.31 date 2005.09.05.16.58.22; author wiz; state Exp; branches; next 1.30; 1.30 date 2005.07.13.15.21.57; author jschauma; state Exp; branches; next 1.29; 1.29 date 2005.05.31.10.01.37; author dillo; state Exp; branches; next 1.28; 1.28 date 2005.04.11.21.46.13; author tv; state Exp; branches; next 1.27; 1.27 date 2005.01.30.05.34.16; author minskim; state Exp; branches; next 1.26; 1.26 date 2004.10.14.03.24.21; author minskim; state Exp; branches; next 1.25; 1.25 date 2004.10.14.03.20.20; author minskim; state Exp; branches; next 1.24; 1.24 date 2004.10.03.00.15.00; author tv; state Exp; branches; next 1.23; 1.23 date 2004.08.26.00.00.20; author wiz; state Exp; branches; next 1.22; 1.22 date 2004.04.25.07.15.51; author snj; state Exp; branches; next 1.21; 1.21 date 2003.12.17.15.11.03; author sketch; state Exp; branches; next 1.20; 1.20 date 2003.10.06.06.57.40; author wiz; state Exp; branches; next 1.19; 1.19 date 2003.10.05.15.49.06; author wiz; state Exp; branches; next 1.18; 1.18 date 2003.08.09.12.30.52; author seb; state Exp; branches; next 1.17; 1.17 date 2003.08.09.10.59.08; author seb; state Exp; branches; next 1.16; 1.16 date 2003.07.17.21.44.21; author grant; state Exp; branches; next 1.15; 1.15 date 2003.07.13.13.52.20; author wiz; state Exp; branches; next 1.14; 1.14 date 2003.07.05.15.14.38; author seb; state Exp; branches; next 1.13; 1.13 date 2003.07.04.20.57.21; author seb; state Exp; branches; next 1.12; 1.12 date 2003.06.07.16.03.05; author jmmv; state Exp; branches; next 1.11; 1.11 date 2003.05.30.17.52.12; author seb; state Exp; branches; next 1.10; 1.10 date 2002.12.12.03.17.13; author dmcmahill; state Exp; branches; next 1.9; 1.9 date 2002.11.30.14.55.06; author grant; state Exp; branches; next 1.8; 1.8 date 2002.10.22.23.53.25; author jlam; state Exp; branches; next 1.7; 1.7 date 2002.07.17.09.07.43; author agc; state Exp; branches; next 1.6; 1.6 date 2002.04.04.13.58.26; author seb; state Exp; branches; next 1.5; 1.5 date 2002.02.18.15.14.24; author seb; state Exp; branches; next 1.4; 1.4 date 2001.02.17.09.07.06; author agc; state Exp; branches; next 1.3; 1.3 date 99.12.13.09.25.10; author agc; state Exp; branches; next 1.2; 1.2 date 99.12.12.21.19.04; author bouyer; state Exp; branches; next 1.1; 1.1 date 99.12.10.17.33.39; author bouyer; state Exp; branches 1.1.1.1; next ; 1.56.2.1 date 2013.10.20.11.11.22; author tron; state Exp; branches; next ; commitid rvVS1FwLK1zUt1ax; 1.35.2.1 date 2006.07.09.20.01.23; author salo; state Exp; branches; next ; 1.1.1.1 date 99.12.10.17.33.39; author bouyer; state Exp; branches; next ; desc @@ 1.79 log @Centralize per-package hacks for lack of -rpath on Darwin/powerpc. @ text @# $NetBSD: Makefile,v 1.78 2023/11/07 09:17:20 wiz Exp $ DISTNAME= gawk-5.3.0 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gawk/} EXTRACT_SUFX= .tar.xz MAINTAINER= bouyer@@NetBSD.org HOMEPAGE= https://www.gnu.org/software/gawk/gawk.html COMMENT= GNU awk LICENSE= gnu-gpl-v3 CONFLICTS= ja-gawk-[0-9]* USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= msgfmt msgmerge xgettext GNU_CONFIGURE= yes TEST_TARGET= check INFO_FILES= yes MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} LDFLAGS.IRIX+= -lgen CPPFLAGS.OSF1+= -D_OSF_SOURCE CHECK_PORTABILITY_SKIP+= doc/gawktexi.in CHECK_PORTABILITY_SKIP+= doc/it/gawktexi.in .include "../../mk/bsd.prefs.mk" .include "options.mk" .if ${MACHINE_PLATFORM:MDarwin-*-x86_64} CFLAGS+= -Dvm_region=vm_region_64 .endif PLIST_VARS+= extension .if "${OPSYS}" != "MirBSD" PLIST.extension= yes .endif INSTALLATION_DIRS+= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1 post-install: ${LN} -fs ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk ${LN} -fs ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1 .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/gmp/buildlink3.mk" .include "../../math/mpfr/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.78 log @gawk: update to 5.3.0. Changes from 5.2.x to 5.3.0 --------------------------- 1. Infrastructure changes: Removed the use of libsigsegv. The value-add was never very much and it caused problems in some environments. 2. In keeping with new features in BWK awk, gawk now has built-in CSV file parsing. The behavior is intended to be identical to that of the "One True AWK" when --csv is applied. See the manual for details. 3. Also in keeping with BWK awk, gawk now supports a new \u escape sequence. This should be followed by 1-8 hexadecimal digits. The given code point is converted to its corresponding multibyte encoding for storage inside gawk. See the manual. 4. If PROCINFO["BUFFERPIPE"] exists, then pipe output is buffered. You can also use PROCINFO["command", "BUFFERPIPE"]. See the manual for details. 5. Because of the additional `do_csv' variable in the API, which breaks binary compatibility, the API major version was updated to 4 and the minor version was reset to zero. The API remains source code compatible; that is, existing extensions should only require recompilation. 6. The manual now requires Texinfo 7.1 and its texinfo.tex for formatting. As a result, we no longer need to pre-process it, removing the need for gawktexi.in and leaving just gawk.texi. 7. And of course, there have been several minor code cleanups and bug fixes. See the ChangeLog for details. Changes from 5.2.2 to 5.2.x --------------------------- 1. The readdir extension has been updated with additonal code and features, see the manual or its man page. As a result, the readdir_test.c extension has been removed. 2. We have a new translation: Ukranian. 3. Several subtle issues related to null regexp matches around multibyte characters have been fixed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.77 2023/05/16 20:31:00 wiz Exp $ a37 5 .if ${MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc} # ld does not have -rpath CONFIGURE_ARGS+= --disable-rpath .endif @ 1.77 log @gawk: update to 5.2.2. Changes from 5.2.1 to 5.2.2 --------------------------- 1. Infrastructure upgrades: makeinfo 7.0.1 must be used to format the manual. As a result, the manual can also now be formatted with LaTeX by running it through `makeinfo --latex'. 2. Gawk no longer builds an x86_64 executable on M1 macOS systems. This means that PMA is unavailable on those systems. 3. Gawk will now diagnose if a heap file was created with a different setting of -M/--bignum than in the current invocation and exit with a fatal message if so. 4. Gawk no longer "leaks" its free list of NODEs in the heap file, resulting in much more efficient usage of persistent storage. 5. PROCINFO["pma"] exists if the PMA allocator is compiled into gawk. Its value is the PMA version. 6. The time extension is no longer deprecated. The strptime() function from gawkextlib's timex extension has been added to it. 7. Better information is passed to input parsers for when they want to decide whether or not to take control of a file. In particular, the readdir extension is simplified for Windows because of this. 8. The various PNG files are now installed for Info and HTML. The images files now have gawk_ prefixed names to avoid any conflicts with other installed PNG file names. 9. As usual, there have been several minor code cleanups and bug fixes. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 2022/11/27 23:11:29 wiz Exp $ d3 1 a3 1 DISTNAME= gawk-5.2.2 @ 1.76 log @gawk: update to 5.2.1. Changes from 5.2.0 to 5.2.1 --------------------------- 1. Infrastructure upgrades: PMA version Avon 8. 2. Issues related to the sign of NaN and Inf values on RiscV have been fixed; gawk now gives identical results on that platform as it does on others. 3. A few issues with the debugger have been fixed. 4. More subtle issues with untyped array elements being passed to functions have been fixed. 5. The rwarray extension's readall() function has had some bugs fixed. 6. The PMA allocator is now supported on FreeBSD, OpenBSD and Linux on S/390x. Is is now supported also on both Intel and M1 macOS systems. 7. There have been several minor code cleanups and bug fixes. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.75 2022/09/12 09:55:55 wiz Exp $ d3 1 a3 1 DISTNAME= gawk-5.2.1 d34 1 a34 1 .if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) d38 1 a38 1 .if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc) @ 1.75 log @gawk: update to 5.2.0. Changes from 5.1.x to 5.2.0 --------------------------- ***************************************************************************** * MPFR mode (the -M option) is now ON PAROLE. This feature is now being * * supported by a volunteer in the development team and not by the primary * * maintainer. If this situation changes, then the feature will be removed. * * For more information see this section in the manual: * * https://www.gnu.org/software/gawk/manual/html_node/MPFR-On-Parole.html * ***************************************************************************** 1. Infrastructure upgrades: Libtool 2.4.7, Bison 3.8.2. 2. Numeric scalars now compare in the same way as C for the relational operators. Comparison order for sorting has not changed. This only makes a difference when comparing Infinity and NaN values with regular numbers; it should not be noticeable most of the time. 3. If the AWK_HASH environment variable is set to "fnv1a" gawk will use the FNV1-A hash function for associative arrays. 4. The CMake infrastructure has been removed. In the five years it was in the tree, nobody used it, and it was not updated. 5. There is now a new function, mkbool(), that creates Boolean-typed values. These values *are* numbers, but they are also tagged as Boolean. This is mainly for use with data exchange to/from languages or environments that support real Boolean values. See the manual for details. 6. As BWK awk has supported interval expressions since 2019, they are now enabled even if --traditional is supplied. The -r/--re-interval option remains, but it does nothing. 7. The rwarray extension has two new functions, writeall() and readall(), for saving / restoring all of gawk's variables and arrays. 8. The new `gawkbug' script should be used for reporting bugs. 9. The manual page (doc/gawk.1) has been considerably reduced in size. Wherever possible, details were replaced with references to the online copy of the manual. 10. Gawk now supports Terence Kelly's "persistent malloc" (pma), allowing gawk to preserve its variables, arrays and user-defined functions between runs. THIS IS AN EXPERIMENTAL FEATURE! For more information, see the manual. A new pm-gawk.1 man page is included, as is a separate user manual that focuses on the feature. 11. Support for OS/2 has been removed. It was not being actively maintained. 12. Similarly, support for DJGPP has been removed. It also was not being actively maintained. 13. VAX/VMS is no longer supported, as it can no longer be tested. The files for it remain in the distribution but will be removed eventually. 14. Some subtle issues with untyped array elements being passed to functions have been fixed. 15. Syntax errors are now immediately fatal. This prevents problems with errors from fuzzers and other such things. 16. There have been numerous minor code cleanups and bug fixes. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.74 2021/11/01 07:07:52 wiz Exp $ d3 1 a3 1 DISTNAME= gawk-5.2.0 @ 1.74 log @gawk: update to 5.1.1. Changes from 5.1.0 to 5.1.1 --------------------------- 1. Infrastructure upgrades: Bison 3.8, Gettext 0.20.2, Automake 1.16.4, and (will wonders never cease) Autoconf 2.71. 2. asort and asorti now allow FUNCTAB and SYMTAB as the first argument if a second destination array is supplied. Similarly, using either array as the second argument is now a fatal error. Additionally, using either array as the destination for split(), match(), etc. also causes a fatal error. 3. The new -I/--trace option prints a trace of the byte codes as they are executed. 4. A number of subtle bugs relating to MPFR mode that caused differences between regular operation and MPFR mode have been fixed. 5. The API now handles MPFR/GMP values slightly differently, requiring different memory management for those values. See the manual for the details if you have an extension using those values. As a result, the minor version was incremented. 6. $0 and the fields are now cleared before starting a BEGINFILE rule. 7. The duplication of m4 and build-aux directories between the main directory and the extension directory has been removed. This simplifies the distribution. 8. The test suite has been improved, making it easier to run the entire suite with -M. Use `GAWK_TEST_ARGS=-M make check' to do so. 9. Profiling and pretty-printing output has been modified slightly so that functions are presented in a reasonable order with respect to the namespaces that contain them. 10. Several example programs in the manual have been updated to their modern POSIX equivalents. 11. A number of examples in doc/gawkinet.texi have been updated for current times. Thanks to Juergen Kahrs for the work. 12. Handling of Infinity and NaN values has been improved. 13. There has been a general tightening up of the use of const and of types. 14. The "no effect" lint warnings have been fixed up and now behave more sanely. 15. The manual has been updated with much more information about what is and is not a bug, and the changes in the gawk mailing lists. 16. The behavior of strongly-typed regexp constants when passed as the third argument to sub() or gsub() has been clarified in the code and in the manual. 17. Similar to item #4 above, division by zero is now fatal in MPFR mode, as it is in regular mode. 18. There have been numerous minor code cleanups and bug fixes. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.73 2020/08/24 07:52:03 wiz Exp $ d3 1 a3 1 DISTNAME= gawk-5.1.1 d28 1 @ 1.73 log @gawk: update to 5.1.0. Changes from 5.0.1 to 5.1.0 --------------------------- 1. The major version of the API is bumped to 3, something that should have happened at the 5.0.0 release but didn't. 2. A number of memory leak issues have been fixed. 3. Infrastructure upgrades: Bison 3.5.4, Texinfo 6.7, Gettext 0.20.1, Automake 1.16.2. 4. The indexing in the manual has been thoroughly revised, in particular making use of the facilities in Texinfo 6.7. That version (or newer) must be used to format the manual. 5. MSYS2 is now supported out-of-the-box by configure. 6. Several bugs have been fixed. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 2020/06/25 19:48:03 hauke Exp $ d3 1 a3 1 DISTNAME= gawk-5.1.0 d27 2 @ 1.72 log @Unbreak gawk on ppc Mac OS X 10.4 and earlier - the linker does not understand '-rpath'. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.71 2020/01/18 23:32:42 rillig Exp $ d3 1 a3 1 DISTNAME= gawk-5.0.1 a50 2 BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.10.36 @ 1.71 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 2019/10/08 14:19:42 ryoon Exp $ d35 5 @ 1.70 log @Update to 5.0.1 Changelog: Changes from 5.0.0 to 5.0.1 --------------------------- 1. A number of ChangeLog.1 files that were left out of the distribution have been restored. 2. Multiple syntax errors should no longer be able to cause a core dump. 3. Sandbox mode now disallows assigning new filename values in ARGV that were not there when gawk was invoked. 4. There are many small documentation improvements in the manual. 5. The new argument "no-ext" to --lint disables ``XXX is a gawk extension'' lint warnings. 6. Infrastructure upgrades: Bison 3.4. N. A number of bugs, some of them quite significant, have been fixed. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 2019/04/16 11:43:29 ryoon Exp $ d9 1 a9 1 HOMEPAGE= http://www.gnu.org/software/gawk/gawk.html @ 1.69 log @Update to 5.0.0 Changelog: Changes from 4.2.1 to 5.0.0 --------------------------- 1. Support for the POSIX standard %a and %A printf formats has been added. 2. The test infrastructure has been greatly improved, simplifying the contents of test/Makefile.am and making it possible to generate pc/Makefile.tst from test/Makefile.in. 3. The regex routines have been replaced with those from GNULIB, allowing me to stop carrying forward decades of changes against the original ones from GLIBC. 4. Infrastructure upgrades: Bison 3.3, Automake 1.16.1, Gettext 0.19.8.1, makeinfo 6.5. 5. The undocumented configure option and code that enabled the use of non-English "letters" in identifiers is now gone. 6. The `--with-whiny-user-strftime' configuration option is now gone. 7. The code now makes some stronger assumptions about a C99 environment. 8. PROCINFO["platform"] yields a string indicating the platform for which gawk was compiled. 9. Writing to elements of SYMTAB that are not variable names now causes a fatal error. THIS CHANGES BEHAVIOR. 10. Comment handling in the pretty-printer has been reworked almost completely from scratch. As a result, comments in many corner cases that were previously lost are now included in the formatted output. 11. Namespaces have been implemented! See the manual. One consequence of this is that files included with -i, read with -f, and command line program segments must all be self-contained syntactic units. E.g., you can no longer do something like this: gawk -e 'BEGIN {' -e 'print "hello" }' 12. Gawk now uses the locale settings for ignoring case in single byte locales, instead of hardwiring in Latin-1. 13. A number of bugs, some of them quite significant, have been fixed. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 2019/03/05 16:58:31 hauke Exp $ d3 1 a3 1 DISTNAME= gawk-5.0.0 @ 1.68 log @Back out dependency that options.mk already takes care of (thanks, leot@@). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2018/07/14 13:47:32 adam Exp $ d3 1 a3 1 DISTNAME= gawk-4.2.1 @ 1.67 log @Make the libreadline dependency explicit. @ text @a3 1 PKGREVISION= 1 a49 1 .include "../../devel/readline/buildlink3.mk" @ 1.66 log @gawk: updated to 4.2.1 Changes from 4.2.0 to 4.2.1 --------------------------- 1. Support for OS/2 has been brought up to date. This support was accidentally omitted from the initial 4.2 release, for which we apologize. 2. The manual received a number of updates to make it format better for PDF. 3. A new configure option, --enable-versioned-dir, causes the directory holding extensions to include the API version in its name. 4. extension/configure.ac has been improved considerably. 5. In MPFR mode, When ROUNDMODE changes, string values for numerically type values will be redone. 6. The various 'inplace' tests now pass on modern BSD systems. 7. A number of bugs, some of them quite significant, have been fixed. See the ChangeLog for details. Changes from 4.1.4 to 4.2.0 --------------------------- 1. If not in POSIX mode, changes to ENVIRON are reflected into gawk's environment, affecting any programs run by system() or for piped redirections. This can also affect built-in routines, such as mktime(), which is typically influenced by the TZ environment variable. 2. The series of numbers returned by rand() should now be "more random" than previously. Gawk's rand() remains repeatable; you will get the same series of numbers each time you call rand() repeatedly, but this will be a different series than previously. 3. Multiple changes related to the pretty printer: * The --pretty-print option no longer runs the program too. * Pretty printing now preserves comments and places them into the pretty-printed file. * Pretty-printing now uses the original text of constant numeric values for pretty-printing and profiling. * Pretty-printing now preserves parenthesized expressions as they were in the source file. This solves several niggling corner cases with such things. 4. The igawk script and igawk.1 man page are no longer installed by `make install'. They have been obsolete since gawk 4.0.0. 5. Gawk can now be built with CMake. This is an alternative build system for those who may want it; gawk is not going to switch off use of the autotools anytime soon, if ever. 6. Gawk now processes a maximum of two hexadecimal digits in \x escape sequences inside strings. 7. Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O errors for "redirection" not fatal, setting ERRNO. Setting PROCINFO["NONFATAL"] makes all I/O nonfatal. See the manual. 8. MirBSD is no longer supported. 9. `make install' now installs shell startup files $sysconfdir/profile.d/gawk.{csh,sh} containing shell functions to manipulate the AWKPATH and AWKLIBPATH environment variables. On a Fedora system, these files belong in /etc/profile.d, but the appropriate location may be different on other platforms. 10. Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"]; see the manual. 11. The C API has undergone changes that break binary compatibility with the previous version. Thus the API version is now at 2.0. YOU WILL NEED TO RECOMPILE YOUR EXTENSIONS to work with this version of gawk. Source code compatibility remains intact, although you will get compiler warnings if you do not revise your extensions. We strongly recommend that you do so. Fortunately, the changes are fairly minor and straightforward. See the manual for the new features. 12. Revisions in the POSIX standard remove the special case for POSIX mode when FS = " " where newline was not a field separator. The code and doc have been updated. 13. Gawk now supports strongly typed regexp constants. Such constants look like @@/.../. You can assign them to variables, pass them to functions, use them in ~, !~ and the case part of a switch statement. More details are provided in the manual. 14. The new typeof() function can be used to indicate if a variable or array element is an array, regexp, string or number. 15. As promised when 4.1 was released, the old extension mechanism, using the `extension' function, is now gone. 16. Support for GNU/Linux on Alpha systems has been removed. 17. Optimizations are now enabled by default. Use the new -s/--no-optimize option(s) to disable them. Pretty-printing and profiling automatically disable optimizations so that the output program is the same as the original input program. 18. Gawk now uses fwrite_unlocked if it's available. This yields a 7% - 18% improvement in raw output speed (gawk '{ print }' on a large file). 19. Passing negative operands to any of the bitwise functions now produces a fatal error. 20. Programs that toggle IGNORECASE a lot should now be noticeably faster. 21. The mktime function now accepts an optional second argument. If this argument is present and is non-zero or non-null, the time will be converted from UTC instead of from the local timezone. 22. The FIELDWIDTHS parsing syntax has been enhanced to allow specifying how many characters to skip before a field starts. It also allows specifying '*' as the last character to mean "the rest of the record". Field splitting with FIELDWIDTHS now sets NF correctly. The documentation for FIELDWIDTHS in the manual has been considerably reorganized and improved as well. 23. The PROCINFO["argv"] array records all of gawk's command line arguments as gawk received them (the values of the C level argv array). 24. The DJGPP port has been revived and now has an official maintainer. 25. The manual has been translated into Italian! The translation is included in the distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2018/01/28 16:24:13 wiz Exp $ d4 1 d51 1 @ 1.65 log @recursive bump after mpfr shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2017/01/14 01:03:39 ryoon Exp $ d3 1 a3 2 DISTNAME= gawk-4.1.4 PKGREVISION= 1 @ 1.64 log @Update to 4.1.4 Changelog: Changes from 4.1.3 to 4.1.4 --------------------------- 1. Updated to GNU autoconf 2.69, automake 1.15, gettext 0.19.7, texinfo 6.1, texinfo.tex 2016-02-05.07, libtool 2.4.6. 2. z/OS support updated. 3. At the beginning of each statement, the debugger now checks and reports watchpoints that have fired before checking for breakpoints. This gives more natural behavior to the user. 4. The "exit" command has been added to the debugger as an alias for "quit". 5. AIX 7.1 should pass the test suite now. Similar for Minix. 6. VMS support has been updated. 7. The profiler / pretty-printer now chains else-if statements instead of causing cascading elses. 8. The return value of system() has been enhanced to convey more information. See the doc. 9. Attempting to write to the "to" end of a two-way pipe that has been closed is now a fatal error. Similarly, so is reading from the "from" end that has been closed. 10. MinGW support has been updated. 11. The -d option now allows -d- to print to standard output. 12. Error messages for --help and in other instances should now get translated correctly. 13. A new environment variable GAWK_LOCALE_DIR may be set to locate the .mo file for gawk itself. 14. The DJGPP port is now officially deprecated. 15. A number of bugs have been fixed. See the ChangeLog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2015/05/28 06:35:25 wiz Exp $ d4 1 @ 1.63 log @Update to 4.1.3: Changes from 4.1.2 to 4.1.3 --------------------------- 1. Regexp parsing with extra brackets should now be working again. There are several new tests to keep this stuff on track. 2. Updated to latest config.guess and config.sub. 3. A (small) number of bugs have been fixed. See the ChangeLog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2015/05/01 02:02:40 wen Exp $ d3 1 a3 1 DISTNAME= gawk-4.1.3 @ 1.62 log @Update to 4.1.2 Upstream changes: Changes from 4.1.1 to 4.1.2 --------------------------- 1. The manual has been considerably improved. - Thoroughly reviewed and updated. - Out-of-date examples replaced. - Chapter 15 on MPFR reworked. - Summary sections added to all chapters. - Exercises added in several chapters. - Heavily proof-read and copyedited. 2. The debugger's "restart" command now works again. 3. Redirected getline is now allowed inside BEGINFILE/ENDFILE. 4. A number of bugs have been fixed in the MPFR code. 5. Indirect function calls now work for both built-in and extension functions. 6. Built-in functions are now included in FUNCTAB. 7. POSIX and historical practice require the exclusive use of the English alphabet in identifiers. In non-English locales, it was accidentally possible to use "letters" beside those of the English alphabet. This has been fixed. (isalpha and isalnum are NOT our friends.) If you feel that you must have this misfeature, use `configure --help' to see what option to use when configuring gawk to reenable it. 8. The "where" command has been added to the debugger as an alias for "backtrace". This will make life easier for long-time GDB users. 9. Gawk no longer explicitly checks the current directory after doing a path search of AWKPATH. The default value continues to have "." at the front, so most people should not be affected. If you have your own AWKPATH setting, be sure to put "." in it somewhere. The documentation has been updated and clarified. 10. Infrastructure upgrades: Automake 1.15, Gettext 0.19.4, Libtool 2.4.6, Bison 3.0.4. 11. If a user-defined function has a parameter with the same name as another user-defined function, it is no longer possible to call the second function from inside the first. 12. POSIX requires that the names of function parameters not be the same as any of the special built-in variables and also not conflict with the names of any functions. Gawk has checked for the former since 3.1.7. With --posix, it now also checks for the latter. 13. The test suite should check for necessary locales and skip the tests where it matters if support isn't what it should be. 14. Gawk now expects to be compiled on a system with multibyte character support. Systems without such support, at least at the C language level, are so obsolete as to not be worth supporting anymore. 15. A number of bugs have been fixed. See the ChangeLog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2014/10/09 14:06:38 wiz Exp $ d3 1 a3 1 DISTNAME= gawk-4.1.2 @ 1.61 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2014/06/06 23:24:10 ryoon Exp $ d3 1 a3 1 DISTNAME= gawk-4.1.1 @ 1.60 log @Update to 4.1.1 Changelog: Changes from 4.1.0 to 4.1.1 --------------------------- 1. The "stat" extension now includes a "devbsize" element which indicates the units for the "nblocks" element. 2. The extension facility now works on MinGW. Many of the extensions can be built and used directly. 3. A number of bugs in the pretty-printing / profiling code have been fixed. 4. Sockets and two-way pipes now work under MinGW. 5. The debugger now lists source code correctly under Cygwin. 6. Configuration and building with the Mac OS X libreadline should work now. 7. The -O option now works again. 8. The --include option, documented since 4.0, now actually works. 9. Infrastructure updated to automake 1.13.4, bison 3.0.2, and libtool 2.4.2.418. 10. The configure script now accepts a --disable-extensions option, which disables checking for and building the extensions. 11. The VMS port has been considerably improved. In particular config.h is now generated by a DCL script. Also, the extension facility works and several of the extensions can be built and used. Currently, the extension facility only works on Alpha and Itanium. 12. The API now provides functions pointers for malloc(), calloc(), realloc() and free(), to insure that the same memory allocation functions are always used. This bumps the minor version by one. 13. The printf quote flag now works correctly in locales with a different decimal point character but without a thousands separator character. If the thousands separator is a string, it will be correctly added to decimal numbers. 14. The readfile extension now has an input parser that will read whole files as a single record. 15. A number of bugs have been fixed. See the ChangeLog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2014/02/05 20:25:09 wiz Exp $ a14 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.59 log @Install extension man pages with the extension "3am" into "man3am" instead of "man3". Otherwise, time.3am shadows time.3. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2013/12/15 09:42:14 richard Exp $ d3 1 a3 2 DISTNAME= gawk-4.1.0 PKGREVISION= 2 @ 1.58 log @Add missing tools 'msgmerge xgettext' and missing dependencies 'gmp mpfr'. Resolve build warning in getopt.c for SunOS and make sure all the tests pass with a fix to 'readdir' test invocation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2013/10/19 19:47:39 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 1 d41 1 a41 1 .endif @ 1.57 log @Fix build on MirBSD. The gawk developers added code to skip building the extensions on MirBSD but inserted a syntax error. Also skip the extensions in the PLIST on MirBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2013/07/15 02:02:23 ryoon Exp $ d4 1 d20 1 a20 1 USE_TOOLS+= msgfmt d52 2 @ 1.56 log @* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2013/05/15 11:55:20 adam Exp $ d37 5 @ 1.56.2.1 log @Pullup ticket #4247 - requested by bsiegert lang/gawk: build fix Revisions pulled up: - lang/gawk/Makefile 1.57 - lang/gawk/PLIST 1.20 - lang/gawk/distinfo 1.25 - lang/gawk/patches/patch-extension_configure 1.1 --- Module Name: pkgsrc Committed By: bsiegert Date: Sat Oct 19 19:47:39 UTC 2013 Modified Files: pkgsrc/lang/gawk: Makefile PLIST distinfo Added Files: pkgsrc/lang/gawk/patches: patch-extension_configure Log Message: Fix build on MirBSD. The gawk developers added code to skip building the extensions on MirBSD but inserted a syntax error. Also skip the extensions in the PLIST on MirBSD. @ text @d1 1 a1 1 # $NetBSD$ a36 5 PLIST_VARS+= extension .if "${OPSYS}" != "MirBSD" PLIST.extension= yes .endif @ 1.55 log @Changes from 4.0.2 to 4.1.0 --------------------------- 1. The three executables gawk, pgawk, and dgawk, have been merged into one, named just gawk. As a result: * The -R option is gone * Use -D to run the debugger. An optional file argument is a list of commands to run first. * Use -o to do pretty-printing only. * Use -p to do profiling. This considerably reduces gawk's "footprint" and eases the documentation burden as well. 2. Gawk now supports high precision arithmetic with MPFR. The default is still double precision, but setting PREC changes things, or using the -M / --bignum options. This support is not compiled in if the MPFR library is not available. 3. The new -i option (from xgawk) is used for loading awk library files. This differs from -f in that the first non-option argument is treated as a script. 4. The new -l option (from xgawk) is used for loading dynamic extensions. 5. The dynamic extension interface has been completely redone! There is now a defined API for C extensions to use. A C extension acts like a function written in awk, except that it cannot do everything that awk code can. However, this allows interfacing to any facility that is available from C. This is a major development, see the doc, which has a nice shiny new chapter describing everything. This support is not compiled in if dynamic loading of shared libraries is not supported. The old extension mechanism is still supported for compatiblity, but it will most definitely be removed at the next major release. 6. The "inplace" extension, built using the new facility, can be used to simulate the GNU "sed -i" feature. 7. The and(), or() and xor() functions now take any number of arguments, with a minimum of two. 8. New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows indirect access to any defined variable or array; it is possible to "walk" the symbol table, if that should be necessary. 9. Support for building gawk with a cross compiler has been improved. 10. Infrastructure upgrades: bison 2.7.1, gettext 0.18.2.1, automake 1.13.1, libtool 2.4.2 for the extensions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2013/01/31 22:01:43 adam Exp $ a18 1 USE_GNU_READLINE= yes @ 1.54 log @Changes 4.0.2: 1. Infrastructure upgrades: Autoconf 2.69, Automake 1.12.6, bison 2.7. 2. `fflush()', `nextfile', and `delete array' are all now part of POSIX. 3. fflush() behavior changed to match BWK awk and for POSIX - now both fflush() and fflush("") flush all open output redirections. 4. Various minor bug fixes and documentation updates. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2012/12/31 00:27:36 sbd Exp $ d3 1 a3 1 DISTNAME= gawk-4.0.2 d19 1 d41 2 a42 2 ${LN} -s ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk ${LN} -s ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1 @ 1.53 log @Use ${PKGGNUDIR} and ${PKGMANDIR} in INSTALLATION_DIRS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2012/12/06 11:42:05 jperkin Exp $ d3 1 a3 2 DISTNAME= gawk-4.0.1 PKGREVISION= 2 a16 1 GNU_CONFIGURE= yes d20 1 @ 1.52 log @Add PKGGNUDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2012/10/02 20:11:40 asau Exp $ d38 1 a38 1 INSTALLATION_DIRS+= gnu/bin gnu/man/man1 @ 1.51 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2012/06/15 00:32:27 sbd Exp $ d41 2 a42 2 ${LN} -s ../../bin/gawk ${DESTDIR}${PREFIX}/gnu/bin/awk ${LN} -s ../../../man/man1/gawk.1 ${DESTDIR}${PREFIX}/gnu/man/man1/awk.1 @ 1.50 log @Add readline option. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2012/06/15 00:29:27 sbd Exp $ a16 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.49 log @Move pkg options to options.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2012/05/31 10:44:30 fhajny Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.48 log @Install a prefix-less symlink for 'awk' into ${PREFIX}/gnu/bin. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2012/05/29 14:16:24 wiz Exp $ d33 1 a33 8 PKG_OPTIONS_VAR= PKG_OPTIONS.gawk PKG_SUPPORTED_OPTIONS= portals .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mportals) CONFIGURE_ARGS+= --enable-portals .endif @ 1.47 log @Update to 4.0.1: Changes from 4.0.0 to 4.0.1 --------------------------- 1. The default handling of backslash in sub() and gsub() has been reverted to the behavior of 3.1. It was silly to think I could break compatibility that way, even for standards compliance. 2. Completed the implementation of Rational Range Interpretation. 3. Failure to get the group set is no longer a fatal error. 4. Lots of minor bugs fixed and portability clean-ups along the way. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2012/03/17 03:16:20 wiz Exp $ d4 1 d46 6 @ 1.46 log @Update to 4.0. Provided by Sergey Litvinov on pkgsrc-users. Changes: Changes from 3.1.8 to 4.0.0 --------------------------- 1. The special files /dev/pid, /dev/ppid, /dev/pgrpid and /dev/user are now completely gone. Use PROCINFO instead. 2. The POSIX 2008 behavior for `sub' and `gsub' are now the default. THIS CHANGES BEHAVIOR!!!! 3. The \s and \S escape sequences are now recognized in regular expressions. 4. The split() function accepts an optional fourth argument which is an array to hold the values of the separators. 5. The new -b / --characters-as-bytes option means "hands off my data"; gawk won't try to treat input as a multibyte string. 6. There is a new --sandbox option; see the doc. 7. Indirect function calls are now available. 8. Interval expressions are now part of default regular expressions for GNU Awk syntax. 9. --gen-po is now correctly named --gen-pot. 10. switch / case is now enabled by default. There's no longer a need for a configure-time option. 11. Gawk now supports BEGINFILE and ENDFILE. See the doc for details. 12. Directories named on the command line now produce a warning, not a fatal error, unless --posix or --traditional. 13. The new FPAT variable allows you to specify a regexp that matches the fields, instead of matching the field separator. The new patsplit() function gives the same capability for splitting. 14. All long options now have short options, for use in `#!' scripts. 15. Support for IPv6 is added via the /inet6/... special file. /inet4/... forces IPv4 and /inet chooses the system default (probably IPv4). 16. Added a warning for /[:space:]/ that should be /[[:space:]]/. 17. Merged with John Haque's byte code internals. Adds dgawk debugger and possibly improved performance. 18. `break' and `continue' are no longer valid outside a loop, even with --traditional. 19. POSIX character classes work with --traditional (BWK awk supports them). 20. Nuked redundant --compat, --copyleft, and --usage long options. 21. Arrays of arrays added. See the doc. 22. Per the GNU Coding Standards, dynamic extensions must now define a global symbol indicating that they are GPL-compatible. See the documentation and example extensions. THIS CHANGES BEHAVIOR!!!! 23. In POSIX mode, string comparisons use strcoll/wcscoll. THIS CHANGES BEHAVIOR!!!! 24. The option for raw sockets was removed, since it was never implemented. 25. Gawk now treats ranges of the form [d-h] as if they were in the C locale, no matter what kind of regexp is being used, and even if --posix. The latest POSIX standard allows this, and the documentation has been updated. Maybe this will stop all the questions about [a-z] matching uppercase letters. THIS CHANGES BEHAVIOR!!!! 26. PROCINFO["strftime"] now holds the default format for strftime(). 27. Updated to latest infrastructure: Autoconf 2.68, Automake 1.11.1, Gettext 0.18.1, Bison 2.5. 28. Many code cleanups. Removed code for many old, unsupported systems: - Atari - Amiga - BeOS - Cray - MIPS RiscOS - MS-DOS with Microsoft Compiler - MS-Windows with Microsoft Compiler - NeXT - SunOS 3.x, Sun 386 (Road Runner) - Tandem (non-POSIX) - Prestandard VAX C compiler for VAX/VMS - Probably others that I've forgotten 29. If PROCINFO["sorted_in"] exists, for(iggy in foo) loops sort the indices before looping over them. The value of this element provides control over how the indices are sorted before the loop traversal starts. See the manual. 30. A new isarray() function exists to distinguish if an item is an array or not, to make it possible to traverse multidimensional arrays. 31. asort() and asorti() take a third argument specifying how to sort. See the doc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2011/04/22 13:43:59 obache Exp $ d3 1 a3 1 DISTNAME= gawk-4.0.0 d6 1 a6 1 EXTRACT_SUFX= .tar.bz2 @ 1.45 log @recursive bump from gettext-lib shlib bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2010/12/02 14:44:04 wiz Exp $ d3 1 a3 2 DISTNAME= gawk-3.1.8 PKGREVISION= 1 d25 1 a25 1 MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q} @ 1.44 log @Update to 3.1.8: Changes from 3.1.7 to 3.1.8 --------------------------- 1. The zero flag no longer applies to %c and %s; apparently the standards changed at some point. 2. Updated to latest infrastructure: Autoconf 2.65, Automake 1.11.1, libtool 2.2.6b, Bison 2.4.2. 3. Failure to open a socket is no longer a fatal error. 4. dfa.h and dfa.c are now more-or-less in sync with GNU grep, for the first time in many years. 5. Gawk no longer includes its own copy of libsigsegv but it will use it if installed on the build system. The --disable-libsigsegv configure option is now gone. 6. The ' flag (%'d) is now just ignored on systems that can't support it. 7. Lots of bug fixes, see the ChangeLog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2009/12/20 23:03:15 tnn Exp $ d4 1 @ 1.43 log @Compile with -D_OSF_SOURCE on Tru64. Closes PR pkg/42476. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2009/09/23 18:23:05 tron Exp $ d3 1 a3 1 DISTNAME= gawk-3.1.7 @ 1.42 log @Fix build problem for Mac OS X Snow Leopard 64-Bit ABI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2009/08/12 18:07:15 abs Exp $ d28 1 @ 1.41 log @Add USE_LIBTOOL=yes - thanks tnn@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2009/08/09 11:35:47 tron Exp $ d40 4 @ 1.40 log @Set license to "gnu-gpl-v3". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2009/08/08 16:23:48 wiz Exp $ d19 1 @ 1.39 log @Update to 3.1.7: Changes from 3.1.6 to 3.1.7 --------------------------- 1. Gawk now has support for z/OS (IBM S/390 architecture). 2. Gawk now handles multibyte strings better in [s]printf with field widths and such. 3. Gawk now uses libsigsegv to print a message before core dumping. This handles infinite recursion of an awk function a little better. Use of the library can be disabled at configure time with the --disable-libsigsegv option for unusual systems. 4. The handling of BINMODE is now somewhat more sane. 5. A getline from a directory is no longer fatal; instead it returns -1. 6. Per POSIX, special variable names (like FS) cannot be used as function parameter names. 7. The new -O / --optimize option enables simple constant folding on the parse tree during parsing. We hope that with time the number of optimizations will increase. 8. Updated to the latest autotools: Autoconf 2.63, Automake 1.11, Libtool 2.2.6a, and Gettext 0.17. Also latest Bison: 2.4.1. 9. Some improvement in testing for isinf / isnan in builtin.c. 10. Improved the handling of `a = a b c' to be more general. 11. Locale handling for %'d should now work on certain non-Unix / non-Linux systems. 12. Lots of bugs fixed, see the ChangeLog for the details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2007/11/02 07:17:59 adam Exp $ d11 1 @ 1.38 log @Changes 3.1.6: 1. `gawk 'program' /non/existant/file' no longer core dumps. 2. gawk now only uses the locale's decimal point 3. `gawk -v BINMODE=1 ...' works again. 4. Internal file names like `/dev/user' now work again. (Note that these file names are obsolete and will go away eventually.) 5. Problems with wide strings in non "C" locales have been straightened out everywhere. (At least, we think so.) 6. Use of `ansi2knr' is no longer supported. Please use an ANSI C compiler. 7. Updated to Autoconf 2.61, Automake 1.10, and Gettext 0.16.1. 8. The getopt* and regex* files were synchronized with current GLIBC CVS. See the ChangeLog for the versions and minor edits made. 9. There are additional --lint-old warnings. 10. Gawk now uses getaddrinfo(3) to look up names and IP addresses. This allows the use of an IPv6 format address and paves the way for eventual addition of `/inet6/...' and `/inet4/...' hostnames. 11. We believe gawk to now be valgrind clean. At least when run against the test suite. 12. A number of issues dealing with the formatting and printing of very large numbers in integer formats have been dealt with and fixed. 13. Gawk now converts "+inf", "-inf", "+nan" and "-nan" into the corresponding magic IEEE floating point values. Only those strings (case independent) work. With --posix, gawk calls the system strtod directly. You asked for it, you got it, you deal with it. 14. Defining YYDEBUG enables the -D command line option. 15. Gawk should now work out of the box on Tandem NSK/OSS systems. 16. Lint messages rationalized: many more of the messages are now printed only once, instead of every time they are encountered. 17. The strftime() function now accepts an optional third argument, which if non-zero or non-null, indicates that the time should be formatted as UTC instead of as local time. 18. The precedence of concatenation and `| getline' (in something like "echo " "date" | getline stuff) has been reverted to the earlier behavior and now once again matches Unix awk. 19. New configure time flag --disable-directories-fatal which causes gawk to silently skip directories on the command line. This behavior is also enabled for --traditional, since it's what Unix awk does. 20. A new option, --use-lc-numeric, forces use of the locale's decimal point without the rest of the draconian restrictions imposed by --posix. This softens somewhat the stance taken in item 2. 21. Everything relevant has been updated to the GPL 3. 22. Array growth should be faster now, at no cost in space. 23. Lots more tests. 24. One new translation. 25. Various bugs fixed, see the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2007/09/06 19:56:16 joerg Exp $ d3 1 a3 1 DISTNAME= gawk-3.1.6 @ 1.37 log @Supports DESTDIR installation. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.36 2006/07/06 13:14:01 joerg Exp $ # d3 1 a3 2 DISTNAME= gawk-3.1.5 PKGREVISION= 1 d21 1 a21 1 INFO_FILES= # PLIST @ 1.36 log @Needs msgfmt. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2006/04/06 06:22:11 reed Exp $ d17 1 @ 1.35 log @Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2006/03/30 03:44:43 jlam Exp $ d20 1 @ 1.35.2.1 log @Pullup ticket 1728 - requested by joerg build fix for gawk Revisions pulled up: - pkgsrc/lang/gawk/Makefile 1.36 Module Name: pkgsrc Committed By: joerg Date: Thu Jul 6 13:14:01 UTC 2006 Modified Files: pkgsrc/lang/gawk: Makefile Log Message: Needs msgfmt. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2006/07/06 13:14:01 joerg Exp $ a19 1 USE_TOOLS+= msgfmt @ 1.34 log @* Honor PKGINFODIR. * List the info files directly in the PLIST. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2006/02/05 23:09:44 joerg Exp $ d38 1 a38 1 BUILDLINK_DEPENDS.gettext+= gettext-lib>=0.10.36 @ 1.33 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2005/12/05 20:50:25 rillig Exp $ d21 1 a21 2 INFO_FILES= gawk.info gawkinet.info @ 1.32 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2005/09/05 16:58:22 wiz Exp $ d5 1 @ 1.31 log @Update to 3.1.5: Changes from 3.1.4 to 3.1.5 --------------------------- 1. The random() suite has been updated to a current FreeBSD version, which works on systems with > 32-bit ints. 2. A new option, `--exec' has been added. It's like -f but ends option processing. It also disables `x=y' variable assignments, but not -v. It's needed mainly for CGI scripts, so that source code can't be passed in as part of the URL. 3. dfa.[ch] have been synced with GNU grep development. This also fixes multiple regex matching problems in multibyte locales. 4. Updated to Automake 1.9.5. 5. Updated to Bison 2.0. 6. The getopt* and regex* files were synchronized with current GLIBC CVS. See the ChangeLog for the versions and minor edits made. 7. `configure --disable-nls' now disables just gawk's own translations. Gawk continues to work with the locale's numeric formatting. This includes a bug fix in handling the printf ' flag (e.g., %'d). 8. Gawk is now multibyte aware. This means that index(), length(), substr() and match() all work in terms of characters, not bytes. 9. Gawk is now smarter about parsing numeric constants in corner cases. 11. Not closing open redirections no longer causes gawk to exit non-zero. 10. The VMS port has been updated. 11. Changes from Andrew Schorr at the xmlgawk project to provide for open hooks from extensions are now included. This will let the xmlgawk extension work in the standard gawk. 12. Updated to gettext 0.14.4. Gawk no longer includes its own copy of the gettext `intl' library, following current GNU practice to rely on there being an external version thereof. 13. A regexp of the form `//' will now generate a warning that it is not a C++ comment from --lint (awk.y). 14. The ^ and ^= operators with an integer exponent now use Exponentiation by Squaring. This simultaneously fixes a problem with ^= and a negative integer exponent. 15. length(array) now returns the number of elements in the array. This is is a non-standard extension that will fail in POSIX mode. 16. Carriage return characters are now ignored in program source code. 17. Four new translations added. 18. Various minor bugs fixed. See the ChangeLog for the details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2005/07/13 15:21:57 jschauma Exp $ d23 1 a23 1 MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" @ 1.30 log @Add -lgen to IRIX's LDFLAGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2005/05/31 10:01:37 dillo Exp $ d4 1 a4 2 DISTNAME= gawk-3.1.4 PKGREVISION= 2 d17 2 a18 3 GNU_CONFIGURE= # defined USE_PKGLOCALEDIR= # defined TEST_DIRS= ${WRKSRC} a30 1 PKG_OPTIONS_LEGACY_VARS+= GAWK_ENABLE_PORTALS:portals @ 1.29 log @Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2005/04/11 21:46:13 tv Exp $ d27 2 @ 1.28 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2005/01/30 05:34:16 minskim Exp $ a28 4 .if !empty(GAWK_ENABLE_PORTALS:M[Yy][Ee][Ss]) PKG_DEFAULT_OPTIONS+= portals .endif d31 1 @ 1.27 log @Fix two bugs in gawk bracket handling under UTF-8 locale. Patches borrowed from Debian. Reported by Hiramatsu Yoshifumi and Kibum Han on tech-pkg@@. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2004/10/14 03:24:21 minskim Exp $ a17 1 USE_BUILDLINK3= yes @ 1.26 log @Enable pkgviews installation. This closes PR pkg/26104. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2004/10/14 03:20:20 minskim Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.25 log @This package requires ngettext(), which is provided by gettext-lib>=0.10.36. Set BUILDLINK_DEPENDS.gettext accordingly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2004/10/03 00:15:00 tv Exp $ d16 2 @ 1.24 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2004/08/26 00:00:20 wiz Exp $ d41 2 @ 1.23 log @Update to 3.1.4, convert to bsd.options.mk: Changes from 3.1.3 to 3.1.4 --------------------------- 1. Gawk now supports the POSIX %F format, falling back to %f if the local system printf doesn't handle it. 2. Gawk now supports the ' flag in printf. E.g., %'d in a locale with thousands separators includes the thousands separator in the value, e.g. 12,345. This has one problem; the ' flag is next to impossible to use on the command line, without major quoting games. Oh well, TANSTAAFL. 3. The dfa code has been reinstated; the performance degradation was just too awful. Sigh. (For fun, use `export GAWK_NO_DFA=1' to see the difference.) 4. The special case `x = x y' is now recognized in the grammar, and gawk now uses `realloc' to append the new value to the end of the existing one. This can speed up the common case of appending onto a string. 5. The dfa code was upgraded with most of the fixes from grep 2.5.1, and the regex code was upgraded with GLIBC as mid-January 2004. The regex code is faster than it was, but still not as fast as the dfa code, so the dfa code stays in. The getopt code was also synced to current GLIBC. 6. Support code upgraded to Automake 1.8.5, Autoconf 2.59, and gettext 0.14.1. 7. When --posix is in effect, sub/gsub now follow the 2001 POSIX behavior. Yippee. This is even documented in the manual. 8. Gawk will now recover children that have died (input pipelines, two-way pipes), upon detecting EOF from them, thus avoiding filling up the process table. Open file descriptors are not recovered (unfortunately), since that could break awk semantics. See the ChangeLog and the source code for the details. 9. Handling of numbers like `0,1' in non-American locales ought to work correctly now. 10. IGNORECASE is now locale-aware for characters with values above 128. The dfa matcher is now used for IGNORECASE matches too. 11. Dynamic function loading is better. The documentation has been improved and some new APIs for use by dynamic functions have been added. 12. Gawk now has a fighting chance of working on older systems, a la SunOS 4.1.x. 13. Issues with multibyte support on HP-UX are now resolved. `configure' now disables such support there, since it's not up to what gawk needs. 14. There are now even more tests in the test suite. 15. Various bugs fixed; see ChangeLog for the details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2004/04/25 07:15:51 snj Exp $ d5 1 @ 1.22 log @Convert to buildlink3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2003/12/17 15:11:03 sketch Exp $ d4 1 a4 1 DISTNAME= gawk-3.1.3 d27 10 a36 2 BUILD_DEFS+= GAWK_ENABLE_PORTALS .if ${GAWK_ENABLE_PORTALS} == "YES" @ 1.21 log @Remove the dependancy on GNU make, which should be unnecessary. This package would previously fail to build if devel/gmake wasn't already installed due to the circular dependancy prevention logic in tools.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2003/10/06 06:57:40 wiz Exp $ d15 1 a15 1 USE_BUILDLINK2= # defined d32 1 a32 1 .include "../../devel/gettext-lib/buildlink2.mk" @ 1.20 log @Use .tar.bz2 distfile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2003/10/05 15:49:06 wiz Exp $ a15 1 USE_GMAKE= # defined @ 1.19 log @Update to 3.1.3. Changes from 3.1.2 to 3.1.3 --------------------------- 1. Gawk now follows POSIX in handling of local numeric formats for input, output and number/string conversions. 2. Multibyte detection improved. See README_d/README.multibyte for more info about multibyte locales. 3. Handling of `close' made more POSIX-compliant for POSIXLY_CORRECT, see the documentation. 4. The record reading code was redone, again. This time it's much better. Really! 5. For RS = "\n" and RS = "", gawk now only sets RT when it has changed. This provides considerable performance improvement. 6. `match' now sets all the subscripts in the third argument array correctly, even if not all subexpressions matched. 7. Updated to Automake 1.7.5. configure.in renamed configure.ac. 8. C-style switch statements are available, but must be enabled at compile time via `configure --enable-switch'. For 3.2 they'll be enabled by default. Thanks to Michael Benzinger for the initial code. 9. %c now always prints no more than one character, whatever precision is provided. 10. strtonum() now works again. 11. Gawk is now much better about scalar/array typing of global uninitiailzed variables passed as parameters. Once the parameter is then used one way or the other, the global var's type is adjusted accordingly. Thanks to Stepan Kasal for the original (considerable) changes. 12. Dynamic function loading under Windows32 should now be possible. See README_d/README.pcdynamic. Thanks to Patrick T.J. McPhee for the changes. 13. Updated to gettext 0.12.1. 14. Gawk now follows historical practice and POSIX for the return value of `rand': It's now 0 <= N < 1. Changes from 3.1.1 to 3.1.2 --------------------------- 1. Loops of the form: for (iggy in foo) next no longer leak memory. 2. gawk -v FIELDWIDTHS="..." now sets PROCINFO["FS"] correctly. 3. All builtin operations and functions should now fully evaluate their arguments so that side effects take place correctly. 4. Fixed a logic bug in gsub/gensub for matches to null strings that occurred later in the string after a nonnull match. 5. getgroups code now works on Ultrix again. 6. Completely new version of the full GNU regex engine now in place. 7. Argument parsing and variable assignment has been cleaned up. 8. An I/O bug on HP-UX has been documented and worked around. See README_d/README.hpux. 9. awklib/grcat should now compile correctly. 10. Updated to automake 1.7.3, autoconf 2.57 and gettext 0.11.5 ; thanks to Paul Eggert for the initial automake and autoconf work. 11. As a result of #6, removed the use of the dfa code from GNU grep. 12. It is now possible to use ptys for |& two-way pipes instead of pipes. The basic plumbing for this was provided by Paolo Bonzini. To make this happen: command = "unix command etc" PROCINFO[command, "pty"] = 1 print ... |& command command |& getline stuff In other words, set the element in PROCINFO *before* opening the two-way pipe, and then gawk will use ptys instead of pipes. On systems without ptys or where all the ptys are in use, gawk will fall back to using plain pipes. 13. Fixed a regex matching across buffer boundaries bug, with a heuristic. See io.c:rsre_get_a_record. 14. Profiling no longer dumps core if there are extension functions in place. 15. Grammar and scanner cleaned up, courtesy of Stepen Kasal, to hopefully once and for all fix the `/=' operator vs. `/=.../' regex ambiguity. Lots of other grammar simplifications applied, as well. 16. BINMODE should work now on more Windows ports. 17. Updated to bison 1.875. Includes fix to bisonfix.sed script. 18. The NODE structure is now 20% (8 bytes) smaller (on x86, anyway), which should help conserve memory. 19. Builds not in the source directory should work again. 20. Arrays now use 2 NODE's per element instead of three. Combined with #18, (on the x86) this reduces the overhead from 120 bytes per element to just 64 bytes: almost a 50% improvement. 21. Programs that make heavy use of changing IGNORECASE should now be much faster, particularly if using a regular expression for FS or RS. IGNORECASE now correctly affects RS regex record splitting, as well. 22. IGNORECASE no longer affects single-character field splitting (FS = "c"), or single-character record splitting (RS = "c"). This cleans up some weird behavior, and makes gawk better match the documentation, which says it only affects regex-based field splitting and record splitting. The documentation on this was improved, too. 23. The framework in test/ has been simplified, making it much easier to add new tests while keeping the size of Makefile.am reasonable. Thanks for this to Stepan Kasal. 24. --lint=invalid causes lint warnings only about stuff that's actually invalid. This needs additional work. 25. More translations. 26. The `get_a_record' routine has been revamped (currently by splitting it into three variants). This should improve long-term maintainability. 27. `match' now adds more entries to 3rd array arg: match("the big dog", /([a-z]+) ([a-z]+) ([a-z]+)/, data) fills in variables: data[1, "start"], data[1, "length"], and so on. 28. New `asorti' function with same interface as `asort', but sorts indices instead of values. 29. Documentation updated to FDL 1.2. 30. New `configure' option --disable-lint at compile time disables lint checking. With GCC dead-code-elimination, cuts almost 200K off the executable size on GNU/Linux x86. Presumably speeds up runtime. Using this will cause some of the tests in the test suite to fail. This option may be removed at a later date. 31. Various minor cleanups, see the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2003/08/09 12:30:52 seb Exp $ d7 1 @ 1.18 log @Remove some leftovers from older texinfo handling framework. @ text @d1 2 a2 2 # $NetBSD: Makefile,v 1.17 2003/08/09 10:59:08 seb Exp $ # FreeBSD Id: Makefile,v 1.13 1999/01/27 07:41:14 fenner Exp $ d4 1 a4 2 DISTNAME= gawk-3.1.1 PKGREVISION= 1 a13 3 # We need ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in. BUILD_DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext a17 1 EVAL_PREFIX+= GETTEXT_PREFIX=gettext a30 5 pre-configure: ${RM} -f ${WRKSRC}/po/Makefile.in.in ${CP} ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in \ ${WRKSRC}/po/Makefile.in.in @ 1.17 log @USE_NEW_TEXINFO is unnecessary now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2003/07/17 21:44:21 grant Exp $ a21 1 TEXINFO_OVERRIDE= # defined @ 1.16 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2003/07/13 13:52:20 wiz Exp $ a26 1 USE_NEW_TEXINFO= YES @ 1.15 log @PKGREVISION bump for libiconv update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2003/07/05 15:14:38 seb Exp $ d9 1 a9 1 MAINTAINER= bouyer@@netbsd.org @ 1.14 log @Mark these two packages as conflicting: they install info file, libexec commands and share files with the same pathnames. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2003/07/04 20:57:21 seb Exp $ d5 1 @ 1.13 log @Convert to USE_NEW_TEXINFO. While here fix a info directory entry in gawk.{texi,info}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2003/06/07 16:03:05 jmmv Exp $ d11 2 @ 1.12 log @Fix path to locale directory in patch files (i.e., do not hardcode /usr/pkg and use PKGLOCALEDIR's value). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2003/05/30 17:52:12 seb Exp $ d24 3 a41 1 .include "../../mk/texinfo.mk" @ 1.11 log @For the records add GAWK_ENABLE_PORTALS to the build definitions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2002/12/12 03:17:13 dmcmahill Exp $ d23 2 @ 1.10 log @update to gawk-3.1.1. While here, make this work again under NetBSD since this gawk version is newer than the version shipped with 1.6 and has some potentially useful features such as 2 way pipes which allow easy access to the sort(1) command. Changes from 3.1.0 to 3.1.1 --------------------------- 1. Six new translations. 2. Having more than 4 different value for OFMT and/or CONVFMT now works. 3. The handling of dynamic regexes is now more more sane, esp. w.r.t. the profiling code. The profiling code has been fixed in several places. 4. The return value of index("", "") is now 1. 5. Gawk should no longer close fd 0 in child processes. 6. Fixed test for strtod semantics and regenerated configure. 7. Gawk can now be built with byacc; an accidental bison dependency was removed. 8. yyerror() will no longer dump core on long source lines. 9. Gawk now correctly queries getgroups(2) to figure out how many groups the process has. 10. New configure option to force use of included strftime, e.g. on Solaris systems. See `./configure --help' for the details. Replaced the included strftime.c with the one from textutils. 11. OS/2 port has been updated. 12. Multi-byte character support has been added, courtesy of IBM Japan. 13. The `for (iggy in foo) delete foo[iggy]' -> `delete foo' optimisation now works. 14. Upgraded to gettext 0.11.2 and automake 1.5. 15. Full gettext compatibility (new dcngettext function). 16. The O'Reilly copyedits and indexing changes for the documentation have been folded into the texinfo version of the manuals. 17. A humongously long value for the AWKPATH environment variable will no longer dump core. 18. Configuration / Installation issues have been straightened out in Makefile.am. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/11/30 14:55:06 grant Exp $ d26 1 @ 1.9 log @USE_PKGLOCALEDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2002/10/22 23:53:25 jlam Exp $ d4 1 a4 1 DISTNAME= gawk-3.1.0 a11 2 ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system d16 1 d21 2 @ 1.8 log @buildlink1 -> buildlink2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2002/07/17 09:07:43 agc Exp $ d19 1 a20 1 MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} @ 1.7 log @Mark this package as only being for SunOS platforms again. The changes to get it to build on NetBSD are extensive - for reference, and the one who comes after me, they are: + awk.h defines "proc" in a cpp macro. This doesn't sit too well with "struct proc" references, as found in . The good news is that only awk.h and awkgram.y need to be modified to workaround this. + the present Makefile copying wrt gettext Makefile.in.in is unnecessary + automake is a pre-req of this package + and there is a problem in Makefile.in/configure with ${AUTOMAKE} not being defined properly and many, many more... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2002/04/04 13:58:26 seb Exp $ d14 2 a15 2 # this is a lie we only need ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in BUILD_USES_MSGFMT= YES d17 4 a20 4 GNU_CONFIGURE= yes USE_BUILDLINK_ONLY= YES TEXINFO_OVERRIDE= YES MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} d31 1 a31 1 ${CP} ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in \ d34 1 a34 1 .include "../../devel/gettext-lib/buildlink.mk" @ 1.6 log @Update to version 3.1.0 (lots of new features and bug fixes). Enable this package for all platforms. Added GAWK_ENABLE_PORTALS to mk/bsd.pkg.defaults.mk to enable/disable gawk handling file names that start with `/p/' as a 4.4 BSD type portal file. Changes from 3.0.4 to 3.0.5: - bug fix release only. Changes from 3.0.5 to 3.0.6: - bug fix release only. Changes from 3.0.6 to 3.1.0: - A new PROCINFO array provides info about the process. The non-I/O /dev/xxx files are now obsolete, and their use always generates a warning. - A new `mktime' builtin function was added for creating time stamps. The `mktime' function written in awk was removed from the user's guide. - New `--gen-po' option creates GNU gettext .po files for strings marked with a leading underscore. - Gawk now completely interprets special file names internally, ignoring the existence of real /dev/stdin, /dev/stdout files, etc. - The mmap code was removed. It was a worthwhile experiment that just didn't work out. - The BINMODE variable is new; on non-UNIX systems it affects how gawk opens files for text vs. binary. - Gawk no longer supports `next file' as two words. - On systems that support it, gawk now sets the `close on exec' flag on all files and pipes it opens. This makes sure that child processes run via system() or pipes have plenty of file descriptors available. - If `--posix' is in effect, newlines are not allowed after ?:. - Weird OFMT/CONVFMT formats no longer cause fatal errors. - Diagnostics about array parameters now include the parameter's name, not just its number. - It is now possible to open a two-way pipe via the `|&' operator. See the discussion in the manual about putting `sort' into such a pipeline, though. (NOTE! This is borrowed from ksh: it is not the same as the same operator in csh!) - The close() function now takes an optional second string argument that allows closing one or the other end of the two-way pipe to a co-process. This is needed to use `sort' in a co-process, see the doc. - If TCP/IP is available, special file names beginning with `/inet' can be used with `|&' for IPC. - With `--enable-portals' on the configure command line, gawk will also treat file names that start with `/p/' as a 4.4 BSD type portal file, i.e., a two-way pipe for `|&'. - Unrecognized escapes, such as "\q" now always generate a warning. - The LINT variable is new; it provides dynamic control over the --lint option. - Lint warnings can be made fatal by using --lint=fatal or `LINT = "fatal"'. Use this if you're really serious about portable code. - A number of lint warnings have been added. Most notably, gawk will detect if a variable is used before assigned to. Warnings for when a string that isn't a number gets converted to a number are in the code but disabled; they seem to be too picky in practice. Also, gawk will now warn about function parameter names that shadow global variable names. - It is now possible to dynamically add builtin functions on systems that support dlopen. This facility is not (yet) as portable or well integrated as it might be. *** WARNING *** THIS FEATURE WILL EVOLVE! - Profiling has been added! A separate version of gawk, named pgawk, is built and generates a run-time execution profile. The --profile option can be used to change the default output file. In regular gawk, this option pretty-prints the parse tree. - Gawk has been internationalized, using GNU gettext. Translations for future distributions are most welcome. - New asort() function for sorting arrays. See the doc for details. - The match function takes an optional array third argument to hold the text matched by parenthesized sub-expressions. - The bit op functions and octal and hex source code constants are on by default, no longer a configure-time option. Recognition of non-decimal data is now enabled at runtime with --non-decimal-data command line option. - Internationalization features available at the awk level: new TEXTDOMAIN variable and bindtextdomain() and dcgettext() functions. printf formats may contain the "%2$3.5d" kind of notation for use in translations. See the texinfo manual for details. - The return value from close() has been rationalized. Most notably, closing something that wasn't open returns -1 but remains non-fatal. - The array effeciency change from 3.0.5 was reverted; the semantics were not right. Additionally, index values of previously stored elements can no longer change dynamically. - The new option --dump-variables dumps a list of all global variables and their final types and values to a file you give, or to `awkvars.out'. - Gawk now uses a recent version of random.c courtesy of the FreeBSD project. - The gawk source code now uses ANSI C function definitions (new style), with ansi2knr to translate code for old compilers. - `for (iggy in foo)' loops should be more robust now in the face of adding/deleting elements in the middle; they loop over just the elements that are present in the array when the loop starts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2002/02/18 15:14:24 seb Exp $ d11 2 @ 1.5 log @Introduce new framework for handling info files generation and installation. Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2001/02/17 09:07:06 agc Exp $ d4 1 a4 1 DISTNAME= gawk-3.0.4 d12 2 a13 3 ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system INFO_FILES= gawk.info d16 15 d32 1 @ 1.4 log @Move the COMMENT from being in its own file to a definition in the package Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1999/12/13 09:25:10 agc Exp $ d18 1 @ 1.3 log @Fix a typo, and mark this package as being only for Solaris, since gawk is part of the standard NetBSD distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1999/12/12 21:19:04 bouyer Exp $ d10 1 @ 1.2 log @Category lang, not textproc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 1999/12/10 17:33:39 bouyer Exp $ d8 1 a8 1 MAINTAINER= bouyer@@@@netbsd.org d10 2 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1999/10/11 13:00:42 sakamoto Exp $ d5 1 a5 1 CATEGORIES= textproc @ 1.1.1.1 log @A package for the GNU awk utility. @ text @@