SHA256
3
0
forked from pool/gawk

Accepting request 24416 from Base:System

Copy from Base:System/gawk based on submit request 24416 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gawk?expand=0&rev=7
This commit is contained in:
OBS User autobuild 2009-11-16 10:44:46 +00:00 committed by Git OBS Bridge
parent 3ad685cc34
commit fd8da2a972
3 changed files with 22 additions and 261 deletions

View File

@ -1,6 +1,8 @@
--- Makefile.am
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -101,11 +101,7 @@
@@ -102,11 +102,7 @@ base_sources = \
msg.c \
node.c \
protos.h \
@ -12,17 +14,19 @@
replace.c \
version.c
--- builtin.c
Index: builtin.c
===================================================================
--- builtin.c.orig
+++ builtin.c
@@ -37,7 +37,6 @@
# include <stdint.h>
@@ -29,7 +29,6 @@
#include <fcntl.h>
#endif
#include <math.h>
-#include "random.h"
#ifndef CHAR_BIT
# define CHAR_BIT 8
@@ -62,12 +61,6 @@
@@ -54,12 +53,6 @@
#define SIZE_MAX ((size_t) -1)
#endif
@ -35,9 +39,11 @@
extern NODE **fields_arr;
extern int output_is_tty;
--- doc/gawk.texi
Index: doc/gawk.texi
===================================================================
--- doc/gawk.texi.orig
+++ doc/gawk.texi
@@ -1397,7 +1397,7 @@
@@ -1406,7 +1406,7 @@ and
Chuck Toporek.
@cindex Berry, Karl
@ -46,7 +52,7 @@
@c @cindex Texinfo
Robert J.@: Chassell provided much valuable advice on
the use of Texinfo.
@@ -23495,7 +23495,7 @@
@@ -23713,7 +23713,7 @@ did the initial work to convert @command
GNU Automake and @code{gettext}.
@item
@ -54,4 +60,4 @@
+@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 @code{match} function.
as well as the code for the new optional third argument to the

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 3 19:09:17 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
-------------------------------------------------------------------
Sat Feb 7 18:10:26 CET 2009 - schwab@suse.de

252
gawk.spec
View File

