diff --git a/mawk-1.3.4-20150503.tgz b/mawk-1.3.4-20150503.tgz deleted file mode 100644 index 4eb37f4..0000000 --- a/mawk-1.3.4-20150503.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:461673c7c4572e1e67e69e7bf7582e02d3c175b814485f2aa52c2c28099b3c6f -size 468794 diff --git a/mawk-1.3.4-20150503.tgz.asc b/mawk-1.3.4-20150503.tgz.asc deleted file mode 100644 index 97c0cee..0000000 --- a/mawk-1.3.4-20150503.tgz.asc +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.10 (GNU/Linux) -Comment: See http://invisible-island.net/public/public.html for info - -iEYEABECAAYFAlVGrTwACgkQcCNT4PfkjtuI2ACdFkJaV6sZ49TNusQy5lZcS84Q -wBgAn1f6aWTamXVY76nb92XyhRmuMiIp -=9XDb ------END PGP SIGNATURE----- diff --git a/mawk-1.3.4-20171017.tgz b/mawk-1.3.4-20171017.tgz new file mode 100644 index 0000000..f8e4407 --- /dev/null +++ b/mawk-1.3.4-20171017.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db17115d1ed18ed1607c8b93291db9ccd4fe5e0f30d2928c3c5d127b23ec9e5b +size 460819 diff --git a/mawk-1.3.4-20171017.tgz.asc b/mawk-1.3.4-20171017.tgz.asc new file mode 100644 index 0000000..4f61f13 --- /dev/null +++ b/mawk-1.3.4-20171017.tgz.asc @@ -0,0 +1,8 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) +Comment: See http://invisible-island.net/public/public.html for info + +iEYEABECAAYFAlnlx1EACgkQcCNT4PfkjtstBgCfb8AprJTluelye5lua5qulnr/ +LOQAnjjiTW5v4o9UIQyIuB6RVAgXUW1H +=SBaF +-----END PGP SIGNATURE----- diff --git a/mawk.changes b/mawk.changes index fd24e46..af4a528 100644 --- a/mawk.changes +++ b/mawk.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Wed Jul 11 07:58:17 UTC 2018 - mpluskal@suse.com + +- Update to version 1.3.4-20171017: + * add Debian compile/link flags to test-package. + * cleanup spurious warnings from latest gcc. + * changes for Original-Mawk #48: + + add checks for stack overflow and underflow + + increase stack limit to 1024 + * updated configure macros + * update config.guess and config.sub + * add runtime check for assignments to OFMT and CONVFMT to ensure + they use a single parameter (Original-Mawk #47). + * repair build for --with-valgrind, broken in 20160930 const-fixes. + * correct sign-extension from 20160615 change to rand() (report by + Christian Neukirchen). + * allow single-quote as a flag in printf, to complete the change + for LC_NUMERIC in 20121129 (report by Graham Monteith). + * revert one of the fixes made for a Coverity warning about loss of + precision in 20121209, which unnecessarily exposed a different + problem (Original-Mawk #45). + * simplify "system()" function by calling C "system()" function, and + use POSIX macros for wait-status to provide a less-ambiguous return + value (suggested by Aharon Robbins). + * add a null-pointer check in bi_mktime (patch by Ismael Luceno). + * escape '/' in range for test/reg4.awk to allow test-comparison with + gawk and BWK. + * updated configure macros, e.g., for compiler warnings and static + analysis: + + CF_CC_ENV_FLAGS + + CF_GNU_SOURCE + + CF_PROG_LINT + + CF_RAND + + CF_XOPEN_SOURCE + * minor build-fix for HPUX 11.11 "make", which is confused by the + recursive use of "make" in clean/distclean rules. + * amend fix for Gentoo #424137 to eliminate a memory leak when opening + files (Original-Mawk #44). + * update config.guess and config.sub + * correct range when using system rand() function, which was 0..2 + rather than 0..1 on BSD systems (report/patch by Masaki Waga). + * correct order of checks for machine state in REtest which caused an + out-of-bounds reference (Original-Mawk #36). + * update COPYING from + https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + (Original-Mawk #38). + * minor updates to configure script macros + * update config.guess and config.sub + ------------------------------------------------------------------- Mon Jan 23 04:57:42 UTC 2017 - bwiedemann@suse.com diff --git a/mawk.spec b/mawk.spec index 58e06f9..8d167b6 100644 --- a/mawk.spec +++ b/mawk.spec @@ -1,7 +1,7 @@ # # spec file for package mawk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -18,23 +18,22 @@ %define _upver 1.3.4 -%define _datever 20150503 +%define _datever 20171017 Name: mawk Version: %{_upver}.%{_datever} Release: 0 Summary: Implementation of New/POSIX AWK -License: GPL-2.0 +License: GPL-2.0-only Group: Productivity/Text/Utilities -Url: http://invisible-island.net/mawk/mawk.html -Source0: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz -Source1: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc +URL: http://invisible-island.net/mawk/mawk.html +Source0: ftp://ftp.invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz +Source1: ftp://ftp.invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc Source2: %{name}.keyring # PATCH-FIX-OPENSUSE -- bmwiedemann -- drop timestamp / for build-compare Patch0: reproducible.patch BuildRequires: update-alternatives Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description mawk is an interpreter for the AWK Programming Language. It implements the AWK @@ -52,7 +51,7 @@ chmod 755 examples/* # without --enable-warnings several functions will not be marked with gcc's # noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall %configure \ - --enable-warnings + --enable-warnings make %{?_smp_mflags} %install @@ -82,8 +81,8 @@ if [ $1 -eq 0 ]; then fi %files -%defattr(-,root,root,-) -%doc ACKNOWLEDGMENT CHANGES COPYING README examples/ +%license COPYING +%doc ACKNOWLEDGMENT CHANGES README examples/ /bin/mawk %{_bindir}/mawk %{_mandir}/man1/mawk.1%{?ext_man} diff --git a/reproducible.patch b/reproducible.patch index eb89952..8ae4d0c 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -1,8 +1,8 @@ -Index: mawk-1.3.4-20150503/makescan.c +Index: mawk-1.3.4-20171017/makescan.c =================================================================== ---- mawk-1.3.4-20150503.orig/makescan.c -+++ mawk-1.3.4-20150503/makescan.c -@@ -96,7 +96,7 @@ scan_print(void) +--- mawk-1.3.4-20171017.orig/makescan.c ++++ mawk-1.3.4-20171017/makescan.c +@@ -83,7 +83,7 @@ scan_print(void) register int r; /* row */ printf("/*\n * %cMawkId%c\n * generated by makescan.c\n * date: %s */\n",