From patchwork Thu May 18 18:43:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6870 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4QMf4w6mB3z3wlM for ; Thu, 18 May 2023 18:43:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4QMf4p5wsHz9S8; Thu, 18 May 2023 18:43:38 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4QMf4p1kpFz30L2; Thu, 18 May 2023 18:43:38 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4QMf4m526rz2xxj for ; Thu, 18 May 2023 18:43:36 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4QMf4m3KpDzGy; Thu, 18 May 2023 18:43:36 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1684435416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5LBYj99Jo6lEDtLYEwbQYW9IvL5wUwiNQ6vaHE4/IKc=; b=afz+P3p583LzAjvwUiUviHSmVOoP6mBVUF8LXtnQlEe+nTjYmj9v1M6kGkkS81GjmAThjs b6mYyyznAXStD3Bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1684435416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5LBYj99Jo6lEDtLYEwbQYW9IvL5wUwiNQ6vaHE4/IKc=; b=YVza9dYKblFqH8vDPOuYFjWM1XqiDxTXR+FyIDEBwTmcUzDTfocI9EQWWqR99ixF6pJ3gB V88D/N0U73nc/cD8AzuIYvkty4CCAa+bE2VSSVEQ6XA+KwuQOhfDcuUWXb3EVly5HyBMmf 6KPelhi00OUAqAzmlI40XqaeC8r4hyAfFwQ8xNgFQGZHT2t/e06wZT0MlWqzgmjNg6reMq nxk/UyG7/JXjhzBrmv9tEaspnKFhVio+MbrB1WJqYGpQGVjtcut6ouq5fMWEgDz30KAcjA vgoTAPG6QjT0Oc8JEZ3snS0wGkUz5rs4RWXWMNzDYWSWyw3emeADvfM74NJ9Mw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] gawk: Update to vesrion 5.2.2 Date: Thu, 18 May 2023 20:43:20 +0200 Message-Id: <20230518184328.172754-3-adolf.belka@ipfire.org> In-Reply-To: <20230518184328.172754-1-adolf.belka@ipfire.org> References: <20230518184328.172754-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 --- config/rootfiles/common/gawk | 13 ++++++++++++- lfs/gawk | 6 +++--- 2 files changed, 15 insertions(+), 4 deletions(-) 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 # +# Copyright (C) 2007-2023 IPFire Team # # # # 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)