@ -25,7 +25,7 @@ Provides: awk
AutoReqProv: on
PreReq: %{install_info_prereq}
Version: 3.1.6
Release: 25
Release: 26
Summary: GNU awk
Source: gawk-%{version}.tar.bz2
Patch: gawk-%{version}.diff
@ -104,253 +104,3 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*.1.gz
%changelog
* Sat Feb 07 2009 schwab@suse.de
- Rebuild broken info files.
* Mon Nov 12 2007 schwab@suse.de
- Update to gawk 3.1.6.
1. `gawk 'program' /non/existant/file' no longer core dumps.
2. Too many people the world over have complained about gawk's use of the
locale's decimal point for parsing input data instead of the traditional
period. So, even though gawk was being nicely standards-compliant, in
a Triumph For The Users, gawk now only uses the locale's decimal point
if --posix is supplied or if POSIXLY_CORRECT is set. It is the sincere
hope that this change will eliminate this FAQ from being asked.
3. `gawk -v BINMODE=1 ...' works again.
4. Internal file names like `/dev/user' now work again. (Note that these
file names are obsolete and will go away eventually.)
5. Problems with wide strings in non "C" locales have been straightened
out everywhere. (At least, we think so.)
6. Use of `ansi2knr' is no longer supported. Please use an ANSI C compiler.
7. Updated to Autoconf 2.61, Automake 1.10, and Gettext 0.16.1.
8. The getopt* and regex* files were synchronized with current GLIBC CVS.
See the ChangeLog for the versions and minor edits made.
9. There are additional --lint-old warnings.
10. Gawk now uses getaddrinfo(3) to look up names and IP addresses. This
allows the use of an IPv6 format address and paves the way for
eventual addition of `/inet6/...' and `/inet4/...' hostnames.
11. We believe gawk to now be valgrind clean. At least when run against
the test suite.
12. A number of issues dealing with the formatting and printing of very
large numbers in integer formats have been dealt with and fixed.
13. Gawk now converts "+inf", "-inf", "+nan" and "-nan" into the corresponding
magic IEEE floating point values. Only those strings (case independent)
work. With --posix, gawk calls the system strtod directly. You asked
for it, you got it, you deal with it.
14. Defining YYDEBUG enables the -D command line option.
15. Gawk should now work out of the box on Tandem NSK/OSS systems.
16. Lint messages rationalized: many more of the messages are now printed
only once, instead of every time they are encountered.
17. The strftime() function now accepts an optional third argument, which
if non-zero or non-null, indicates that the time should be formatted
as UTC instead of as local time.
18. The precedence of concatenation and `| getline' (in something like
"echo " "date" | getline stuff) has been reverted to the earlier
behavior and now once again matches Unix awk.
19. New configure time flag --disable-directories-fatal which causes
gawk to silently skip directories on the command line. This behavior
is also enabled for --traditional, since it's what Unix awk does.
20. A new option, --use-lc-numeric, forces use of the locale's decimal
point without the rest of the draconian restrictions imposed by
--posix. This softens somewhat the stance taken in item #2.
21. Everything relevant has been updated to the GPL 3.
22. Array growth should be faster now, at no cost in space.
23. Lots more tests.
24. One new translation.
25. Various bugs fixed, see the ChangeLog for details.
* Mon Oct 15 2007 schwab@suse.de
- Update to gawk 3.1.5h.
* Fri May 25 2007 schwab@suse.de
- Update to gawk 3.1.5g.
* Fri Sep 01 2006 schwab@suse.de
- Drop doc subpackage.
* Mon Jul 24 2006 schwab@suse.de
- Add multibyte patch.
* Wed Jul 05 2006 schwab@suse.de
- Fix conversion error.
* Tue Jul 04 2006 schwab@suse.de
- New version of last change.
* Sun Jun 18 2006 schwab@suse.de
- Properly handle /dev/fd.
* Sat Mar 04 2006 schwab@suse.de
- Add two wide string bug fixes.
* Thu Feb 09 2006 schwab@suse.de
- Fix dfa generation of interval expressions [#148453].
* Thu Jan 26 2006 schwab@suse.de
- Use %%jobs.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 30 2005 schwab@suse.de
- Fix length on strings with embedded NUL.
* Fri Oct 07 2005 schwab@suse.de
- Fix off-by-one when processing FIELDWIDTHS.
* Fri Sep 02 2005 schwab@suse.de
- Update to gaw 3.1.5.
* Wed May 25 2005 schwab@suse.de
- Update flonum parsing patch.
* Sat Feb 12 2005 schwab@suse.de
- Add libpng to neededforbuild.
* Wed Feb 02 2005 schwab@suse.de
- Ignore exit code from pipes.
* Tue Sep 28 2004 schwab@suse.de
- Fix parsing of floating point number that start with more than one
zero.
* Sun Sep 19 2004 schwab@suse.de
- Disable invalid shortcut in dfaexec [#44512].
- Fix reading past EOF.
* Mon Aug 23 2004 schwab@suse.de
- Update to gawk 3.1.4.
* Fri Aug 06 2004 schwab@suse.de
- Use random from glibc [#43568].
* Thu Aug 05 2004 schwab@suse.de
- Update to gawk 3.1.3l.
* Thu Jul 22 2004 schwab@suse.de
- Fix int/long mismatch.
* Mon Apr 05 2004 schwab@suse.de
- Disable non-POSIX strtod replacement [#38332].
* Fri Mar 12 2004 schwab@suse.de
- Fix doc bug.
* Sat Jan 10 2004 adrian@suse.de
- do not strip during install, let rpm do it
* Wed Jul 09 2003 schwab@suse.de
- Update to gawk 3.1.3.
* Thu Jun 05 2003 jh@suse.de
- Enable profile feedback
* Tue May 13 2003 schwab@suse.de
- Add %%defattr.
- Fix file list.
* Thu Apr 24 2003 ro@suse.de
- fix install_info --delete call and move from preun to postun
* Mon Apr 07 2003 schwab@suse.de
- Only delete info entries when removing last version.
* Thu Mar 27 2003 schwab@suse.de
- Update to gawk 3.1.2.
* Fri Feb 07 2003 schwab@suse.de
- Fix spec file.
* Thu Feb 06 2003 schwab@suse.de
- Use %%install_info.
* Mon Nov 18 2002 schwab@suse.de
- Add AM_GNU_GETTEXT_VERSION.
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Mon Aug 05 2002 schwab@suse.de
- Add fix for gsub.
* Mon Jul 29 2002 schwab@suse.de
- Fix broken patch.
* Thu Jul 18 2002 schwab@suse.de
- Add lint check for delete.
* Tue May 14 2002 schwab@suse.de
- Add fix for memory leak in loops.
- Add fix for side effects in split().
* Fri May 10 2002 schwab@suse.de
- Update to gawk-3.1.1 (bugfix release).
* Tue Apr 09 2002 schwab@suse.de
- Fix default AWKPATH.
* Sat Mar 30 2002 schwab@suse.de
- Fix for new gettext.
* Sun Mar 17 2002 schwab@suse.de
- Fix buffer overflow.
* Mon Feb 18 2002 schwab@suse.de
- Workaround spurious limitation in regex matcher.
- Fix bogus assertion in strtonum.
* Mon Jan 28 2002 schwab@suse.de
- Add i18n patch.
* Fri Jan 11 2002 schwab@suse.de
- Two more patches from the author:
* Fix use of getgroups
* Fix grammer in for statement.
* Fri Nov 30 2001 schwab@suse.de
- Replace overrun patch with a better one.
- Fix provides.
* Mon Nov 26 2001 schwab@suse.de
- Use regex from libc again.
* Wed Nov 07 2001 schwab@suse.de
- Fix memory overrun.
* Mon Nov 05 2001 schwab@suse.de
- Fix lint checking and off-by-one error for printf.
* Fri Oct 05 2001 schwab@suse.de
- Fix for memory corruption bug from author.
* Tue Sep 25 2001 schwab@suse.de
- Don't set close-on-exec on standard fd (from author).
* Thu Aug 23 2001 schwab@suse.de
- Fix for unary minus operator from author.
* Wed Aug 08 2001 schwab@suse.de
- Fix for memory leak from author.
* Wed Jul 25 2001 schwab@suse.de
- Fix for empty RS and and blank input from author.
* Mon Jul 16 2001 schwab@suse.de
- Fix for index(foo, "") from author.
* Wed Jun 13 2001 schwab@suse.de
- Include fix for allocation bug from author.
* Mon Jun 04 2001 schwab@suse.de
- Update to 3.1.0.
* Sun May 13 2001 schwab@suse.de
- Use included regex.c (#7953).
* Wed May 09 2001 cstein@suse.de
- repacked sources with bzip2.
* Thu Apr 12 2001 schwab@suse.de
- Add patch for \<\> from author.
* Tue Mar 20 2001 schwab@suse.de
- Add parser patch from author.
* Thu Mar 08 2001 schwab@suse.de
- Add two patches from author.
* Tue Oct 24 2000 schwab@suse.de
- Rename subpackage gawkdoc to gawk-doc.
* Thu Sep 14 2000 schwab@suse.de
- Add FIELDWIDTHS bug fix from arnold@skeeve.com.
* Tue Aug 08 2000 schwab@suse.de
- Update to 3.0.6.
* Fri Jun 30 2000 schwab@suse.de
- Fix handling of array indexes.
* Tue Jun 27 2000 schwab@suse.de
- Update to 3.0.5.
* Tue May 09 2000 schwab@suse.de
- Fix symlinks.
* Mon May 08 2000 schwab@suse.de
- Switch to BuildRoot.
- Move /usr/bin/{,g}awk to /bin.
* Fri Apr 07 2000 bk@suse.de
- added suse autoconf update macro
* Tue Apr 04 2000 schwab@suse.de
- Fix IGNORECASE bug.
* Fri Mar 31 2000 schwab@suse.de
- Include more docs.
* Tue Feb 15 2000 schwab@suse.de
- Fix parser bug.
* Tue Feb 15 2000 schwab@suse.de
- Update config{guess,sub} to latest version.
* Tue Jan 18 2000 schwab@suse.de
- /usr/{info,man} -> /usr/share/{info,man}
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Fri Aug 27 1999 schwab@suse.de
- specfile cleanup
- run "make check"
- use regex from libc
* Mon Jul 19 1999 florian@suse.de
- update to gawk 3.0.4
* Thu Dec 10 1998 florian@suse.de
- egcs miscompiles gawk, use gcc instead
* Fri Jul 17 1998 werner@suse.de
- Use mktemp for igawk
* Wed May 13 1998 ro@suse.de
- used dif from jurix-mirror (date Mar 7 1998)
- some of the patches from gnu.utils.bug are still buggy. applied some new
patches from the author Aharon Robbins to field.c.
* Mon Mar 02 1998 florian@suse.de
- use a complete new patchkit from various bug-reports
to gnu.utils.bug
* Wed Feb 04 1998 ro@suse.de
- build gawkdoc from same specfile
* Thu Oct 09 1997 florian@suse.de
- prepare for autobuild
* Fri Jul 18 1997 florian@suse.de
- add bug-fixes from gnu.utils.bug
- add several patches from gnu.utils.bug
- gawk should work with c-news again
* Tue May 20 1997 florian@suse.de
- update to version 3.0.3
* Sun Apr 13 1997 florian@suse.de
- add bug-fixes from gnu.utils.bugs
- do not use /usr/libexec anymore
* Wed Jan 22 1997 florian@suse.de
- update to version 3.0.2