gawk: Update to vesrion 5.2.2

Message ID 20230518184328.172754-3-adolf.belka@ipfire.org
State Accepted
Commit c06f8d94a438a2243f75698523e623882b496fd1
Headers
Series gawk: Update to vesrion 5.2.2 |

Commit Message

Adolf Belka May 18, 2023, 6:43 p.m. UTC
  - Update from version 5.1.1 to 5.2.2
- Update of rootfile
- Changelog
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.
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.
	   It 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.
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.
Changes from 5.1.1 to 5.1.x
	1. Infrastructure upgrades: Automake 1.16.5, Texinfo 6.8.
	2. The rwarray extension now supports writing and reading GMP and
	   MPFR values. As a result, a bug in the API code was fixed.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/gawk | 13 ++++++++++++-
 lfs/gawk                     |  6 +++---
 2 files changed, 15 insertions(+), 4 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/gawk b/config/rootfiles/common/gawk
index 3972311e0..7f4496e42 100644
--- a/config/rootfiles/common/gawk
+++ b/config/rootfiles/common/gawk
@@ -1,6 +1,7 @@ 
 usr/bin/awk
 usr/bin/gawk
-usr/bin/gawk-5.1.1
+usr/bin/gawk-5.2.2
+usr/bin/gawkbug
 usr/etc/profile.d
 usr/etc/profile.d/gawk.csh
 usr/etc/profile.d/gawk.sh
@@ -51,9 +52,19 @@  usr/lib/gawk/time.so
 #usr/share/awk/walkarray.awk
 #usr/share/awk/zerofile.awk
 #usr/share/info/gawk.info
+#usr/share/info/gawk_api-figure1.png
+#usr/share/info/gawk_api-figure2.png
+#usr/share/info/gawk_api-figure3.png
+#usr/share/info/gawk_array-elements.png
+#usr/share/info/gawk_general-program.png
+#usr/share/info/gawk_process-flow.png
+#usr/share/info/gawk_statist.jpg
 #usr/share/info/gawkinet.info
 #usr/share/info/gawkworkflow.info
+#usr/share/info/pm-gawk.info
 #usr/share/man/man1/gawk.1
+#usr/share/man/man1/gawkbug.1
+#usr/share/man/man1/pm-gawk.1
 #usr/share/man/man3/filefuncs.3am
 #usr/share/man/man3/fnmatch.3am
 #usr/share/man/man3/fork.3am
diff --git a/lfs/gawk b/lfs/gawk
index 3eba8a908..710d7c484 100644
--- a/lfs/gawk
+++ b/lfs/gawk
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -25,7 +25,7 @@ 
 
 include Config
 
-VER        = 5.1.1
+VER        = 5.2.2
 
 THISAPP    = gawk-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -49,7 +49,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 35eec6f4c9bf52496ac16e4b0e1b98947ae0dd46d0ab1df9ec13ede24374a4917214e492182a16e25fc515fa62a765340914feac16a006d980ba1328634a5291
+$(DL_FILE)_BLAKE2 = 49dd69d3e2414867d60fe42b74b39bc6858114aeeb9305ade7bfd64f1933b3c93d59d127362b614cb4b73e29279ed3b4ea9fa0da94fce98ca9925980d17b5d0c
 
 install : $(TARGET)