bump(sys-apps/gawk): sync with upstream for arm64

Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
Geoff Levand 2015-05-28 09:29:35 -07:00
parent 55588c3a21
commit 09a15f2830
16 changed files with 1892 additions and 0 deletions

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare unpack
DEPEND=!>=virtual/awk-1 nls? ( sys-devel/gettext )
DESCRIPTION=GNU awk pattern-matching language
EAPI=2
HOMEPAGE=http://www.gnu.org/software/gawk/gawk.html
IUSE=nls
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd
LICENSE=GPL-2
RDEPEND=!>=virtual/awk-1
SLOT=0
SRC_URI=mirror://gnu/gawk/gawk-3.1.8.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=3385c5d8aa775eeaf57455509102ad4e

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst postrm prepare
DEPEND=!<sys-apps/baselayout-2.0.1 readline? ( sys-libs/readline ) nls? ( sys-devel/gettext )
DESCRIPTION=GNU awk pattern-matching language
EAPI=4
HOMEPAGE=http://www.gnu.org/software/gawk/gawk.html
IUSE=nls readline
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-2
RDEPEND=!<sys-apps/baselayout-2.0.1 readline? ( sys-libs/readline )
SLOT=0
SRC_URI=mirror://gnu/gawk/gawk-4.0.2.tar.xz
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=b6c62f7a69c0ac59c5b491016f411203

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst postrm prepare
DEPEND=mpfr? ( dev-libs/mpfr ) readline? ( sys-libs/readline ) nls? ( sys-devel/gettext )
DESCRIPTION=GNU awk pattern-matching language
EAPI=4
HOMEPAGE=http://www.gnu.org/software/gawk/gawk.html
IUSE=mpfr nls readline
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-2
RDEPEND=mpfr? ( dev-libs/mpfr ) readline? ( sys-libs/readline )
SLOT=0
SRC_URI=mirror://gnu/gawk/gawk-4.1.1.tar.xz
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=d0731cca8d2d29c2df23b871d7a23c68

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst postrm prepare
DEPEND=mpfr? ( dev-libs/mpfr ) readline? ( sys-libs/readline ) nls? ( sys-devel/gettext )
DESCRIPTION=GNU awk pattern-matching language
EAPI=4
HOMEPAGE=http://www.gnu.org/software/gawk/gawk.html
IUSE=mpfr nls readline
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-2
RDEPEND=mpfr? ( dev-libs/mpfr ) readline? ( sys-libs/readline )
SLOT=0
SRC_URI=mirror://gnu/gawk/gawk-4.1.2.tar.xz
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=de58df760d1b4f9f282877b55c4be2a1

View File

