pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gawk
Module Name: pkgsrc
Committed By: wiz
Date: Mon Feb 23 13:30:37 UTC 2026
Modified Files:
pkgsrc/lang/gawk: Makefile PLIST distinfo
pkgsrc/lang/gawk/patches: patch-extension_Makefile.in
patch-extension_inplace.c patch-test_Makefile.in
Log Message:
gawk: update to 5.4.0.
Remove pkgsrc patch chunk changing 'ls -f' to 'ls -U', which
breaks the test on NetBSD.
Changes from 5.3.x to 5.4.0
---------------------------
1. This release now uses Mike Haertel's MinRX regular expression matcher
as the default regexp engine. The old regex and dfa engines are still
available. More detail is available in the manual, and in the file
README_d/README.matchers. At the very least, read that file!
2. The manual, in the Bugs section, now makes it explicit that
(a) Ad hominem attacks on the lists will not be tolerated, and
(b) Discussion of proprietary software is strongly discouraged.
Repeated offenses are grounds for being banned from the lists.
3. There is now a new directive, @nsinclude, which works like @include
but does not reset the namespace for the included file to "awk". See
the manual for details.
4. When using lshift() or rshift() and attempting to shift by as many
or more bits than in a uintmax_t, gawk returns zero, instead of
whatever the C compiler and hardware might have done.
5. Gawk's use of persistent memory has changed somewhat:
A. Gawk now stores additional meta-information in the backing file.
This means that if you have a backing file with important data
in it, you should dump the data to a text file using the old version,
create a new backing file, and then read your data back in with
the new version, to a *brand new* backing file.
B. Gawk generates a warning if the version of gawk saved in the backing
file doesn't match that of the current running gawk.
C. It's now possible to use persistent memory and dynamic extensions
without problems. Gawk notices if an extension is being loaded from
a different path than what was first used and produces a fatal error
in this case.
6. The ordchr extension now supports multibyte / wide characters.
7. Per the 2024 POSIX standard, `length(array)' is no longer an extension,
but a regular feature. Thus --posix no longer rejects it and --lint
no longer warns about it.
8. The --traditional option has been rationalized to bring gawk into
sync with BWK awk. It no longer affects the return code from system(),
and it no longer prevents using a regexp for RS. Internally, the
code was cleaned up some as well.
9. Assertions in the C code are now enabled. To disable them, manually
edit the various Makefiles after running configure and before
running make. You will need to add -DNDEBUG to the CFLAGS variable.
10. PMA should now work on OpenBSD 7, FreeBSD 12 - 16, NetBSD 10 and 11,
and MidnightBSD 3 and 4.
11. Hexadecimal floating-point values may now be used in program source code,
with strtonum(), and with the -n/--non-decimal-data option. See the
manual for details.
12. A large number of small "replacement" files for standard functions
have been removed. These functions are now so standard that we
simply expect them to always be available. This simplifies the
distribution and the code maintenance.
13. Support for UDP in gawk's networking support is now obsolete.
It never worked very well. It will be removed in version 6.0.
Gawk issues a warning when attempting to use it.
14. Reading regular disk input files should be somewhat faster now,
since gawk no longer checks for timeouts on such files. On one
very large file, gawk '{ print }' saw approximately a 9% speedup.
15. The MinGW port of gawk for MS-Windows now supports UTF-8 encoded
non-ASCII text when the console window where gawk runs uses the
Windows codepage 65001 for output, even if the system-wide locale
specifies another codepage.
Similarly, the Cygwin port now also fully supports UTF-8.
16. There is a new option to configure: --enable-O3. This causes gcc to
use -O3 instead of -O2 when compiling gawk. This is not the default
because experience in some projects has shown (sadly) that -O3 can cause
bugs.
17. There is a new translation: Arabic. The .gmo files for the ca, da, fi,
ja, ka, ms, and vi translations are no longer built or included in
the distribution, as those translations have gone too long without
being updated. The .po files remain in the distribution, should
any volunteers wish to come forward to update them.
18. OpenVMS support has been updated. This release builds on
Alpha, Itanium and x86_64.
19. As usual, a number of small bugs have been fixed; see the ChangeLog
for the details.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/lang/gawk/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/lang/gawk/PLIST
cvs rdiff -u -r1.51 -r1.52 pkgsrc/lang/gawk/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/gawk/patches/patch-extension_Makefile.in \
pkgsrc/lang/gawk/patches/patch-test_Makefile.in
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gawk/patches/patch-extension_inplace.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/gawk/Makefile
diff -u pkgsrc/lang/gawk/Makefile:1.82 pkgsrc/lang/gawk/Makefile:1.83
--- pkgsrc/lang/gawk/Makefile:1.82 Sun Sep 28 11:37:33 2025
+++ pkgsrc/lang/gawk/Makefile Mon Feb 23 13:30:37 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.82 2025/09/28 11:37:33 ryoon Exp $
+# $NetBSD: Makefile,v 1.83 2026/02/23 13:30:37 wiz Exp $
-DISTNAME= gawk-5.3.2
+DISTNAME= gawk-5.4.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
Index: pkgsrc/lang/gawk/PLIST
diff -u pkgsrc/lang/gawk/PLIST:1.34 pkgsrc/lang/gawk/PLIST:1.35
--- pkgsrc/lang/gawk/PLIST:1.34 Sun Sep 28 11:37:33 2025
+++ pkgsrc/lang/gawk/PLIST Mon Feb 23 13:30:37 2026
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.34 2025/09/28 11:37:33 ryoon Exp $
-bin/${PKGNAME}
+@comment $NetBSD: PLIST,v 1.35 2026/02/23 13:30:37 wiz Exp $
bin/gawk
+bin/${PKGNAME}
bin/gawkbug
gnu/bin/awk
gnu/man/man1/awk.1
@@ -15,6 +15,7 @@ info/gawk_process-flow.png
info/gawk_statist.jpg
info/gawkinet.info
info/gawkworkflow.info
+info/notes.info
info/pm-gawk.info
lib/gawk/filefuncs.la
lib/gawk/fnmatch.la
@@ -73,19 +74,15 @@ share/awk/strtonum.awk
share/awk/tocsv.awk
share/awk/walkarray.awk
share/awk/zerofile.awk
+${PLIST.nls}share/locale/ar/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/bg/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/ca/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/da/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/de/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/es/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/fi/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/fr/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/id/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/it/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/ja/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/ka/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/ko/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/ms/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/nl/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/pl/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/pt/LC_MESSAGES/gawk.mo
@@ -95,5 +92,4 @@ ${PLIST.nls}share/locale/sr/LC_MESSAGES/
${PLIST.nls}share/locale/sv/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/tr/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/uk/LC_MESSAGES/gawk.mo
-${PLIST.nls}share/locale/vi/LC_MESSAGES/gawk.mo
${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/gawk.mo
Index: pkgsrc/lang/gawk/distinfo
diff -u pkgsrc/lang/gawk/distinfo:1.51 pkgsrc/lang/gawk/distinfo:1.52
--- pkgsrc/lang/gawk/distinfo:1.51 Sun Sep 28 11:37:33 2025
+++ pkgsrc/lang/gawk/distinfo Mon Feb 23 13:30:37 2026
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.51 2025/09/28 11:37:33 ryoon Exp $
+$NetBSD: distinfo,v 1.52 2026/02/23 13:30:37 wiz Exp $
-BLAKE2s (gawk-5.3.2.tar.xz) = 77c1dde4563ae55aaa9a0af3c599e733c35d8d8c5f6afb42d2d4306b93f1e1a9
-SHA512 (gawk-5.3.2.tar.xz) = 2268150fa35ae049a6ff3d0d0fa110db10477014c25f50e2ab4e3ee5fd60133369d2a994f59db4eb718020a0af5c4003ae7278c63e7fffa72f431ff4a1429e48
-Size (gawk-5.3.2.tar.xz) = 3749260 bytes
+BLAKE2s (gawk-5.4.0.tar.xz) = ef519b7eff0a656ce3e438e8a8caa9f684ab5423181be6cdbab46a2189f7d2e8
+SHA512 (gawk-5.4.0.tar.xz) = b212c6ffd235d5e7f98f0cae5a4fbe9a7139c420400710a747dc2c33dcbda445adc2f6f8ebab330c52c432da67b92be1806c628d261db826a72c89011b2d9d77
+Size (gawk-5.4.0.tar.xz) = 3803276 bytes
SHA1 (patch-Makefile.in) = f1ec17dc9dc39d631984399c46d641a5ec19d381
-SHA1 (patch-extension_Makefile.in) = 07184d54caadbdc4193d1ba2ee52eb557900bdf3
+SHA1 (patch-extension_Makefile.in) = e12da7e863a22dce5759d630e1a3cb811bfcd02a
SHA1 (patch-extension_gawkfts.c) = a88ac0ed14be5133cf081bf25ab8663f0f3372a7
-SHA1 (patch-extension_inplace.c) = 84b1d8f18ed78a872cd7befa65def30b4bcb3252
-SHA1 (patch-test_Makefile.in) = 6d73f09b72fba7bec340d35d5d3c70691db814cd
+SHA1 (patch-extension_inplace.c) = 613de8d00dbce077647c1f0fd62396f83e8d2008
+SHA1 (patch-test_Makefile.in) = 7e05591d8dcc2e67e7100c8287c89ae68dc6cda3
Index: pkgsrc/lang/gawk/patches/patch-extension_Makefile.in
diff -u pkgsrc/lang/gawk/patches/patch-extension_Makefile.in:1.5 pkgsrc/lang/gawk/patches/patch-extension_Makefile.in:1.6
--- pkgsrc/lang/gawk/patches/patch-extension_Makefile.in:1.5 Tue Apr 16 11:43:29 2019
+++ pkgsrc/lang/gawk/patches/patch-extension_Makefile.in Mon Feb 23 13:30:37 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-extension_Makefile.in,v 1.5 2019/04/16 11:43:29 ryoon Exp $
+$NetBSD: patch-extension_Makefile.in,v 1.6 2026/02/23 13:30:37 wiz Exp $
Install into a separate directory, otherwise these shadow e.g. time(3).
Install *.la file for extensions, reduce PLIST divergence.
---- extension/Makefile.in.orig 2019-04-12 09:03:11.000000000 +0000
+--- extension/Makefile.in.orig 2026-02-22 09:49:58.000000000 +0000
+++ extension/Makefile.in
@@ -323,7 +323,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
@@ -14,7 +14,7 @@ Install *.la file for extensions, reduce
NROFF = nroff
MANS = $(dist_man_MANS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
-@@ -1269,7 +1269,6 @@ info-am:
+@@ -1275,7 +1275,6 @@ install-data-am: install-man install-pkgextensionLTLIB
install-data-am: install-man install-pkgextensionLTLIBRARIES
@$(NORMAL_INSTALL)
@@ -22,8 +22,8 @@ Install *.la file for extensions, reduce
install-dvi: install-dvi-recursive
install-dvi-am:
-@@ -1348,7 +1347,7 @@ uninstall-man: uninstall-man3
- distclean-libtool distclean-local distclean-tags \
+@@ -1353,7 +1352,7 @@ uninstall-man: uninstall-man3
+ distclean-hdr distclean-libtool distclean-local distclean-tags \
distcleancheck distdir distuninstallcheck dvi dvi-am html \
html-am info info-am install install-am install-data \
- install-data-am install-data-hook install-dvi install-dvi-am \
Index: pkgsrc/lang/gawk/patches/patch-test_Makefile.in
diff -u pkgsrc/lang/gawk/patches/patch-test_Makefile.in:1.5 pkgsrc/lang/gawk/patches/patch-test_Makefile.in:1.6
--- pkgsrc/lang/gawk/patches/patch-test_Makefile.in:1.5 Mon Sep 12 09:55:56 2022
+++ pkgsrc/lang/gawk/patches/patch-test_Makefile.in Mon Feb 23 13:30:37 2026
@@ -1,6 +1,5 @@
-$NetBSD: patch-test_Makefile.in,v 1.5 2022/09/12 09:55:56 wiz Exp $
+$NetBSD: patch-test_Makefile.in,v 1.6 2026/02/23 13:30:37 wiz Exp $
-Non portable '-f' flag for ls should be -U for unsorted
pkgsrc replacement links mean -L should be used too.
NB on SunOS, locale/en should be installed in order to have
@@ -13,7 +12,7 @@ all tests successfully execute (namely m
fi
@-$(AWK) -f "$(srcdir)"/readdir.awk "$(top_srcdir)" > _$@ || echo EXIT CODE: $$? >> _$@
- @-ls -afi "$(top_srcdir)" > _dirlist
-+ @-ls -aiUL "$(top_srcdir)" > _dirlist
++ @-ls -afiL "$(top_srcdir)" > _dirlist
@-ls -lna "$(top_srcdir)" | sed 1d > _longlist
@-$(AWK) -f "$(srcdir)"/readdir0.awk -v extout=_$@ \
-v dirlist=_dirlist -v longlist=_longlist > $@.ok
Index: pkgsrc/lang/gawk/patches/patch-extension_inplace.c
diff -u pkgsrc/lang/gawk/patches/patch-extension_inplace.c:1.2 pkgsrc/lang/gawk/patches/patch-extension_inplace.c:1.3
--- pkgsrc/lang/gawk/patches/patch-extension_inplace.c:1.2 Sat Jul 14 13:47:32 2018
+++ pkgsrc/lang/gawk/patches/patch-extension_inplace.c Mon Feb 23 13:30:37 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-extension_inplace.c,v 1.2 2018/07/14 13:47:32 adam Exp $
+$NetBSD: patch-extension_inplace.c,v 1.3 2026/02/23 13:30:37 wiz Exp $
Support SunOS in C99 mode.
---- extension/inplace.c.orig 2018-02-23 08:44:11.000000000 +0000
+--- extension/inplace.c.orig 2025-07-30 04:20:31.000000000 +0000
+++ extension/inplace.c
-@@ -27,12 +27,14 @@
+@@ -27,11 +27,13 @@
#include <config.h>
#endif
@@ -14,8 +14,7 @@ Support SunOS in C99 mode.
#endif
#ifndef _XOPEN_SOURCE_EXTENDED
# define _XOPEN_SOURCE_EXTENDED 1
- #endif
+#endif
+ #endif
#include <stdio.h>
- #include <assert.h>
Home |
Main Index |
Thread Index |
Old Index