sys-apps/sed: Sync with gentoo

It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
This commit is contained in:
Krzesimir Nowak 2021-12-21 15:06:31 +01:00
parent e42ba55bc8
commit 01342366d5
8 changed files with 59 additions and 692 deletions

View File

@ -1,481 +0,0 @@
# ChangeLog for sys-apps/sed
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.128 2015/07/21 21:16:08 mrueg Exp $
21 Jul 2015; Manuel Rüger <mrueg@gentoo.org> -sed-4.2.1.ebuild,
-sed-4.2.ebuild:
Remove old.
08 Feb 2014; Mike Frysinger <vapier@gentoo.org> -files/dos2unix,
-files/unix2dos, sed-4.2.1-r1.ebuild, sed-4.2.1.ebuild, sed-4.2.2.ebuild,
sed-4.2.ebuild:
Drop ancient/unloved examples #500550 by Ulrich Müller.
20 Jan 2014; Mike Frysinger <vapier@gentoo.org> sed-4.2.2.ebuild:
Depend on libselinux when USE=selinux #408213 by Markus Knetschke.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> sed-4.2.2.ebuild:
Add hack for gnulib acl check when cross-compiling #333887 by Luca Barbato.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> sed-4.2.1-r1.ebuild,
sed-4.2.2.ebuild:
Add arm64 love.
*sed-4.2.2 (25 Dec 2012)
25 Dec 2012; Mike Frysinger <vapier@gentoo.org> +sed-4.2.2.ebuild:
Version bump.
26 Aug 2012; Raúl Porcel <armin76@gentoo.org> sed-4.2.1-r1.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #427118
01 Aug 2012; Tony Vroon <chainsaw@gentoo.org> sed-4.2.1-r1.ebuild:
Marked stable on AMD64 based on arch testing by Elijah "Armageddon" El
Lazkani & Tomáš "Mepho" Pružina in bug #427118.
24 Jul 2012; Jeroen Roovers <jer@gentoo.org> sed-4.2.1-r1.ebuild:
Stable for HPPA (bug #427118).
23 Jul 2012; Markus Meier <maekke@gentoo.org> sed-4.2.1-r1.ebuild:
arm stable, bug #427118
21 Jul 2012; Anthony G. Basile <blueness@gentoo.org> sed-4.2.1-r1.ebuild:
Stable ppc/ppc64, bug #427118
21 Jul 2012; Jeff Horelick <jdhore@gentoo.org> sed-4.2.1-r1.ebuild:
marked x86 per bug 427118
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> sed-4.2.1-r1.ebuild:
keyword ~amd64-fbsd
19 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> sed-4.2.1-r1.ebuild:
Revert last commit in favour of using m4/selinux-selinux-h.m4.
15 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> sed-4.2.1-r1.ebuild:
Pull in libselinux for selinux/selinux.h wrt #408213 by Markus Knetschke
03 Jan 2012; Mike Frysinger <vapier@gentoo.org> sed-4.2.1.ebuild,
sed-4.2.1-r1.ebuild:
Fix handling of selinux searching cache vars #397443 by Amadeusz Sławiński.
31 Dec 2011; Mike Frysinger <vapier@gentoo.org> sed-4.2.1.ebuild,
sed-4.2.1-r1.ebuild:
Use new usex() helper.
28 Nov 2010; Brent Baude <ranger@gentoo.org> sed-4.2.1.ebuild:
stable ppc64, bug 340919
31 Oct 2010; Raúl Porcel <armin76@gentoo.org> sed-4.2.1.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #340919
18 Oct 2010; Jeroen Roovers <jer@gentoo.org> sed-4.2.1.ebuild:
Stable for HPPA (bug #340919).
16 Oct 2010; Markus Meier <maekke@gentoo.org> sed-4.2.1.ebuild:
arm stable, bug #340919
15 Oct 2010; Brent Baude <ranger@gentoo.org> sed-4.2.1.ebuild:
stable ppc, bug 340919
14 Oct 2010; Markos Chandras <hwoarang@gentoo.org> sed-4.2.1.ebuild:
Stable on amd64 wrt bug #340919
*sed-4.2.1-r1 (14 Oct 2010)
14 Oct 2010; Mike Frysinger <vapier@gentoo.org> +sed-4.2.1-r1.ebuild,
+files/sed-4.2.1-handle-incomplete-sequences-as-if-they-were-invalid.patch
:
Add fix from upstream for infinite hangs on invalid multibyte sequences
#284403 by Zer4tul.
14 Oct 2010; Christian Faulhammer <fauli@gentoo.org> sed-4.2.1.ebuild:
stable x86, bug 340919
03 Sep 2009; Mike Frysinger <vapier@gentoo.org> sed-4.2.1.ebuild:
Force disable selinux when USE=-selinux #283597 by Jeremy Olexa.
09 Aug 2009; Brent Baude <ranger@gentoo.org> sed-4.2.ebuild:
Marking sed-4.2 ppc64 for bug 275875
15 Jul 2009; nixnut <nixnut@gentoo.org> sed-4.2.ebuild:
ppc stable #275875
15 Jul 2009; Raúl Porcel <armin76@gentoo.org> sed-4.2.ebuild:
arm/ia64/m68k/s390/sh stable wrt #275875
09 Jul 2009; Thomas Anderson <gentoofan23@gentoo.org> sed-4.2.ebuild:
stable amd64, bug 275875
30 Jun 2009; Christian Faulhammer <fauli@gentoo.org> sed-4.2.ebuild:
stable x86, bug 275875
30 Jun 2009; Jeroen Roovers <jer@gentoo.org> sed-4.2.ebuild:
Stable for HPPA (bug #275875).
30 Jun 2009; Tobias Klausmann <klausman@gentoo.org> sed-4.2.ebuild:
Stable on alpha, bug #275875
29 Jun 2009; Ferris McCormick <fmccor@gentoo.org> sed-4.2.ebuild:
Sparc stable, bug #275875.
*sed-4.2.1 (29 Jun 2009)
29 Jun 2009; Mike Frysinger <vapier@gentoo.org> +sed-4.2.1.ebuild:
Version bump #275781 by Lars Wendler.
29 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> sed-4.2.ebuild:
Replace sys-apps/acl dependency with virtual/acl, unbreaking
Gentoo/FreeBSD.
26 May 2009; Mike Frysinger <vapier@gentoo.org> sed-4.2.ebuild:
Add support for USE=acl #271212 by Daniel Robbins.
*sed-4.2 (20 May 2009)
20 May 2009; Mike Frysinger <vapier@gentoo.org> +sed-4.2.ebuild:
Version bump #270530 by Lars Wendler.
29 Mar 2008; Raúl Porcel <armin76@gentoo.org> sed-4.1.5-r1.ebuild:
alpha/ia64/sparc stable wrt #215072
29 Mar 2008; Brent Baude <ranger@gentoo.org> sed-4.1.5-r1.ebuild:
stable ppc64, bug 215072
28 Mar 2008; Markus Meier <maekke@gentoo.org> sed-4.1.5-r1.ebuild:
amd64/x86 stable, bug #215072
28 Mar 2008; Jeroen Roovers <jer@gentoo.org> sed-4.1.5-r1.ebuild:
Stable for HPPA (bug #215072).
28 Mar 2008; Brent Baude <ranger@gentoo.org> sed-4.1.5-r1.ebuild:
stable ppc, bug 215072
*sed-4.1.5-r1 (30 Jan 2008)
30 Jan 2008; Mike Frysinger <vapier@gentoo.org>
+files/sed-4.1.5-prototypes.patch, +sed-4.1.5-r1.ebuild:
Default to using regex from the libc so as to get a smaller sed binary.
10 Jul 2007; Roy Marples <uberlord@gentoo.org> sed-4.1.5.ebuild:
Only install sed to /bin for GNU userland.
14 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org> sed-4.1.5.ebuild:
Stable on MIPS; bug #149056
24 Oct 2006; Mike Frysinger <vapier@gentoo.org> sed-4.1.5.ebuild:
Dont use sed until we have bootstrapped ourselves #152638 by Andrea Carpani.
18 Oct 2006; Roy Marples <uberlord@gentoo.org> sed-4.1.5.ebuild:
Add ~sparc-fbsd keyword.
27 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org> sed-4.1.5.ebuild:
Stable on alpha as per bug #149056
26 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> sed-4.1.5.ebuild:
Stable on sparc wrt #149056
26 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> sed-4.1.5.ebuild:
Stable on hppa wrt #149056
26 Sep 2006; Simon Stelling <blubb@gentoo.org> sed-4.1.5.ebuild:
stable on amd64
26 Sep 2006; Joshua Jackson <tsunam@gentoo.org> sed-4.1.5.ebuild:
Stable x86; bug #149056
25 Sep 2006; Fabian Groffen <grobian@gentoo.org> sed-4.1.5.ebuild:
Marked ppc-macos stable (bug #149056)
25 Sep 2006; <nixnut@gentoo.org> sed-4.1.5.ebuild:
Stable on ppc wrt bug 149056
25 Sep 2006; Markus Rothe <corsair@gentoo.org> sed-4.1.5.ebuild:
Stable on ppc64; bug #149056
16 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/sed-4.1.5-alloca.patch, sed-4.1.5.ebuild:
Add simple patch to compile on non-GNU systems, and readd ~x86-fbsd keyword.
16 May 2006; Diego Pettenò <flameeyes@gentoo.org> sed-4.1.5.ebuild:
Drop ~x86-fbsd keyword for 4.1.5 version until it works.
*sed-4.1.5 (16 May 2006)
16 May 2006; Mike Frysinger <vapier@gentoo.org> +sed-4.1.5.ebuild:
Version bump.
30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> sed-4.1.4-r1.ebuild:
Add ~x86-fbsd keyword.
*sed-4.1.4-r1 (08 Feb 2006)
08 Feb 2006; Mike Frysinger <vapier@gentoo.org> +sed-4.1.4-r1.ebuild:
Remove compat symlinks; hardcoding paths is bad mmmkay #122082 Christoph
Schulz.
13 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> sed-4.0.9.ebuild,
sed-4.1.4.ebuild:
Add dependency over virtual/libintl if nls useflag is enabled.
09 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> sed-4.1.4.ebuild:
Make use of userland_GNU useflag instead of checking for x86-fbsd and
ppc-macos keywords.
17 Jun 2005; Lina Pezzella <j4rg0n@gentoo.org> sed-4.1.4.ebuild:
Fix for Bug 96321.
13 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+files/sed-4.1.4-fix-invalid-ref-error.patch, sed-4.1.4.ebuild:
Add patch from upstream to fix typo in error msg #96009.
12 Jun 2005; Lina Pezzella <j4rg0n@gentoo.org> sed-4.1.4.ebuild:
Removed renaming of doc files on ppc-macos and fbsd. Stable ppc-macos to
force the changes.
26 Mar 2005; <gongloo@gentoo.org> sed-4.1.4.ebuild:
Updated for collision-protect on ppc-macos.
*sed-4.1.4 (19 Feb 2005)
19 Feb 2005; Mike Frysinger <vapier@gentoo.org> +sed-4.1.4.ebuild:
Version bump.
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
03 Oct 2004; Mike Frysinger <vapier@gentoo.org> sed-4.0.9.ebuild,
sed-4.1.2.ebuild:
Make sure sed can compile even if system sed is broken #40786 by Brian Harring.
*sed-4.1.2 (21 Sep 2004)
21 Sep 2004; Mike Frysinger <vapier@gentoo.org> +sed-4.1.2.ebuild:
Version bump #64897 by Anthony Giorgio.
18 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> sed-4.0.9.ebuild:
tidy the macos stuff
16 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> sed-4.0.9.ebuild:
Fixed use invocation; bug #64260.
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> sed-4.0.8.ebuild,
sed-4.0.9.ebuild:
Masked sed-4.0.9.ebuild stable for ppc
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> sed-4.0.8.ebuild:
Masked sed-4.0.8.ebuild stable for ppc
05 Aug 2004; Lina Pezzella <j4rg0n@gentoo.org> sed-4.0.9.ebuild:
Added changes for macos gsed. Stable macos.
03 Jul 2004; Guy Martin <gmsoft@gentoo.org> sed-4.0.9.ebuild:
Marked stable on hppa.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> sed-4.0.5.ebuild,
sed-4.0.7.ebuild, sed-4.0.8.ebuild, sed-4.0.9.ebuild:
virtual/glibc -> virtual/libc
29 Jun 2004; Joshua Kinard <kumba@gentoo.org> sed-4.0.9.ebuild:
Marked stable on sparc.
29 Jun 2004; Joshua Kinard <kumba@gentoo.org> sed-4.0.9.ebuild:
Marked stable on mips.
27 Jun 2004; Aron Griffis <agriffis@gentoo.org> sed-4.0.5.ebuild,
sed-4.0.7.ebuild, sed-4.0.8.ebuild, sed-4.0.9.ebuild:
QA - fix use invocation. Run gnuconfig_update everywhere instead of just on
mips. Mark 4.0.9 stable on x86 and ia64.
11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> sed-4.0.9.ebuild:
Stable on alpha.
08 Jun 2004; Stephen P. Becker <geoman@gentoo.org> sed-4.0.7.ebuild:
Added inherit gnuconfig to sed-4.0.7 for mips.
17 Apr 2004; Travis Tilley <lv@gentoo.org> sed-4.0.9.ebuild:
stable on amd64
16 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> sed-4.0.8.ebuild:
move inherit to the right place
09 Apr 2004; Travis Tilley <lv@gentoo.org> sed-4.0.8.ebuild:
stable on amd64
16 Jan 2004; Joshua Kinard <kumba@gentoo.org> sed-4.0.5.ebuild,
sed-4.0.7.ebuild:
Added gnuconfig support for properly detecting mips systems and moved
sed-4.0.5 back into arm unstable to work around bad deps.
*sed-4.0.9 (10 Jan 2004)
10 Jan 2004; Martin Holzer <mholzer@gentoo.org> sed-4.0.9.ebuild:
Version bumped.
10 Jan 2004; Martin Holzer <mholzer@gentoo.org> sed-4.0.5.ebuild,
sed-4.0.7.ebuild, sed-4.0.8.ebuild:
changing src to use mirror
*sed-4.0.8 (01 Nov 2003)
21 Nov 2003; Joshua Kinard <kumba@gentoo.org> sed-4.0.8.ebuild:
Fixed typo in "inherit gnuconfig"
17 Nov 2003; Joshua Kinard <kumba@gentoo.org> sed-4.0.8.ebuild:
Added a gnuconfig tweak to detect mips systems properly
01 Nov 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.5-r1.ebuild,
sed-4.0.6.ebuild, sed-4.0.8.ebuild:
Bump, and cleanup unneeded
This is almost entirely a bugfix release, so please move to stable
rapidly.
*sed-4.0.7 (11 Apr 2003)
17 Sep 2003; Jon Portnoy <avenj@gentoo.org> sed-4.0.7.ebuild :
ia64 keywords.
06 Jul 2003; Guy Martin <gmsoft@gentoo.org> sed-4.0.7.ebuild :
Marked stable on hppa.
06 Jul 2003; Joshua Kinard <kumba@gentoo.org> sed-4.0.7.ebuild:
Changed ~mips to mips in KEYWORDS
26 Apr 2003; Christian Birchinger <joker@gentoo.org> sed-4.0.7.ebuild:
Added stable sparc keyword
18 Apr 2003; Aron Griffis <agriffis@gentoo.org> sed-4.0.7.ebuild:
Mark stable on alpha because otherwise bootstrap is failing due to a linking
problem with the older sed
17 Apr 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.7.ebuild:
Move to stable x86
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.7.ebuild:
Bump to latest GNU stable
*sed-4.0.6 (24 Mar 2003)
02 Apr 2003; Guy Martin <gmsoft@gentoo.org> sed-4.0.6.ebuild :
Marked stable for hppa.
01 Apr 2003; Graham Forest <vladimir@gentoo.org> sed-4.0.6.ebuild:
set ppc in keywords
31 Mar 2003; Seemant Kulleen <seemant@gentoo.org> sed-4.0.6.ebuild:
changed use_enable to old style for the moment
28 Mar 2003; Christian Birchinger <joker@gentoo.org> sed-4.0.6.ebuild:
Added sparc stable keyword
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.6.ebuild:
This version should be stable, and fix some problems on non-x86 arches, please
test. Also test NLS and bootstrap builds
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.6.ebuild:
Bump to latest GNU stable
*sed-4.0.5-r1 (04 Mar 2003)
05 May 2003; Jan Seidel <tuxus@gentoo.org> sed-4.0.5-r1.ebuild :
Marked stable on mips.
02 Apr 2003; Guy Martin <gmsoft@gentoo.org> sed-4.0.5-r1.ebuild :
Marked stable on hppa.
05 Mar 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.5-r1.ebuild:
Fix static use variables, and add appropriate die messages
04 Mar 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.5-r1.ebuild:
Add examples to installed docs
04 Mar 2003; Brandon Low <lostlogic@gentoo.org> sed-4.0.5-r1.ebuild :
Install nls files with sed, clean up the install for USE=build.
This is marked unstable on all arches, but can and should VERY quickly
be moved to stable.
20 Feb 2003; Zach Welch <zwelch@gentoo.org> sed-4.0.5.ebuild :
Added arm to keywords.
11 Feb 2003; Mark Guertin <gerk@gentoo.org> sed-4.0.5.ebuild :
Added ppc to keywords, beat on this extensively and it seems
previous issues are resolved.
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> sed-4.0.5.ebuild :
Added hppa to keywords.
*sed-4.0.5 (22 Dec 2002)
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> sed-4.0.5.ebuild :
Mark as stable for mips. Tidy up Changelog for echangelog support.
22 Dec 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.5.ebuild :
Stable
17 Dec 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.5.ebuild :
Another upstream bump.
*sed-4.0.4 (13 Dec 2002)
13 Dec 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.4.ebuild :
Minor bug fix release over 4.0.3, unstable for a moment.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*sed-4.0.3 (20 Nov 2002)
20 Nov 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.3.ebuild :
Minor bug fix release over 4.0.2
*sed-4.0.2 (20 Nov 2002)
20 Nov 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.2.ebuild :
Minor bug fix release over 4.0.1
12 Nov 2002; Mark Guertin <gerk@gentoo.org> sed-4.0.ebuild, sed-4.0.1.ebuild :
set both of these as -ppc. PLEASE DONT UPGRADE TO STABLE WITHOUT TESTING.
There are problems with this version of sed on ppc, see bug #10325 for
details.
*sed-4.0.1 (06 Nov 2002)
18 Jan 2003; Jan Seidel <tuxus@gentoo.org> :
Added mips to keywords
06 Nov 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.1.ebuild :
Minor bug fix release over 4.0.
*sed-4.0 (27 Oct 2002)
27 Oct 2002; Brandon Low <lostlogic@gentoo.org> sed-4.0.ebuild :
The lovely people at gnu.org have blessed us with 4.0, so far I like
it.
*sed-3.02.80-r3 (23 Aug 2002)
23 Aug 2002; Seemant Kulleen <seemant@gentoo.org> sed-3.02.80-r3.ebuild :
Forced upgrade, so that people who got clobbered by supersed, will now
install this again.
*sed-3.02.80-r2 (14 July 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> sed-3.02.80-r2.ebuild :
Added LICENSE, KEYWORDS, SLOT.
*sed-3.02.80-r3 (1 Feb 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> sed-3.02.80-r3.ebuild :
Added LICENSE, KEYWORDS, SLOT.
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

@ -1,8 +1 @@
AUX sed-4.1.5-alloca.patch 413 SHA256 9b371d7e3db5f6955536b4c4a23739b7d84448b9865046f0cc3bd3903a04009a SHA512 dccdad774cbf1eb71744b9d1a49ce45e6c6197ffed66448b6de9302dc88d46246b52a6cbed95a5b86511f19a735a710af177003732d54ca01baa84ef21734d29 WHIRLPOOL a7c81b9229bb62946618053993c35db26a7f06d03880a499916aed28fcab9308b7038f6a90ba84e2f86caaef0383cf8daf59d5759f5de0c6b840f9cbbc6561b3 DIST sed-4.8.tar.xz 1348048 BLAKE2B 62f6b6500cc9a20a35cafc2b09b12bb7da67fa0afb0b1b26153babc0023424b3126f44d29eba14c25fc4490996c90738b191c9440c66da6c120bbb9bc6f6df65 SHA512 7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8
AUX sed-4.2.1-handle-incomplete-sequences-as-if-they-were-invalid.patch 1507 SHA256 11e8585a1ca572aa48632903040b3c81be75c764a401ede121f83c4555435746 SHA512 ceeebddd7b64dc8675936d19812580c46c462fc6c102acb68b07cf4333b53721eebd744cbaca423644f8c8377e645a224d86cf928b6d5dbb6b538c6e26d3271f WHIRLPOOL ef70156dd924b25cad0193f1579e5e880e47f133c03c9f301a895f56d8a316d8d0953b4a58fbde3bf11348d46727d7afa520c46c76337082537bc8be718ee614
DIST sed-4.2.1.tar.bz2 899091 SHA256 2ac3b36ca37bfeb43c4ef4025778cd66d89c77abb843d90552a515a7c9d2948f SHA512 273d4d0b3dd41a3966260fbe261a20110a2a4c0749e11a080f4fc8694e47b605cb977f2535b20b92d57b1b74129df092ba47f4184951dbc3f0f14fd9b91b7bfd WHIRLPOOL 426b244431cb00a8c8f7320f22cf0a5de3165a43d9d6fb8343163e1d4054d61b2737a697ebe54311cf5d2d2f696d2f07877a41b8710ad80d96a7d5138fff07e1
DIST sed-4.2.2.tar.bz2 1059414 SHA256 f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7 SHA512 dbbb0bb348fac54612d29182c09c88bda7096dea03bd94f03c580c24146e65a06db12808c6a1a9adc94548fa3843511e3e80b251cb07142110cf149eab23f573 WHIRLPOOL d816657c51a2718c2b309455facaff50c9da08b79d20985ab1d61faa5b42bffa0b33ea7d3368a8cdaa6079891cfc27cdab38788563c8323081580b4478c7e2b5
EBUILD sed-4.2.1-r1.ebuild 1804 SHA256 bb817eb07b97686fc6c6b4ba429fe8b490b192802e7fde6e633dec16ec4ed752 SHA512 deff6ad5092f728683732aa48987b32e0c994ef926a593f89c4dd395e10e5245d4212ec1d85edbaa9b85b84e26cf8226f574e09f17437a2d71d850d516f3f847 WHIRLPOOL 5b792135d7ed31af1ee627687446b6583dc22d014a2f1db0817ed060000a867b1cc6fe10bb603ae325838bb32ce1bc20bae8b5ce134a4b85a60dc70c3639fd01
EBUILD sed-4.2.2.ebuild 1887 SHA256 3f9f5e7c5274d5cd17f3219c31e037762126542cdcbafb037ccec5d20be84396 SHA512 2dc2384da2396538e3f3a74c1dc3d429b3e1f8663874f21ff0a3e1edb588fb2a99a0633dd2ae49ef548790d39716ccd8c455c66326e1600abd492e857dcdbb4a WHIRLPOOL c051e1ff536feea93233ab551efbddafa4778d6e300e6448cec11f8f9af595f60aa70dc9b21fefd7079c35fa3f1555c92e970daa91211e77dab9336600bb873a
MISC ChangeLog 16503 SHA256 4ea4cf5813c3e62b75043c34314486e774f96cab7bffb94e11a90303f9140f82 SHA512 40c7fcca90187b31b54045a09fdc7ea6b8581ec37f88eb05e3df41ecb2d49d2ddffab1c84c0faacfae5151a148ee2d22d51acd3629225aa64b6596f401a8a669 WHIRLPOOL 5e9ba487e404f2be4cb200b8dc4e870e9846e4752b4bca683bad1fac63af55a582bfbcd001e9b7254320cdcc8ca88ef2ab2d3cb29fc28f39a93943bb8d298f7b
MISC metadata.xml 238 SHA256 ee59c06e2649c6f22b803a4e7a98302c87c76b681175ab3a0609452c90a96a6d SHA512 421821093b8a3c7ef7d340a8b648b717bdf26a0fd651c948b21e8062df81142bd210c94f299c789380036a58d376dfa0dc60cf0fbe9986d2d15eb969e920c995 WHIRLPOOL f450a1f323f4afd5c37a1e75e7a98a47a210d3dee898a44088b8a46369d7ebfa80a3c0f97b0c201a7aa3bd4d8bf46cc6a20f79ee953881140715c537b4e62e0a

View File

@ -1,14 +0,0 @@
fix building on BSD systems which often do not have alloca.h
--- sed-4.1.5/lib/regex_internal.h
+++ sed-4.1.5/lib/regex_internal.h
@@ -410,7 +410,9 @@ static unsigned int re_string_context_at
#define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
#define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#ifndef _LIBC
# if HAVE_ALLOCA

View File

@ -1,45 +0,0 @@
http://bugs.gentoo.org/284403
From 20f68fb1abe862a98bc0378e5bb54d94bb98b8fe Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <bonzini@gnu.org>
Date: Thu, 15 Oct 2009 19:56:12 +0200
Subject: [PATCH] handle incomplete sequences as if they were invalid
2009-10-15 Paolo Bonzini <bonzini@gnu.org>
WANG Yunfeng <uhuruh@gmail.com>
* sed/execute.c (str_append, str_append_modified): Handle incomplete
sequences as if they were invalid.
---
ChangeLog | 6 ++++++
NEWS | 4 +++-
sed/execute.c | 6 +++---
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/sed/execute.c b/sed/execute.c
index 66cb809..d5903be 100644
--- a/sed/execute.c
+++ b/sed/execute.c
@@ -254,8 +254,8 @@ str_append(to, string, length)
{
size_t n = MBRLEN (string, length, &to->mbstate);
- /* An invalid sequence is treated like a singlebyte character. */
- if (n == (size_t) -1)
+ /* An invalid or imcomplete sequence is treated like a singlebyte character. */
+ if (n == (size_t) -1 || n == (size_t) -2)
{
memset (&to->mbstate, 0, sizeof (to->mbstate));
n = 1;
@@ -341,7 +341,7 @@ str_append_modified(to, string, length, type)
/* Copy the new wide character to the end of the string. */
n = WCRTOMB (to->active + to->length, wc, &to->mbstate);
to->length += n;
- if (n == -1)
+ if (n == -1 || n == -2)
{
fprintf (stderr, "Case conversion produced an invalid character!");
abort ();
--
1.7.3.1

View File

@ -1,8 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<herd>base-system</herd> <maintainer type="project">
<upstream> <email>base-system@gentoo.org</email>
<remote-id type="sourceforge">sed</remote-id> <name>Gentoo Base System</name>
</upstream> </maintainer>
<upstream>
<remote-id type="sourceforge">sed</remote-id>
<remote-id type="cpe">cpe:/a:gnu:sed</remote-id>
</upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -1,68 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Super-useful stream editor"
HOMEPAGE="http://sed.sourceforge.net/"
SRC_URI="mirror://gnu/sed/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="acl nls selinux static"
RDEPEND="acl? ( virtual/acl )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_bootstrap_sed() {
# make sure system-sed works #40786
export NO_SYS_SED=""
if ! type -p sed > /dev/null ; then
NO_SYS_SED="!!!"
./bootstrap.sh || die "couldnt bootstrap"
cp sed/sed "${T}"/ || die "couldnt copy"
export PATH="${PATH}:${T}"
make clean || die "couldnt clean"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-4.1.5-alloca.patch
epatch "${FILESDIR}"/${P}-handle-incomplete-sequences-as-if-they-were-invalid.patch #284403
# don't use sed here if we have to recover a broken host sed
}
src_compile() {
src_bootstrap_sed
# this has to be after the bootstrap portion
sed -i \
-e '/docdir =/s:=.*/doc:= $(datadir)/doc/'${PF}'/html:' \
doc/Makefile.in || die "sed html doc"
local myconf= bindir=/bin
if ! use userland_GNU ; then
myconf="--program-prefix=g"
bindir=/usr/bin
fi
export ac_cv_search_setfilecon=$(usex selinux -lselinux)
export ac_cv_header_selinux_{context,selinux}_h=$(usex selinux)
use static && append-ldflags -static
econf \
--bindir=${bindir} \
$(use_enable acl) \
$(use_enable nls) \
${myconf}
emake || die "build failed"
}
src_install() {
emake install DESTDIR="${D}" || die "Install failed"
dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog
}

View File

@ -1,70 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Super-useful stream editor"
HOMEPAGE="http://sed.sourceforge.net/"
SRC_URI="mirror://gnu/sed/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="acl nls selinux static"
RDEPEND="acl? ( virtual/acl )
nls? ( virtual/libintl )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_bootstrap_sed() {
# make sure system-sed works #40786
export NO_SYS_SED=""
if ! type -p sed > /dev/null ; then
NO_SYS_SED="!!!"
./bootstrap.sh || die "couldnt bootstrap"
cp sed/sed "${T}"/ || die "couldnt copy"
export PATH="${PATH}:${T}"
make clean || die "couldnt clean"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-4.1.5-alloca.patch
# don't use sed here if we have to recover a broken host sed
}
src_compile() {
src_bootstrap_sed
# this has to be after the bootstrap portion
sed -i \
-e '/docdir =/s:=.*/doc:= $(datadir)/doc/'${PF}'/html:' \
doc/Makefile.in || die "sed html doc"
local myconf= bindir=/bin
if ! use userland_GNU ; then
myconf="--program-prefix=g"
bindir=/usr/bin
fi
# Should be able to drop this hack in next release. #333887
tc-is-cross-compiler && export gl_cv_func_working_acl_get_file=yes
export ac_cv_search_setfilecon=$(usex selinux -lselinux)
export ac_cv_header_selinux_{context,selinux}_h=$(usex selinux)
use static && append-ldflags -static
econf \
--bindir=${bindir} \
$(use_enable acl) \
$(use_enable nls) \
${myconf}
emake || die "build failed"
}
src_install() {
emake install DESTDIR="${D}" || die "Install failed"
dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog
}

View File

@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="Super-useful stream editor"
HOMEPAGE="http://sed.sourceforge.net/"
SRC_URI="mirror://gnu/sed/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="acl nls selinux static"
RDEPEND="
!static? (
acl? ( virtual/acl )
nls? ( virtual/libintl )
selinux? ( sys-libs/libselinux )
)
"
DEPEND="${RDEPEND}
static? (
acl? ( virtual/acl[static-libs(+)] )
nls? ( virtual/libintl[static-libs(+)] )
selinux? ( sys-libs/libselinux[static-libs(+)] )
)
"
BDEPEND="nls? ( sys-devel/gettext )"
src_configure() {
local myconf=()
if use userland_GNU; then
myconf+=( --exec-prefix="${EPREFIX}" )
else
myconf+=( --program-prefix=g )
fi
use static && append-ldflags -static
myconf+=(
$(use_enable acl)
$(use_enable nls)
$(use_with selinux)
)
econf "${myconf[@]}"
}