summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-09-12 09:55:55 +0000
committerwiz <wiz@pkgsrc.org>2022-09-12 09:55:55 +0000
commitbab8d72f8011ef5f4cd67b89a5a3b0ddbfb76a2e (patch)
treee8d7f0ddc15b58dece3262674d55ca63a9568e67 /lang
parent47a149fd3998af515bbf286ca16ffbe8c5b968b1 (diff)
downloadpkgsrc-bab8d72f8011ef5f4cd67b89a5a3b0ddbfb76a2e.tar.gz
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.
Diffstat (limited to 'lang')
-rw-r--r--lang/gawk/Makefile5
-rw-r--r--lang/gawk/PLIST7
-rw-r--r--lang/gawk/distinfo12
-rw-r--r--lang/gawk/patches/patch-Makefile.in12
-rw-r--r--lang/gawk/patches/patch-test_Makefile.in16
5 files changed, 29 insertions, 23 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 767cc34698f..c9a3e04dc6e 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.74 2021/11/01 07:07:52 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2022/09/12 09:55:55 wiz Exp $
-DISTNAME= gawk-5.1.1
+DISTNAME= gawk-5.2.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
@@ -25,6 +25,7 @@ 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"
diff --git a/lang/gawk/PLIST b/lang/gawk/PLIST
index 1ca07ef7f25..d7d4dd2848a 100644
--- a/lang/gawk/PLIST
+++ b/lang/gawk/PLIST
@@ -1,12 +1,14 @@
-@comment $NetBSD: PLIST,v 1.28 2021/11/01 07:07:52 wiz Exp $
+@comment $NetBSD: PLIST,v 1.29 2022/09/12 09:55:55 wiz Exp $
bin/${PKGNAME}
bin/gawk
+bin/gawkbug
gnu/bin/awk
gnu/man/man1/awk.1
include/gawkapi.h
info/gawk.info
info/gawkinet.info
info/gawkworkflow.info
+info/pm-gawk.info
${PLIST.extension}lib/gawk/filefuncs.la
${PLIST.extension}lib/gawk/fnmatch.la
${PLIST.extension}lib/gawk/fork.la
@@ -22,6 +24,8 @@ ${PLIST.extension}lib/gawk/time.la
libexec/awk/grcat
libexec/awk/pwcat
man/man1/gawk.1
+man/man1/gawkbug.1
+man/man1/pm-gawk.1
${PLIST.extension}man/man3am/filefuncs.3am
${PLIST.extension}man/man3am/fnmatch.3am
${PLIST.extension}man/man3am/fork.3am
@@ -77,6 +81,7 @@ share/locale/nl/LC_MESSAGES/gawk.mo
share/locale/pl/LC_MESSAGES/gawk.mo
share/locale/pt/LC_MESSAGES/gawk.mo
share/locale/pt_BR/LC_MESSAGES/gawk.mo
+share/locale/ro/LC_MESSAGES/gawk.mo
share/locale/sr/LC_MESSAGES/gawk.mo
share/locale/sv/LC_MESSAGES/gawk.mo
share/locale/vi/LC_MESSAGES/gawk.mo
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo
index 651ef453060..34fa2c0fc53 100644
--- a/lang/gawk/distinfo
+++ b/lang/gawk/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.45 2021/11/01 07:07:52 wiz Exp $
+$NetBSD: distinfo,v 1.46 2022/09/12 09:55:55 wiz Exp $
-BLAKE2s (gawk-5.1.1.tar.xz) = f0a22853d30b4f9db0bb545f979f3a0b68d43b3fdd7d475f89147cd0d1033dfc
-SHA512 (gawk-5.1.1.tar.xz) = 794538fff03fdb9a8527a6898b26383d01988e8f8456f8d48131676387669a8bb3e706fa1a17f6b6316ddba0ebe653c24ad5dd769f357de509d6ec25f3ff1a43
-Size (gawk-5.1.1.tar.xz) = 3250860 bytes
-SHA1 (patch-Makefile.in) = bfbd27f65929754cf00a700d1100312f6184bdf1
+BLAKE2s (gawk-5.2.0.tar.xz) = 3cdac91f9df73c4b40f7313b9c93ad055344ba78b24dc5dcb630044d36dac822
+SHA512 (gawk-5.2.0.tar.xz) = e81e1efb1be06f82602e704d10e8de4b78797d058d9718d353e0837660dc8adf952965240c0a3b1a71c3e295f2e9641eacf64496d1d896edd81b101e09a656ac
+Size (gawk-5.2.0.tar.xz) = 3385496 bytes
+SHA1 (patch-Makefile.in) = dd9f67382e8300a56b8f6b28c3c7813ea4971f60
SHA1 (patch-extension_Makefile.in) = 07184d54caadbdc4193d1ba2ee52eb557900bdf3
SHA1 (patch-extension_gawkfts.c) = a88ac0ed14be5133cf081bf25ab8663f0f3372a7
SHA1 (patch-extension_inplace.c) = 84b1d8f18ed78a872cd7befa65def30b4bcb3252
-SHA1 (patch-test_Makefile.in) = e4f9a009fc6f282b15af1d1aaf9584e7531a41d6
+SHA1 (patch-test_Makefile.in) = 6d73f09b72fba7bec340d35d5d3c70691db814cd
diff --git a/lang/gawk/patches/patch-Makefile.in b/lang/gawk/patches/patch-Makefile.in
index 2076e3dc3d7..16dfe4f0332 100644
--- a/lang/gawk/patches/patch-Makefile.in
+++ b/lang/gawk/patches/patch-Makefile.in
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile.in,v 1.7 2021/11/01 07:07:52 wiz Exp $
+$NetBSD: patch-Makefile.in,v 1.8 2022/09/12 09:55:56 wiz Exp $
Correct locale location, use names gawk and pgawk unconditionally.
Do not install extras.
---- Makefile.in.orig 2021-10-28 16:48:29.000000000 +0000
+--- Makefile.in.orig 2022-09-04 12:12:04.000000000 +0000
+++ Makefile.in
-@@ -352,7 +352,7 @@ CPPFLAGS = @CPPFLAGS@
+@@ -359,7 +359,7 @@ CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
@@ -14,16 +14,16 @@ Do not install extras.
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
-@@ -507,7 +507,7 @@ EXTRA_DIST = \
+@@ -514,7 +514,7 @@ EXTRA_DIST = \
# Build in awklib after in doc, since we want to extract
# sample files if doc/gawk.texi changed.
-SUBDIRS = support . $(am__append_1) extras doc awklib po test
+SUBDIRS = support . $(am__append_1) doc awklib po test
+ bin_SCRIPTS = gawkbug
include_HEADERS = gawkapi.h
BUILT_SOURCES = $(srcdir)/pc/Makefile.tst
-
-@@ -1251,9 +1251,7 @@ install-exec-hook:
+@@ -1301,9 +1301,7 @@ install-exec-hook:
(cd $(DESTDIR)$(bindir); \
name=`echo gawk | sed '$(transform)'` ; \
$(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
diff --git a/lang/gawk/patches/patch-test_Makefile.in b/lang/gawk/patches/patch-test_Makefile.in
index 9f823aef388..9c7bd6c3596 100644
--- a/lang/gawk/patches/patch-test_Makefile.in
+++ b/lang/gawk/patches/patch-test_Makefile.in
@@ -1,4 +1,4 @@
-$NetBSD: patch-test_Makefile.in,v 1.4 2019/04/16 11:43:29 ryoon Exp $
+$NetBSD: patch-test_Makefile.in,v 1.5 2022/09/12 09:55:56 wiz Exp $
Non portable '-f' flag for ls should be -U for unsorted
pkgsrc replacement links mean -L should be used too.
@@ -6,14 +6,14 @@ pkgsrc replacement links mean -L should be used too.
NB on SunOS, locale/en should be installed in order to have
all tests successfully execute (namely mbfw1 and mbprintf1)
---- test/Makefile.in.orig 2019-04-12 09:03:05.000000000 +0000
+--- test/Makefile.in.orig 2022-09-04 12:12:05.000000000 +0000
+++ test/Makefile.in
-@@ -2563,7 +2563,7 @@ readdir:
+@@ -2838,7 +2838,7 @@ readdir:
echo If it does, try rerunning on an ext'[234]' filesystem. ; \
fi
- @$(AWK) -f "$(srcdir)"/readdir.awk "$(top_srcdir)" > _$@ || echo EXIT CODE: $$? >> _$@
-- @ls -afi "$(top_srcdir)" > _dirlist
-+ @ls -aiUL "$(top_srcdir)" > _dirlist
- @ls -lna "$(top_srcdir)" | sed 1d > _longlist
- @$(AWK) -f "$(srcdir)"/readdir0.awk -v extout=_$@ \
+ @-$(AWK) -f "$(srcdir)"/readdir.awk "$(top_srcdir)" > _$@ || echo EXIT CODE: $$? >> _$@
+- @-ls -afi "$(top_srcdir)" > _dirlist
++ @-ls -aiUL "$(top_srcdir)" > _dirlist
+ @-ls -lna "$(top_srcdir)" | sed 1d > _longlist
+ @-$(AWK) -f "$(srcdir)"/readdir0.awk -v extout=_$@ \
-v dirlist=_dirlist -v longlist=_longlist > $@.ok