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 Sep 12 09:55:56 UTC 2022
Modified Files:
pkgsrc/lang/gawk: Makefile PLIST distinfo
pkgsrc/lang/gawk/patches: patch-Makefile.in patch-test_Makefile.in
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 pkgsrc/lang/gawk/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/gawk/PLIST
cvs rdiff -u -r1.45 -r1.46 pkgsrc/lang/gawk/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gawk/patches/patch-Makefile.in
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gawk/patches/patch-test_Makefile.in
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.74 pkgsrc/lang/gawk/Makefile:1.75
--- pkgsrc/lang/gawk/Makefile:1.74 Mon Nov 1 07:07:52 2021
+++ pkgsrc/lang/gawk/Makefile Mon Sep 12 09:55:55 2022
@@ -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"
Index: pkgsrc/lang/gawk/PLIST
diff -u pkgsrc/lang/gawk/PLIST:1.28 pkgsrc/lang/gawk/PLIST:1.29
--- pkgsrc/lang/gawk/PLIST:1.28 Mon Nov 1 07:07:52 2021
+++ pkgsrc/lang/gawk/PLIST Mon Sep 12 09:55:55 2022
@@ -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
Index: pkgsrc/lang/gawk/distinfo
diff -u pkgsrc/lang/gawk/distinfo:1.45 pkgsrc/lang/gawk/distinfo:1.46
--- pkgsrc/lang/gawk/distinfo:1.45 Mon Nov 1 07:07:52 2021
+++ pkgsrc/lang/gawk/distinfo Mon Sep 12 09:55:55 2022
@@ -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
Index: pkgsrc/lang/gawk/patches/patch-Makefile.in
diff -u pkgsrc/lang/gawk/patches/patch-Makefile.in:1.7 pkgsrc/lang/gawk/patches/patch-Makefile.in:1.8
--- pkgsrc/lang/gawk/patches/patch-Makefile.in:1.7 Mon Nov 1 07:07:52 2021
+++ pkgsrc/lang/gawk/patches/patch-Makefile.in Mon Sep 12 09:55:56 2022
@@ -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 ; \
Index: pkgsrc/lang/gawk/patches/patch-test_Makefile.in
diff -u pkgsrc/lang/gawk/patches/patch-test_Makefile.in:1.4 pkgsrc/lang/gawk/patches/patch-test_Makefile.in:1.5
--- pkgsrc/lang/gawk/patches/patch-test_Makefile.in:1.4 Tue Apr 16 11:43:29 2019
+++ pkgsrc/lang/gawk/patches/patch-test_Makefile.in Mon Sep 12 09:55:56 2022
@@ -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
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
Home |
Main Index |
Thread Index |
Old Index