commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2020-04-25 20:08:15 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new.2738 (New) Package is "gawk" Sat Apr 25 20:08:15 2020 rev:44 rq:795532 version:5.1.0 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2019-11-03 10:45:27.570067199 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new.2738/gawk.changes 2020-04-25 20:08:18.263545274 +0200 @@ -1,0 +2,18 @@ +Wed Apr 15 08:48:59 UTC 2020 - Paolo Stivanin + +- Update to 5.1.0: + * The major version of the API is bumped to 3, something that should + have happened at the 5.0.0 release but didn't. + * A number of memory leak issues have been fixed. + * Infrastructure upgrades: Bison 3.5.4, Texinfo 6.7, Gettext 0.20.1, + Automake 1.16.2. + * The indexing in the manual has been thoroughly revised, in particular + making use of the facilities in Texinfo 6.7. That version (or newer) + must be used to format the manual. + * MSYS2 is now supported out-of-the-box by configure. + * Several bugs have been fixed. See the ChangeLog for details. +- Removed gawk-inplace-namespace-part3.patch +- Removed gawk-inplace-namespace-part1.patch +- Removed gawk-inplace-namespace-part2.patch + +--- Old: gawk-5.0.1.tar.xz gawk-5.0.1.tar.xz.sig gawk-inplace-namespace-part1.patch gawk-inplace-namespace-part2.patch gawk-inplace-namespace-part3.patch New: gawk-5.1.0.tar.xz gawk-5.1.0.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.MsZEZD/_old 2020-04-25 20:08:19.183547171 +0200 +++ /var/tmp/diff_new_pack.MsZEZD/_new 2020-04-25 20:08:19.187547180 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gawk -Version:5.0.1 +Version:5.1.0 Release:0 Summary:Domain-specific language for text processing License:GPL-3.0-or-later @@ -27,10 +27,6 @@ Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring Source4:gawk.rpmlintrc -Patch1: gawk-inplace-namespace-part1.patch -Patch2: gawk-inplace-namespace-part2.patch -#Parts of the patch dealing with .info files, were removed, some parts of documentation might be broken -Patch3: gawk-inplace-namespace-part3.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool ++ gawk-5.0.1.tar.xz -> gawk-5.1.0.tar.xz ++ 124463 lines of diff (skipped)
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2019-11-03 10:45:26 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new.2990 (New) Package is "gawk" Sun Nov 3 10:45:26 2019 rev:43 rq:743779 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2019-09-11 10:17:22.951533179 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new.2990/gawk.changes 2019-11-03 10:45:27.570067199 +0100 @@ -1,0 +2,15 @@ +Tue Oct 22 11:30:29 UTC 2019 - Neal Gompa + +- Fix typo in Summary +- Stop overriding %_libexecdir with %_libdir + +--- +Tue Oct 22 05:56:27 UTC 2019 - Igor Gnatenko + +- Fix the backward compatibility of the inplace extension: + * Add gawk-inplace-namespace-part1.patch + * Add gawk-inplace-namespace-part2.patch + * Add gawk-inplace-namespace-part3.patch +- Run autoreconf as part of the build process + +--- New: gawk-inplace-namespace-part1.patch gawk-inplace-namespace-part2.patch gawk-inplace-namespace-part3.patch Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.I6IH85/_old 2019-11-03 10:45:28.182067937 +0100 +++ /var/tmp/diff_new_pack.I6IH85/_new 2019-11-03 10:45:28.186067942 +0100 @@ -19,7 +19,7 @@ Name: gawk Version:5.0.1 Release:0 -Summary:Domain-specificl anguage for text processing +Summary:Domain-specific language for text processing License:GPL-3.0-or-later Group: Productivity/Text/Utilities URL:https://www.gnu.org/software/gawk/ @@ -27,6 +27,15 @@ Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring Source4:gawk.rpmlintrc +Patch1: gawk-inplace-namespace-part1.patch +Patch2: gawk-inplace-namespace-part2.patch +#Parts of the patch dealing with .info files, were removed, some parts of documentation might be broken +Patch3: gawk-inplace-namespace-part3.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: make +BuildRequires: makeinfo BuildRequires: update-alternatives Requires(post): %{install_info_prereq} Requires(post): update-alternatives @@ -42,10 +51,11 @@ almost completely POSIX 1003.2 compliant. %prep -%setup -q +%autosetup -p1 %build -%configure --libexecdir=%{_libdir} +autoreconf -fiv +%configure make %{?_smp_mflags} %check @@ -99,7 +109,7 @@ /bin/gawk #EndUsrMerge %{_bindir}/gawk -%{_libdir}/awk +%{_libexecdir}/awk %{_libdir}/gawk %{_datadir}/awk %{_includedir}/gawkapi.h ++ gawk-inplace-namespace-part1.patch ++ >From 8f2b0b9128f4d2dc50ae52c304237c8e9d4b85f9 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 26 Jun 2019 21:34:29 +0300 Subject: [PATCH 1/3] Fix a problem when using awk::var kinds of names. --- ChangeLog| 6 ++ symbol.c | 5 - test/ChangeLog | 7 +++ test/Makefile.am | 33 + test/Makefile.in | 33 + 5 files changed, 83 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44178ffc..3aa5b12e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-06-26 Arnold D. Robbins + + * symbol.c (install): Strip off any leading `awk::' before + installing a symbol. Thanks to Andrew Schorr for the + report. + 2019-06-18 Arnold D. Robbins * 5.0.1: Release tar ball made. diff --git a/symbol.c b/symbol.c index fe928112..e2e07c30 100644 --- a/symbol.c +++ b/symbol.c @@ -306,7 +306,10 @@ install(const char *name, NODE *parm, NODETYPE type) NODE *n_name; NODE *prev; - n_name = make_string(name, strlen(name)); + if (strncmp(name, "awk::", 5) == 0) + n_name = make_string(name + 5, strlen(name) - 5); + else + n_name = make_string(name, strlen(name)); table = symbol_table; diff --git a/test/ChangeLog b/test/ChangeLog index a53c2d13..99391b0d 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,10 @@ +2019-06-26 Arnold D. Robbins + + * Makefile.am (EXTRA_DIST): New tests, nsawk1[abc] and nsawk2[ab]. + * nsawk1.awk, nsawk1a.ok, nsawk1b.ok, nsawk1c.ok, nsawk2.awk, + nsawk2a.ok, nsawk2b.ok: New files. + Tests courtesy of Michal Jaegermann. + 2019-06-18 Arnold D. Robbins * 5.0.1: Release tar ball made. diff --git a/test/Makefile.am b/test/Makefile.am index
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2019-09-11 10:17:17 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new.7948 (New) Package is "gawk" Wed Sep 11 10:17:17 2019 rev:42 rq:726801 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2019-08-27 11:58:18.447676518 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new.7948/gawk.changes 2019-09-11 10:17:22.951533179 +0200 @@ -1,0 +2,5 @@ +Tue Aug 27 06:51:05 UTC 2019 - Jan Engelhardt + +- Upgrade descriptions. + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.aH68E0/_old 2019-09-11 10:17:24.683532964 +0200 +++ /var/tmp/diff_new_pack.aH68E0/_new 2019-09-11 10:17:24.719532959 +0200 @@ -19,7 +19,7 @@ Name: gawk Version:5.0.1 Release:0 -Summary:GNU awk +Summary:Domain-specificl anguage for text processing License:GPL-3.0-or-later Group: Productivity/Text/Utilities URL:https://www.gnu.org/software/gawk/ @@ -35,6 +35,9 @@ Provides: awk %description +AWK is a domain-specific language designed for text processing and +typically used as a data extraction and reporting tool. + GNU awk is upwardly compatible with the System V Release 4 awk. It is almost completely POSIX 1003.2 compliant.
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2019-08-27 11:58:16 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new.7948 (New) Package is "gawk" Tue Aug 27 11:58:16 2019 rev:41 rq:722984 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2018-02-28 19:55:46.667061540 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new.7948/gawk.changes 2019-08-27 11:58:18.447676518 +0200 @@ -1,0 +2,22 @@ +Mon Aug 12 21:20:35 UTC 2019 - Andreas Stieger + +- GNU awk 5.0.1: + * Sandbox mode now disallows assigning new filename values in +ARGV that were not there when gawk was invoked + * The new argument "no-ext" to --lint disables "XXX is a gawk +extension" lint warnings +- possibly incompatible changes in 5.0.0: + * Add support for the POSIX standard %a and %A printf formats + * Replace regex routines with those from GNULIB + * PROCINFO["platform"] yields a string indicating the platform for +which gawk was compiled. + * Writing to elements of SYMTAB that are not variable names now +causes a fatal error + * New comment handling in the pretty-printer + * Namespaces have been implemented. Files included with -i, read +with -f, and command line program segments must all be self- +contained syntactic units. + * now uses the locale settings for ignoring case in single byte +locales, instead of hardwiring in Latin-1 + +--- Old: gawk-4.2.1.tar.xz gawk-4.2.1.tar.xz.sig New: gawk-5.0.1.tar.xz gawk-5.0.1.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.qRFLkH/_old 2019-08-27 11:58:18.995676443 +0200 +++ /var/tmp/diff_new_pack.qRFLkH/_new 2019-08-27 11:58:18.999676442 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,17 +12,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gawk -Version:4.2.1 +Version:5.0.1 Release:0 Summary:GNU awk -License:GPL-3.0+ +License:GPL-3.0-or-later Group: Productivity/Text/Utilities -Url:http://www.gnu.org/software/gawk/ +URL:https://www.gnu.org/software/gawk/ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring @@ -33,7 +33,6 @@ Requires(preun): %{install_info_prereq} Requires(preun): update-alternatives Provides: awk -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNU awk is upwardly compatible with the System V Release 4 awk. It is @@ -50,7 +49,7 @@ make check %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install #UsrMerge install -d %{buildroot}/bin @@ -81,7 +80,6 @@ fi %files -f %{name}.lang -%defattr(-,root,root) %config %{_sysconfdir}/profile.d/gawk.csh %config %{_sysconfdir}/profile.d/gawk.sh #UsrMerge @@ -102,7 +100,7 @@ %{_libdir}/gawk %{_datadir}/awk %{_includedir}/gawkapi.h -%{_infodir}/*.info.gz +%{_infodir}/*.info%{?ext_info} %{_mandir}/man1/gawk.1%{?ext_man} %{_mandir}/man3/*%{?ext_man} ++ gawk-4.2.1.tar.xz -> gawk-5.0.1.tar.xz ++ 211045 lines of diff (skipped)
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2018-02-28 19:55:44 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Wed Feb 28 19:55:44 2018 rev:40 rq:580174 version:4.2.1 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2017-10-26 18:41:46.855240090 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2018-02-28 19:55:46.667061540 +0100 @@ -1,0 +2,11 @@ +Mon Feb 26 10:19:21 UTC 2018 - astie...@suse.com + +- GNU awk 4.2.1: + * documentation updates + * In MPFR mode, When ROUNDMODE changes, string values for +numerically type values will be redone + * various bug fixes + * drop fold-string.patch, upstream +- Use %license (boo#1082318) + +--- Old: fold-string.patch gawk-4.2.0.tar.xz gawk-4.2.0.tar.xz.sig New: gawk-4.2.1.tar.xz gawk-4.2.1.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.HmnuvN/_old 2018-02-28 19:55:48.131008565 +0100 +++ /var/tmp/diff_new_pack.HmnuvN/_new 2018-02-28 19:55:48.139008276 +0100 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gawk -Version:4.2.0 +Version:4.2.1 Release:0 Summary:GNU awk License:GPL-3.0+ @@ -27,7 +27,6 @@ Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring Source4:gawk.rpmlintrc -Patch: fold-string.patch BuildRequires: update-alternatives Requires(post): %{install_info_prereq} Requires(post): update-alternatives @@ -42,8 +41,6 @@ %prep %setup -q -%patch -p1 -touch awkgram.c %build %configure --libexecdir=%{_libdir} @@ -95,7 +92,8 @@ %ghost %{_sysconfdir}/alternatives/awk %ghost %{_sysconfdir}/alternatives/usr-bin-awk %ghost %{_sysconfdir}/alternatives/awk.1%{?ext_man} -%doc AUTHORS COPYING NEWS POSIX.STD README ChangeLog* +%license COPYING* +%doc AUTHORS NEWS POSIX.STD README ChangeLog* #UsrMerge /bin/gawk #EndUsrMerge ++ gawk-4.2.0.tar.xz -> gawk-4.2.1.tar.xz ++ 71236 lines of diff (skipped)
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2017-10-26 18:41:44 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Thu Oct 26 18:41:44 2017 rev:39 rq:536218 version:4.2.0 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2017-04-25 08:54:52.995129096 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2017-10-26 18:41:46.855240090 +0200 @@ -1,0 +2,40 @@ +Sat Oct 21 20:12:05 UTC 2017 - sch...@linux-m68k.org + +- fold-string.patch: Don't fold constant strings if either is translatable + +--- +Thu Oct 19 21:54:47 UTC 2017 - sch...@linux-m68k.org + +- Update to gawk 4.2.0 + * If not in POSIX mode, changes to ENVIRON are reflected into +gawk's environment + * The series of numbers returned by rand() should now be "more +random" than previously + * Multiple changes related to the pretty printer + * The igawk script and igawk.1 man page are no longer installed + * Gawk now processes a maximum of two hexadecimal digits in \x +escape sequences inside strings + * Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O +errors for "redirection" not fatal + * Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"] + * Revisions in the POSIX standard remove the special case for POSIX +mode when FS = " " where newline was not a field separator + * Gawk now supports strongly typed regexp constants + * The new typeof() function can be used to indicate if a variable or +array element is an array, regexp, string or number + * Optimizations are now enabled by default + * Passing negative operands to any of the bitwise functions now +produces a fatal error + * The mktime function now accepts an optional second argument + * The FIELDWIDTHS parsing syntax has been enhanced to allow specifying +how many characters to skip before a field starts + * The PROCINFO["argv"] array records all of gawk's command line arguments +as gawk received them +- gawk_ppc64le_ignore_transient_test_time_failure.patch: removed + +--- +Wed Oct 11 11:40:41 UTC 2017 - astie...@suse.com + +- also ignore transient test time failure on ppc64 + +--- Old: gawk-4.1.4.tar.xz gawk-4.1.4.tar.xz.sig gawk_ppc64le_ignore_transient_test_time_failure.patch New: fold-string.patch gawk-4.2.0.tar.xz gawk-4.2.0.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.ORB3fL/_old 2017-10-26 18:41:49.031138558 +0200 +++ /var/tmp/diff_new_pack.ORB3fL/_new 2017-10-26 18:41:49.035138371 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gawk -Version:4.1.4 +Version:4.2.0 Release:0 Summary:GNU awk License:GPL-3.0+ @@ -27,7 +27,7 @@ Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring Source4:gawk.rpmlintrc -Patch1: gawk_ppc64le_ignore_transient_test_time_failure.patch +Patch: fold-string.patch BuildRequires: update-alternatives Requires(post): %{install_info_prereq} Requires(post): update-alternatives @@ -42,20 +42,14 @@ %prep %setup -q -chmod -x COPYING -# skip strftime time -sed -ie 's/ strftime / /g' test/Makefile.in -# apply only for the arch that experienced previously transient failure -%ifarch ppc64le -%patch1 -p1 -%endif +%patch -p1 +touch awkgram.c %build %configure --libexecdir=%{_libdir} make %{?_smp_mflags} %check -# strftime test skipped via prep section make check %{?_smp_mflags} %install @@ -91,6 +85,8 @@ %files -f %{name}.lang %defattr(-,root,root) +%config %{_sysconfdir}/profile.d/gawk.csh +%config %{_sysconfdir}/profile.d/gawk.sh #UsrMerge /bin/awk #EndUsrMerge @@ -104,14 +100,12 @@ /bin/gawk #EndUsrMerge %{_bindir}/gawk -%{_bindir}/igawk %{_libdir}/awk %{_libdir}/gawk %{_datadir}/awk %{_includedir}/gawkapi.h %{_infodir}/*.info.gz %{_mandir}/man1/gawk.1%{?ext_man} -%{_mandir}/man1/igawk.1%{?ext_man} %{_mandir}/man3/*%{?ext_man} %changelog ++ fold-string.patch ++ 644 lines (skipped) ++ gawk-4.1.4.tar.xz
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2017-04-25 08:54:51 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Tue Apr 25 08:54:51 2017 rev:38 rq:487002 version:4.1.4 Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2016-09-11 00:51:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2017-04-25 08:54:52.995129096 +0200 @@ -1,0 +2,7 @@ +Mon Apr 10 07:39:22 UTC 2017 - josef.moell...@suse.com + +- Added an explicit rpmlint rule to keep one file (gawkapi.h) + from requiring a separate package. + [+gawk.rpmlintrc] + +--- New: gawk.rpmlintrc Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.072iPj/_old 2017-04-25 08:54:54.098973009 +0200 +++ /var/tmp/diff_new_pack.072iPj/_new 2017-04-25 08:54:54.102972443 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring +Source4:gawk.rpmlintrc Patch1: gawk_ppc64le_ignore_transient_test_time_failure.patch BuildRequires: update-alternatives Requires(post): %{install_info_prereq} ++ gawk.rpmlintrc ++ addFilter("E: devel-file-in-non-devel-package")
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2016-09-11 00:51:08 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2016-05-14 12:23:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2016-09-11 00:51:10.0 +0200 @@ -1,0 +2,11 @@ +Mon Sep 5 20:27:40 UTC 2016 - astie...@suse.com + +* GNU awk 4.1.4: + * z/OS support updated + * debugger improvements + * return value of system() enhanced to convey more information + * two-way pipe handling improved + * The -d option now allows -d- to print to standard output. + * The DJGPP port is now officially deprecated. + +--- Old: gawk-4.1.3.tar.xz gawk-4.1.3.tar.xz.sig New: gawk-4.1.4.tar.xz gawk-4.1.4.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.luteAG/_old 2016-09-11 00:51:11.0 +0200 +++ /var/tmp/diff_new_pack.luteAG/_new 2016-09-11 00:51:11.0 +0200 @@ -17,7 +17,7 @@ Name: gawk -Version:4.1.3 +Version:4.1.4 Release:0 Summary:GNU awk License:GPL-3.0+ ++ gawk-4.1.3.tar.xz -> gawk-4.1.4.tar.xz ++ 103993 lines of diff (skipped)
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2016-05-14 12:23:02 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2015-05-26 12:29:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2016-05-14 12:23:04.0 +0200 @@ -1,0 +2,5 @@ +Wed May 4 15:57:22 UTC 2016 - norm...@linux.vnet.ibm.com + +- new gawk_ppc64le_ignore_transient_test_time_failure.patch + +--- New: gawk_ppc64le_ignore_transient_test_time_failure.patch Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.uH1rE5/_old 2016-05-14 12:23:05.0 +0200 +++ /var/tmp/diff_new_pack.uH1rE5/_new 2016-05-14 12:23:05.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring +Patch1: gawk_ppc64le_ignore_transient_test_time_failure.patch BuildRequires: update-alternatives Requires(post): %{install_info_prereq} Requires(post): update-alternatives @@ -43,6 +44,10 @@ chmod -x COPYING # skip strftime time sed -ie 's/ strftime / /g' test/Makefile.in +# apply only for the arch that experienced previously transient failure +%ifarch ppc64le +%patch1 -p1 +%endif %build %configure --libexecdir=%{_libdir} ++ gawk_ppc64le_ignore_transient_test_time_failure.patch ++ From: Michel Normand Subject: gawk ppc64le ignore transient test time failure Date: Wed, 04 May 2016 17:46:51 +0200 gawk ignore test/time.awk transient failure I experienced it one time on ppc64le with gawk version 4.1.3 === [ 50s] == _time = [ 50s] *** time.okSun Apr 5 08:13:50 2015 [ 50s] --- _time Wed May 4 05:51:05 2016 [ 50s] *** [ 50s] *** 1,3 [ 50s] ! gettimeofday - systime = 0 [ 50s] sleep(1.3) = 0 [ 50s] gettimeofday - systime = 0 [ 50s] --- 1,3 [ 50s] ! gettimeofday - systime = 1 [ 50s] sleep(1.3) = 0 [ 50s] gettimeofday - systime = 0 [ 50s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gawk-4.1.3/test' [ 50s] Makefile:1583: recipe for target 'check' failed [ 50s] make[1]: *** [check] Error 1 === Signed-off-by: Michel Normand --- test/Makefile.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: gawk-4.1.3/test/Makefile.in === --- gawk-4.1.3.orig/test/Makefile.in +++ gawk-4.1.3/test/Makefile.in @@ -3921,7 +3921,7 @@ rwarray: time: @echo $@ @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ - @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ || { echo "WARNING ignore diff:"; $(CMP) "$(srcdir)"/$@.ok _$@; rm -f _$@; } # end of file Maketests
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2015-05-26 12:29:54 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2015-05-10 10:43:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2015-05-26 12:29:56.0 +0200 @@ -1,0 +2,8 @@ +Sat May 23 18:48:02 UTC 2015 - astie...@suse.com + +- GNU awk 4.1.3: + * Regexp parsing with extra brackets should now be working again. + * Updated to latest config.guess and config.sub. + * bug fixes + +--- Old: gawk-4.1.2.tar.xz gawk-4.1.2.tar.xz.sig New: gawk-4.1.3.tar.xz gawk-4.1.3.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.L984XJ/_old 2015-05-26 12:29:57.0 +0200 +++ /var/tmp/diff_new_pack.L984XJ/_new 2015-05-26 12:29:57.0 +0200 @@ -17,7 +17,7 @@ Name: gawk -Version:4.1.2 +Version:4.1.3 Release:0 Summary:GNU awk License:GPL-3.0+ ++ gawk-4.1.2.tar.xz -> gawk-4.1.3.tar.xz ++ 51576 lines of diff (skipped)
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2015-05-10 10:43:44 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2014-05-03 17:45:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2015-05-10 10:43:46.0 +0200 @@ -1,0 +2,44 @@ +Thu May 7 19:13:00 UTC 2015 - astie...@suse.com + +- skip frequently failing and timing dependent test strftime + +--- +Thu May 7 07:48:15 UTC 2015 - mplus...@suse.com + +- Correct info files scriplet handling section +- Update info and update-alternatives requirements + +--- +Sun May 3 09:30:05 UTC 2015 - astie...@suse.com + +- GNU awk 4.1.2: + * manual improved + * The debugger's "restart" command now works again. + * Redirected getline is now allowed inside BEGINFILE/ENDFILE. + * A number of bugs have been fixed in the MPFR code. + * Indirect function calls now work for both built-in and extension +functions. + * Built-in functions are now included in FUNCTAB. + * In non-English locales, it was accidentally possible to use +non-english letters for identifiers + * The "where" command has been added to the debugger as an alias +for "backtrace". + * Gawk no longer explicitly checks the current directory after +doing a path search of AWKPATH. + * Infrastructure upgrades: Automake 1.15, Gettext 0.19.4, +Libtool 2.4.6, Bison 3.0.4. + * If a user-defined function has a parameter with the same name +as another user-defined function, it is no longer possible to +call the second function from inside the first. + * POSIX requires that the names of function parameters not be the +same as any of the special built-in variables and also not +conflict with the names of any functions. Gawk has checked for +the former since 3.1.7. With --posix, it now also checks for +the latter. + * The test suite should check for necessary locales and skip the +tests where it matters if support isn't what it should be. + * Gawk now expects to be compiled on a system with multibyte +character support. +- drop gawk-4.1.1-build-baddest.patch, upstream + +--- Old: gawk-4.1.1-build-baddest.patch gawk-4.1.1.tar.xz gawk-4.1.1.tar.xz.sig New: gawk-4.1.2.tar.xz gawk-4.1.2.tar.xz.sig Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.VsbBcA/_old 2015-05-10 10:43:47.0 +0200 +++ /var/tmp/diff_new_pack.VsbBcA/_new 2015-05-10 10:43:47.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gawk -Version:4.1.1 +Version:4.1.2 Release:0 Summary:GNU awk License:GPL-3.0+ @@ -26,12 +26,11 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring -Patch1: gawk-4.1.1-build-baddest.patch BuildRequires: update-alternatives -# FIXME: use proper Requires(pre/post/preun/...) -PreReq: %{install_info_prereq} -# FIXME: use proper Requires(pre/post/preun/...) -PreReq: update-alternatives +Requires(post): %{install_info_prereq} +Requires(post): update-alternatives +Requires(preun): %{install_info_prereq} +Requires(preun): update-alternatives Provides: awk BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -41,14 +40,16 @@ %prep %setup -q -%patch1 -p1 chmod -x COPYING +# skip strftime time +sed -ie 's/ strftime / /g' test/Makefile.in %build %configure --libexecdir=%{_libdir} make %{?_smp_mflags} %check +# strftime test skipped via prep section make check %{?_smp_mflags} %install @@ -76,14 +77,12 @@ %install_info --info-dir=%{_infodir} %{_infodir}/gawkinet.info.gz %preun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gawk.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gawkinet.info.gz if [ $1 -eq 0 ]; then %{_sbindir}/update-alternatives --remove awk %{_bindir}/gawk fi -%postun -%install_info_delete --info-dir=%{_infodir} %{_
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2014-05-03 17:45:24 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2014-05-03 16:51:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2014-05-03 17:45:25.0 +0200 @@ -1,0 +2,5 @@ +Sat May 3 15:39:14 UTC 2014 - andreas.stie...@gmx.de + +- remove optional libsigsegv dependency + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.dFKj5A/_old 2014-05-03 17:45:27.0 +0200 +++ /var/tmp/diff_new_pack.dFKj5A/_new 2014-05-03 17:45:27.0 +0200 @@ -27,7 +27,6 @@ Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring Patch1: gawk-4.1.1-build-baddest.patch -BuildRequires: libsigsegv-devel BuildRequires: update-alternatives # FIXME: use proper Requires(pre/post/preun/...) PreReq: %{install_info_prereq} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2014-05-03 16:51:36 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2014-02-19 14:10:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2014-05-03 16:51:43.0 +0200 @@ -1,0 +2,35 @@ +Tue Apr 29 20:28:42 UTC 2014 - andreas.stie...@gmx.de + +- GNU awk 4.1.1: + * The "stat" extension now includes a "devbsize" element which +indicates the units for the "nblocks" element. + * A number of bugs in the pretty-printing / profiling code have +been fixed. + * The -O option now works again. + * The --include option, documented since 4.0, now actually works. + * Infrastructure updated to automake 1.13.4, bison 3.0.2, and +libtool 2.4.2.418. + * The configure script now accepts a --disable-extensions option, +which disables checking for and building the extensions. + * The API now provides functions pointers for malloc(), calloc(), +realloc() and free(), to insure that the same memory allocation +functions are always used. This bumps the minor version by one. + * The printf quote flag now works correctly in locales with +a different decimal point character but without a thousands +separator character. If the thousands separator is a string, +it will be correctly added to decimal numbers. + * The readfile extension now has an input parser that will read +whole files as a single record. +- packaging changes: + * remove added German po file and scanning of translations + * remove profiling, fixing warning make-check-outside-check-section + * remove autoreconf call + * drop gawk-3.1.8.diff + * drop older-automake.diff, not required for factory + * build with libsigsegv + * no not regenerate info pages + * add gawk-4.1.1-build-baddest.patch required for install + * switch to xz tarball + * verify source signature + +--- Old: gawk-3.1.8.diff gawk-4.0.0h.de.po.bz2 gawk-4.1.0.tar.gz older-automake.diff New: gawk-4.1.1-build-baddest.patch gawk-4.1.1.tar.xz gawk-4.1.1.tar.xz.sig gawk.keyring Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.g80BHJ/_old 2014-05-03 16:51:44.0 +0200 +++ /var/tmp/diff_new_pack.g80BHJ/_new 2014-05-03 16:51:44.0 +0200 @@ -17,24 +17,23 @@ Name: gawk -Url:http://www.gnu.org/software/gawk/ -Provides: awk -BuildRequires: automake -BuildRequires: libtool -BuildRequires: update-alternatives -%if 0%{suse_version} > 1220 -BuildRequires: makeinfo -%endif -PreReq: %{install_info_prereq} update-alternatives -Version:4.1.0 +Version:4.1.1 Release:0 Summary:GNU awk License:GPL-3.0+ Group: Productivity/Text/Utilities -Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz -Source1:gawk-4.0.0h.de.po.bz2 -Patch1: gawk-3.1.8.diff -Patch2: older-automake.diff +Url:http://www.gnu.org/software/gawk/ +Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz +Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig +Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring +Patch1: gawk-4.1.1-build-baddest.patch +BuildRequires: libsigsegv-devel +BuildRequires: update-alternatives +# FIXME: use proper Requires(pre/post/preun/...) +PreReq: %{install_info_prereq} +# FIXME: use proper Requires(pre/post/preun/...) +PreReq: update-alternatives +Provides: awk BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -44,46 +43,30 @@ %prep %setup -q %patch1 -p1 -%patch2 -p1 - -bunzip2 -c %{S:1} > po/de.po -rm -f regex.[ch] chmod -x COPYING -# force rebuild with non-broken makeinfo -rm -f doc/*.info - %build -AUTOPOINT=true autoreconf --force --install %configure --libexecdir=%{_libdir} -%if %do_profiling - make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate" - make check - make clean - make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_feedback" -%else - make %{?_smp_mflags} -%endif -make -C po update-po +make %{?_smp_mflags} %check -make check +make check %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install %{?_smp_mflags} #UsrMerge -install -d $RPM_BUILD_ROOT/bin -ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT/bin -ln -s %{_sysconfdir}/alternatives/awk $RPM_BUILD_ROOT/bin/awk +install -d %
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2014-02-19 14:10:10 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2013-05-16 10:27:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2014-02-19 14:10:11.0 +0100 @@ -1,0 +2,6 @@ +Sat Feb 8 12:02:23 UTC 2014 - g...@opensuse.org + +- adjust update-alternative usage to packaging policy + (see http://lists.opensuse.org/opensuse-packaging/2014-02/msg00024.html) + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.M3ENnm/_old 2014-02-19 14:10:12.0 +0100 +++ /var/tmp/diff_new_pack.M3ENnm/_new 2014-02-19 14:10:12.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -75,24 +75,27 @@ #UsrMerge install -d $RPM_BUILD_ROOT/bin ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT/bin -touch $RPM_BUILD_ROOT/bin/awk +ln -s %{_sysconfdir}/alternatives/awk $RPM_BUILD_ROOT/bin/awk #EndUsrMerge rm -f $RPM_BUILD_ROOT/usr/bin/*-%{version} $RPM_BUILD_ROOT/usr/bin/awk -# create ghost files -touch $RPM_BUILD_ROOT/%{_bindir}/awk $RPM_BUILD_ROOT/%{_mandir}/man1/awk.1.gz +# create symlinks for update-alternatives +ln -s %{_sysconfdir}/alternatives/usr-bin-awk $RPM_BUILD_ROOT%{_bindir}/awk +ln -s %{_sysconfdir}/alternatives/awk.1%{?ext_man} $RPM_BUILD_ROOT%{_mandir}/man1/awk.1%{?ext_man} + %find_lang %name %post -/usr/sbin/update-alternatives --install /bin/awk awk /bin/gawk 20 \ - --slave /usr/bin/awk usr-bin-awk /bin/gawk \ - --slave %{_mandir}/man1/awk.1.gz awk.1.gz %{_mandir}/man1/gawk.1.gz +%{_sbindir}/update-alternatives \ + --install /bin/awk awk %{_bindir}/gawk 20 \ + --slave %{_bindir}/awk usr-bin-awk %{_bindir}/gawk \ + --slave %{_mandir}/man1/awk.1.gz awk.1%{?ext_man} %{_mandir}/man1/gawk.1%{?ext_man} %install_info --info-dir=%{_infodir} %{_infodir}/gawk.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/gawkinet.info.gz %preun if [ $1 -eq 0 ]; then -/usr/sbin/update-alternatives --remove awk /bin/gawk +%{_sbindir}/update-alternatives --remove awk %{_bindir}/gawk fi %postun @@ -101,13 +104,14 @@ %files -f %name.lang %defattr(-,root,root) -%if %{suse_version} >= 1120 #UsrMerge -%ghost /bin/awk +/bin/awk #EndUsrMerge -%ghost %{_bindir}/awk -%ghost %{_mandir}/man1/awk.1.gz -%endif +%{_bindir}/awk +%{_mandir}/man1/awk.1%{?ext_man} +%ghost %{_sysconfdir}/alternatives/awk +%ghost %{_sysconfdir}/alternatives/usr-bin-awk +%ghost %{_sysconfdir}/alternatives/awk.1%{?ext_man} %doc AUTHORS COPYING NEWS POSIX.STD README #UsrMerge /bin/gawk @@ -119,8 +123,8 @@ %{_datadir}/awk %{_includedir}/gawkapi.h %{_infodir}/*.info.gz -%{_mandir}/man1/gawk.1.gz -%{_mandir}/man1/igawk.1.gz -%{_mandir}/man3/*.gz +%{_mandir}/man1/gawk.1%{?ext_man} +%{_mandir}/man1/igawk.1%{?ext_man} +%{_mandir}/man3/*%{?ext_man} %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2013-05-16 10:27:37 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2013-03-28 13:11:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2013-05-16 10:27:39.0 +0200 @@ -1,0 +2,23 @@ +Mon May 13 09:35:02 UTC 2013 - idon...@suse.com + +- Update to version 4.1.0 + * The three executables gawk, pgawk, and dgawk, have been merged into +one, named just gawk. + * The new -i option (from xgawk) is used for loading awk library files. + * The new -l option (from xgawk) is used for loading dynamic extensions. + * The dynamic extension interface has been completely redone. There is +now a defined API for C extensions to use. A C extension acts like +a function written in awk, except that it cannot do everything that awk +code can. However, this allows interfacing to any facility that is +available from C. + * The "inplace" extension, built using the new facility, can be used to +simulate the GNU "sed -i" feature. + * The and(), or() and xor() functions now take any number of arguments, +with a minimum of two. + * New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows +indirect access to any defined variable or array; it is possible to +"walk" the symbol table, if that should be necessary. +- Refreshed gawk-3.1.8.diff +- Add older-automake.diff to support automake 1.12 + +--- Old: gawk-4.0.1.tar.gz New: gawk-4.1.0.tar.gz older-automake.diff Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.rTZRu7/_old 2013-05-16 10:27:40.0 +0200 +++ /var/tmp/diff_new_pack.rTZRu7/_new 2013-05-16 10:27:40.0 +0200 @@ -20,12 +20,13 @@ Url:http://www.gnu.org/software/gawk/ Provides: awk BuildRequires: automake +BuildRequires: libtool BuildRequires: update-alternatives %if 0%{suse_version} > 1220 BuildRequires: makeinfo %endif PreReq: %{install_info_prereq} update-alternatives -Version:4.0.1 +Version:4.1.0 Release:0 Summary:GNU awk License:GPL-3.0+ @@ -33,6 +34,7 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source1:gawk-4.0.0h.de.po.bz2 Patch1: gawk-3.1.8.diff +Patch2: older-automake.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,9 +44,12 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 + bunzip2 -c %{S:1} > po/de.po rm -f regex.[ch] chmod -x COPYING + # force rebuild with non-broken makeinfo rm -f doc/*.info @@ -66,12 +71,14 @@ %install make install DESTDIR=$RPM_BUILD_ROOT + #UsrMerge install -d $RPM_BUILD_ROOT/bin ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT/bin touch $RPM_BUILD_ROOT/bin/awk #EndUsrMerge rm -f $RPM_BUILD_ROOT/usr/bin/*-%{version} $RPM_BUILD_ROOT/usr/bin/awk + # create ghost files touch $RPM_BUILD_ROOT/%{_bindir}/awk $RPM_BUILD_ROOT/%{_mandir}/man1/awk.1.gz %find_lang %name @@ -101,19 +108,19 @@ %ghost %{_bindir}/awk %ghost %{_mandir}/man1/awk.1.gz %endif -%doc AUTHORS COPYING FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README +%doc AUTHORS COPYING NEWS POSIX.STD README #UsrMerge /bin/gawk #EndUsrMerge -%{_bindir}/dgawk %{_bindir}/gawk %{_bindir}/igawk -%{_bindir}/pgawk %{_libdir}/awk -/usr/share/awk +%{_libdir}/gawk +%{_datadir}/awk +%{_includedir}/gawkapi.h %{_infodir}/*.info.gz %{_mandir}/man1/gawk.1.gz %{_mandir}/man1/igawk.1.gz -%{_mandir}/man1/pgawk.1.gz +%{_mandir}/man3/*.gz %changelog ++ gawk-3.1.8.diff ++ --- /var/tmp/diff_new_pack.rTZRu7/_old 2013-05-16 10:27:40.0 +0200 +++ /var/tmp/diff_new_pack.rTZRu7/_new 2013-05-16 10:27:40.0 +0200 @@ -1,6 +1,7 @@ -diff -aur gawk-4.0.1.orig/builtin.c gawk-4.0.1/builtin.c gawk-4.0.1.orig/builtin.c 2012-03-28 15:54:55.0 -0400 -+++ gawk-4.0.1/builtin.c 2012-04-03 21:03:30.156093525 -0400 +Index: gawk-4.1.0/builtin.c +=== +--- gawk-4.1.0.orig/builtin.c gawk-4.1.0/builtin.c @@ -29,7 +29,6 @@ #include #endif @@ -22,10 +23,11 @@ extern NODE **args_array; extern int max_args; extern NODE **fields_arr; -diff -aur gawk-4.0.1.orig/doc/gawk.texi gawk-4.0.1/doc/gawk.texi gawk-4.0.1.orig/doc/gawk.texi 2012-03-28 15:47:54.0 -0400 -+++ gawk-4.0.1/doc/gawk.texi 2012-04-03 21:02:52.242567511 -0400 -@@ -1511,7 +1511,7 @@ +Index: gawk-4.1.0/doc/gawk.texi +
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2013-03-28 13:11:26 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2012-12-19 10:55:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2013-03-28 13:11:29.0 +0100 @@ -1,0 +2,6 @@ +Tue Mar 26 14:25:52 UTC 2013 - mmeis...@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +--- Old: gawk-4.0.1.tar.bz2 New: gawk-4.0.1.tar.gz Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.kEVD3I/_old 2013-03-28 13:11:30.0 +0100 +++ /var/tmp/diff_new_pack.kEVD3I/_new 2013-03-28 13:11:30.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ Summary:GNU awk License:GPL-3.0+ Group: Productivity/Text/Utilities -Source: gawk-%{version}.tar.bz2 +Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source1:gawk-4.0.0h.de.po.bz2 Patch1: gawk-3.1.8.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2012-12-19 10:55:31 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2012-09-13 07:01:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2012-12-19 10:55:34.0 +0100 @@ -1,0 +2,5 @@ +Thu Dec 13 23:01:16 UTC 2012 - jeng...@inai.de + +- Remove unneded %clean section + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.H1WGUS/_old 2012-12-19 10:55:36.0 +0100 +++ /var/tmp/diff_new_pack.H1WGUS/_new 2012-12-19 10:55:36.0 +0100 @@ -76,9 +76,6 @@ touch $RPM_BUILD_ROOT/%{_bindir}/awk $RPM_BUILD_ROOT/%{_mandir}/man1/awk.1.gz %find_lang %name -%clean -rm -rf $RPM_BUILD_ROOT - %post /usr/sbin/update-alternatives --install /bin/awk awk /bin/gawk 20 \ --slave /usr/bin/awk usr-bin-awk /bin/gawk \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2012-09-13 07:01:31 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2012-04-12 09:23:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2012-09-13 07:01:33.0 +0200 @@ -1,0 +2,5 @@ +Fri Sep 7 12:48:01 UTC 2012 - co...@suse.com + +- add explicit buildrequire makeinfo + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.zuwlLX/_old 2012-09-13 07:01:35.0 +0200 +++ /var/tmp/diff_new_pack.zuwlLX/_new 2012-09-13 07:01:35.0 +0200 @@ -21,6 +21,9 @@ Provides: awk BuildRequires: automake BuildRequires: update-alternatives +%if 0%{suse_version} > 1220 +BuildRequires: makeinfo +%endif PreReq: %{install_info_prereq} update-alternatives Version:4.0.1 Release:0 @@ -36,18 +39,6 @@ GNU awk is upwardly compatible with the System V Release 4 awk. It is almost completely POSIX 1003.2 compliant. - - -Authors: - -David Trueman -Arnold Robbins -Michal Jaegermann -Scott Deifik -Darrel Hankerson -Kai Uwe Rommel -Pat Rankin - %prep %setup -q %patch1 -p1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2012-04-12 09:23:42 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2012-02-21 07:30:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2012-04-12 09:23:45.0 +0200 @@ -1,0 +2,11 @@ +Wed Apr 4 01:27:28 UTC 2012 - tabra...@novell.com + +- Update to version 4.0.1 + * completed the implementation of Rational Range Interpretation + * failure to get the group set is no longer a fatal error + * lots of minor bugs fixed and portability clean-ups + +- refreshed gawk-3.1.8.diff +- removed gawk-revert-gsub-gawk3.patch deprecated by this release + +--- Old: gawk-4.0.0.tar.bz2 gawk-revert-gsub-gawk3.patch New: gawk-4.0.1.tar.bz2 Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.SL2fNt/_old 2012-04-12 09:23:47.0 +0200 +++ /var/tmp/diff_new_pack.SL2fNt/_new 2012-04-12 09:23:47.0 +0200 @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: gawk Url:http://www.gnu.org/software/gawk/ Provides: awk BuildRequires: automake BuildRequires: update-alternatives PreReq: %{install_info_prereq} update-alternatives -Version:4.0.0 +Version:4.0.1 Release:0 Summary:GNU awk License:GPL-3.0+ @@ -29,7 +30,6 @@ Source: gawk-%{version}.tar.bz2 Source1:gawk-4.0.0h.de.po.bz2 Patch1: gawk-3.1.8.diff -Patch2: gawk-revert-gsub-gawk3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -50,8 +50,7 @@ %prep %setup -q -%patch1 -%patch2 -p1 +%patch1 -p1 bunzip2 -c %{S:1} > po/de.po rm -f regex.[ch] chmod -x COPYING ++ gawk-3.1.8.diff ++ --- /var/tmp/diff_new_pack.SL2fNt/_old 2012-04-12 09:23:47.0 +0200 +++ /var/tmp/diff_new_pack.SL2fNt/_new 2012-04-12 09:23:47.0 +0200 @@ -1,25 +1,6 @@ doc/gawk.texi.orig -+++ doc/gawk.texi -@@ -1549,7 +1549,7 @@ and - Chuck Toporek. - - @cindex Berry, Karl --@cindex Chassell, Robert J.@: -+@cindex Chassell, Robert J. - @c @cindex Texinfo - Robert J.@: Chassell provided much valuable advice on - the use of Texinfo. -@@ -27180,7 +27180,7 @@ did the initial work to convert @command - GNU Automake and GNU @code{gettext}. - - @item --@cindex Broder, Alan J.@: -+@cindex Broder, Alan J. - Alan J.@: Broder - provided the initial version of the @code{asort()} function - as well as the code for the optional third argument to the builtin.c.orig -+++ builtin.c +diff -aur gawk-4.0.1.orig/builtin.c gawk-4.0.1/builtin.c +--- gawk-4.0.1.orig/builtin.c 2012-03-28 15:54:55.0 -0400 gawk-4.0.1/builtin.c 2012-04-03 21:03:30.156093525 -0400 @@ -29,7 +29,6 @@ #include #endif @@ -27,8 +8,8 @@ -#include "random.h" #include "floatmagic.h" - #ifndef CHAR_BIT -@@ -60,11 +59,6 @@ + #if defined(HAVE_POPEN_H) +@@ -64,12 +63,6 @@ static size_t mbc_byte_count(const char *ptr, size_t numchars); static size_t mbc_char_count(const char *ptr, size_t numbytes); @@ -37,12 +18,35 @@ -extern char *setstate(char *state); -extern long random(void); -extern void srandom(unsigned long seed); - +- extern NODE **args_array; extern int max_args; Makefile.am.orig -+++ Makefile.am -@@ -103,11 +103,7 @@ base_sources = \ + extern NODE **fields_arr; +diff -aur gawk-4.0.1.orig/doc/gawk.texi gawk-4.0.1/doc/gawk.texi +--- gawk-4.0.1.orig/doc/gawk.texi 2012-03-28 15:47:54.0 -0400 gawk-4.0.1/doc/gawk.texi 2012-04-03 21:02:52.242567511 -0400 +@@ -1511,7 +1511,7 @@ + Chuck Toporek. + + @cindex Berry, Karl +-@cindex Chassell, Robert J.@: ++@cindex Chassell, Robert J. + @c @cindex Texinfo + Robert J.@: Chassell provided much valuable advice on + the use of Texinfo. +@@ -27272,7 +27272,7 @@ + GNU Automake and GNU @code{gettext}. + + @item +-@cindex Broder, Alan J.@: ++@cindex Broder, Alan J. + Alan J.@: Broder + provided the initial version of the @code{asort()} function + as well as the code for the optional third argument to the +diff -aur gawk-4.0.1.orig/Makefile.am gawk-4.0.1/Makefile.am +--- gawk-4.0.1.orig/Makefile.am2012-03-28 15:47:53.0 -0400 gawk-4.0.1/Makefile.am 2012-04-03 21:03:52.165818367 -0400 +@@ -106,11 +106,7 @@ msg.c \ node.c \ protos.h \ ++ gawk-4.0.0.tar.bz2 -> gawk-4.0.1.tar.bz2 ++ 45753 lines of diff (skipped) -- To u
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2012-02-21 07:30:49 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2012-01-31 10:20:40.0 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2012-02-21 07:30:51.0 +0100 @@ -1,0 +2,5 @@ +Wed Feb 8 20:59:12 UTC 2012 - rschweik...@suse.com + +- keep binaries in /usr tree {UsrMerge project) + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.D0nVNu/_old 2012-02-21 07:30:53.0 +0100 +++ /var/tmp/diff_new_pack.D0nVNu/_new 2012-02-21 07:30:53.0 +0100 @@ -76,13 +76,14 @@ %install make install DESTDIR=$RPM_BUILD_ROOT +#UsrMerge install -d $RPM_BUILD_ROOT/bin -mv -f $RPM_BUILD_ROOT/usr/bin/gawk $RPM_BUILD_ROOT/bin -ln -sf ../../bin/gawk $RPM_BUILD_ROOT/usr/bin +ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT/bin +touch $RPM_BUILD_ROOT/bin/awk +#EndUsrMerge rm -f $RPM_BUILD_ROOT/usr/bin/*-%{version} $RPM_BUILD_ROOT/usr/bin/awk # create ghost files -touch $RPM_BUILD_ROOT/usr/bin/awk $RPM_BUILD_ROOT/bin/awk \ - $RPM_BUILD_ROOT/%{_mandir}/man1/awk.1.gz +touch $RPM_BUILD_ROOT/%{_bindir}/awk $RPM_BUILD_ROOT/%{_mandir}/man1/awk.1.gz %find_lang %name %clean @@ -107,12 +108,16 @@ %files -f %name.lang %defattr(-,root,root) %if %{suse_version} >= 1120 +#UsrMerge %ghost /bin/awk +#EndUsrMerge %ghost %{_bindir}/awk %ghost %{_mandir}/man1/awk.1.gz %endif %doc AUTHORS COPYING FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README +#UsrMerge /bin/gawk +#EndUsrMerge %{_bindir}/dgawk %{_bindir}/gawk %{_bindir}/igawk -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2012-01-31 10:19:55 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2012-01-06 11:43:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2012-01-31 10:20:40.0 +0100 @@ -1,0 +2,11 @@ +Mon Jan 30 16:16:45 CET 2012 - p...@suse.de + +- Compress message catalog. + +--- +Mon Jan 30 13:32:32 CET 2012 - p...@suse.de + +- Use latest german message catalog. +- Call update-po as part of package build. + +--- New: gawk-4.0.0h.de.po.bz2 Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.KQXdMf/_old 2012-01-31 10:20:42.0 +0100 +++ /var/tmp/diff_new_pack.KQXdMf/_new 2012-01-31 10:20:42.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package gawk # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,6 @@ Name: gawk Url:http://www.gnu.org/software/gawk/ -License:GPL-3.0+ -Group: Productivity/Text/Utilities Provides: awk BuildRequires: automake BuildRequires: update-alternatives @@ -26,7 +24,10 @@ Version:4.0.0 Release:0 Summary:GNU awk +License:GPL-3.0+ +Group: Productivity/Text/Utilities Source: gawk-%{version}.tar.bz2 +Source1:gawk-4.0.0h.de.po.bz2 Patch1: gawk-3.1.8.diff Patch2: gawk-revert-gsub-gawk3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,7 +52,7 @@ %setup -q %patch1 %patch2 -p1 - +bunzip2 -c %{S:1} > po/de.po rm -f regex.[ch] chmod -x COPYING # force rebuild with non-broken makeinfo @@ -68,6 +69,7 @@ %else make %{?_smp_mflags} %endif +make -C po update-po %check make check -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at 2012-01-06 11:43:42 Comparing /work/SRC/openSUSE:Factory/gawk (Old) and /work/SRC/openSUSE:Factory/.gawk.new (New) Package is "gawk", Maintainer is "jsm...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/gawk/gawk.changes2011-09-28 14:07:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.gawk.new/gawk.changes 2012-01-06 11:43:44.0 +0100 @@ -1,0 +2,11 @@ +Fri Dec 2 14:52:56 UTC 2011 - cfarr...@suse.com + +- license update: GPL-3.0+ + gawk is GPL-3.0+ in 4.0.0 + +--- +Thu Dec 1 15:47:50 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.1JUdy6/_old 2012-01-06 11:43:45.0 +0100 +++ /var/tmp/diff_new_pack.1JUdy6/_new 2012-01-06 11:43:45.0 +0100 @@ -15,18 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: gawk Url:http://www.gnu.org/software/gawk/ -License:GPLv2+ +License:GPL-3.0+ Group: Productivity/Text/Utilities Provides: awk -AutoReqProv:on +BuildRequires: automake BuildRequires: update-alternatives PreReq: %{install_info_prereq} update-alternatives Version:4.0.0 -Release:1 +Release:0 Summary:GNU awk Source: gawk-%{version}.tar.bz2 Patch1: gawk-3.1.8.diff -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at Wed Sep 28 14:07:36 CEST 2011. --- gawk/gawk.changes 2011-08-10 06:03:06.0 +0200 +++ /mounts/work_src_done/STABLE/gawk/gawk.changes 2011-09-27 13:33:31.0 +0200 @@ -1,0 +2,6 @@ +Tue Sep 27 11:31:28 UTC 2011 - idon...@suse.com + +- Revert sub/gsub behavior to that of gawk 3.x. Upstream commit + 16de770359370224129f23df745178efe518c02c + +--- calling whatdependson for head-i586 New: gawk-revert-gsub-gawk3.patch Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.wUKIgY/_old 2011-09-28 14:07:32.0 +0200 +++ /var/tmp/diff_new_pack.wUKIgY/_new 2011-09-28 14:07:32.0 +0200 @@ -29,7 +29,8 @@ Release:1 Summary:GNU awk Source: gawk-%{version}.tar.bz2 -Patch: gawk-3.1.8.diff +Patch1: gawk-3.1.8.diff +Patch2: gawk-revert-gsub-gawk3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -50,7 +51,9 @@ %prep %setup -q -%patch +%patch1 +%patch2 -p1 + rm -f regex.[ch] chmod -x COPYING # force rebuild with non-broken makeinfo ++ gawk-revert-gsub-gawk3.patch ++ commit 16de770359370224129f23df745178efe518c02c Author: Arnold D. Robbins Date: Thu Jul 28 22:12:48 2011 +0300 Revert sub/gsub behavior to that of gawk 3.x. diff --git a/builtin.c b/builtin.c index 8685d29..4d87592 100644 --- a/builtin.c +++ b/builtin.c @@ -2546,13 +2546,30 @@ set_how_many: repllen--; scan++; } - } else { + } else if (do_posix) { /* \& --> &, \\ --> \ */ if (scan[1] == '&' || scan[1] == '\\') { repllen--; scan++; } /* else leave alone, it goes into the output */ + } else { + /* gawk default behavior since 1996 */ + if (strncmp(scan, "\\&", 4) == 0) { + /* \\\& --> \& */ + repllen -= 2; + scan += 3; + } else if (strncmp(scan, "&", 3) == 0) { + /* \\& --> \ */ + ampersands++; + repllen--; + scan += 2; + } else if (scan[1] == '&') { + /* \& --> & */ + repllen--; + scan++; + } /* else + leave alone, it goes into the output */ } } } @@ -2630,11 +2647,30 @@ set_how_many: scan++; } else /* \q for any q --> q */ *bp++ = *++scan; - } else { + } else if (do_posix) { /* \& --> &, \\ --> \ */ if (scan[1] == '&' || scan[1] == '\\') scan++; *bp++ = *scan; + } else { + /* gawk default behavior since 1996 */ + if (strncmp(scan, "\\&", 4) == 0) { + /* \\\& --> \& */ + *bp++ = '\\'; + *bp++ = '&'; + scan += 3; + } else if (strncmp(scan, "&", 3) == 0) { + /* \\& --> \ */ + *bp++ = '\\'; + for (cp = matchstart; cp < matchend; cp++) + *bp++ = *cp; + scan += 2; + } else if (scan[1] == '&') { +
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at Fri Sep 23 10:35:19 CEST 2011. --- gawk/gawk.changes 2011-04-19 13:55:53.0 +0200 +++ /mounts/work_src_done/STABLE/gawk/gawk.changes 2011-08-10 06:03:06.0 +0200 @@ -1,0 +2,11 @@ +Wed Aug 10 03:58:24 UTC 2011 - crrodrig...@opensuse.org + +- Update to version 4.0.0 , important changes + * The special files /dev/pid, /dev/ppid, /dev/pgrpid and /dev/user are +now completely gone. Use PROCINFO instead. + * The POSIX 2008 behavior for `sub' and `gsub' are now the default. + * In POSIX mode, string comparisons use strcoll/wcscoll. + * Gawk now treats ranges of the form [d-h] as if they were in the C + + +--- calling whatdependson for head-i586 Old: gawk-3.1.8.tar.bz2 New: gawk-4.0.0.tar.bz2 Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.Qog0hY/_old 2011-09-23 10:35:13.0 +0200 +++ /var/tmp/diff_new_pack.Qog0hY/_new 2011-09-23 10:35:13.0 +0200 @@ -25,11 +25,11 @@ AutoReqProv:on BuildRequires: update-alternatives PreReq: %{install_info_prereq} update-alternatives -Version:3.1.8 +Version:4.0.0 Release:1 Summary:GNU awk Source: gawk-%{version}.tar.bz2 -Patch: gawk-%{version}.diff +Patch: gawk-3.1.8.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -58,9 +58,7 @@ %build AUTOPOINT=true autoreconf --force --install -./configure CFLAGS="$RPM_OPT_FLAGS" \ - --prefix=/usr --libexecdir=%{_libdir} \ - --mandir=%{_mandir} --infodir=%{_infodir} +%configure --libexecdir=%{_libdir} %if %do_profiling make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate" make check @@ -112,6 +110,7 @@ %endif %doc AUTHORS COPYING FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README /bin/gawk +%{_bindir}/dgawk %{_bindir}/gawk %{_bindir}/igawk %{_bindir}/pgawk ++ gawk-3.1.8.diff ++ --- /var/tmp/diff_new_pack.Qog0hY/_old 2011-09-23 10:35:13.0 +0200 +++ /var/tmp/diff_new_pack.Qog0hY/_new 2011-09-23 10:35:13.0 +0200 @@ -1,6 +1,6 @@ --- doc/gawk.texi.orig +++ doc/gawk.texi -@@ -1406,7 +1406,7 @@ and +@@ -1549,7 +1549,7 @@ and Chuck Toporek. @cindex Berry, Karl @@ -9,16 +9,16 @@ @c @cindex Texinfo Robert J.@: Chassell provided much valuable advice on the use of Texinfo. -@@ -23713,7 +23713,7 @@ did the initial work to convert @command - GNU Automake and @code{gettext}. +@@ -27180,7 +27180,7 @@ did the initial work to convert @command + GNU Automake and GNU @code{gettext}. @item -@cindex Broder, Alan J.@: +@cindex Broder, Alan J. Alan J.@: Broder - provided the initial version of the @code{asort} function - as well as the code for the new optional third argument to the builtin.c + provided the initial version of the @code{asort()} function + as well as the code for the optional third argument to the +--- builtin.c.orig +++ builtin.c @@ -29,7 +29,6 @@ #include @@ -28,22 +28,21 @@ #include "floatmagic.h" #ifndef CHAR_BIT -@@ -55,12 +54,6 @@ - #define SIZE_MAX ((size_t) -1) - #endif +@@ -60,11 +59,6 @@ + static size_t mbc_byte_count(const char *ptr, size_t numchars); + static size_t mbc_char_count(const char *ptr, size_t numbytes); --/* can declare these, since we always use the random shipped with gawk */ --extern char *initstate P((unsigned long seed, char *state, long n)); --extern char *setstate P((char *state)); --extern long random P((void)); --extern void srandom P((unsigned long seed)); -- - extern NODE **fields_arr; - extern int output_is_tty; +-/* Can declare these, since we always use the random shipped with gawk */ +-extern char *initstate(unsigned long seed, char *state, long n); +-extern char *setstate(char *state); +-extern long random(void); +-extern void srandom(unsigned long seed); Makefile.am + extern NODE **args_array; + extern int max_args; +--- Makefile.am.orig +++ Makefile.am -@@ -103,11 +103,7 @@ +@@ -103,11 +103,7 @@ base_sources = \ msg.c \ node.c \ protos.h \ ++ gawk-3.1.8.tar.bz2 -> gawk-4.0.0.tar.bz2 ++ 226746 lines of diff (skipped) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit gawk for openSUSE:Factory
Hello community, here is the log from the commit of package gawk for openSUSE:Factory checked in at Thu May 19 09:15:55 CEST 2011. --- gawk/gawk.changes 2010-06-28 08:48:35.0 +0200 +++ /mounts/work_src_done/STABLE/gawk/gawk.changes 2011-04-19 13:55:53.0 +0200 @@ -1,0 +2,24 @@ +Tue Apr 19 13:46:32 CEST 2011 - dmuel...@suse.de + +- update to 3.1.8: + * The zero flag no longer applies to %c and %s; apparently the standards + changed at some point. + * Failure to open a socket is no longer a fatal error. + * dfa.h and dfa.c are now more-or-less in sync with GNU grep, for the first + time in many years. + * Gawk no longer includes its own copy of libsigsegv but it will use it if + installed on the build system. The --disable-libsigsegv configure option + is now gone. + * The ' flag (%'d) is now just ignored on systems that can't support it. + * Gawk now has support for z/OS (IBM S/390 architecture). + * Gawk now handles multibyte strings better in [s]printf with field + widths and such. + * A getline from a directory is no longer fatal; instead it returns -1. + * Per POSIX, special variable names (like FS) cannot be used as function + parameter names. + * The new -O / --optimize option enables simple constant folding on + the parse tree during parsing. We hope that with time the number + of optimizations will increase. + * Lots of bug fixes, see the ChangeLog. + +--- calling whatdependson for head-i586 Old: gawk-3.1.6.diff gawk-3.1.6.tar.bz2 New: gawk-3.1.8.diff gawk-3.1.8.tar.bz2 Other differences: -- ++ gawk.spec ++ --- /var/tmp/diff_new_pack.DHLlsZ/_old 2011-05-19 09:14:16.0 +0200 +++ /var/tmp/diff_new_pack.DHLlsZ/_new 2011-05-19 09:14:16.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package gawk (Version 3.1.6) +# spec file for package gawk # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,8 @@ AutoReqProv:on BuildRequires: update-alternatives PreReq: %{install_info_prereq} update-alternatives -Version:3.1.6 -Release:28 +Version:3.1.8 +Release:1 Summary:GNU awk Source: gawk-%{version}.tar.bz2 Patch: gawk-%{version}.diff ++ gawk-3.1.6.diff -> gawk-3.1.8.diff ++ --- gawk/gawk-3.1.6.diff2009-10-04 14:10:11.0 +0200 +++ /mounts/work_src_done/STABLE/gawk/gawk-3.1.8.diff 2011-04-19 13:55:52.0 +0200 @@ -1,32 +1,34 @@ -Index: Makefile.am -=== Makefile.am.orig -+++ Makefile.am -@@ -102,11 +102,7 @@ base_sources = \ - msg.c \ - node.c \ - protos.h \ -- random.c \ -- random.h \ - re.c \ -- regex.c \ -- regex.h \ - replace.c \ - version.c +--- doc/gawk.texi.orig doc/gawk.texi +@@ -1406,7 +1406,7 @@ and + Chuck Toporek. + + @cindex Berry, Karl +-@cindex Chassell, Robert J.@: ++@cindex Chassell, Robert J. + @c @cindex Texinfo + Robert J.@: Chassell provided much valuable advice on + the use of Texinfo. +@@ -23713,7 +23713,7 @@ did the initial work to convert @command + GNU Automake and @code{gettext}. -Index: builtin.c -=== builtin.c.orig + @item +-@cindex Broder, Alan J.@: ++@cindex Broder, Alan J. + Alan J.@: Broder + provided the initial version of the @code{asort} function + as well as the code for the new optional third argument to the +--- builtin.c +++ builtin.c @@ -29,7 +29,6 @@ #include #endif #include -#include "random.h" + #include "floatmagic.h" #ifndef CHAR_BIT - # define CHAR_BIT 8 -@@ -54,12 +53,6 @@ +@@ -55,12 +54,6 @@ #define SIZE_MAX ((size_t) -1) #endif @@ -39,25 +41,17 @@ extern NODE **fields_arr; extern int output_is_tty; -Index: doc/gawk.texi -=== doc/gawk.texi.orig -+++ doc/gawk.texi -@@ -1406,7 +1406,7 @@ and - Chuck Toporek. - - @cindex Berry, Karl --@cindex Chassell, Robert J.@: -+@cindex Chassell, Robert J. - @c @cindex Texinfo - Robert J.@: Chassell provided much valuable advice on - the use of Texinfo. -@@ -23713,7 +23713,7 @@ did the initial work to convert @command - GNU Automake and @code{gettext}. - - @item --@cindex Broder, Alan J.@: -+@cindex Broder, Alan J. - Alan J.@: Broder - provided the initial version of the @code{asort} function - as well as the code for the new optional third argument to the +--- Makefile.am Makefile.am +@@ -103,11 +103,7 @@ + msg.c \ +