@ -0,0 +1,702 @@
# ChangeLog for sys-apps/gawk
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.181 2015/05/04 11:52:07 polynomial-c Exp $
*gawk-4.1.2 (04 May 2015)
04 May 2015; Lars Wendler <polynomial-c@gentoo.org> -gawk-4.1.0.ebuild,
+gawk-4.1.2.ebuild:
Version bump. Removed old.
31 Mar 2015; Ulrich Müller <ulm@gentoo.org> gawk-4.0.2.ebuild,
gawk-4.1.0.ebuild, gawk-4.1.1-r1.ebuild:
Update dependency after package move of eselect modules to app-eselect.
*gawk-4.1.1-r1 (25 Apr 2014)
25 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> -gawk-4.1.1.ebuild,
+gawk-4.1.1-r1.ebuild, +files/gawk-4.1.1-sigpipe.patch:
Add sigpipe fix from upstream so makewhatis works again (bug #507340).
Removed old.
*gawk-4.1.1 (10 Apr 2014)
10 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> +gawk-4.1.1.ebuild,
+files/gawk-4.1.1-sandbox_issue.patch:
Version bump.
18 Feb 2014; Christoph Junghans <ottxor@gentoo.org> gawk-3.1.8.ebuild:
added blocker for >=virtual/awk-1
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> gawk-4.0.2.ebuild,
gawk-4.1.0.ebuild:
Add arm64 love.
16 Jan 2014; Mike Frysinger <vapier@gentoo.org> gawk-4.0.2.ebuild:
Mark m68k/s390/sh stable.
04 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -gawk-3.1.6.ebuild,
-gawk-3.1.7.ebuild, -gawk-4.0.0.ebuild, -gawk-4.0.1.ebuild,
-gawk-4.0.1-r1.ebuild, -files/autoconf-mktime-2.61.patch,
-files/gawk-3.1.3-getpgrp_void.patch, -files/gawk-3.1.6-gnuinfo.patch:
Removed old versions and files.
23 Dec 2013; Mike Frysinger <vapier@gentoo.org> gawk-4.0.2.ebuild:
Mark ia64 stable #467190.
22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.2.ebuild:
Stable for ppc64, wrt bug #467190
21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.2.ebuild:
Stable for ppc, wrt bug #467190
21 Dec 2013; Pacho Ramos <pacho@gentoo.org> gawk-4.0.2.ebuild:
amd64 stable, bug #467190
16 Dec 2013; Johannes Huber <johu@gentoo.org> gawk-4.0.2.ebuild:
x86 stable, bug #467190
16 Dec 2013; Matt Turner <mattst88@gentoo.org> gawk-4.0.2.ebuild:
alpha stable, bug 467190.
15 Dec 2013; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.2.ebuild:
Stable for sparc, wrt bug #467190
09 Dec 2013; Jeroen Roovers <jer@gentoo.org> gawk-4.0.2.ebuild:
Stable for HPPA (bug #467190).
08 Dec 2013; Markus Meier <maekke@gentoo.org> gawk-4.0.2.ebuild:
arm stable, bug #467190
07 Dec 2013; Mike Frysinger <vapier@gentoo.org> gawk-4.1.0.ebuild:
Fix cross-compilation #493362 by Reuben Martin.
07 Dec 2013; Mike Frysinger <vapier@gentoo.org> gawk-4.1.0.ebuild,
metadata.xml:
Add USE=mpfr to control mpfr dependency.
19 Nov 2013; Michael Haubenwallner <haubi@gentoo.org> gawk-4.1.0.ebuild,
+files/gawk-4.1.0-ports.patch:
Add upstream patches for AIX support, bug#490266.
*gawk-4.1.0 (13 May 2013)
13 May 2013; Mike Frysinger <vapier@gentoo.org> +gawk-4.1.0.ebuild:
Version bump.
19 Feb 2013; Zac Medico <zmedico@gentoo.org> gawk-4.0.2.ebuild:
Add ~arm-linux keyword.
*gawk-4.0.2 (06 Jan 2013)
06 Jan 2013; Mike Frysinger <vapier@gentoo.org> +gawk-4.0.2.ebuild:
Version bump #450568 by Agostino Sarubbo.
16 Oct 2012; Christoph Junghans <ottxor@gentoo.org> gawk-4.0.1-r1.ebuild:
re-added keywords (bug #426628)
*gawk-4.0.1-r1 (06 Oct 2012)
06 Oct 2012; Christoph Junghans <ottxor@gentoo.org> +gawk-4.0.1-r1.ebuild:
virtual/awk support and move to /usr/bin (bug #426628)
03 Oct 2012; Brent Baude <ranger@gentoo.org> gawk-4.0.1.ebuild:
Marking gawk-4.0.1 ppc for bug 431954
27 Sep 2012; Anthony G. Basile <blueness@gentoo.org> gawk-4.0.1.ebuild:
stable ppc ppc64, bug #431954
24 Sep 2012; Raúl Porcel <armin76@gentoo.org> gawk-4.0.1.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #431954
01 Sep 2012; Markus Meier <maekke@gentoo.org> gawk-4.0.1.ebuild:
arm stable, bug #431954
21 Aug 2012; Jeroen Roovers <jer@gentoo.org> gawk-4.0.1.ebuild:
Stable for HPPA (bug #431954).
20 Aug 2012; Johannes Huber <johu@gentoo.org> gawk-4.0.1.ebuild:
Stable for x86, wrt bug #431954
20 Aug 2012; Mike Frysinger <vapier@gentoo.org> gawk-4.0.1.ebuild:
Disable test failing under sandbox for now #413327 by Patrick Lauer.
20 Aug 2012; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.1.ebuild:
Stable for amd64, wrt bug #431954
19 Aug 2012; Christoph Junghans <ottxor@gentoo.org> gawk-4.0.1.ebuild:
added prefix keywords
01 Jul 2012; Raúl Porcel <armin76@gentoo.org> gawk-4.0.0.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #413117
28 Apr 2012; <nixnut@gentoo.org> gawk-4.0.0.ebuild:
ppc stable #413117
26 Apr 2012; Jeroen Roovers <jer@gentoo.org> gawk-4.0.0.ebuild:
Stable for HPPA (bug #413117).
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> gawk-4.0.1.ebuild:
keyword ~amd64-fbsd
25 Apr 2012; Markus Meier <maekke@gentoo.org> gawk-4.0.0.ebuild:
arm stable, bug #413117
24 Apr 2012; Jeff Horelick <jdhore@gentoo.org> gawk-4.0.0.ebuild:
marked x86 per bug 413117
23 Apr 2012; Brent Baude <ranger@gentoo.org> gawk-4.0.0.ebuild:
Marking gawk-4.0.0 ppc64 for bug 413117
23 Apr 2012; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.0.ebuild:
Stable for amd64, wrt bug #413117
*gawk-4.0.1 (22 Apr 2012)
22 Apr 2012; Mike Frysinger <vapier@gentoo.org> +gawk-4.0.1.ebuild:
Version bump #413017 by teidakankan.
30 Nov 2011; Mike Frysinger <vapier@gentoo.org> gawk-4.0.0.ebuild:
Control readline support via USE=readline.
05 Aug 2011; Jeroen Roovers <jer@gentoo.org> gawk-3.1.8.ebuild:
Stable for HPPA (bug #373939).
25 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> gawk-3.1.8.ebuild:
ppc/ppc64 stable wrt #373939
23 Jul 2011; Raúl Porcel <armin76@gentoo.org> gawk-3.1.8.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #373939
17 Jul 2011; Markus Meier <maekke@gentoo.org> gawk-3.1.8.ebuild:
arm/x86 stable, bug #373939
05 Jul 2011; Markos Chandras <hwoarang@gentoo.org> gawk-3.1.8.ebuild:
Stable on amd64 wrt bug #373939
*gawk-4.0.0 (03 Jul 2011)
03 Jul 2011; Mike Frysinger <vapier@gentoo.org> +gawk-4.0.0.ebuild:
Version bump #373937 by Lars Wendler.
15 Aug 2010; Harald van Dijk <truedfx@gentoo.org> gawk-3.1.8.ebuild:
Fix quoting
*gawk-3.1.8 (20 May 2010)
20 May 2010; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.8.ebuild:
Version bump #319763 by Samuli Suominen.
25 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org> gawk-3.1.7.ebuild:
Remove libsigsegv USE flag: the dependency, at a minimum, was off (it
never uses system copy); nothing in the tree require this enabled, the
bundled copy does not work properly with gcc-4.5, and upstream is clueless
about autotools so it's impossible to properly patch this to make it
right.
*gawk-3.1.7 (15 Aug 2009)
15 Aug 2009; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.7.ebuild,
metadata.xml:
Version bump #280701 by Jeremy Olexa.
16 May 2009; Mike Frysinger <vapier@gentoo.org> files/filefuncs/Makefile:
Respect CPPFLAGS when building filefuncs #209129 by Stuart Shelton.
16 Jan 2009; Harald van Dijk <truedfx@gentoo.org>
files/filefuncs/Makefile:
Fix typo, to use CFLAGS when compiling
28 Nov 2008; Ulrich Mueller <ulm@gentoo.org>
+files/gawk-3.1.6-gnuinfo.patch, gawk-3.1.6.ebuild:
Fix GNU Info files, bug 249130.
28 Oct 2008; Raúl Porcel <armin76@gentoo.org> gawk-3.1.6.ebuild:
alpha/ia64 stable #244384
27 Oct 2008; Brent Baude <ranger@gentoo.org> gawk-3.1.6.ebuild:
stable ppc64, bug 244384
26 Oct 2008; Markus Meier <maekke@gentoo.org> gawk-3.1.6.ebuild:
amd64 stable, bug #244384
26 Oct 2008; nixnut <nixnut@gentoo.org> gawk-3.1.6.ebuild:
Stable on ppc wrt bug 244384
26 Oct 2008; Torsten Veller <tove@gentoo.org> gawk-3.1.6.ebuild:
Stable on x86 (#244384)
26 Oct 2008; Jeroen Roovers <jer@gentoo.org> gawk-3.1.6.ebuild:
Stable for HPPA (bug #244384).
26 Oct 2008; Ferris McCormick <fmccor@gentoo.org> gawk-3.1.6.ebuild:
Sparc stable, Bug #244384 and required for Bug #244246. Looks fine.
05 May 2008; Mike Frysinger <vapier@gentoo.org>
+files/autoconf-mktime-2.61.patch, gawk-3.1.6.ebuild:
Update mktime test #220040.
*gawk-3.1.6 (05 May 2008)
05 May 2008; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.6.ebuild:
Version bump #219476 by Conrad Kostecki.
19 Nov 2007; Joshua Kinard <kumba@gentoo.org> gawk-3.1.5-r5.ebuild:
Stable on mips, per #195212.
11 Oct 2007; Tom Gall <tgall@gentoo.org> gawk-3.1.5-r5.ebuild:
stable on ppc64, bug #195212
10 Oct 2007; Lars Weiler <pylon@gentoo.org> gawk-3.1.5-r5.ebuild:
stable ppc, bug #195212
09 Oct 2007; Raúl Porcel <armin76@gentoo.org> gawk-3.1.5-r5.ebuild:
alpha/ia64/sparc stable wrt #195212
09 Oct 2007; Christian Faulhammer <opfer@gentoo.org> gawk-3.1.5-r5.ebuild:
stable x86, bug 195212
09 Oct 2007; Jeroen Roovers <jer@gentoo.org> gawk-3.1.5-r5.ebuild:
Stable for HPPA (bug #195212).
09 Oct 2007; Christoph Mende <angelos@gentoo.org> gawk-3.1.5-r5.ebuild:
Stable on amd64 wrt bug #195212
*gawk-3.1.5-r5 (25 Aug 2007)
25 Aug 2007; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-freewstr2.patch, +files/gawk-3.1.5-ipv6.patch,
+files/gawk-3.1.5-mbread.patch, +gawk-3.1.5-r5.ebuild:
Snipe some fixes from Fedora.
*gawk-3.1.5-r4 (12 Jul 2007)
12 Jul 2007; Roy Marples <uberlord@gentoo.org> +gawk-3.1.5-r4.ebuild:
Move gawk to /usr/bin for non GNU userlands.
09 Jul 2007; Jeroen Roovers <jer@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable for HPPA (bug #184465).
08 Jul 2007; Christoph Mende <angelos@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on amd64 wrt bug #184465
13 Jun 2007; Raúl Porcel <armin76@gentoo.org> gawk-3.1.5-r3.ebuild:
alpha stable
24 Apr 2007; Alexander Færøy <eroyf@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on MIPS.
23 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on sparc
16 Apr 2007; Markus Rothe <corsair@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on ppc64
01 Apr 2007; Michael Hanselmann <hansmi@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on ppc.
21 Mar 2007; Raúl Porcel <armin76@gentoo.org> gawk-3.1.5-r3.ebuild:
x86 stable
*gawk-3.1.5-r3 (12 Jan 2007)
12 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-freewstr.patch, +files/gawk-3.1.5-wconcat.patch,
+gawk-3.1.5-r3.ebuild:
Grab some patches from Fedora to fixup double free #135931 by Georgi Georgiev.
05 Nov 2006; Fabian Groffen <grobian@gentoo.org> gawk-3.1.5-r1.ebuild,
gawk-3.1.5-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix.
17 Oct 2006; Roy Marples <uberlord@gentoo.org> gawk-3.1.5-r2.ebuild:
Added ~sparc-fbsd keyword.
14 Oct 2006; Aron Griffis <agriffis@gentoo.org> gawk-3.1.5-r2.ebuild:
Mark 3.1.5-r2 stable on ia64
04 Sep 2006; Joshua Kinard <kumba@gentoo.org> gawk-3.1.5-r2.ebuild:
Marked stable on mips.
22 Aug 2006; Thomas Cort <tcort@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on alpha wrt Bug #142936.
10 Aug 2006; Yuta SATOH <nigoro@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on ppc64, bug #142936
07 Aug 2006; Scott Stoddard <deltacow@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on amd64 re bug 142936.
07 Aug 2006; Luca Barbato <lu_zero@gentoo.org> gawk-3.1.5-r2.ebuild:
Marked ppc
07 Aug 2006; Jeroen Roovers <jer@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable for HPPA (bug #142936).
06 Aug 2006; Andrej Kacian <ticho@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on x86, bug #142936.
06 Aug 2006; Jason Wever <weeve@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on SPARC wrt bug #142936.
*gawk-3.1.5-r2 (17 Jul 2006)
17 Jul 2006; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-autotools-crap.patch, +files/gawk-3.1.5-internal.patch,
+files/gawk-3.1.5-numflags.patch, +files/gawk-3.1.5-syntaxerror.patch,
+files/gawk-3.1.5-utf-8-strcat.patch, +gawk-3.1.5-r2.ebuild:
Grab some patches from Fedora/Debian and hack around broken autotool code
#139397 by Brant Gurganus.
09 Jul 2006; Joshua Kinard <kumba@gentoo.org> gawk-3.1.5-r1.ebuild:
Marked stable on mips.
28 Jun 2006; Thomas Cort <tcort@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on alpha wrt Bug #138147.
28 Jun 2006; Luis Medinas <metalgod@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on amd64. Bug #138147.
27 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on sparc wrt #138147
27 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
gawk-3.1.5-r1.ebuild:
ppc stable, #138147
27 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on x86 wrt bug #138147.
27 Jun 2006; Fabian Groffen <grobian@gentoo.org> gawk-3.1.5-r1.ebuild:
Marked ppc-macos stable for progressive users (bug #138147)
27 Jun 2006; Markus Rothe <corsair@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on ppc64; bug #138147
*gawk-3.1.5-r1 (12 Apr 2006)
12 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-binmode.patch, +files/gawk-3.1.5-fieldwidths.patch,
+files/gawk-3.1.5-num2str.patch, +gawk-3.1.5-r1.ebuild:
Fix bug in FIELDWIDTHS and grab some other patches from Fedora.
30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> gawk-3.1.5.ebuild:
Add ~x86-fbsd keyword.
19 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> gawk-3.1.5.ebuild:
Stable on alpha as per bug #126362
16 Mar 2006; Emanuele Giaquinta <exg@gentoo.org> gawk-3.1.5.ebuild:
Stable on ppc; bug #126362
16 Mar 2006; Torsten Veller <tove@gentoo.org> gawk-3.1.5.ebuild:
Stable on x86 (#126362)
16 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.5.ebuild:
Stable on sparc wrt #126362
16 Mar 2006; Patrick McLean <chutzpah@gentoo.org> gawk-3.1.5.ebuild:
Stable on amd64 (bug #126362).
16 Mar 2006; Markus Rothe <corsair@gentoo.org> gawk-3.1.5.ebuild:
Stable on ppc64; bug #126362
07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> gawk-3.1.5.ebuild:
Don't use /usr/lib/misc, use the right libdir for the current ABI. Fix
multlib-strict.
13 Oct 2005; Kito <kito@gentoo.org> gawk-3.1.5.ebuild:
~ppc-macos keyword
03 Oct 2005; Hardave Riar <hardave@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on mips.
01 Oct 2005; Luis Medinas <metalgod@gentoo.org> gawk-3.1.4-r4.ebuild:
Marked Stable on amd64.
21 Sep 2005; Mike Frysinger <vapier@gentoo.org> gawk-3.1.5.ebuild:
Move libexec dir from /usr/libexec to /usr/lib/misc.
17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
16 Sep 2005; Aron Griffis <agriffis@gentoo.org> gawk-3.1.4-r4.ebuild:
Mark 3.1.4-r4 stable on alpha
03 Sep 2005; Markus Rothe <corsair@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on ppc64
03 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-gcc4.patch, files/filefuncs/Makefile, gawk-3.1.5.ebuild:
Fix by Kito for building with gcc4 #104740 and move a bunch of ugly filefunc
details out of the ebuild and into the filefunc Makefile.
02 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on ppc.
02 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on sparc
*gawk-3.1.5 (01 Sep 2005)
01 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-core.patch, +gawk-3.1.5.ebuild:
Version bump.
29 May 2005; <solar@gentoo.org> gawk-3.1.3-r2.ebuild:
echangelog - update package to use libc expanded variable elibc_uclibc vs
uclibc so USE=-* works
06 May 2005; Mike Frysinger <vapier@gentoo.org>
files/filefuncs/filefuncs.c, gawk-3.1.4-r4.ebuild:
Add switch capabilities #91182 by Ekatalog and BSD support #90847 by Diego
Pettenò.
*gawk-3.1.4-r4 (19 Feb 2005)
19 Feb 2005; Mike Frysinger <vapier@gentoo.org> -gawk-3.1.4-r3.ebuild,
+gawk-3.1.4-r4.ebuild:
Update the xml patch to the current version.
*gawk-3.1.4-r3 (14 Feb 2005)
14 Feb 2005; Mike Frysinger <vapier@gentoo.org> -gawk-3.1.4-r2.ebuild,
+gawk-3.1.4-r3.ebuild:
Build xmlgawk separately from the normal gawk so we dont link against
libexpat (which is in /usr/lib) #81793.
*gawk-3.1.4-r2 (11 Feb 2005)
11 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.3-getpgrp_void.patch, +files/gawk-3.1.4-flonum.patch,
+files/gawk-3.1.4-nextc.patch, +files/gawk-3.1.4-uplow.patch,
-gawk-3.1.4-r1.ebuild, +gawk-3.1.4-r2.ebuild:
Add some patches from Fedora and xmlgawk support #57857 by Alcino Dall Igna
Junior.
*gawk-3.1.4-r1 (29 Jan 2005)
29 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.4-disable-DFA.patch, +gawk-3.1.4-r1.ebuild,
-gawk-3.1.4.ebuild:
Version bump with patch from Fedora to fix random LOCALE bugs #78227.
14 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
files/filefuncs/Makefile, gawk-3.1.3-r2.ebuild, gawk-3.1.4.ebuild:
multilib fixes for filefuncs.
*gawk-3.1.4 (12 Jan 2005)
12 Jan 2005; Mike Frysinger <vapier@gentoo.org> gawk-3.1.3-r2.ebuild,
+gawk-3.1.4.ebuild:
Version bump.
*gawk-3.1.3-r2 (22 Nov 2004)
22 Nov 2004; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.3-r2.ebuild:
Use econf/install with DESTDIR.
14 Nov 2004; Tony Vroon <chainsaw@gentoo.org> gawk-3.1.3-r1.ebuild:
Portability update to cp command, change -d to -P, which works on more OS's.
Suggested by Chris L. Mason <clmason@mac.com> in bug #66911.
28 Sep 2004; Sven Wegener <swegener@gentoo.org>
files/filefuncs/filefuncs.c:
Gentoo Technologies, Inc. -> Gentoo Foundation
01 Sep 2004; Travis Tilley <lv@gentoo.org> gawk-3.1.3-r1.ebuild:
made gawk use $(get_libdir)
24 Aug 2004; Sven Wegener <swegener@gentoo.org> gawk-3.1.3-r1.ebuild:
Changed SRC_URI to use mirror:// syntax.
16 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> -gawk-3.1.1-r2.ebuild,
-gawk-3.1.2-r3.ebuild, gawk-3.1.3-r1.ebuild, -gawk-3.1.3.ebuild:
gnuconfig_update in src_unpack; use emake; tidy; clean older ebuilds
27 Jun 2004; Aron Griffis <agriffis@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3.ebuild:
QA - fix use invocation
15 Jun 2004; <solar@gentoo.org> gawk-3.1.3-r1.ebuild:
run gnuconfig_update when using uclibc
25 Apr 2004; Tom Gall <tgall@gentoo.org> gawk-3.1.3-r1.ebuild:
fix bug 48990 -- affects all 64 bit architectures
07 Mar 2004; Joshua Kinard <kumba@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3-r1.ebuild, gawk-3.1.3.ebuild:
Marked stable on mips, copyright header fixes.
09 Jan 2004; Aron Griffis <agriffis@gentoo.org> gawk-3.1.3-r1.ebuild:
stable on alpha
28 Dec 2003; Joshua Kinard <kumba@gentoo.org> gawk-3.1.3.ebuild:
Move to mips stable (~mips -> mips)
28 Dec 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.3-r1.ebuild:
Move pgawk and igawk to /usr/bin, bug #36453.
*gawk-3.1.3-r1 (28 Dec 2003)
28 Dec 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.3-r1.ebuild:
Make sure /bin/pgawk is a symlink as to not have two binaries taking space.
21 Jul 2003; Christian Birchinger <joker@gentoo.org> gawk-3.1.3.ebuild:
Added sparc stable keyword
20 Jul 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.3.ebuild:
Mark stable for x86 and amd64
*gawk-3.1.3 (10 Jul 2003)
23 Jul 2003; Guy Martin <gmsoft@gentoo.org> gawk-3.1.1-r2.ebuild :
Marked stable on hppa.
22 Jul 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3.ebuild:
Do not copy the filefuncs files with original permissions in tackt, thanks to
Tobias Sager <moixa@gmx.ch>, bug #24989.
10 Jul 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.3.ebuild:
Bump
24 Jun 2003; Aron Griffis <agriffis@gentoo.org> gawk-3.1.2-r3.ebuild:
Mark stable on alpha
*gawk-3.1.2-r3 (27 Mar 2003)
06 Jul 2003; Guy Martin <gmsoft@gentoo.org> gawk-3.1.2-r3.ebuild :
Marked stable on hppa.
22 Jun 2003; Joshua Kinard <kumba@gentoo.org> gawk-3.1.2-r3.ebuild:
Changed ~sparc to sparc in KEYWORDS
Changed ~mips to mips in KEYWORDS
08 Jun 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2-r3.ebuild:
Mark unstable, see bug 21713 for reasons, will wait for 3.1.3 to have a new
stable gawk
23 May 2003; Tavis Ormandy <taviso@gentoo.org> gawk-3.1.2-r3.ebuild:
support for ccc (alpha).
20 May 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r3.ebuild :
Mark stable for all, as all issues are fixed, and 3.1.1-r2 with filefuncs
did not seem to propagate properly.
11 May 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.1-r2.ebuild :
Mark stable for all, as next baselayout will need a gawk with filefuncs.
26 Apr 2003; Christian Birchinger <joker@gentoo.org> gawk-3.1.2-r3.ebuild :
Added stable sparc keyword
17 Apr 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2-r3.ebuild :
Changed x86 keywords
27 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r3.ebuild :
Special files like those in /proc, report themselves as regular files
of length 0, when in fact they have data in them if you try to read them.
The new record-reading code wasn't quite smart enough to deal with such
a bizarre case. The following patch fixes the problem, thanks to
Arnold D. Robbins (Maintainer of gawk).
*gawk-3.1.1-r2 (26 Mar 2003)
26 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.1-r2.ebuild :
For some reason gawk-3.1.2 is more pain than worth. Seems this release
also borks the ability to specify input files as arguments:
# gawk '/devfs/ { print }' /proc/filesystems
#
should have been the same as:
# cat /proc/filesystems | gawk '/devfs/ { print }'
nodev devfs
nodev usbdevfs
#
Thus all this release does, is get the filefuncs module into 3.1.1 as well,
so that we can totally mask gawk-3.1.2.
*gawk-3.1.2-r2 (25 Mar 2003)
25 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r2.ebuild :
Add filefuncs module from baselayout, as it is very closly tied to the gawk
version running. While we are at it, version the module (filefuncs.so.0.0.1,
with soname of filefuncs.so.0 for now). Do not install acconfig.h into
/usr/include/awk, as it is redundant. This should fix bug #18127.
*gawk-3.1.2-r1 (25 Mar 2003)
25 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r1.ebuild :
Version that should not really have hit portage, but I was busy at work
and closing time caught me.
*gawk-3.1.2 (24 Mar 2003)
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2.ebuild :
-* keyword, and get the -r1 ebuild stuff that I somehow ignored into it, a -r1
which will be ~ rather than - will be forthcoming
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2.ebuild :
Bump
20 Feb 2003; Zach Welch <zwelch@gentoo.org> gawk-3.1.1-r1.ebuild :
Added arm to keywords.
08 Feb 2003; Guy Martin <gmsoft@gentoo.org> gawk-3.1.1-r1.ebuild :
Added hppa to keywords.
*gawk-3.1.1-r1 (20 Dec 2002)
20 Dec 2002; Jan Seidel <tuxus@gentoo.org> gawk-3.1.1-r1.ebuild :
Added mips to keywords
16 Dec 2002; Martin Schlemmmer <azarah@gentoo.org> gawk-3.1.1-r1.ebuild :
Fix rare case where gawk do not get installed as /bin/gawk-$PV, but
rather /bin/gawk-. Fix missing docs.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*gawk-3.1.1-r1 (14 Nov 2002)
14 Nov 2002; Martin Schlemmmer <azarah@gentoo.org> :
Install gawk headers into /usr/include/awk.
*gawk-3.1.1 (21 Jul 2002)
21 Jul 2002; Martin Schlemmmer <azarah@gentoo.org> :
Update version.
*gawk-3.1.0-r3 (21 Jul 2002)
21 Jul 2002; Martin Schlemmer <azarah@gentoo.org> :
Move /usr/bin/awk to /bin/awk for upcomming baselayout.
*gawk-3.1.0-r2 (26 Jun 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> gawk-3.1.0-r2.ebuild :
Added KEYWORDS, SLOT.
26 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
Add /bin/awk compat symlink, closing bug #3288.
*gawk-3.1.0-r1 (12 Mar 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> gawk-3.1.0-r1.ebuild :
Added KEYWORDS, SLOT.
12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog :
Added USE dependent nls compilation
*gawk-3.1.0 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -0,0 +1,35 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX filefuncs/Makefile 1226 SHA256 a3b91ceefd4d659d9ffdc0c8502c7de10e7d4f9daee4e297cb2d8da11257c77e SHA512 7238b64971d6345d99d24b75363f9d842befa140c3373709c0ddfceb566666fbf75dfa10aea032028b1a7ffe94180d389fb922b23f79ccf8f319a76d23b2c96d WHIRLPOOL 3557762a538e26484a3203fac09b6094e4eef306dfa6fa414a5722bf738accadd0f893787d102cefd5b1132db7d12511ec0378c958ef51370ee618f25aaf3698
AUX filefuncs/filefuncs.c 10992 SHA256 c647aa27170ef8e001d47bdf86c47809afd7f6d5a89be2f9769ce05b55ed8309 SHA512 07caa4dfe83716de8218f9035b893778461a8c709a538a0a3f45dc6a08f99387a9bf15967b849cdad8ccfe1fb94fc4c3de790457f6460998275afe20f8c16a94 WHIRLPOOL 6b2078a9538691871c6441a5d828d17246a97640ad8c3d080e9b24f324488500e2da4058bdb387ee857d849ec9f4a0be36f77fc335357c4a48f24ca9bb5271bf
AUX gawk-4.1.0-ports.patch 5332 SHA256 ff39dda30e5efc14f9cd7c85f105049c36c78ff89b98fc992c86d9cf6384fca2 SHA512 37a25cc8515862b3a6056751e5fa0828a9630eee118f1da6dfda3881ac5b54e3997d389034f3d4b5b2b142449dd7631eece480d5316e59e85c3fc29b52bcd6dd WHIRLPOOL f99a6f7952431558c956b5d32d6d2e0048b3f164e211e96b0dfd07aef7de3c2fd474f86448bb7dd1e25ca0b3e5a849ad3ac72c17278ccaa16f49dfb839f8e4ec
AUX gawk-4.1.1-sandbox_issue.patch 801 SHA256 0b6f8aaed3e6c6f699ac972f4280d08310a30fa298045af3ddea6cc3b23f14b6 SHA512 66d69aad7079cfb9d2d126f5ec408cc1a221caf444def4d6c1be7e8d4c3254ff50694ae519f0d04ec903573218db7ebaded49e7471337debedd65e5c5b015792 WHIRLPOOL 9b338c4d57f23a073196bffa0ff2d7680e4784a47545abcafa9d1629bc81b510fab90c8339d645cd6cb58e6dd5273ca3322a5797901ba166af7c2789924f0fdd
AUX gawk-4.1.1-sigpipe.patch 1250 SHA256 6b6330c4fdc918d8aa271eeefd343d591dc644852f367ec5f06101b5aa5f2c37 SHA512 657a719bb62e4b056452ce927edca90439ac0d7e1bb4fe32a3dbed5c55e0d054bb386bd30e962bf454b19d6ae8dd910972b3214cd6049ec9391286db9e8dc456 WHIRLPOOL 51665115e36fcf818809e5a86d46b3d33f33acce66a57566721acdce1f10a6b870f46d93647704b4e1b3b3fd8f92506489bbf9f523352708c5aa217e1a4c8dc6
DIST gawk-3.1.8.tar.bz2 1984129 SHA256 5dbc7b2c4c328711337c2aacd09a122c7313122262e3ff034590f014067412b4 SHA512 a8046c1a5a6ffc8bd90cc6062d97ba6301b7a707f4a34a06355a83aaaea2ccdf4c4476563fc6f444b529a2d8d3a2de2126b53434ba50aad8bd898fb3299904dd WHIRLPOOL e24079d7c2aee57e48db2ef76df4c217ea0fa435304a563c6df8d0442f8a5e5e4cff2141809f68430939d66a3a6eda981edefa94b2b8c85e5f0a3ee7ba8a7649
DIST gawk-4.0.2.tar.xz 1626808 SHA256 21e1f28c51b5160f0a4bf1a735c6109b46a3bd6a43de808eabc21c17bb026d13 SHA512 069f68b6792521d94d4003764006ad8fbe9a17c60a88212629204d9a5eb3f662903fff6d91dd3c1834597b76c18f9d3231c93a033f456c59c0571ac13eb77b27 WHIRLPOOL 8b2916d964c5fa67a46c0a5fc39d424b03e6b39a3335ad796a224feb760528631199c1ec6ee2b6719bdc014ab190ddf38092211685020c92851d617e6ca08690
DIST gawk-4.1.1.tar.xz 2196904 SHA256 efd4c6aafb1ce996309fc903ceb625e7012221c464eb72483dbb23adef1ee8db SHA512 f11d7ef03e69f554baf80b0e75c2de8916aaefd5481c2ed8b83cde8edf09f765c18a4cef6175934fa29cc1afa30b8f7e54266b28377705eaca154146e03f634b WHIRLPOOL bbc42530767f4b2ad32b9de62bc82712c4d1c44433c6c9ab8ea8cbf271bc5735a258cda0163e9e8fe92cbbd625aca00c3bcf68c406f8ed4777081b553814d149
DIST gawk-4.1.2.tar.xz 2279136 SHA256 ea8b53c5834ee27012fecba7273f97fca7104884975cf81ddae6f85c5581f481 SHA512 89aed50a4bd335bd6a3045b1b738c76788f3d8d5745153683c990f021e424c31d8a3b2599f8e57f18f64022d5d1b57f4766ccf1a7d2a1b9fb4b20dabdf099117 WHIRLPOOL 254900ce8ce9992551e89ed5ccf6ba9b0bdb8324643d0c84573404c59d3d756aa64de2d054194d424958f9aa4c52bd9b12ba6185ada0d39b38cd046e1192c336
EBUILD gawk-3.1.8.ebuild 1899 SHA256 e744223da8960e3a7d6cb6a7ad33e286be8d0b611bf88df4a55bd8e6b8cdbe45 SHA512 64f8018d3548784044188170589d20049c7dfd91090f3be709f1d405f638fb5585e2a846e69b6993ae05cd1e880ab51513617044ea11c933800e9a31828a8778 WHIRLPOOL a4382af5d5538f8638f28d76e746799a905d3ab6899562fa437c60ded1657cb2a84a79ed65c48e78ad26262dd8849786affa4e844f76437d2678bcae9ad73210
EBUILD gawk-4.0.2.ebuild 2264 SHA256 7136d6883bd88a6afc0fdc08b80249500469d1701247653117225a1567361779 SHA512 ad0c0e04b1470b7b93d45d420e0d6c8ffd89836400814eea0cea670bb3901ecda80f96f055e91620e2b2d875caffecc27a3b2e499cf03a5e4963e9b643f0b999 WHIRLPOOL d4491d84b12c30aa0b2983346598aac85c01b0928c09e43042f1b2b63457e40cf73976e80ecf463484bd00126f16c791336629b5b0344721505a94d5efb533a1
EBUILD gawk-4.1.1-r1.ebuild 2418 SHA256 43d96feb18e04231ca13c7e12af1627206f9f5b3e0326ab48bdfd7f14fd6c992 SHA512 dafd4937f4ad2b8dc6d5270d1ed07ebe0c2561256be3342f76f7414d90c737559191f85c3d244c343b751b84989c9f31120309617965e908903107013e2f551d WHIRLPOOL 6bcde91064cea20dc15fb8ae25927471772e15eb53e7e23bcfef7991681f0c15e630353fe34a85b6477daf84d4d30b915bb9221f4ad38884aaf7df2ac67dce42
EBUILD gawk-4.1.2.ebuild 2307 SHA256 20f9b8f4d0f1832407cca08cd96d718fe6bba8eedc9e9292fc60b3254c720635 SHA512 66c149a6572186cc751fdf95523780cf7d48095d733cf1fba9f69800b9bccd2b08aa45a8647e2850e1039bbd8bd10a6a9e39c11bd3315978685811c03f68217d WHIRLPOOL 48012177a9626711eca7c5352c10137d43b248fd0461c97fa235be199d30d7a72ddc45eb9f63362425cf7184d5c92b9f055e4b5745726aaf2a1eb98633c7bcc5
MISC ChangeLog 24530 SHA256 6c5e78268f5fd179ce00e111991afb99c47adf7b03adbfdcc8dd42a757448d11 SHA512 dd105bd096ff7027eed901ecaa1b66e3f0342cdd77a1109afbb5c9b6a4a26814db0c6a9e924ca3bd16cf8e30a4e9b84f2e3c0c9b72b83770354ffbb88c64cbef WHIRLPOOL 3785c3e1e7630ae0a824c4b6c05070ee78d20c34b351b3b944040a9e700eba76355ef1a66bc1e0cb7c2f73454e0f4c2bc52688a907d5082c8faf5fd8f5df30c8
MISC metadata.xml 258 SHA256 741574d9acaca0b5556f6cfa01e8754daa3519c18c5903e17a6fb8874bcfa451 SHA512 e63162871aee375c0b000a9052cb944072b43b400c532a0eff50599e40f010ada30675e68c60d0497226f5b593220235b9b6357e1f1f8859ea71852e532822b8 WHIRLPOOL 75d54aeff7b6adb2760941a8c12fbba6f1a67f9167d938e267bb61046770c9508bbcc9b732c564983c27eb6450780edbe2cd4ac19b2aa317d97e0a6e4da49d9a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVR11pAAoJEPiazRVxLXTFE/YP/i2xlOc2wtZXU+F3QFWKP+yk
DPNgSq/PRbaQPkWNyo0SLSToOTr2uodFXKvLDSh5xE4S86ETTcWfOrUgTz6wZYoX
8SgAC0sMgJ4Ucr+2afCRUDnk0IbFGLOArbzphj1YWqQ8aTd9Ou47bGL3gTWfv/1A
X0E9CjUcz1jKIIjzzGHmwMkF7+kdVPDmtDJyCknuZUUBO+VUWvXYi1VRjgwcg6ME
OFo7RsOEl6zpKyzi7ibDg5AvKqx4U7M+pOk9AfhmPMvdRlh8LCu9atwRXbniY3MK
IGZIqlPr7YpyybgKA3nqPJL/PvixPPFm8eibV25DscFuPPIgPpSc9I0glf9cfZYL
iBmivGp7UZrn/Dzp39DbwBPE5zLSGhOGmozrjhCYrHLwjh7Msc7xS0r0m1nLXk61
QxRr1AcPlzsRQxBRdUOfwWeD5or2E2L4fJasdwCL6TyDadoUvpNkcCf5kNpWhvo6
Zv8J8LNlMzlL0a9owORWMU8IwA1SdJ/k2Z0DMPkD+PsY+9k2e3QlvUH5hb7YJids
VO2XkAXiI8nd8idBOebmtW6uaZrTDtqE+0j7pv1Biaz2UN1FzsZ2Nl78l2cH1k/U
sE2+U4A/fRxD6A0acw7dce1RK9H+A+17jpIKDbJZSvaOC9XOyHyosui3j5Vbr/yq
RDa30A/Df/UhfpwvrkkW
=OBGL
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,57 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Author: Martin Schlemmer <azarah@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/Makefile,v 1.10 2009/05/16 22:02:25 vapier Exp $
CC ?= gcc
LD = $(CC)
MAJORVER = 0
MINORVER = 0.1
AWKINCDIR = /usr/include/awk
DESTDIR =
TARGET = filefuncs
TARGET_LIB = $(TARGET).so.$(MAJORVER).$(MINORVER)
LIBDIR = lib
# Gentoo specific cruft, you like it dont ya idiot
ifdef D
DESTDIR = $(D)
endif
ifdef S
AWKINCDIR = $(S)
endif
DOIT = yes
ifeq ($(USERLAND),Darwin)
DOIT = no
endif
ifeq ($(DOIT),yes)
all: $(TARGET_LIB)
$(TARGET).o: $(TARGET).c
$(CC) $(CFLAGS) $(CPPFLAGS) -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I$(AWKINCDIR) $^
$(TARGET_LIB): $(TARGET).o
$(LD) $(LDFLAGS) -o $@ -shared -Wl,-soname -Wl,$(TARGET).so.$(MAJORVER) $^
install: $(TARGET_LIB)
install -m 0755 -d $(DESTDIR)/$(LIBDIR)/rcscripts
install -m 0755 $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts
ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so.$(MAJORVER)
ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so
clean:
rm -f $(TARGET)
rm -f *.o *~ core
else
all install clean:
endif

View File

@ -0,0 +1,485 @@
/*
* filefuncs.c - Builtin functions that provide initial minimal iterface
* to the file system.
*
* Arnold Robbins, update for 3.1, Mon Nov 23 12:53:39 EST 1998
*/
/*
* Copyright (C) 2001 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
*
* GAWK is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GAWK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
/*
* Copyright 1999-2004 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
* Author: Martin Schlemmer <azarah@gentoo.org>, Nov 2002
* $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/filefuncs.c,v 1.3 2005/05/06 01:35:53 vapier Exp $
*
* Extended with: do_symlink()
* do_unlink()
* do_mkdir()
* do_rmdir()
*
* for use in the Gentoo rcscripts
*
*/
#include "awk.h"
#include <unistd.h>
/* do_chdir --- provide dynamically loaded chdir() builtin for gawk */
static NODE *
do_chdir(tree)
NODE *tree;
{
NODE *newdir;
int ret = -1;
if (do_lint && tree->param_cnt > 1)
lintwarn("chdir: called with too many arguments");
newdir = get_argument(tree, 0);
if (newdir != NULL) {
(void) force_string(newdir);
ret = chdir(newdir->stptr);
if (ret < 0)
update_ERRNO();
free_temp(newdir);
} else if (do_lint)
lintwarn("chdir: called with no arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_symlink --- provide dynamically loaded symlink() builtin for gawk */
static NODE *
do_symlink(tree)
NODE *tree;
{
NODE *oldpath, *newpath;
int ret = -1;
if (do_lint && tree->param_cnt > 2)
lintwarn("symlink: called with too many arguments");
oldpath = get_argument(tree, 0);
newpath = get_argument(tree, 1);
if ((oldpath != NULL) && (newpath)) {
(void) force_string(oldpath);
(void) force_string(newpath);
ret = symlink(oldpath->stptr, newpath->stptr);
if (ret < 0)
update_ERRNO();
free_temp(oldpath);
free_temp(newpath);
} else if (do_lint)
lintwarn("symlink: called with not enough arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_unlink --- provide dynamically loaded unlink() builtin for gawk */
static NODE *
do_unlink(tree)
NODE *tree;
{
NODE *pathname;
int ret = -1;
if (do_lint && tree->param_cnt > 1)
lintwarn("unlink: called with too many arguments");
pathname = get_argument(tree, 0);
if (pathname != NULL) {
(void) force_string(pathname);
ret = unlink(pathname->stptr);
if (ret < 0)
update_ERRNO();
free_temp(pathname);
} else if (do_lint)
lintwarn("unlink: called with no arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_mkdir --- provide dynamically loaded mkdir() builtin for gawk */
static NODE *
do_mkdir(tree)
NODE *tree;
{
NODE *pathname, *mode;
int ret = -1;
if (do_lint && tree->param_cnt > 2)
lintwarn("mkdir: called with too many arguments");
pathname = get_argument(tree, 0);
mode = get_argument(tree, 1);
if ((pathname != NULL) && (mode != NULL)) {
(void) force_string(pathname);
(void) force_number(mode);
ret = mkdir(pathname->stptr, mode->numbr);
if (ret < 0)
update_ERRNO();
free_temp(pathname);
free_temp(mode);
} else if (do_lint)
lintwarn("mkdir: called with not enough arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_rmdir --- provide dynamically loaded rmdir() builtin for gawk */
static NODE *
do_rmdir(tree)
NODE *tree;
{
NODE *pathname;
int ret = -1;
if (do_lint && tree->param_cnt > 1)
lintwarn("rmdir: called with too many arguments");
pathname = get_argument(tree, 0);
if (pathname != NULL) {
(void) force_string(pathname);
ret = rmdir(pathname->stptr);
if (ret < 0)
update_ERRNO();
free_temp(pathname);
} else if (do_lint)
lintwarn("rmdir: called with no arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* format_mode --- turn a stat mode field into something readable */
static char *
format_mode(fmode)
unsigned long fmode;
{
static char outbuf[12];
int i;
strcpy(outbuf, "----------");
/* first, get the file type */
i = 0;
switch (fmode & S_IFMT) {
#ifdef S_IFSOCK
case S_IFSOCK:
outbuf[i] = 's';
break;
#endif
#ifdef S_IFLNK
case S_IFLNK:
outbuf[i] = 'l';
break;
#endif
case S_IFREG:
outbuf[i] = '-'; /* redundant */
break;
case S_IFBLK:
outbuf[i] = 'b';
break;
case S_IFDIR:
outbuf[i] = 'd';
break;
#ifdef S_IFDOOR /* Solaris weirdness */
case S_IFDOOR:
outbuf[i] = 'D';
break;
#endif /* S_IFDOOR */
case S_IFCHR:
outbuf[i] = 'c';
break;
#ifdef S_IFIFO
case S_IFIFO:
outbuf[i] = 'p';
break;
#endif
}
i++;
if ((fmode & S_IRUSR) != 0)
outbuf[i] = 'r';
i++;
if ((fmode & S_IWUSR) != 0)
outbuf[i] = 'w';
i++;
if ((fmode & S_IXUSR) != 0)
outbuf[i] = 'x';
i++;
if ((fmode & S_IRGRP) != 0)
outbuf[i] = 'r';
i++;
if ((fmode & S_IWGRP) != 0)
outbuf[i] = 'w';
i++;
if ((fmode & S_IXGRP) != 0)
outbuf[i] = 'x';
i++;
if ((fmode & S_IROTH) != 0)
outbuf[i] = 'r';
i++;
if ((fmode & S_IWOTH) != 0)
outbuf[i] = 'w';
i++;
if ((fmode & S_IXOTH) != 0)
outbuf[i] = 'x';
i++;
outbuf[i] = '\0';
if ((fmode & S_ISUID) != 0) {
if (outbuf[3] == 'x')
outbuf[3] = 's';
else
outbuf[3] = 'S';
}
/* setgid without execute == locking */
if ((fmode & S_ISGID) != 0) {
if (outbuf[6] == 'x')
outbuf[6] = 's';
else
outbuf[6] = 'l';
}
if ((fmode & S_ISVTX) != 0) {
if (outbuf[9] == 'x')
outbuf[9] = 't';
else
outbuf[9] = 'T';
}
return outbuf;
}
/* do_stat --- provide a stat() function for gawk */
static NODE *
do_stat(tree)
NODE *tree;
{
NODE *file, *array;
struct stat sbuf;
int ret;
NODE **aptr;
char *pmode; /* printable mode */
char *type = "unknown";
/* check arg count */
if (tree->param_cnt != 2)
fatal(
"stat: called with incorrect number of arguments (%d), should be 2",
tree->param_cnt);
/* directory is first arg, array to hold results is second */
file = get_argument(tree, 0);
array = get_argument(tree, 1);
/* empty out the array */
assoc_clear(array);
/* lstat the file, if error, set ERRNO and return */
(void) force_string(file);
ret = lstat(file->stptr, & sbuf);
if (ret < 0) {
update_ERRNO();
set_value(tmp_number((AWKNUM) ret));
free_temp(file);
return tmp_number((AWKNUM) 0);
}
/* fill in the array */
aptr = assoc_lookup(array, tmp_string("name", 4), FALSE);
*aptr = dupnode(file);
aptr = assoc_lookup(array, tmp_string("dev", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_dev);
aptr = assoc_lookup(array, tmp_string("ino", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_ino);
aptr = assoc_lookup(array, tmp_string("mode", 4), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_mode);
aptr = assoc_lookup(array, tmp_string("nlink", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_nlink);
aptr = assoc_lookup(array, tmp_string("uid", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_uid);
aptr = assoc_lookup(array, tmp_string("gid", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_gid);
aptr = assoc_lookup(array, tmp_string("size", 4), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_size);
aptr = assoc_lookup(array, tmp_string("blocks", 6), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_blocks);
aptr = assoc_lookup(array, tmp_string("atime", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_atime);
aptr = assoc_lookup(array, tmp_string("mtime", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_mtime);
aptr = assoc_lookup(array, tmp_string("ctime", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_ctime);
/* for block and character devices, add rdev, major and minor numbers */
if (S_ISBLK(sbuf.st_mode) || S_ISCHR(sbuf.st_mode)) {
aptr = assoc_lookup(array, tmp_string("rdev", 4), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_rdev);
aptr = assoc_lookup(array, tmp_string("major", 5), FALSE);
*aptr = make_number((AWKNUM) major(sbuf.st_rdev));
aptr = assoc_lookup(array, tmp_string("minor", 5), FALSE);
*aptr = make_number((AWKNUM) minor(sbuf.st_rdev));
}
#ifdef HAVE_ST_BLKSIZE
aptr = assoc_lookup(array, tmp_string("blksize", 7), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_blksize);
#endif /* HAVE_ST_BLKSIZE */
aptr = assoc_lookup(array, tmp_string("pmode", 5), FALSE);
pmode = format_mode(sbuf.st_mode);
*aptr = make_string(pmode, strlen(pmode));
/* for symbolic links, add a linkval field */
if (S_ISLNK(sbuf.st_mode)) {
char buf[BUFSIZ*2];
int linksize;
linksize = readlink(file->stptr, buf, sizeof buf);
/* should make this smarter */
if (linksize == sizeof(buf))
fatal("size of symbolic link too big");
buf[linksize] = '\0';
aptr = assoc_lookup(array, tmp_string("linkval", 7), FALSE);
*aptr = make_string(buf, linksize);
}
/* add a type field */
switch (sbuf.st_mode & S_IFMT) {
#ifdef S_IFSOCK
case S_IFSOCK:
type = "socket";
break;
#endif
#ifdef S_IFLNK
case S_IFLNK:
type = "symlink";
break;
#endif
case S_IFREG:
type = "file";
break;
case S_IFBLK:
type = "blockdev";
break;
case S_IFDIR:
type = "directory";
break;
#ifdef S_IFDOOR
case S_IFDOOR:
type = "door";
break;
#endif
case S_IFCHR:
type = "chardev";
break;
#ifdef S_IFIFO
case S_IFIFO:
type = "fifo";
break;
#endif
}
aptr = assoc_lookup(array, tmp_string("type", 4), FALSE);
*aptr = make_string(type, strlen(type));
free_temp(file);
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* dlload --- load new builtins in this library */
NODE *
dlload(tree, dl)
NODE *tree;
void *dl;
{
make_builtin("chdir", do_chdir, 1);
make_builtin("symlink", do_symlink, 2);
make_builtin("unlink", do_unlink, 1);
make_builtin("mkdir", do_mkdir, 2);
make_builtin("rmdir", do_rmdir, 1);
make_builtin("stat", do_stat, 2);
return tmp_number((AWKNUM) 0);
}

View File

@ -0,0 +1,189 @@
AIX port, bug#490266.
This is from 2 upstream commits:
http://git.savannah.gnu.org/cgit/gawk.git/commit/?h=gawk-4.1-stable&id=21c8b6d547b12942775d675ead2994992285c04c
http://git.savannah.gnu.org/cgit/gawk.git/commit/?h=gawk-4.1-stable&id=29e3ae329c550b884169b7db20775cd74b95b77a
#diff --git a/extension/ChangeLog b/extension/ChangeLog
#index e01d6d1..4d1af22 100644
#--- a/extension/ChangeLog
#+++ b/extension/ChangeLog
#@@ -1,3 +1,20 @@
#+2013-10-23 Michael Haubenwallner <michael.haubenwallner@salomon.at>
#+
#+ Fix portability for AIX.
#+
#+ * inplace.c (_XOPEN_SOURCE): Define when not defined yet.
#+ (_XOPEN_SOURCE_EXTENDED): Ditto. Needs to define a number.
#+
#+2013-06-10 Arnold D. Robbins <arnold@skeeve.com>
#+
#+ * configure.ac (AC_HEADER_MAJOR): New macro added.
#+ Add check for limits.h header.
#+ * filefuncs.c: Add the right stuff to get the major/minor macros.
#+ * readdir.c: Add include of limits.h appropriately wrapped.
#+
#+ Thanks to ICHII Takashi <ichii386@schweetheart.jp> for the reports
#+ and pointers.
#+
# 2013-05-09 Arnold D. Robbins <arnold@skeeve.com>
#
# * 4.1.0: Release tar ball made.
#diff --git a/extension/configure.ac b/extension/configure.ac
#index 53ed588..3ad03ed 100644
#--- a/extension/configure.ac
#+++ b/extension/configure.ac
#@@ -64,7 +64,8 @@ else
# AC_MSG_RESULT([no])
# fi
#
#-AC_CHECK_HEADERS(dirent.h fnmatch.h time.h sys/time.h sys/select.h)
#+AC_HEADER_MAJOR
#+AC_CHECK_HEADERS(dirent.h fnmatch.h limits.h time.h sys/time.h sys/select.h)
#
# AC_CHECK_FUNCS(fdopendir fnmatch gettimeofday \
# getdtablesize nanosleep select GetSystemTimeAsFileTime)
diff --git a/extension/configh.in b/extension/configh.in
index 9162ce4..02954ee 100644
--- a/extension/configh.in
+++ b/extension/configh.in
@@ -66,6 +66,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
@@ -109,6 +112,14 @@
*/
#undef LT_OBJDIR
+/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
+ */
+#undef MAJOR_IN_MKDEV
+
+/* Define to 1 if `major', `minor', and `makedev' are declared in
+ <sysmacros.h>. */
+#undef MAJOR_IN_SYSMACROS
+
/* Name of package */
#undef PACKAGE
diff --git a/extension/configure b/extension/configure
index f848b9b..c3f8f1c 100755
--- a/extension/configure
+++ b/extension/configure
@@ -13885,7 +13885,57 @@ else
$as_echo "no" >&6; }
fi
-for ac_header in dirent.h fnmatch.h time.h sys/time.h sys/select.h
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
+$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
+if ${ac_cv_header_sys_types_h_makedev+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+int
+main ()
+{
+return makedev(0, 0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_header_sys_types_h_makedev=yes
+else
+ ac_cv_header_sys_types_h_makedev=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
+$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
+
+if test $ac_cv_header_sys_types_h_makedev = no; then
+ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
+
+$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
+
+fi
+
+
+
+ if test $ac_cv_header_sys_mkdev_h = no; then
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
+
+$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
+
+fi
+
+
+ fi
+fi
+
+for ac_header in dirent.h fnmatch.h limits.h time.h sys/time.h sys/select.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 1e8fc8d..9e637aa 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -46,6 +46,12 @@
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef MAJOR_IN_MKDEV
+#include <sys/mkdev.h>
+#elif defined(MAJOR_IN_SYSMACROS)
+#include <sys/sysmacros.h>
+#endif
+
#include "gawkapi.h"
#include "gettext.h"
diff --git a/extension/inplace.c b/extension/inplace.c
index ded4746..69d452a 100644
--- a/extension/inplace.c
+++ b/extension/inplace.c
@@ -27,8 +27,12 @@
#include <config.h>
#endif
-#define _XOPEN_SOURCE
-#define _XOPEN_SOURCE_EXTENDED
+#ifndef _XOPEN_SOURCE
+# define _XOPEN_SOURCE
+#endif
+#ifndef _XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED 1
+#endif
#include <stdio.h>
#include <assert.h>
diff --git a/extension/readdir.c b/extension/readdir.c
index 5ca4dc6..c2a626a 100644
--- a/extension/readdir.c
+++ b/extension/readdir.c
@@ -44,6 +44,10 @@
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#else

View File

@ -0,0 +1,26 @@
Fix sandbox issue.
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
--- gawk-4.1.1/extension/Makefile.am 2014-02-20 19:42:25.000000000 +0100
+++ gawk-4.1.1/extension/Makefile.am 2014-02-20 19:42:25.000000000 +0100
@@ -100,7 +100,7 @@
install-data-hook:
for i in $(pkgextension_LTLIBRARIES) ; do \
- $(RM) $(pkgextensiondir)/$$i ; \
+ $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \
done
# Keep the uninstall check working:
--- gawk-4.1.1/extension/Makefile.in 2014-04-08 18:13:03.000000000 +0200
+++ gawk-4.1.1/extension/Makefile.in 2014-04-08 18:13:03.000000000 +0200
@@ -1231,7 +1231,7 @@
install-data-hook:
for i in $(pkgextension_LTLIBRARIES) ; do \
- $(RM) $(pkgextensiondir)/$$i ; \
+ $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \
done
# Keep the uninstall check working:

View File

@ -0,0 +1,34 @@
From 19564e696aca506a14ceb4a08aa2b7c7988a2473 Mon Sep 17 00:00:00 2001
From: Arnold D. Robbins <arnold@skeeve.com>
Date: Fri, 25 Apr 2014 10:21:43 +0000
Subject: In forked children, set SIGPIPE to SIG_DFL.
---
* io.c (two_way_open): In forked child, reset SIGPIPE to SIG_DFL.
Fixes problems with "broken pipe" errors from child processes,
restoring 4.1.0 and earlier behavior. Thanks to Daryl F
<wyatt@prairieturtle.ca> for the report.
(gawk_popen): Ditto.
diff --git a/io.c b/io.c
index a6e786f..2bb8f28 100644
--- a/io.c
+++ b/io.c
@@ -2078,6 +2078,7 @@ use_pipes:
|| close(ctop[0]) == -1 || close(ctop[1]) == -1)
fatal(_("close of pipe failed (%s)"), strerror(errno));
/* stderr does NOT get dup'ed onto child's stdout */
+ signal(SIGPIPE, SIG_DFL);
execl("/bin/sh", "sh", "-c", str, NULL);
_exit(errno == ENOENT ? 127 : 126);
}
@@ -2271,6 +2272,7 @@ gawk_popen(const char *cmd, struct redirect *rp)
fatal(_("moving pipe to stdout in child failed (dup: %s)"), strerror(errno));
if (close(p[0]) == -1 || close(p[1]) == -1)
fatal(_("close of pipe failed (%s)"), strerror(errno));
+ signal(SIGPIPE, SIG_DFL);
execl("/bin/sh", "sh", "-c", cmd, NULL);
_exit(errno == ENOENT ? 127 : 126);
}
--
cgit v0.9.0.2

View File

@ -0,0 +1,78 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.8.ebuild,v 1.8 2014/02/18 18:58:12 ottxor Exp $
EAPI="2"
inherit eutils toolchain-funcs multilib
DESCRIPTION="GNU awk pattern-matching language"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
SRC_URI="mirror://gnu/gawk/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="nls"
RDEPEND="!>=virtual/awk-1"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
SFFS=${WORKDIR}/filefuncs
src_unpack() {
unpack ${A}
# Copy filefuncs module's source over ...
cp -r "${FILESDIR}"/filefuncs "${SFFS}" || die "cp failed"
}
src_prepare() {
# use symlinks rather than hardlinks, and disable version links
sed -i \
-e '/^LN =/s:=.*:= $(LN_S):' \
-e '/install-exec-hook:/s|$|\nfoo:|' \
Makefile.in doc/Makefile.in
}
src_configure() {
export ac_cv_libsigsegv=no
econf \
--libexec='$(libdir)/misc' \
$(use_enable nls) \
--enable-switch
}
src_compile() {
emake || die
emake -C "${SFFS}" CC="$(tc-getCC)" || die "filefuncs emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die
emake -C "${SFFS}" LIBDIR="$(get_libdir)" install || die
# Keep important gawk in /bin
if use userland_GNU ; then
dodir /bin
mv "${D}"/usr/bin/gawk "${D}"/bin/ || die
dosym /bin/gawk /usr/bin/gawk
# Provide canonical `awk`
dosym gawk /bin/awk
dosym gawk /usr/bin/awk
dosym gawk.1 /usr/share/man/man1/awk.1
fi
# Install headers
insinto /usr/include/awk
doins *.h || die
# We do not want 'acconfig.h' in there ...
rm -f "${D}"/usr/include/awk/acconfig.h
dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD README README_d/*.*
for x in */ChangeLog ; do
newdoc ${x} ${x##*/}.${x%%/*}
done
}

View File

@ -0,0 +1,74 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-4.0.2.ebuild,v 1.14 2015/03/31 20:22:33 ulm Exp $
EAPI="4"
inherit eutils toolchain-funcs multilib
DESCRIPTION="GNU awk pattern-matching language"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls readline"
# older gawk's provided shared lib for baselayout-1
RDEPEND="!<sys-apps/baselayout-2.0.1
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
# use symlinks rather than hardlinks, and disable version links
sed -i \
-e '/^LN =/s:=.*:= $(LN_S):' \
-e '/install-exec-hook:/s|$|\nfoo:|' \
Makefile.in doc/Makefile.in
sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
}
src_configure() {
export ac_cv_libsigsegv=no
econf \
--libexec='$(libdir)/misc' \
$(use_enable nls) \
$(use_with readline)
}
src_install() {
emake install DESTDIR="${D}" || die
# Install headers
insinto /usr/include/awk
doins *.h || die
rm "${ED}"/usr/include/awk/config.h || die
dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD README README_d/*.*
for x in */ChangeLog ; do
newdoc ${x} ${x##*/}.${x%%/*}
done
}
pkg_postinst() {
# symlink creation here as the links do not belong to gawk, but to any awk
if has_version app-admin/eselect \
&& has_version app-eselect/eselect-awk ; then
eselect awk update ifunset
else
local l
for l in "${EROOT}"usr/share/man/man1/gawk.1* "${EROOT}"usr/bin/gawk; do
[[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" "${l/gawk/awk}"
done
[[ ! -e ${EROOT}bin/awk ]] && ln -s "../usr/bin/gawk" "${EROOT}bin/awk"
fi
}
pkg_postrm() {
if has_version app-admin/eselect \
&& has_version app-eselect/eselect-awk ; then
eselect awk update ifunset
fi
}

View File

@ -0,0 +1,78 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-4.1.1-r1.ebuild,v 1.2 2015/03/31 20:22:33 ulm Exp $
EAPI="4"
inherit eutils toolchain-funcs multilib
DESCRIPTION="GNU awk pattern-matching language"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="mpfr nls readline"
RDEPEND="mpfr? ( dev-libs/mpfr )
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
EPATCH_OPTS="-Z" \
epatch "${FILESDIR}"/${P}-sandbox_issue.patch
epatch "${FILESDIR}"/${P}-sigpipe.patch #507340
# use symlinks rather than hardlinks, and disable version links
sed -i \
-e '/^LN =/s:=.*:= $(LN_S):' \
-e '/install-exec-hook:/s|$|\nfoo:|' \
Makefile.in doc/Makefile.in || die
sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
# disable pointless build time hack that breaks cross-compiling #493362
sed -i \
-e '/check-recursive all-recursive: check-for-shared-lib-support/d' \
extension/Makefile.in || die
}
src_configure() {
export ac_cv_libsigsegv=no
econf \
--libexec='$(libdir)/misc' \
$(use_with mpfr) \
$(use_enable nls) \
$(use_with readline)
}
src_install() {
rm -rf README_d # automatic dodocs barfs
default
# Install headers
insinto /usr/include/awk
doins *.h || die
rm "${ED}"/usr/include/awk/config.h || die
}
pkg_postinst() {
# symlink creation here as the links do not belong to gawk, but to any awk
if has_version app-admin/eselect \
&& has_version app-eselect/eselect-awk ; then
eselect awk update ifunset
else
local l
for l in "${EROOT}"usr/share/man/man1/gawk.1* "${EROOT}"usr/bin/gawk; do
[[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" "${l/gawk/awk}"
done
[[ ! -e ${EROOT}bin/awk ]] && ln -s "../usr/bin/gawk" "${EROOT}bin/awk"
fi
}
pkg_postrm() {
if has_version app-admin/eselect \
&& has_version app-eselect/eselect-awk ; then
eselect awk update ifunset
fi
}

View File

@ -0,0 +1,74 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-4.1.2.ebuild,v 1.1 2015/05/04 11:52:07 polynomial-c Exp $
EAPI="4"
inherit eutils toolchain-funcs multilib
DESCRIPTION="GNU awk pattern-matching language"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="mpfr nls readline"
RDEPEND="mpfr? ( dev-libs/mpfr )
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
# use symlinks rather than hardlinks, and disable version links
sed -i \
-e '/^LN =/s:=.*:= $(LN_S):' \
-e '/install-exec-hook:/s|$|\nfoo:|' \
Makefile.in doc/Makefile.in || die
sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
# disable pointless build time hack that breaks cross-compiling #493362
sed -i \
-e '/check-recursive all-recursive: check-for-shared-lib-support/d' \
extension/Makefile.in || die
}
src_configure() {
export ac_cv_libsigsegv=no
econf \
--libexec='$(libdir)/misc' \
$(use_with mpfr) \
$(use_enable nls) \
$(use_with readline)
}
src_install() {
rm -rf README_d # automatic dodocs barfs
default
# Install headers
insinto /usr/include/awk
doins *.h || die
rm "${ED}"/usr/include/awk/config.h || die
}
pkg_postinst() {
# symlink creation here as the links do not belong to gawk, but to any awk
if has_version app-admin/eselect \
&& has_version app-eselect/eselect-awk ; then
eselect awk update ifunset
else
local l
for l in "${EROOT}"usr/share/man/man1/gawk.1* "${EROOT}"usr/bin/gawk; do
[[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" "${l/gawk/awk}"
done
[[ ! -e ${EROOT}bin/awk ]] && ln -s "../usr/bin/gawk" "${EROOT}bin/awk"
fi
}
pkg_postrm() {
if has_version app-admin/eselect \
&& has_version app-eselect/eselect-awk ; then
eselect awk update ifunset
fi
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<use>
<flag name='mpfr'>use mpfr for high precision arithmetic (-M / --bignum)</flag>
</use>
</pkgmetadata>