From a57e3b63223b025d20c787606a0e36ad38e620b3 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 5 Nov 2021 21:17:19 +0100 Subject: [PATCH] sys-apps/attr: Sync with gentoo It's from gentoo commit 6b27b725d5f53a9c1d95166e08187dda38601512. --- .../portage-stable/sys-apps/attr/ChangeLog | 644 ------------------ .../portage-stable/sys-apps/attr/Manifest | 11 +- .../sys-apps/attr/attr-2.4.46-r2.ebuild | 54 -- .../sys-apps/attr/attr-2.4.47-r1.ebuild | 69 -- .../sys-apps/attr/attr-2.4.47-r2.ebuild | 69 -- .../sys-apps/attr/attr-2.5.1.ebuild | 98 +++ .../sys-apps/attr/attr-9999.ebuild | 98 +++ .../attr/files/attr-2.4.44-gettext.patch | 63 -- .../attr/files/attr-2.4.46-config-shell.patch | 53 -- .../files/attr-2.4.46-generic-syscalls.patch | 180 ----- .../sys-apps/attr/files/xattr-shim.h | 9 + .../portage-stable/sys-apps/attr/metadata.xml | 10 +- 12 files changed, 214 insertions(+), 1144 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/ChangeLog delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.46-r2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.5.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.44-gettext.patch delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-config-shell.patch delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-generic-syscalls.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/files/xattr-shim.h diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-apps/attr/ChangeLog deleted file mode 100644 index cc87f59bdc..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/ChangeLog +++ /dev/null @@ -1,644 +0,0 @@ -# ChangeLog for sys-apps/attr -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.177 2015/07/27 12:53:13 klausman Exp $ - - 27 Jul 2015; Tobias Klausmann attr-2.4.47-r2.ebuild: - Stable on alpha, bug 555746 - - 24 Jul 2015; Anthony G. Basile attr-2.4.47-r2.ebuild: - Stable on amd64/ppc/ppc64/x86 - - 24 Jul 2015; Mike Frysinger attr-2.4.47-r2.ebuild: - Mark arm/arm64/hppa/ia64/m68k/s390/sh stable #555746. - -*attr-2.4.47-r2 (10 May 2015) - - 10 May 2015; Mike Frysinger +attr-2.4.47-r2.ebuild: - Stop installing attr(5) as man-pages handles it now #548900 by Albert W. - Hopkins. - - 27 Oct 2014; Mike Frysinger attr-2.4.47-r1.ebuild: - Mark m68k/s390/sh stable. - - 13 Jul 2014; attr-2.4.47-r1.ebuild: - arm64 stable, bug #474296 - - 19 Mar 2014; Agostino Sarubbo attr-2.4.47-r1.ebuild: - Stable for alpha, wrt bug #474296 - - 14 Mar 2014; Agostino Sarubbo attr-2.4.47-r1.ebuild: - Stable for ppc64, wrt bug #474296 - - 12 Mar 2014; Agostino Sarubbo attr-2.4.47-r1.ebuild: - Stable for sparc, wrt bug #474296 - - 23 Feb 2014; Agostino Sarubbo attr-2.4.47-r1.ebuild: - Stable for ppc, wrt bug #474296 - - 22 Feb 2014; Agostino Sarubbo attr-2.4.47-r1.ebuild: - Stable for x86, wrt bug #474296 - - 15 Feb 2014; Chema Alonso attr-2.4.47-r1.ebuild: - Stable for amd64 wrt bug #474296 - - 14 Feb 2014; Markus Meier attr-2.4.47-r1.ebuild: - arm stable, bug #474296 - - 11 Feb 2014; Akinori Hattori attr-2.4.47-r1.ebuild: - ia64 stable wrt bug #474296 - - 08 Feb 2014; Jeroen Roovers attr-2.4.47-r1.ebuild: - Stable for HPPA (bug #474296). - - 17 Jan 2014; Mike Frysinger attr-2.4.46-r2.ebuild, - attr-2.4.47-r1.ebuild: - Add arm64 keywords. - - 07 Jan 2014; Lars Wendler -attr-2.4.43.ebuild, - -attr-2.4.44.ebuild, -attr-2.4.44-r1.ebuild, -attr-2.4.46.ebuild, - -attr-2.4.46-r1.ebuild, -attr-2.4.47.ebuild, - -files/attr-2.4.24-only-symlink-when-needed.patch, - -files/attr-2.4.39-gettext.patch, -files/attr-2.4.43-linguas.patch, - -files/attr-2.4.44-headers.patch: - Removed old versions and files. - - 24 Nov 2013; Michał Górny attr-2.4.47-r1.ebuild: - Clean up manpages in the same code path as they are installed, bug #485494. - - 14 Oct 2013; Michał Górny attr-2.4.47-r1.ebuild: - Explicitly call einstalldocs in multilib_src_install_all() to accomodate bug - #483304. - - 05 Sep 2013; Mike Frysinger attr-2.4.46-r2.ebuild: - Mark m68k/sh stable #470570. - - 10 Aug 2013; Alexis Ballier attr-2.4.47-r1.ebuild: - Add blockers on emul-libs so that it is stacked for baselibs r10 - -*attr-2.4.47-r1 (10 Aug 2013) - - 10 Aug 2013; Alexis Ballier +attr-2.4.47-r1.ebuild: - Convert to multilib, bug #479310 - - 10 Aug 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for ppc, wrt bug #470570 - - 07 Aug 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for x86, wrt bug #470570 - - 06 Aug 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for s390, wrt bug #470570 - - 04 Aug 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for ppc64, wrt bug #470570 - - 04 Aug 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for ia64, wrt bug #470570 - - 03 Aug 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for sparc, wrt bug #470570 - - 30 Jul 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for alpha, wrt bug #470570 - - 28 Jul 2013; Agostino Sarubbo attr-2.4.46-r2.ebuild: - Stable for arm, wrt bug #470570 - - 28 Jul 2013; Chema Alonso attr-2.4.46-r2.ebuild: - Stable for amd64 wrt bug #470570 - -*attr-2.4.47 (20 May 2013) - - 20 May 2013; Mike Frysinger +attr-2.4.47.ebuild: - Version bump. - - 21 Mar 2013; Jeroen Roovers attr-2.4.46-r2.ebuild: - Stable for HPPA (bug #212517). - -*attr-2.4.46-r2 (20 Mar 2013) - - 20 Mar 2013; Mike Frysinger +attr-2.4.46-r2.ebuild, - +files/attr-2.4.46-generic-syscalls.patch: - Add fix by Riku Voipio for getting syscall numbers from system headers rather - than hardcoding the list locally. This fixes the build for hppa, aarch64, and - probably others. Noticed in #460702 by Jeroen Roovers. - - 19 Feb 2013; Zac Medico attr-2.4.46-r1.ebuild: - Add ~arm-linux keyword. - - 25 Feb 2012; Raúl Porcel attr-2.4.46-r1.ebuild: - alpha/ia64/m68k/s390/sh/sparc stable wrt #400483 - - 08 Feb 2012; Markus Meier attr-2.4.46-r1.ebuild: - arm stable, bug #400483 - - 07 Feb 2012; Jeroen Roovers attr-2.4.46-r1.ebuild: - Stable for HPPA (bug #400483). - - 31 Jan 2012; Samuli Suominen attr-2.4.46-r1.ebuild: - ppc/ppc64 stable wrt #400483 - - 28 Jan 2012; Pawel Hajdan jr attr-2.4.46-r1.ebuild: - x86 stable wrt bug #400483 - - 27 Jan 2012; Agostino Sarubbo attr-2.4.46-r1.ebuild: - Stable for amd64, wrt bug #400483 - - 29 Dec 2011; Mark Loeser attr-2.4.46.ebuild: - Stable for ppc64; bug #379055 - -*attr-2.4.46-r1 (22 Oct 2011) - - 22 Oct 2011; Fabian Groffen +attr-2.4.46-r1.ebuild: - Fix for Prefix, bug #388143, marked ~x86-linux and ~amd64-linux - - 03 Sep 2011; Raúl Porcel attr-2.4.46.ebuild: - alpha/ia64/m68k/s390/sh/sparc stable wrt #379055 - - 01 Sep 2011; Jeroen Roovers attr-2.4.46.ebuild: - Stable for HPPA (bug #379055). - - 28 Aug 2011; Markus Meier attr-2.4.46.ebuild: - arm stable, bug #379055 - - 21 Aug 2011; nixnut attr-2.4.46.ebuild: - ppc stable #379055 - - 21 Aug 2011; Pawel Hajdan jr attr-2.4.46.ebuild: - x86 stable wrt bug #379055 - - 14 Aug 2011; Markos Chandras attr-2.4.46.ebuild: - Stable on amd64 wrt bug #379055 - - 16 May 2011; Mike Frysinger attr-2.4.43.ebuild, - attr-2.4.44.ebuild, attr-2.4.44-r1.ebuild, attr-2.4.46.ebuild: - Fix by Petr Pisar for strip-linguas call #217153. - - 16 May 2011; Mike Frysinger attr-2.4.46.ebuild, - +files/attr-2.4.46-config-shell.patch: - Fix building when /bin/sh is not functional enough #366671 by Alec Moskvin. - -*attr-2.4.46 (09 May 2011) - - 09 May 2011; Mike Frysinger +attr-2.4.46.ebuild: - Version bump. - -*attr-2.4.44-r1 (15 Apr 2011) - - 15 Apr 2011; Diego E. Pettenò +attr-2.4.44-r1.ebuild: - Revision bump: port to EAPI=4, drop prepalldocs, add static-libs USE flag, - drop .la files if static-libs are disabled. - - 05 Dec 2010; Raúl Porcel attr-2.4.44.ebuild: - alpha/ia64/m68k/s390/sh/sparc stable wrt #346455 - - 29 Nov 2010; Brent Baude attr-2.4.44.ebuild: - stable ppc64, bug 346455 - - 28 Nov 2010; Markus Meier attr-2.4.44.ebuild: - arm/x86 stable, bug #346455 - - 28 Nov 2010; Markos Chandras attr-2.4.44.ebuild: - Stable on amd64 wrt bug #346455 - - 27 Nov 2010; nixnut attr-2.4.44.ebuild: - ppc stable #346455 - - 26 Nov 2010; Jeroen Roovers attr-2.4.44.ebuild: - Stable for HPPA (bug #346455). - -*attr-2.4.44 (08 Jun 2010) - - 08 Jun 2010; Mike Frysinger +attr-2.4.44.ebuild, - +files/attr-2.4.44-gettext.patch, +files/attr-2.4.44-headers.patch: - Version bump #292840 by Mr. Anderson and Michał Górny. - - 06 Mar 2009; Jeroen Roovers attr-2.4.43.ebuild: - Stable for HPPA (bug #259431). - - 02 Mar 2009; Raúl Porcel attr-2.4.43.ebuild: - arm/ia64/s390/sh/x86 stable wrt #259431 - - 25 Feb 2009; Joseph Jezak attr-2.4.43.ebuild: - Marked ppc stable for bug #259431. - - 24 Feb 2009; Thomas Anderson attr-2.4.43.ebuild: - stable amd64, bug 259431 - - 22 Feb 2009; Tobias Klausmann attr-2.4.43.ebuild: - Stable on alpha, bug #259431 - - 19 Feb 2009; Tom Gall attr-2.4.43.ebuild: - stable on ppc64, bug #259431 - - 18 Feb 2009; Ferris McCormick attr-2.4.43.ebuild: - Sparc stable, Bug #259431 (been around 6 months now). - - 16 Dec 2008; Jeroen Roovers attr-2.4.41.ebuild: - Stable for HPPA (bug #235014). - - 25 Aug 2008; Raúl Porcel attr-2.4.41.ebuild: - ia64 stable wrt #235014 - - 24 Aug 2008; Tobias Klausmann attr-2.4.41.ebuild: - Stable on alpha, bug #235014 - - 19 Aug 2008; Friedrich Oslage attr-2.4.41.ebuild: - Stable on sparc, bug #235014 - - 18 Aug 2008; Brent Baude attr-2.4.41.ebuild: - stable ppc64, bug 235014 - - 18 Aug 2008; Brent Baude attr-2.4.41.ebuild: - stable ppc, bug 235014 - - 17 Aug 2008; Markus Meier attr-2.4.41.ebuild: - amd64/x86 stable, bug #235014 - -*attr-2.4.43 (17 Aug 2008) - - 17 Aug 2008; Mike Frysinger - +files/attr-2.4.43-linguas.patch, +attr-2.4.43.ebuild: - Version bump #231274 by Conrad Kostecki. - -*attr-2.4.41 (23 Feb 2008) - - 23 Feb 2008; Mike Frysinger - +files/attr-2.4.39-linguas.patch, attr-2.4.39.ebuild, +attr-2.4.41.ebuild: - Make sure we respect LINGUAS #205952 by Arvid Norlander and version bump - #211113. - - 19 Nov 2007; Joshua Kinard attr-2.4.39.ebuild: - Stable on mips, per #197204. - - 02 Nov 2007; Steve Dibb attr-2.4.39.ebuild: - amd64 stable, bug 197204 - - 31 Oct 2007; Jeroen Roovers attr-2.4.39.ebuild: - Stable for HPPA (bug #197204). - - 30 Oct 2007; nixnut attr-2.4.39.ebuild: - Stable on ppc wrt bug 197204 - - 29 Oct 2007; Raúl Porcel attr-2.4.39.ebuild: - ia64 stable wrt #197204 - - 28 Oct 2007; Ferris McCormick attr-2.4.39.ebuild: - Sparc stable --- Bug #197204 - - 28 Oct 2007; Jose Luis Rivero attr-2.4.39.ebuild: - Stable on alpha wrt bug #197204 - - 28 Oct 2007; Markus Rothe attr-2.4.39.ebuild: - Stable on ppc64; bug #197204 - - 28 Oct 2007; Andrej Kacian attr-2.4.39.ebuild: - Stable on x86, bug #197204. - - 06 Oct 2007; Tom Gall attr-2.4.38.ebuild: - stable on ppc64 bug 193143 - - 28 Sep 2007; Joshua Kinard attr-2.4.38.ebuild: - Stable on mips, per #193143. - - 26 Sep 2007; Raúl Porcel attr-2.4.38.ebuild: - sparc stable wrt #193143 - - 26 Sep 2007; Christoph Mende attr-2.4.38.ebuild: - Stable on amd64 wrt bug #193143 - - 23 Sep 2007; Jeroen Roovers attr-2.4.38.ebuild: - Stable for HPPA (bug #193143). - - 23 Sep 2007; Raúl Porcel attr-2.4.38.ebuild: - alpha/ia64 stable wrt #193143 - - 22 Sep 2007; Christian Faulhammer attr-2.4.38.ebuild: - stable x86, bug 193143 - - 20 Sep 2007; Lars Weiler attr-2.4.38.ebuild: - Stable on ppc; bug #193143. - -*attr-2.4.39 (20 Sep 2007) - - 20 Sep 2007; Mike Frysinger - +files/attr-2.4.39-gettext.patch, +attr-2.4.39.ebuild: - Version bump #192647 and unset PLATFORM #184564. - - 13 Jun 2007; Mike Frysinger - +files/attr-2.4.38-LDFLAGS.patch, attr-2.4.38.ebuild: - Respect LDFLAGS while linking the library. - -*attr-2.4.38 (31 May 2007) - - 31 May 2007; Mike Frysinger +attr-2.4.38.ebuild: - Version bump. - - 26 Mar 2007; Alec Warner attr-2.4.28-r1.ebuild, - attr-2.4.32.ebuild: - Remove dependency on portage: ref bug 162516 - - 31 Jan 2007; Tobias Scherbaum attr-2.4.32.ebuild: - Stable on ppc wrt bug #161652. - - 30 Jan 2007; Jeroen Roovers attr-2.4.32.ebuild: - Stable for HPPA (bug #161652). - - 26 Jan 2007; Alexander H. Færøy attr-2.4.32.ebuild: - Stable on MIPS; bug #161652 - - 20 Jan 2007; Alexander H. Færøy attr-2.4.32.ebuild: - Stable on Alpha; bug #161652 - - 16 Jan 2007; Olivier Crête attr-2.4.32.ebuild: - Stable on amd64 per bug #161652 - - 12 Jan 2007; Markus Rothe attr-2.4.32.ebuild: - Stable on ppc64; bug #161652 - - 12 Jan 2007; Christian Faulhammer attr-2.4.32.ebuild: - stable x86, bug #161652 - - 12 Jan 2007; Gustavo Zacarias attr-2.4.32.ebuild: - Stable on sparc wrt #161652 - - 27 Sep 2006; Fernando J. Pereda attr-2.4.28-r1.ebuild: - Stable on alpha as per bug #143411 - - 04 Sep 2006; Joshua Kinard attr-2.4.28-r1.ebuild: - Marked stable on mips. - - 18 Aug 2006; Luis Medinas attr-2.4.28-r1.ebuild: - Stable on amd64. Bug #143411. - - 12 Aug 2006; Markus Rothe attr-2.4.28-r1.ebuild: - Stable on ppc64; bug #143411 - - 11 Aug 2006; Tobias Scherbaum - attr-2.4.28-r1.ebuild: - ppc stable, bug #143411 - - 11 Aug 2006; Gustavo Zacarias attr-2.4.28-r1.ebuild: - Stable on sparc wrt #143411 - - 11 Aug 2006; Andrej Kacian attr-2.4.28-r1.ebuild: - Stable on x86. Bug #143411. - -*attr-2.4.32 (10 Aug 2006) - - 10 Aug 2006; Mike Frysinger +attr-2.4.32.ebuild: - Version bump. - - 27 Apr 2006; Alec Warner Manifest: - Fixing SHA256 digest, pass four - - 20 Apr 2006; Mike Frysinger - +files/attr-2.4.28-LDFLAGS.patch, attr-2.4.28-r1.ebuild: - Respect user LDFLAGS #126825 by Diego Pettenò. - - 01 Apr 2006; Mike Frysinger - +files/attr-2.4.28-no-compress-docs.patch, attr-2.4.28-r1.ebuild: - Dont compress CHANGES, let portage do it #127990 by Matteo Spreafico. - -*attr-2.4.28-r1 (28 Mar 2006) - - 28 Mar 2006; Mike Frysinger - +files/attr-2.4.28-list-compat-segv.patch, +attr-2.4.28-r1.ebuild: - Grab fix from upstream #127547 by TGL. - - 19 Feb 2006; Joshua Kinard attr-2.4.24.ebuild: - Marked stable on mips. - - 29 Jan 2006; Simon Stelling attr-2.4.24.ebuild: - stable on amd64 - - 28 Jan 2006; Mark Loeser attr-2.4.24.ebuild: - Stable on x86; bug #120490 - - 28 Jan 2006; Markus Rothe attr-2.4.24.ebuild: - Stable on ppc64; bug #120490 - - 27 Jan 2006; Gustavo Zacarias attr-2.4.24.ebuild: - Stable on sparc wrt #120490 - - 27 Jan 2006; Luca Barbato attr-2.4.24.ebuild: - Marked ppc - - 27 Jan 2006; Aron Griffis attr-2.4.24.ebuild: - Mark 2.4.24 stable on alpha #120490 - -*attr-2.4.28 (27 Jan 2006) - - 27 Jan 2006; Mike Frysinger +attr-2.4.28.ebuild: - Version bump. - -*attr-2.4.24 (29 Nov 2005) - - 29 Nov 2005; Mike Frysinger - +files/attr-2.4.24-only-symlink-when-needed.patch, +attr-2.4.24.ebuild: - Version bump and build cleanup. - -*attr-2.4.23 (02 Sep 2005) - - 02 Sep 2005; Mike Frysinger +attr-2.4.23.ebuild: - Version bump. - -*attr-2.4.19-r1 (21 May 2005) - - 21 May 2005; Mike Frysinger - +files/attr-2.4.19-attr_copy_file-suppress-warning.patch, - +attr-2.4.19-r1.ebuild: - Tweak the warning message #93348 by Doug Goldstein. - - 06 Feb 2005; Joshua Kinard attr-2.4.19.ebuild: - Marked stable on mips. - - 30 Dec 2004; Dylan Carlson attr-2.4.19.ebuild: - Fixed SRC_URI to close #76092. - - 16 Dec 2004; Dylan Carlson attr-2.4.19.ebuild: - Stable on amd64. - - 07 Dec 2004; Joseph Jezak attr-2.4.19.ebuild: - Marked ppc stable for bug #73280. - - 04 Dec 2004; Markus Rothe attr-2.4.19.ebuild: - Stable on ppc64; bug #73279 - - 14 Nov 2004; Bryan Østergaard attr-2.4.19.ebuild: - Stable on alpha. - - 12 Nov 2004; Gustavo Zacarias attr-2.4.19.ebuild: - Stable on sparc - - 12 Oct 2004; Gustavo Zacarias attr-2.4.16.ebuild: - Stable on sparc - -*attr-2.4.19 (09 Oct 2004) - - 09 Oct 2004; Mike Frysinger attr-2.4.16.ebuild: - Version bump. - - 01 Sep 2004; Robin H. Johnson attr-2.4.16.ebuild: - One of the SRC_URI is bad. - -*attr-2.4.16 (31 Aug 2004) - - 31 Aug 2004; Robin H. Johnson +attr-2.4.16.ebuild: - Cleanup of XFS-related apps: dmapi, acl, xfsdump, attr. - - 10 Aug 2004; Travis Tilley attr-2.4.7-r1.ebuild, - attr-2.4.8.ebuild: - made attr ebuild lib64 aware - - 02 Aug 2004; Jon Portnoy attr-2.4.7-r1.ebuild, - attr-2.4.8.ebuild : - Quick description change to reflect the fact that this package is - useful for filesystems other than XFS. - - 01 Mar 2004; Tom Gall attr-2.4.7-r1.ebuild: - stable on ppc64, unset PLATFORM as per bug #42937 - - 18 Jul 2004; Robin H. Johnson attr-2.4.8.ebuild: - stable on x86. - - 25 Jun 2004; Aron Griffis attr-2.4.8.ebuild: - QA - fix use invocation - - 15 Jun 2004; Martin Holzer attr-2.4.7-r1.ebuild, - attr-2.4.8.ebuild: - removing gcc3 depend which breaks default-1.0 profile - - 09 Jun 2004; Seemant Kulleen -attr-2.4.1.ebuild, - attr-2.4.7-r1.ebuild, attr-2.4.8.ebuild: - add libtool to DEPEND, closing bug #53030 by Stephen Ulmer - - 06 May 2004; Michael McCabe attr-2.4.7-r1.ebuild: - Unset platform variable for s390 to fix bug 50224 - - 17 Apr 2004; Travis Tilley attr-2.4.7-r1.ebuild: - marked stable on amd64 - -*attr-2.4.8 (27 Feb 2004) - - 27 Feb 2004; Luca Barbato attr-2.4.7-r1.ebuild, - attr-2.4.8.ebuild: - Fixed a ppc issue unsetting the PLATFORM variable, solves bug #42937, version - bump - - 21 Feb 2004; Jason Wever attr-2.4.7-r1.ebuild: - Changed sparc fix so now it's an actual fix rather than a workaround. - - 10 Jan 2004; Aron Griffis attr-2.4.7-r1.ebuild: - stable on alpha - - 28 Dec 2003; Joshua Kinard attr-2.4.7-r1.ebuild: - Move to mips stable (~mips -> mips) - - 09 Dec 2003; Seemant Kulleen attr-2.2.0.ebuild, - attr-2.4.1.ebuild, attr-2.4.7-r1.ebuild, files/attr-no-man2pages.patch: - Since the man-pages package provides much more extensive documentation in man2 - for this, the man2 manpages will not be generated in attr - - 05 Dec 2003; Jason Wever attr-2.4.7-r1.ebuild: - Marked stable on sparc because of acl dependency borkage. - - 28 Nov 2003; Jason Wever attr-2.4.7-r1.ebuild: - Added a fix for sparcs so attr will build. Not that we can use XFS yet, but - acl wants it. - - 22 Oct 2003; Bartosch Pixa attr-2.4.7-r1.ebuild: - set ppc in keywords - - 24 Sep 2003; Robin H. Johnson attr-2.4.1.ebuild, - attr-2.4.7-r1.ebuild: - bump 2.4.1 to x86/mips, bump 2.4.7-r1 to x86 - -*attr-2.4.7-r1 (28 Aug 2003) - - 28 Aug 2003; Robin H. Johnson attr-2.4.7-r1.ebuild: - migrate binaries and shared library to / filesystem for use when /usr is not - available, as per bug #27064 - -*attr-2.4.7 (11 Aug 2003) - - 11 Aug 2003; Robin H. Johnson attr-2.4.7.ebuild: - update to new version, doing nls properly, as well as proper debug support (we - built debug code in before anyway!) and require gcc3 as the source is - incompatible with gcc2. fixes bug #21347 - - 30 Jun 2003; Bartosch Pixa attr-2.4.1.ebuild: - set ppc in keywords - -*attr-2.4.1 (13 Apr 2003) - - 13 Apr 2003; Seemant Kulleen Manifest, - attr-2.4.1.ebuild: - another version bump -- it's a snapshot that SuSE talk from xfs upstream - -*attr-2.2.0 (13 Apr 2003) - - 13 Apr 2003; Seemant Kulleen attr-2.2.0.ebuild: - fixed ebuild so patch doesn't fail - - 13 Apr 2003; Seemant Kulleen Manifest, - attr-2.2.0.ebuild: - version bump. The gettext patch in FILESDIR is to disable the "compulsory" - gettext dependency. - - 21 Dec 2002; Daniel Robbins : 20020330 -> - 2.0.5_p20020330 version rename to fix policy violation for naming of CVS - ebuilds. - -*attr-2.1.1-r1 (16 Dec 2002) - - 24 Feb 2003; Nicholas Wourms attr-2.1.1-r1.ebuild : - Marked as testing for mips. Made ChangeLog compatible with echangelog. - - 16 Dec 2002; Brad Cowan attr-2.1.1-r1.ebuild, - files/digest-attr-2.1.1-r1: - - Changed symlinks. - -*attr-2.1.1 (09 Dec 2002) - - 09 Dec 2002; Donny Davies : Chase latest release. - - 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords - -*attr-2.0.9 (27 Sep 2002) - - 27 Sep 2002; Brad Cowan attr-2.0.9.ebuild - files/digest-attr-2.0.9 : version bump thanks to - - 05 Oct 2002; Brad Cowan attr-2.0.9.ebuild : - Fixed symlinks and "modernized" ebuild. - -*attr-20020330 (14 July 2002) - - 21 Jul 2002; Mark Guertin : - updated keywords (ppc) - - 14 Jul 2002; phoen][x attr-20020330.ebuild : - Added KEYWORDS, SLOT. - -*attr-1.1.3-r1 (14 July 2002) - - 14 Jul 2002; phoen][x attr-1.1.3.ebuild : - Added KEYWORDS, SLOT. - - 14 Jul 2002; phoen][x attr-1.1.3-r1.ebuild : - Added KEYWORDS, SLOT. - -*attr-20020124 (1 Feb 2002) - - 14 Jul 2002; phoen][x attr-20020124.ebuild : - Added KEYWORDS, SLOT. - - 1 Feb 2002; G.Bevin 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. diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest index 0ea1f6ae42..225b7624ec 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest @@ -1,10 +1 @@ -AUX attr-2.4.44-gettext.patch 1577 SHA256 d8e4948b48f657b174f642cf29b0830094d16ffae837149fc30c923afd06ddd4 SHA512 32db6077d3e05a225d18e40b44abe2fa83f0309131f61726c8fe221c6ae5270b524c4d36932161671b82b987fe1344d43c6492734b145018a0d9a147abf67e3d WHIRLPOOL b247a5a9aeba48de310498920c0c14f71b0dab7a2c4c94bba436f73ee03568c655588d1832bbbf3a1ef509099f4714ed2f2e51ee1b8cf5f44d1f3397740166fc -AUX attr-2.4.46-config-shell.patch 1497 SHA256 8e04776ea64be0a6a7bd39790c66df75cf9e51495fe7a1b895c16de6ca6f110c SHA512 378d58eaf662c9acfaea16faa64cfd65a5ff1b265e9abc79c758104146664eb346e205a3065067e27ae63b39f9b816990fef7e2f99a7e3c5cb1699bd4e37136c WHIRLPOOL f3efb1e737111c551bbb0eb7f7a683f3b0aaabb3ee5162311cf3439be2f8d39149e32a638b2ac5c4c77f1b6b46da1a4ad71d998be26e82e398d9d5306e50bd88 -AUX attr-2.4.46-generic-syscalls.patch 5977 SHA256 9fc575b72bce0927c52cd18c9b9aee50c32962aa20598097935c607e5b563b28 SHA512 8dd9f6e44c5862c77058a220ca4557dab5aa1af6ce8aee872567ee235f21b8bd147941e727880c6e0c84aa948a3eaaa6ee9a88880fcfb760fe59207d09bed308 WHIRLPOOL 3883aebc6392248a4eb152f847aacedb7b76cefb0c6e971f2b54ddb02d9184866768e55380146a0b46611a8dad6949b82df7cebcbcca2d04a60635c53a85b023 -DIST attr-2.4.46.src.tar.gz 338181 SHA256 dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f SHA512 f1b8e6e4d1aa9f5c1b51d5d08684c9fdfa4b7d22efc1a77c13e4d5f0ae8e053bbb3d49a1c1e3c4143f63c9752ed534a2d009e0ab49cea880032620edbe8fdbb5 WHIRLPOOL 300f3be50a015f2d6d44a4707c31a312015c308899acdf146dfbbdb373336f5de7696f4832dba9543abd9cdfceccd84ef602d672fb88a125210e2622a13cf8fa -DIST attr-2.4.47.src.tar.gz 343692 SHA256 25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859 SHA512 2a333f63655758298650cf8f89c175efdc0112dcc4013e8d023e2a9a69f177e4bcb1f1d10b6666d6f2027dca4dec0833d54749952ab153d28367e1a72e6e2831 WHIRLPOOL a012f7a0225e63d4d195fae7027e64c0c92edb039622bfdec611b2facbcde83eb5fc921ecfe95c50f54f7c9b518f57a0555dcedc148cc8ff6e73371668a40557 -EBUILD attr-2.4.46-r2.ebuild 1487 SHA256 8ac700e4c6e9349f6f44971f836d6cd0d5dd84803c5ef03ea5ad77a782fef951 SHA512 e07690f8c3e0901c1f9774bd91ab1cd1b2185bb6cb360fbe4cb1bffaa2ef8d552dbc59692800110f3725f31de94519d3f481d6981d6a5df4f3636b7e4766322d WHIRLPOOL 7a04e8568270302b29fb95d740d7fe9a1b3a539ebd32276cc7386de2cd2f212a1112233593b31e97f35ec1d608b6043b148dbc5d16dea2e367c08356386a8681 -EBUILD attr-2.4.47-r1.ebuild 1791 SHA256 91bab97dc7297c537110a8703ee7c02809369bf224ae7a4d8040dec7dfa8ac2e SHA512 2874e94494a4a48e55741f3f92479e1381a842382b8c14477be85c918c24bf78527f1a9066ad0ae6cadbf3101a7d27ed446cac02f88e8512a561b04da752368e WHIRLPOOL ee1a00608709c6b5d629be8732dba92017871edac3c55efbfed06095de12e5e969c94dc7647c6e76954b0ab2cd06a0577885a4712a339ad178138a3523b53b57 -EBUILD attr-2.4.47-r2.ebuild 1825 SHA256 6457a4e93d8de324d744e3c1c493697264c1b4ccd49d713f24ac258c8d8e9e75 SHA512 5c1eaba3374e8da8578204f8c27822bee6fd64c4a15e08f128154698a7171e4b5560bcc1e863d830afcec55e9063e0d221ec7a78b6df41dc7326269435b31801 WHIRLPOOL 46d42a7853de1ed5a287328db1c2babf84f211e33b730bfac0bce946433be5ca52ef10af7542ad4e23df4ca4c6ec983e0a1bdc607b9b9d0f62fe58bbbcc1bc52 -MISC ChangeLog 22372 SHA256 43d0533b17bdcc17c59ca88346255cd49c23c4c1f63eb6810ae468bb0f6b773e SHA512 08af9343dd7e667b99facd1cb6e41a8272a1b4c97889cf2ba0254567bdd7c0b4792584e8e8cb8e95c0dbd42f72ca0e63329ba801d226f716e196d891b4702807 WHIRLPOOL e66d1ceb163a8841e3300e4349bc8f1abfe4f8d19236b7b22207cf7614e26322a8feba752e9f9ac104c016e8855eeefceb1d2d7d3cf127c5a6d0938a7fcd4c7f -MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52 +DIST attr-2.5.1.tar.gz 465714 BLAKE2B 05928f8274b0b4beee31b329c8459436c5b9019ebd2f937667b7beb8df7a455c48742a90d9c4faca5c0b38c9c3812043d3d66f9587108d3424c6184fef494b56 SHA512 8b4c043d61f8f3e0cd098e701181069f51117b85fd6ba18bfe9af77d894ea671232377d4793ffc822e9259ceee6ac71d75732eb93b2830c6cb5d0d918ba2d21b diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.46-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.46-r2.ebuild deleted file mode 100644 index 5d19e57e8f..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.46-r2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils toolchain-funcs - -DESCRIPTION="Extended attributes tools" -HOMEPAGE="http://savannah.nongnu.org/projects/attr" -SRC_URI="mirror://nongnu/${PN}/${P}.src.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="nls static-libs" - -DEPEND="nls? ( sys-devel/gettext ) - sys-devel/autoconf" -RDEPEND="" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.4.44-gettext.patch - epatch "${FILESDIR}"/${PN}-2.4.46-config-shell.patch #366671 - epatch "${FILESDIR}"/${PN}-2.4.46-generic-syscalls.patch #460702 - sed -i \ - -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ - -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ - include/builddefs.in \ - || die "failed to update builddefs" - strip-linguas -u po -} - -src_configure() { - unset PLATFORM #184564 - export OPTIMIZER=${CFLAGS} - export DEBUG=-DNDEBUG - - econf \ - $(use_enable nls gettext) \ - --enable-shared $(use_enable static-libs static) \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir) \ - --bindir="${EPREFIX}"/bin -} - -src_install() { - emake DIST_ROOT="${D}" install install-lib install-dev || die - use static-libs || find "${D}" -name '*.la' -delete - # the man-pages packages provides the man2 files - rm -r "${ED}"/usr/share/man/man2 - - # we install attr into /bin, so we need the shared lib with it - gen_usr_ldscript -a attr -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r1.ebuild deleted file mode 100644 index f0db984ba8..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils toolchain-funcs multilib-minimal - -DESCRIPTION="Extended attributes tools" -HOMEPAGE="http://savannah.nongnu.org/projects/attr" -SRC_URI="mirror://nongnu/${PN}/${P}.src.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="nls static-libs" - -DEPEND="nls? ( sys-devel/gettext ) - sys-devel/autoconf" -RDEPEND="abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20130224-r9 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" - -src_prepare() { - sed -i \ - -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ - -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ - include/builddefs.in \ - || die - strip-linguas -u po - multilib_copy_sources # https://savannah.nongnu.org/bugs/index.php?39736 -} - -multilib_src_configure() { - unset PLATFORM #184564 - export OPTIMIZER=${CFLAGS} - export DEBUG=-DNDEBUG - - econf \ - $(use_enable nls gettext) \ - --enable-shared $(use_enable static-libs static) \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir) \ - --bindir="${EPREFIX}"/bin -} - -multilib_src_compile() { - emake $(multilib_is_native_abi || echo TOOL_SUBDIRS=) -} - -multilib_src_install() { - emake \ - $(multilib_is_native_abi || echo TOOL_SUBDIRS=) \ - DIST_ROOT="${D}" \ - install install-lib install-dev - - if multilib_is_native_abi; then - # we install attr into /bin, so we need the shared lib with it - gen_usr_ldscript -a attr - # the man-pages packages provides the man2 files - # note: man-pages are installed by TOOL_SUBDIRS - rm -r "${ED}"/usr/share/man/man2 || die - fi -} - -multilib_src_install_all() { - use static-libs || prune_libtool_files --all - einstalldocs -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r2.ebuild deleted file mode 100644 index 11a6bdacae..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.4.47-r2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils toolchain-funcs multilib-minimal - -DESCRIPTION="Extended attributes tools" -HOMEPAGE="http://savannah.nongnu.org/projects/attr" -SRC_URI="mirror://nongnu/${PN}/${P}.src.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="nls static-libs" - -DEPEND="nls? ( sys-devel/gettext ) - sys-devel/autoconf" -RDEPEND="abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20130224-r9 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" - -src_prepare() { - sed -i \ - -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ - -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ - include/builddefs.in \ - || die - strip-linguas -u po - multilib_copy_sources # https://savannah.nongnu.org/bugs/index.php?39736 -} - -multilib_src_configure() { - unset PLATFORM #184564 - export OPTIMIZER=${CFLAGS} - export DEBUG=-DNDEBUG - - econf \ - $(use_enable nls gettext) \ - --enable-shared $(use_enable static-libs static) \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir) \ - --bindir="${EPREFIX}"/bin -} - -multilib_src_compile() { - emake $(multilib_is_native_abi || echo TOOL_SUBDIRS=) -} - -multilib_src_install() { - emake \ - $(multilib_is_native_abi || echo TOOL_SUBDIRS=) \ - DIST_ROOT="${D}" \ - install install-lib install-dev - - if multilib_is_native_abi; then - # we install attr into /bin, so we need the shared lib with it - gen_usr_ldscript -a attr - # the man-pages packages provides the man2 files - # note: man-pages are installed by TOOL_SUBDIRS - rm -r "${ED}"/usr/share/man/man2 "${ED}"/usr/share/man/man5/attr.5 || die - fi -} - -multilib_src_install_all() { - use static-libs || prune_libtool_files --all - einstalldocs -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.5.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.5.1.ebuild new file mode 100644 index 0000000000..03afe6d30c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.5.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" + + inherit autotools git-r3 +else + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" + SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Extended attributes tools" +HOMEPAGE="https://savannah.nongnu.org/projects/attr" +LICENSE="LGPL-2.1" +SLOT="0" + +IUSE="debug nls static-libs" + +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + po/update-potfiles || die + eautopoint + eautoreconf + else + elibtoolize #580792 + fi +} + +src_configure() { + # Remove -flto* from flags as this breaks binaries (bug #644048) + filter-flags -flto* + append-ldflags "-Wl,--no-gc-sections" #700116 + tc-ld-force-bfd #644048 + append-lfs-flags #760857 + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --bindir="${EPREFIX}"/bin + --enable-shared + $(use_enable static-libs static) + $(use_enable nls) + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + $(use_enable debug) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # Sanity check until we track down why this is happening. #644048 + local lib="${ED}/usr/$(get_libdir)/libattr.so.1" + if [[ -e ${lib} ]] ; then + local versions=$($(tc-getREADELF) -V "${lib}") + local symbols=$($(tc-getREADELF) -sW "${lib}") + if [[ "${versions}" != *"ATTR_1.0"* || \ + "${versions}" != *"ATTR_1.1"* || \ + "${versions}" != *"ATTR_1.2"* || \ + "${versions}" != *"ATTR_1.3"* || \ + "${symbols}" != *"getxattr@ATTR_1.0"* ]] ; then + echo "# readelf -V ${lib}" + echo "${versions}" + echo "# readelf -sW ${lib}" + echo "${symbols}" + die "symbol version sanity check failed; please comment on https://bugs.gentoo.org/644048" + else + einfo "${lib} passed symbol checks" + fi + fi + + if multilib_is_native_abi; then + # we install attr into /bin, so we need the shared lib with it + gen_usr_ldscript -a attr + fi + + # Add a wrapper until people upgrade. + insinto /usr/include/attr + newins "${FILESDIR}"/xattr-shim.h xattr.h +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild new file mode 100644 index 0000000000..6b4cccd9af --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" + + inherit autotools git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Extended attributes tools" +HOMEPAGE="https://savannah.nongnu.org/projects/attr" +LICENSE="LGPL-2.1" +SLOT="0" + +IUSE="debug nls static-libs" + +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + po/update-potfiles || die + eautopoint + eautoreconf + else + elibtoolize #580792 + fi +} + +src_configure() { + # Remove -flto* from flags as this breaks binaries (bug #644048) + filter-flags -flto* + append-ldflags "-Wl,--no-gc-sections" #700116 + tc-ld-force-bfd #644048 + append-lfs-flags #760857 + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --bindir="${EPREFIX}"/bin + --enable-shared + $(use_enable static-libs static) + $(use_enable nls) + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + $(use_enable debug) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # Sanity check until we track down why this is happening. #644048 + local lib="${ED}/usr/$(get_libdir)/libattr.so.1" + if [[ -e ${lib} ]] ; then + local versions=$($(tc-getREADELF) -V "${lib}") + local symbols=$($(tc-getREADELF) -sW "${lib}") + if [[ "${versions}" != *"ATTR_1.0"* || \ + "${versions}" != *"ATTR_1.1"* || \ + "${versions}" != *"ATTR_1.2"* || \ + "${versions}" != *"ATTR_1.3"* || \ + "${symbols}" != *"getxattr@ATTR_1.0"* ]] ; then + echo "# readelf -V ${lib}" + echo "${versions}" + echo "# readelf -sW ${lib}" + echo "${symbols}" + die "symbol version sanity check failed; please comment on https://bugs.gentoo.org/644048" + else + einfo "${lib} passed symbol checks" + fi + fi + + if multilib_is_native_abi; then + # we install attr into /bin, so we need the shared lib with it + gen_usr_ldscript -a attr + fi + + # Add a wrapper until people upgrade. + insinto /usr/include/attr + newins "${FILESDIR}"/xattr-shim.h xattr.h +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.44-gettext.patch b/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.44-gettext.patch deleted file mode 100644 index 49c2d32bdc..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.44-gettext.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- include/gettext.h -+++ include/gettext.h -@@ -0,0 +1,10 @@ -+#include -+#ifdef ENABLE_GETTEXT -+# include -+# define _(x) gettext(x) -+#else -+# define _(x) (x) -+# define textdomain(d) do { } while (0) -+# define bindtextdomain(d,dir) do { } while (0) -+#endif -+#include ---- attr/attr.c -+++ attr/attr.c -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include "gettext.h" - - #include - #include "config.h" ---- libattr/attr_copy_file.c.orig 2007-09-20 02:51:37.000000000 -0400 -+++ libattr/attr_copy_file.c 2007-09-20 02:51:51.000000000 -0400 -@@ -19,6 +19,7 @@ - - #if defined (HAVE_CONFIG_H) - #include "config.h" -+#include "gettext.h" - #endif - - #include ---- libattr/attr_copy_fd.c.orig 2007-09-20 02:52:23.000000000 -0400 -+++ libattr/attr_copy_fd.c 2007-09-20 02:52:31.000000000 -0400 -@@ -19,6 +19,7 @@ - - #if defined (HAVE_CONFIG_H) - #include "config.h" -+#include "gettext.h" - #endif - - #include ---- getfattr/getfattr.c.orig 2007-09-20 02:52:49.000000000 -0400 -+++ getfattr/getfattr.c 2007-09-20 02:52:59.000000000 -0400 -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include "gettext.h" - - #include - #include "config.h" ---- setfattr/setfattr.c.orig 2007-09-20 02:53:12.000000000 -0400 -+++ setfattr/setfattr.c 2007-09-20 02:53:20.000000000 -0400 -@@ -28,6 +28,7 @@ - #include - #include - #include -+#include "gettext.h" - - #include - #include "config.h" diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-config-shell.patch b/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-config-shell.patch deleted file mode 100644 index b6660e63c0..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-config-shell.patch +++ /dev/null @@ -1,53 +0,0 @@ -https://bugs.gentoo.org/366671 - -From 10bfb16245ec4b55c1f5b6dc5554913bc9b13c9c Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Mon, 16 May 2011 01:59:52 -0400 -Subject: [PATCH] use SHELL from configure - -If /bin/sh is not a functional enough shell, configure will select a -SHELL of /bin/bash or better. But the current build helpers always -hardcode /bin/sh, so if libtool itself configures itself for /bin/bash, -things will fail when it attempts to do: - SHELL = /bin/sh - LIBTOOL = $(SHELL) .../libtool - ... - eval: 1: base_compile+= -pipe: not found - ... - -So rather than hardcoding SHELL to /bin/sh, set it to @SHELL@ and let -configure find a good value for us. - -Signed-off-by: Mike Frysinger ---- - include/builddefs.in | 1 + - include/buildmacros | 1 - - 2 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/include/builddefs.in b/include/builddefs.in -index d054a56..434ce95 100644 ---- a/include/builddefs.in -+++ b/include/builddefs.in -@@ -46,6 +46,7 @@ MAKE = @make@ - ECHO = @echo@ - SORT = @sort@ - LN_S = @LN_S@ -+SHELL = @SHELL@ - LIBTOOL = @LIBTOOL@ - MAKEDEPEND = @makedepend@ - -diff --git a/include/buildmacros b/include/buildmacros -index ab89182..8efb32e 100644 ---- a/include/buildmacros -+++ b/include/buildmacros -@@ -42,7 +42,6 @@ OBJECTS = $(ASFILES:.s=.o) \ - - INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP) - --SHELL = /bin/sh - IMAGES_DIR = $(TOPDIR)/all-images - DIST_DIR = $(TOPDIR)/dist - --- -1.7.5.rc3 - diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-generic-syscalls.patch b/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-generic-syscalls.patch deleted file mode 100644 index d12fcd29af..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/attr-2.4.46-generic-syscalls.patch +++ /dev/null @@ -1,180 +0,0 @@ -http://lists.nongnu.org/archive/html/acl-devel/2012-12/msg00000.html -https://bugs.gentoo.org/460702 - ---- a/libattr/syscalls.c -+++ b/libattr/syscalls.c -@@ -23,172 +23,10 @@ - - #include - #include -+#include - --#if defined (__i386__) -+#if defined (__NR_setxattr) - # define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 226 --# define __NR_lsetxattr 227 --# define __NR_fsetxattr 228 --# define __NR_getxattr 229 --# define __NR_lgetxattr 230 --# define __NR_fgetxattr 231 --# define __NR_listxattr 232 --# define __NR_llistxattr 233 --# define __NR_flistxattr 234 --# define __NR_removexattr 235 --# define __NR_lremovexattr 236 --# define __NR_fremovexattr 237 --#elif defined (__sparc__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 169 --# define __NR_lsetxattr 170 --# define __NR_fsetxattr 171 --# define __NR_getxattr 172 --# define __NR_lgetxattr 173 --# define __NR_fgetxattr 177 --# define __NR_listxattr 178 --# define __NR_llistxattr 179 --# define __NR_flistxattr 180 --# define __NR_removexattr 181 --# define __NR_lremovexattr 182 --# define __NR_fremovexattr 186 --#elif defined (__ia64__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 1217 --# define __NR_lsetxattr 1218 --# define __NR_fsetxattr 1219 --# define __NR_getxattr 1220 --# define __NR_lgetxattr 1221 --# define __NR_fgetxattr 1222 --# define __NR_listxattr 1223 --# define __NR_llistxattr 1224 --# define __NR_flistxattr 1225 --# define __NR_removexattr 1226 --# define __NR_lremovexattr 1227 --# define __NR_fremovexattr 1228 --#elif defined (__powerpc__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 209 --# define __NR_lsetxattr 210 --# define __NR_fsetxattr 211 --# define __NR_getxattr 212 --# define __NR_lgetxattr 213 --# define __NR_fgetxattr 214 --# define __NR_listxattr 215 --# define __NR_llistxattr 216 --# define __NR_flistxattr 217 --# define __NR_removexattr 218 --# define __NR_lremovexattr 219 --# define __NR_fremovexattr 220 --#elif defined (__x86_64__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 188 --# define __NR_lsetxattr 189 --# define __NR_fsetxattr 190 --# define __NR_getxattr 191 --# define __NR_lgetxattr 192 --# define __NR_fgetxattr 193 --# define __NR_listxattr 194 --# define __NR_llistxattr 195 --# define __NR_flistxattr 196 --# define __NR_removexattr 197 --# define __NR_lremovexattr 198 --# define __NR_fremovexattr 199 --#elif defined (__s390__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 224 --# define __NR_lsetxattr 225 --# define __NR_fsetxattr 226 --# define __NR_getxattr 227 --# define __NR_lgetxattr 228 --# define __NR_fgetxattr 229 --# define __NR_listxattr 230 --# define __NR_llistxattr 231 --# define __NR_flistxattr 232 --# define __NR_removexattr 233 --# define __NR_lremovexattr 234 --# define __NR_fremovexattr 235 --#elif defined (__arm__) --# define HAVE_XATTR_SYSCALLS 1 --# if defined(__ARM_EABI__) || defined(__thumb__) --# define __NR_SYSCALL_BASE 0 --# else --# define __NR_SYSCALL_BASE 0x900000 --# endif --# define __NR_setxattr (__NR_SYSCALL_BASE+226) --# define __NR_lsetxattr (__NR_SYSCALL_BASE+227) --# define __NR_fsetxattr (__NR_SYSCALL_BASE+228) --# define __NR_getxattr (__NR_SYSCALL_BASE+229) --# define __NR_lgetxattr (__NR_SYSCALL_BASE+230) --# define __NR_fgetxattr (__NR_SYSCALL_BASE+231) --# define __NR_listxattr (__NR_SYSCALL_BASE+232) --# define __NR_llistxattr (__NR_SYSCALL_BASE+233) --# define __NR_flistxattr (__NR_SYSCALL_BASE+234) --# define __NR_removexattr (__NR_SYSCALL_BASE+235) --# define __NR_lremovexattr (__NR_SYSCALL_BASE+236) --# define __NR_fremovexattr (__NR_SYSCALL_BASE+237) --#elif defined (__mips64) --# define HAVE_XATTR_SYSCALLS 1 --# ifdef __LP64__ /* mips64 using n64 ABI */ --# define __NR_Linux 5000 --# else /* mips64 using n32 ABI */ --# define __NR_Linux 6000 --# endif --# define __NR_setxattr (__NR_Linux + 180) --# define __NR_lsetxattr (__NR_Linux + 181) --# define __NR_fsetxattr (__NR_Linux + 182) --# define __NR_getxattr (__NR_Linux + 183) --# define __NR_lgetxattr (__NR_Linux + 184) --# define __NR_fgetxattr (__NR_Linux + 185) --# define __NR_listxattr (__NR_Linux + 186) --# define __NR_llistxattr (__NR_Linux + 187) --# define __NR_flistxattr (__NR_Linux + 188) --# define __NR_removexattr (__NR_Linux + 189) --# define __NR_lremovexattr (__NR_Linux + 190) --# define __NR_fremovexattr (__NR_Linux + 191) --#elif defined (__mips__) /* mips32, or mips64 using o32 ABI */ --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_Linux 4000 --# define __NR_setxattr (__NR_Linux + 224) --# define __NR_lsetxattr (__NR_Linux + 225) --# define __NR_fsetxattr (__NR_Linux + 226) --# define __NR_getxattr (__NR_Linux + 227) --# define __NR_lgetxattr (__NR_Linux + 228) --# define __NR_fgetxattr (__NR_Linux + 229) --# define __NR_listxattr (__NR_Linux + 230) --# define __NR_llistxattr (__NR_Linux + 231) --# define __NR_flistxattr (__NR_Linux + 232) --# define __NR_removexattr (__NR_Linux + 233) --# define __NR_lremovexattr (__NR_Linux + 234) --# define __NR_fremovexattr (__NR_Linux + 235) --#elif defined (__alpha__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 382 --# define __NR_lsetxattr 383 --# define __NR_fsetxattr 384 --# define __NR_getxattr 385 --# define __NR_lgetxattr 386 --# define __NR_fgetxattr 387 --# define __NR_listxattr 388 --# define __NR_llistxattr 389 --# define __NR_flistxattr 390 --# define __NR_removexattr 391 --# define __NR_lremovexattr 392 --# define __NR_fremovexattr 393 --#elif defined (__mc68000__) --# define HAVE_XATTR_SYSCALLS 1 --# define __NR_setxattr 223 --# define __NR_lsetxattr 224 --# define __NR_fsetxattr 225 --# define __NR_getxattr 226 --# define __NR_lgetxattr 227 --# define __NR_fgetxattr 228 --# define __NR_listxattr 229 --# define __NR_llistxattr 230 --# define __NR_flistxattr 231 --# define __NR_removexattr 232 --# define __NR_lremovexattr 233 --# define __NR_fremovexattr 234 - #else - # warning "Extended attribute syscalls undefined for this architecture" - # define HAVE_XATTR_SYSCALLS 0 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/xattr-shim.h b/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/xattr-shim.h new file mode 100644 index 0000000000..88a1235431 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/files/xattr-shim.h @@ -0,0 +1,9 @@ +/* Small shim until we update all packages. */ +#ifndef __XATTR_H__ +#define __XATTR_H__ +#include +#warning "Please change your includes to " +# ifndef ENOATTR +# define ENOATTR ENODATA +# endif /* ENOATTR */ +#endif diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-apps/attr/metadata.xml index 96a2d58636..92a88c8a8f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/metadata.xml @@ -1,5 +1,11 @@ - + -base-system + + base-system@gentoo.org + Gentoo Base System + + + cpe:/a:attr_project:attr +