SHA256
1
0
forked from pool/mawk

Accepting request 622031 from home:pluskalm:branches:Base:System

- Update to version 1.3.4-20171017:

OBS-URL: https://build.opensuse.org/request/show/622031
OBS-URL: https://build.opensuse.org/package/show/Base:System/mawk?expand=0&rev=20
This commit is contained in:
Marcus Meissner 2018-07-12 12:31:02 +00:00 committed by Git OBS Bridge
parent 0d1becc2e9
commit 951abe9a14
7 changed files with 73 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:461673c7c4572e1e67e69e7bf7582e02d3c175b814485f2aa52c2c28099b3c6f
size 468794

View File

@ -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-----

3
mawk-1.3.4-20171017.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db17115d1ed18ed1607c8b93291db9ccd4fe5e0f30d2928c3c5d127b23ec9e5b
size 460819

View File

@ -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-----

View File

@ -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 Mon Jan 23 04:57:42 UTC 2017 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package mawk # 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. # Copyright (c) 2010 Guido Berhoerster.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,23 +18,22 @@
%define _upver 1.3.4 %define _upver 1.3.4
%define _datever 20150503 %define _datever 20171017
Name: mawk Name: mawk
Version: %{_upver}.%{_datever} Version: %{_upver}.%{_datever}
Release: 0 Release: 0
Summary: Implementation of New/POSIX AWK Summary: Implementation of New/POSIX AWK
License: GPL-2.0 License: GPL-2.0-only
Group: Productivity/Text/Utilities Group: Productivity/Text/Utilities
Url: http://invisible-island.net/mawk/mawk.html URL: http://invisible-island.net/mawk/mawk.html
Source0: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz Source0: ftp://ftp.invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz
Source1: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc Source1: ftp://ftp.invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc
Source2: %{name}.keyring Source2: %{name}.keyring
# PATCH-FIX-OPENSUSE -- bmwiedemann -- drop timestamp / for build-compare # PATCH-FIX-OPENSUSE -- bmwiedemann -- drop timestamp / for build-compare
Patch0: reproducible.patch Patch0: reproducible.patch
BuildRequires: update-alternatives BuildRequires: update-alternatives
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun): update-alternatives Requires(preun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
mawk is an interpreter for the AWK Programming Language. It implements the AWK mawk is an interpreter for the AWK Programming Language. It implements the AWK
@ -82,8 +81,8 @@ if [ $1 -eq 0 ]; then
fi fi
%files %files
%defattr(-,root,root,-) %license COPYING
%doc ACKNOWLEDGMENT CHANGES COPYING README examples/ %doc ACKNOWLEDGMENT CHANGES README examples/
/bin/mawk /bin/mawk
%{_bindir}/mawk %{_bindir}/mawk
%{_mandir}/man1/mawk.1%{?ext_man} %{_mandir}/man1/mawk.1%{?ext_man}

View File

@ -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-20171017.orig/makescan.c
+++ mawk-1.3.4-20150503/makescan.c +++ mawk-1.3.4-20171017/makescan.c
@@ -96,7 +96,7 @@ scan_print(void) @@ -83,7 +83,7 @@ scan_print(void)
register int r; /* row */ register int r; /* row */
printf("/*\n * %cMawkId%c\n * generated by makescan.c\n * date: %s */\n", printf("/*\n * %cMawkId%c\n * generated by makescan.c\n * date: %s */\n",