From d26a57adfd4113338aefd8ca4b7f93c482f4e0b2 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 14 Jan 2022 20:12:57 +0100 Subject: [PATCH] app-arch/sharutils: Sync with gentoo It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a. --- .../app-arch/sharutils/ChangeLog | 75 --- .../app-arch/sharutils/ChangeLog-2015 | 548 ------------------ .../app-arch/sharutils/Manifest | 11 +- .../files/sharutils-4.14-popen-rb.patch | 33 -- .../sharutils-4.15.2-CVE-2018-1000097.patch | 16 + .../files/sharutils-4.15.2-gcc-10.patch | 48 ++ .../files/sharutils-4.15.2-glibc228.patch | 95 +++ .../app-arch/sharutils/metadata.xml | 2 +- .../sharutils/sharutils-4.14-r1.ebuild | 32 - .../sharutils/sharutils-4.15.1.ebuild | 32 - .../sharutils/sharutils-4.15.2-r2.ebuild | 40 ++ .../sharutils/sharutils-4.15.2.ebuild | 28 - 12 files changed, 201 insertions(+), 759 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog-2015 delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.14-popen-rb.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.14-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2-r2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog deleted file mode 100644 index 2875769d3b..0000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog +++ /dev/null @@ -1,75 +0,0 @@ -# ChangeLog for app-arch/sharutils -# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 -# (auto-generated from git log) - -*sharutils-4.15.2 (09 Aug 2015) -*sharutils-4.15.1 (09 Aug 2015) -*sharutils-4.14-r1 (09 Aug 2015) - - 09 Aug 2015; Robin H. Johnson - +files/sharutils-4.14-popen-rb.patch, +metadata.xml, - +sharutils-4.14-r1.ebuild, +sharutils-4.15.1.ebuild, - +sharutils-4.15.2.ebuild: - proj/gentoo: Initial commit - - This commit represents a new era for Gentoo: - Storing the gentoo-x86 tree in Git, as converted from CVS. - - This commit is the start of the NEW history. - Any historical data is intended to be grafted onto this point. - - Creation process: - 1. Take final CVS checkout snapshot - 2. Remove ALL ChangeLog* files - 3. Transform all Manifests to thin - 4. Remove empty Manifests - 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ - 5.1. Do not touch files with -kb/-ko keyword flags. - - Signed-off-by: Robin H. Johnson - X-Thanks: Alec Warner - did the GSoC 2006 migration - tests - X-Thanks: Robin H. Johnson - infra guy, herding this - project - X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo - developer, wrote Git features for the migration - X-Thanks: Brian Harring - wrote much python to improve - cvs2svn - X-Thanks: Rich Freeman - validation scripts - X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 - work in migration - X-Thanks: Michał Górny - scripts, QA, nagging - X-Thanks: All of other Gentoo developers - many ideas and lots of paint on - the bikeshed - - 24 Aug 2015; Justin Lecher metadata.xml: - Use https by default - - Convert all URLs for sites supporting encrypted connections from http to - https - - Signed-off-by: Justin Lecher - - 24 Aug 2015; Justin Lecher sharutils-4.14-r1.ebuild, - sharutils-4.15.1.ebuild, sharutils-4.15.2.ebuild: - Use https for most gnu.org URLs - - Signed-off-by: Justin Lecher - - 24 Aug 2015; Mike Gilbert metadata.xml: - Revert DOCTYPE SYSTEM https changes in metadata.xml - - repoman does not yet accept the https version. - This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. - - Bug: https://bugs.gentoo.org/552720 - - 24 Jan 2016; Michał Górny metadata.xml: - Replace all herds with appropriate projects (GLEP 67) - - Replace all uses of herd with appropriate project maintainers, or no - maintainers in case of herds requested to be disbanded. - - 24 Jan 2016; Michał Górny metadata.xml: - Set appropriate maintainer types in metadata.xml (GLEP 67) - diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog-2015 b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog-2015 deleted file mode 100644 index 728fda45f1..0000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/ChangeLog-2015 +++ /dev/null @@ -1,548 +0,0 @@ -# ChangeLog for app-arch/sharutils -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.131 2015/06/02 09:00:00 polynomial-c Exp $ - -*sharutils-4.15.2 (02 Jun 2015) - - 02 Jun 2015; Lars Wendler +sharutils-4.15.2.ebuild: - Version bump. - -*sharutils-4.15.1 (29 May 2015) - - 29 May 2015; Lars Wendler -sharutils-4.10.ebuild, - -sharutils-4.11.ebuild, -sharutils-4.11.1.ebuild, -sharutils-4.13.1.ebuild, - -sharutils-4.13.3.ebuild, -sharutils-4.13.5.ebuild, +sharutils-4.15.1.ebuild, - -files/sharutils-4.11.1-no-gets.patch: - Version bump. Removed old. - - 12 Aug 2014; Mike Frysinger sharutils-4.14-r1.ebuild: - Mark arm64/m68k/s390/sh stable. - - 17 May 2014; Agostino Sarubbo sharutils-4.14-r1.ebuild: - Stable for alpha, wrt bug #502608 - - 14 May 2014; Agostino Sarubbo sharutils-4.14-r1.ebuild: - Stable for sparc, wrt bug #502608 - - 13 May 2014; Agostino Sarubbo sharutils-4.14-r1.ebuild: - Stable for ia64, wrt bug #502608 - - 20 Apr 2014; Agostino Sarubbo sharutils-4.14-r1.ebuild: - Stable for ppc64, wrt bug #502608 - - 13 Apr 2014; Agostino Sarubbo sharutils-4.14-r1.ebuild: - Stable for ppc, wrt bug #502608 - - 05 Apr 2014; Agostino Sarubbo sharutils-4.14-r1.ebuild: - Stable for x86, wrt bug #502608 - - 29 Mar 2014; Chema Alonso sharutils-4.14-r1.ebuild: - Stable for amd64 wrt bug #502608 - - 26 Mar 2014; Jeroen Roovers sharutils-4.14-r1.ebuild: - Stable for HPPA (bug #502608). - -*sharutils-4.14-r1 (25 Mar 2014) - - 25 Mar 2014; Mike Frysinger +sharutils-4.14-r1.ebuild, - -sharutils-4.14.ebuild, files/sharutils-4.14-popen-rb.patch: - Fix inverted logic in popen binary patch #504504 by Jeroen Roovers. - - 16 Mar 2014; Markus Meier sharutils-4.14.ebuild: - arm stable, bug #502608 - - 18 Jan 2014; Mike Frysinger sharutils-4.13.5.ebuild, - sharutils-4.14.ebuild: - Add arm64 love. - - 18 Jan 2014; Mike Frysinger - +files/sharutils-4.14-popen-rb.patch, sharutils-4.13.5.ebuild, - sharutils-4.14.ebuild: - Fix cross-compiling builds. - - 24 Dec 2013; Tom Wijsman - -files/sharutils-4.6.3-interix.patch: - [QA] Remove unused files. - -*sharutils-4.14 (16 Dec 2013) - - 16 Dec 2013; Tim Harder +sharutils-4.14.ebuild: - Version bump. - - 05 Jun 2013; Mike Frysinger metadata.xml: - Add upstream CPE tag (security info) from ChromiumOS. - - 02 Jun 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for sh, wrt bug #470298 - - 25 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for alpha, wrt bug #470298 - - 25 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for sparc, wrt bug #470298 - - 24 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for ppc64, wrt bug #470298 - - 22 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for ia64, wrt bug #470298 - - 21 May 2013; Jeroen Roovers sharutils-4.13.5.ebuild: - Stable for HPPA (bug #470298). - - 20 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for s390, wrt bug #470298 - - 20 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for arm, wrt bug #470298 - - 20 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for ppc, wrt bug #470298 - - 20 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for x86, wrt bug #470298 - - 19 May 2013; Agostino Sarubbo sharutils-4.13.5.ebuild: - Stable for amd64, wrt bug #470298 - -*sharutils-4.13.5 (13 Apr 2013) - - 13 Apr 2013; Tim Harder -sharutils-4.13.4.ebuild, - +sharutils-4.13.5.ebuild: - Version bump and remove old (fixes bug #465380). - -*sharutils-4.13.4 (02 Apr 2013) - - 02 Apr 2013; Tim Harder +sharutils-4.13.4.ebuild: - Version bump. - - 01 Mar 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for sh, wrt bug #457220 - - 21 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for ia64, wrt bug #457220 - - 20 Feb 2013; Jeroen Roovers sharutils-4.13.3.ebuild: - Stable for HPPA (bug #457220). - - 20 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for s390, wrt bug #457220 - - 15 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for alpha, wrt bug #457220 - - 15 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for sparc, wrt bug #457220 - - 15 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for arm, wrt bug #457220 - - 14 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for ppc, wrt bug #457220 - - 14 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for ppc64, wrt bug #457220 - - 14 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for x86, wrt bug #457220 - - 14 Feb 2013; Agostino Sarubbo sharutils-4.13.3.ebuild: - Stable for amd64, wrt bug #457220 - -*sharutils-4.13.3 (12 Jan 2013) - - 12 Jan 2013; Tim Harder +sharutils-4.13.3.ebuild: - Version bump. - - 02 Jan 2013; Tim Harder sharutils-4.13.1.ebuild: - Remove empty RDEPEND. - -*sharutils-4.13.1 (02 Jan 2013) - - 02 Jan 2013; Tim Harder +sharutils-4.13.1.ebuild: - Version bump. - - 06 Jul 2012; Mike Frysinger - +files/sharutils-4.11.1-no-gets.patch, sharutils-4.11.1.ebuild: - Fix building with glibc-2.16 #424994 by Stevan Bajić. - - 13 Feb 2012; Kacper Kowalik sharutils-4.11.1.ebuild: - ppc64 stable wrt #396763 - - 22 Jan 2012; Agostino Sarubbo sharutils-4.11.1.ebuild: - Stable for AMD64, wrt bug #396763 - - 22 Jan 2012; Raúl Porcel sharutils-4.11.1.ebuild: - alpha/ia64/s390/sh/sparc stable wrt #396763 - - 16 Jan 2012; Jeroen Roovers sharutils-4.11.1.ebuild: - Stable for HPPA (bug #396763). - - 15 Jan 2012; Pawel Hajdan jr sharutils-4.11.1.ebuild: - x86 stable wrt bug #396763 - - 12 Jan 2012; Markus Meier sharutils-4.11.1.ebuild: - arm stable, bug #396763 - - 04 Jan 2012; Brent Baude sharutils-4.11.1.ebuild: - Marking sharutils-4.11.1 ppc for bug 396763 - - 02 Jan 2012; Agostino Sarubbo sharutils-4.11.ebuild: - Stable for AMD64, wrt bug #396763 - - 20 Jul 2011; Pacho Ramos metadata.xml: - Drop maintainer due retirement, bug #34534 - -*sharutils-4.11.1 (29 Apr 2011) - - 29 Apr 2011; Mike Frysinger +sharutils-4.11.1.ebuild: - Version bump. - - 27 Feb 2011; Kacper Kowalik sharutils-4.10.ebuild: - ppc64 stable wrt #353870 - - 26 Feb 2011; Raúl Porcel sharutils-4.10.ebuild: - alpha/ia64/s390/sh/sparc stable wrt #353870 - - 26 Feb 2011; Michael Weber sharutils-4.10.ebuild: - ppc/sparc stable (bug 353870) - - 21 Feb 2011; Jeroen Roovers sharutils-4.10.ebuild: - Stable for HPPA (bug #353870). - - 20 Feb 2011; Markus Meier sharutils-4.10.ebuild: - arm stable, bug #353870 - - 11 Feb 2011; Markos Chandras sharutils-4.10.ebuild: - Stable on amd64 wrt bug #353870 - - 09 Feb 2011; Pawel Hajdan jr - sharutils-4.10.ebuild: - x86 stable wrt bug #353870 - -*sharutils-4.11 (06 Feb 2011) - - 06 Feb 2011; Jeroen Roovers +sharutils-4.11.ebuild: - Version bump. - -*sharutils-4.10 (30 Aug 2010) - - 30 Aug 2010; Jeroen Roovers +sharutils-4.10.ebuild: - Version bump. - - 07 Mar 2010; Mike Frysinger sharutils-4.9.ebuild: - Fix up SRC_URI #308183 by Locke Shinseiko. - -*sharutils-4.9 (06 Mar 2010) - - 06 Mar 2010; Mike Frysinger +sharutils-4.9.ebuild: - Version bump #306663 by Jeroen Roovers. - - 24 Feb 2010; Jeroen Roovers sharutils-4.7.ebuild: - Fix LICENSE. - - 15 Jan 2010; Jonathan Callen - +files/sharutils-4.6.3-interix.patch, sharutils-4.7.ebuild: - Add prefix keywords; patch for interix - - 18 Mar 2009; sharutils-4.6.3.ebuild: - Drop down to ~mips due to unstable deps - - 07 Feb 2009; Raúl Porcel sharutils-4.7.ebuild: - arm/ia64/s390/sh stable wrt #249125 - - 12 Jan 2009; Guy Martin sharutils-4.7.ebuild: - hppa stable, #249125 - - 10 Jan 2009; Tobias Klausmann sharutils-4.7.ebuild: - Stable on alpha, bug #249125 - - 09 Jan 2009; Brent Baude sharutils-4.7.ebuild: - stable ppc, bug 249125 - - 07 Jan 2009; Brent Baude sharutils-4.7.ebuild: - stable ppc64, bug 249125 - - 04 Jan 2009; Friedrich Oslage sharutils-4.7.ebuild: - Stable on sparc, bug #249125 - - 04 Jan 2009; Markus Meier sharutils-4.7.ebuild: - amd64/x86 stable, bug #249125 - -*sharutils-4.7 (17 Sep 2008) - - 17 Sep 2008; Mike Frysinger +sharutils-4.7.ebuild: - Version bump #237151 by Conrad Kostecki. - - 02 Jul 2007; Daniel Black - -files/sharutils-4.2.1-buffer-check.patch, - -files/sharutils-4.2.1-buffer-limits.patch, - -files/sharutils-4.2.1-gentoo.patch, - -files/sharutils-4.2.1-tempfile.patch, -sharutils-4.2.1-r11.ebuild, - -sharutils-4.5.ebuild, -sharutils-4.6.ebuild, -sharutils-4.6.1.ebuild, - -sharutils-4.6.2.ebuild: - bit of cleaning - - 02 Jul 2007; Christoph Mende sharutils-4.6.3.ebuild: - Stable on amd64 - - 11 Jun 2007; Raúl Porcel sharutils-4.6.3.ebuild: - alpha stable - - 11 May 2007; Joshua Kinard sharutils-4.6.3.ebuild: - Stable on mips. - - 15 Apr 2007; Markus Rothe sharutils-4.6.3.ebuild: - Stable on ppc64 - - 01 Apr 2007; Michael Hanselmann - sharutils-4.6.3.ebuild: - Stable on ppc. - - 28 Mar 2007; Jeroen Roovers : - Stable for HPPA too. - - 22 Mar 2007; Gustavo Zacarias - sharutils-4.6.3.ebuild: - Stable on sparc - - 20 Mar 2007; Raúl Porcel sharutils-4.6.3.ebuild: - x86 stable and add inherit eutils, since it was missing for strip_linguas - - 21 Feb 2007; Piotr Jaroszyński ChangeLog: - Transition to Manifest2. - -*sharutils-4.6.3 (26 Jan 2007) - - 26 Jan 2007; Mike Frysinger +sharutils-4.6.3.ebuild: - Version bump #163667 by yuntaku. - -*sharutils-4.6.2 (11 Apr 2006) - - 11 Apr 2006; Daniel Black - -sharutils-4.6.1_pre4.ebuild, sharutils-4.6.1.ebuild, - +sharutils-4.6.2.ebuild: - fixed linguas as per bug #126336 thanks to Chris White. Version bumped cause - I could. removed old prerelease - -*sharutils-4.6.1 (26 Feb 2006) - - 26 Feb 2006; Daniel Black - +sharutils-4.6.1.ebuild: - version bump - -*sharutils-4.6.1_pre4 (06 Jan 2006) - - 06 Jan 2006; Daniel Black - +sharutils-4.6.1_pre4.ebuild: - version bump to fix self test bug #116696 thanks Sandro - -*sharutils-4.6 (08 Oct 2005) - - 08 Oct 2005; Daniel Black - -sharutils-4.5.1.ebuild, +sharutils-4.6.ebuild: - version bump. removed 4.5.1 due to failed selftest bug #108513 thanks to Sandro - -*sharutils-4.5.1 (01 Sep 2005) - - 01 Sep 2005; Mike Frysinger +sharutils-4.5.1.ebuild: - Version bump. - -*sharutils-4.5 (10 Aug 2005) - - 10 Aug 2005; Daniel Black - -files/sharutils-4.4-r1-tempfile.patch, - -files/sharutils-4.4-uninitalisedvar.patch, -sharutils-4.4-r1.ebuild, - +sharutils-4.5.ebuild: - version bump as per bug #101904 thanks to Bruce Korb - -*sharutils-4.4-r1 (02 Aug 2005) - - 02 Aug 2005; Daniel Black - +files/sharutils-4.4-r1-tempfile.patch, - -files/sharutils-4.4-tempfile.patch, - +files/sharutils-4.4-uninitalisedvar.patch, -sharutils-4.4.ebuild, - +sharutils-4.4-r1.ebuild: - changed temp patch to be more portable thanks to Bruce Korb (upstream - maintainter). added unitialised variable patch thanks to Ivan Yosifov in bug - #101100 - -*sharutils-4.4 (30 Jul 2005) - - 30 Jul 2005; Daniel Black - +files/sharutils-4.4-tempfile.patch, -sharutils-4.2.1-r10.ebuild, - +sharutils-4.4.ebuild: - Version bump thanks to meatoo. - - 06 Apr 2005; Michael Hanselmann - sharutils-4.2.1-r11.ebuild: - Stable on hppa. - - 06 Apr 2005; Bryan Østergaard - sharutils-4.2.1-r11.ebuild: - Stable on alpha, bug 87939. - - 05 Apr 2005; Jan Brinkmann - sharutils-4.2.1-r11.ebuild: - Stable on amd64, bug #87939. - - 05 Apr 2005; Hardave Riar sharutils-4.2.1-r11.ebuild: - Stable on mips, bug #87939. - - 05 Apr 2005; Gustavo Zacarias - sharutils-4.2.1-r11.ebuild: - Stable on sparc wrt #87939 - - 05 Apr 2005; Michael Hanselmann - sharutils-4.2.1-r11.ebuild: - Stable on ppc. - - 05 Apr 2005; Olivier Crête - sharutils-4.2.1-r11.ebuild: - Stable on x86 per security bug #87939 - - 05 Apr 2005; Markus Rothe sharutils-4.2.1-r11.ebuild: - Stable on ppc64; bug #87939 - -*sharutils-4.2.1-r11 (05 Apr 2005) - - 05 Apr 2005; Mike Frysinger - files/sharutils-4.2.1-gentoo.patch, +files/sharutils-4.2.1-tempfile.patch, - +sharutils-4.2.1-r11.ebuild: - Version bump to fix tempfile bugs #87939. - - 28 Dec 2004; Ciaran McCreesh : - Change encoding to UTF-8 for GLEP 31 compliance - - 09 Oct 2004; Tom Gall sharutils-4.2.1-r10.ebuild: - stable on ppc64, bug #65773 - - 02 Oct 2004; Joshua Kinard sharutils-4.2.1-r10.ebuild: - Marked stable on mips. - - 29 Sep 2004; Bryan Østergaard - sharutils-4.2.1-r10.ebuild: - Stable on alpha, bug 65773. - - 29 Sep 2004; Olivier Crete sharutils-4.2.1-r10.ebuild: - Stable on x86 - - 29 Sep 2004; Gustavo Zacarias - sharutils-4.2.1-r10.ebuild: - Stable on sparc wrt #65773 - - 29 Sep 2004; Olivier Crete sharutils-4.2.1-r10.ebuild: - Renamed patch in second ebuild too - -*sharutils-4.2.1-r10 (29 Sep 2004) - - 29 Sep 2004; Mike Frysinger - +files/sharutils-4.2.1-buffer-limits.patch, +sharutils-4.2.1-r10.ebuild: - Add patch from Debian/Florian Schilhabel to fix some buffer overflows #65773. - - 16 May 2004; Luca Barbato sharutils-4.2.1-r9.ebuild: - Marked ppc - - 15 May 2004; Bryan Østergaard sharutils-4.2.1-r9.ebuild: - Stable on alpha. - - 15 May 2004; Jon Portnoy sharutils-4.2.1-r9.ebuild : - Stable on x86 + AMD64. - - 15 May 2004; Joshua Kinard sharutils-4.2.1-r9.ebuild: - Marked stable on mips. - - 15 May 2004; Guy Martin sharutils-4.2.1-r9.ebuild: - Marked stable on hppa. - - 15 May 2004; Gustavo Zacarias - sharutils-4.2.1-r9.ebuild: - Stable on sparc wrt #46998 - -*sharutils-4.2.1-r9 (15 May 2004) - - 15 May 2004; sharutils-4.2.1-r9.ebuild, - files/sharutils-4.2.1-buffer-check.patch: - Use patch supplied by Michael Schröder: http://bugzilla.suse.de [#39122, - password protected] Submitted to Gentoo by Karl Eichwalder - Fix format string handling problems with command line parsing shar -o Gentoo - security bug #46998 - - 10 Apr 2004; Michael Sterrett - sharutils-4.2.1-r6.ebuild, sharutils-4.2.1-r7.ebuild, - sharutils-4.2.1-r8.ebuild: - don't assign default to S; error check sed; tidy - - 08 Apr 2004; Jon Portnoy sharutils-4.2.1-r8.ebuild : - Stable on AMD64 - - 08 Apr 2004; Joshua Kinard sharutils-4.2.1-r8.ebuild: - Marked stable on mips. - - 07 Apr 2004; Aron Griffis sharutils-4.2.1-r8.ebuild: - Stable on alpha and ia64 - -*sharutils-4.2.1-r8 (06 Apr 2004) - - 06 Apr 2004; Mike Frysinger : - Add buffer size checking #46998 by Florian Schilhabel. - - 02 Mar 2004; Brian Jackson sharutils-4.2.1-r7.ebuild: - adding initial s390 support - -*sharutils-4.2.1-r7 (29 Feb 2004) - - 29 Feb 2004; Martin Schlemmer sharutils-4.2.1-r7.ebuild: - Add a fix for bug #40140. Some other cleanups. - -*sharutils-4.2.1-r6 (14 Nov 2003) - - 14 Nov 2003; Seemant Kulleen sharutils-4.2.1-r6.ebuild, - files/sharutils-4.2.1-r6-gentoo.diff: - moved from sys-apps to app-arch - - 01 Nov 2003; Seemant Kulleen sharutils-4.2.1-r6.ebuild: - point SRC_URI to gentoo mirrors first closing bug #32520 by Stony Yakovac - - -*sharutils-4.2.1-r6 (10 Mar 2003) - - 10 Mar 2003; Seemant Kulleen sharutils-4.2.1-r4.ebuild, - sharutils-4.2.1-r4.ebuild, sharutils-4.2.1-r5.ebuild, - sharutils-4.2.1-r5.ebuild, sharutils-4.2.1-r6.ebuild: - use epatch instead - - 20 Feb 2003; Zach Welch sharutuls-4.2.1-r6.ebuild : - Added arm to keywords. - - 09 Feb 2003; Guy Martin sharutuls-4.2.1-r6.ebuild : - Added hppa to keywords. - - 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords - -*sharutuls-4.2.1-r6 (30 Oct 2002) - - 30 Oct 2002; Daniel Ahlberg : - uudecoe security update. Made mailshar.in use mktemp. - -*sharutils-4.2.1-r5 (17 Mar 2002) - - 14 Jul 2002; phoen][x sharutils-4.2.1-r5.ebuild : - Added LICENSE, KEYWORDS, SLOT. - - 17 Mar 2002; Seemant Kulleen sharutils-4.2.1-r5 : - - Added USE dependent nls compilation. - -*sharutils-4.2.1-r4 (1 Feb 2002) - - 14 Jul 2002; phoen][x sharutils-4.2.1-r4.ebuild : - Added LICENSE, 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/app-arch/sharutils/Manifest b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/Manifest index e8c4d96e49..b2a75220aa 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/Manifest @@ -1,10 +1 @@ -AUX sharutils-4.14-popen-rb.patch 791 SHA256 16ce549a6d74700db1197590bbf921201b7fea7c497274f9ecd6f47ece7ea7ce SHA512 96b7aa7b594cf2d31b6a0d85c7d4ff0901c66776bf83328651a6717f633d9fd3f0ce1e3185b110aecfb8c59009087b0853cbef3736eaf9aa25a08a11500d4833 WHIRLPOOL 02bd9383e94366b16320fc8766085ebf80a6b5a578f92cc1b5310d4d2bbe022d3deeee6c0a389056f334b2199c9d788f754360096321925828d51f0e30b82787 -DIST sharutils-4.14.tar.xz 1089052 SHA256 eae388efcf52aba0b081f09053189e0a3ad238561d88716b880b5c0676c07a0c SHA512 c1b87bc87915f7aebc9e02dfc1e08321f5ed2e144509c063139cde23eb8f75cb6469aa8042e4c6ec801f55d805e595f4c1c674cf5f2b4580a1e4933fcd605614 WHIRLPOOL dc3f9f3e2caaf296fbf6317f4b8eb1d4d8b8cb5aef59ef570dd24483afcaf3dd55f46e07a70e1213b393390c77e631e60891adae52ff9693ad446692189db649 -DIST sharutils-4.15.1.tar.xz 1126672 SHA256 b92ce637dbf95a69888ba70a55ecc8b527417fee9b518316eb7c650e8e90e70a SHA512 791e37730cfff36ef96793ff7e70af05845eef72c6f581ce05a873d7d9beb7d42504a253fb944c77938f355c5d29c1a9de78653812fbbf859574b7b72dc4d8e1 WHIRLPOOL d8ae0afe7857e708cb92061a759121058b18dd9da402088fccd63a0e974ba57e9f9340a161fa05639004fa9ddfb5d215e4fb30eb90eba71c9f3c661a06b89b22 -DIST sharutils-4.15.2.tar.xz 1122476 SHA256 2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a SHA512 80d0b804a0617e11e5c23dc0d59b218bbf93e40aaf5e9a5401a18ef9cb700390aab711e2b2e2f26c8fd5b8ef99a91d3405e01d02cadabcba7639979314e59f8d WHIRLPOOL 2e29cdad58bf530b401509fcd480fdd4dd8bd98c7b90dcb5a9ab7a6feadd9d98d8bcb0bb2b18c176c17b856061ac9f81ecac25e37c7f7fddc4938205c6bd3eb6 -EBUILD sharutils-4.14-r1.ebuild 755 SHA256 4726c381c12dcf9e038cd3aa92909bd01a34f4cb45c13a5d67de4d1f300b11f5 SHA512 37055c66a8de86fe33d5f992b21b55e7c3bdf2371cf397cad72148f1b64ca715b4b6778115a890b5b920ae01cdf047877b7f622f97e4ee00127ef54a4a0ba2af WHIRLPOOL f1633bae76b1c81a02366e7020cec0e2944c50b8cc892582a714057b59766e0dc9d8745d3bcae4b9dbb01fdb2548ea66932a9ed79c608a62fc7c26d75da8af80 -EBUILD sharutils-4.15.1.ebuild 768 SHA256 db8e55e2ae733447a58daf5d82d47307684bf9a39a29ac2e9c9326cfa25dd8d5 SHA512 d97b79c07eff679f567552109852bdf17856a1518f1490d8f17b8a398965af5846ed632620bb15a2cb2ef21d4fb070101a3ca8416f72c9ac70f8c7c9154c7609 WHIRLPOOL 96afbc53c4c43ffce41630c20caf46d991897a89f46c9a2f1a9274cd63e02826600ecd5ecb26377265390abfb8a81d011c03ebaf1b3a9cf8e0c95ac26610f6fd -EBUILD sharutils-4.15.2.ebuild 701 SHA256 863c7101706b8706066c6e2135820f3c6cd687b6a2e65b01ba5ab99a77a3c6fa SHA512 2a8531c995743270c0954d535b65a20dd5cef28eed623191fbe605bc54e8c79dea166ba3d5bd92b1530280b415a554b211dbf82653c492c5be0607367545fdf0 WHIRLPOOL 9d0caf9dec642099892b0bb8fd650fc3592d4af3beacefca036085782b203cc8f50b3e60798fe31574ea515e27e48736aa22e01aed442fb9696a8cdf316cdd5d -MISC ChangeLog 2805 SHA256 3976fe7b7034fa3503cc2dc38b50ce022751a68ef25c71b2bf66d480b863accc SHA512 a4b1e496d5a5f89c280e72ec26c8aeab0d547ee918ceef92593fc42e7e0480bb4b81a1f8cf73e1654bced114eab9f3e41b9e5589713b70dabfc0bdf4c8c94538 WHIRLPOOL 1030ff61b3653c03ed93dc265d0a7777e55948c5ead9b17ca1a6ff64c4e3cff46a1becdc2227693723fa8cf298015249f7cdc3fe105cbe6eb8ca7cd594cfda34 -MISC ChangeLog-2015 18607 SHA256 e404e738ecb4fda995a9036010edd399b654f5982318d1a686d02d776f8dc9b9 SHA512 04c5fc1fbfd34476e7caf20e568ee2fc3d9092ec08812a0fbf7894563953c9c42fb6f34c2e11d67a1da61ad36ae12a57ac926811d88f6db29c2d1ba38558cad5 WHIRLPOOL 292bdf1a3c26280c309672f96b29d4a4614fe91219635bddf062c32bca3113fc1551d93b2c839d532d4f485e7d6b8893b1a2c180dea9f70483c8f592421fff83 -MISC metadata.xml 335 SHA256 ef6bd8d9820010a59d653100cfdef972f6153cc4b3e5ab6c904436ea58a558ed SHA512 4670be25ae746c8384beeff118f00b44d00fb9db553d4d64934bbb6f972eb21e2a4b28e2d5a6a6a708280acd51bed2b2acbb7552165c43a75eb497eb0c04dd94 WHIRLPOOL 62db53bd997b3aec92f10e5cd1a3ff266ebcb9e578c3344ca67d5a76575d6c6e9680ea4144c557e8f4989dbd72a073001a422dab978949abd966075a213969c9 +DIST sharutils-4.15.2.tar.xz 1122476 BLAKE2B e2acae027679ebdf723ecae6f243608f501f5c24685a19223dd27580ccf76bc7d38905a9d202b30cf2633e5580d727821398f1162b170233f03c17f3da683917 SHA512 80d0b804a0617e11e5c23dc0d59b218bbf93e40aaf5e9a5401a18ef9cb700390aab711e2b2e2f26c8fd5b8ef99a91d3405e01d02cadabcba7639979314e59f8d diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.14-popen-rb.patch b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.14-popen-rb.patch deleted file mode 100644 index c502a623c1..0000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.14-popen-rb.patch +++ /dev/null @@ -1,33 +0,0 @@ -delete the run time test which dies on cross-compiles. -we know the answer already, so hardcode it to true. - ---- a/configure -+++ b/configure -@@ -30745,25 +30745,8 @@ - CATALOGS="$new_CATALOGS" - fi - --if test "$cross_compiling" = yes; then : -- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 --$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling --See \`config.log' for more details" "$LINENO" 5; } --else -- cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -- --int --main () --{ -- FILE * fp = popen ("date", "rb"); -- exit (fp == NULL); -- ; -- return 0; --} --_ACEOF --if ac_fn_c_try_run "$LINENO"; then : -+if false; then -+if true; then - - $as_echo "#define BINARY_MODE_POPEN 1" >>confdefs.h - diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch new file mode 100644 index 0000000000..f61662040b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-CVE-2018-1000097.patch @@ -0,0 +1,16 @@ +From: Petr Pisar +Subject: Fix CVE-2018-1000097, heap buffer overflow in unshar +Bug-Debian: https://bugs.debian.org/893525 +X-Debian-version: 1:4.15.2-3 + +--- a/src/unshar.c ++++ b/src/unshar.c +@@ -240,7 +240,7 @@ + off_t position = ftello (file); + + /* Read next line, fail if no more and no previous process. */ +- if (!fgets (rw_buffer, BUFSIZ, file)) ++ if (!fgets (rw_buffer, rw_base_size, file)) + { + if (!start) + error (0, 0, _("Found no shell commands in %s"), name); diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch new file mode 100644 index 0000000000..4a0c02f5ba --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-gcc-10.patch @@ -0,0 +1,48 @@ +https://bugs.gentoo.org/706256 + +Fix build failure on gcc-10/-fno-common. + +--- a/src/shar-opts.h ++++ b/src/shar-opts.h +@@ -352,7 +352,7 @@ extern "C" { + * global exported definitions + */ + #include "local.h" +-char const * const program_name; ++extern char const * const program_name; + + extern bool initialization_done; + extern int optidx; +--- a/src/unshar-opts.h ++++ b/src/unshar-opts.h +@@ -192,7 +192,7 @@ extern "C" { + extern size_t separator_str_len; + + #include "local.h" +-char const * const program_name; ++extern char const * const program_name; + + + /* * * * * * +--- a/src/uudecode-opts.h ++++ b/src/uudecode-opts.h +@@ -170,7 +170,7 @@ extern "C" { + * global exported definitions + */ + #include "local.h" +-char const * const program_name; ++extern char const * const program_name; + + + /* * * * * * +--- a/src/uuencode-opts.h ++++ b/src/uuencode-opts.h +@@ -166,7 +166,7 @@ extern "C" { + * global exported definitions + */ + #include "local.h" +-char const * const program_name; ++extern char const * const program_name; + + + /* * * * * * diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch new file mode 100644 index 0000000000..15bd682865 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/files/sharutils-4.15.2-glibc228.patch @@ -0,0 +1,95 @@ +From: Santiago Vila +Subject: Fix FTBFS with glibc 2.28 +Bug-Debian: https://bugs.debian.org/915173 +X-Debian-version: 1:4.15.2-4 + +Based on this gnulib commit by Paul Eggert: + +https://lists.gnu.org/r/bug-gnulib/2018-03/msg00002.html + +--- a/lib/fflush.c ++++ b/lib/fflush.c +@@ -33,7 +33,7 @@ + #undef fflush + + +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + + /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */ + static void +@@ -72,7 +72,7 @@ + + #endif + +-#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */) ++#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */) + + # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT + /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */ +@@ -148,7 +148,7 @@ + if (stream == NULL || ! freading (stream)) + return fflush (stream); + +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + + clear_ungetc_buffer_preserving_position (stream); + +--- a/lib/fpurge.c ++++ b/lib/fpurge.c +@@ -62,7 +62,7 @@ + /* Most systems provide FILE as a struct and the necessary bitmask in + , because they need it for implementing getc() and putc() as + fast macros. */ +-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + fp->_IO_read_end = fp->_IO_read_ptr; + fp->_IO_write_ptr = fp->_IO_write_base; + /* Avoid memory leak when there is an active ungetc buffer. */ +--- a/lib/freading.c ++++ b/lib/freading.c +@@ -31,7 +31,7 @@ + /* Most systems provide FILE as a struct and the necessary bitmask in + , because they need it for implementing getc() and putc() as + fast macros. */ +-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + return ((fp->_flags & _IO_NO_WRITES) != 0 + || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0 + && fp->_IO_read_base != NULL)); +--- a/lib/fseeko.c ++++ b/lib/fseeko.c +@@ -47,7 +47,7 @@ + #endif + + /* These tests are based on fpurge.c. */ +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + if (fp->_IO_read_end == fp->_IO_read_ptr + && fp->_IO_write_ptr == fp->_IO_write_base + && fp->_IO_save_base == NULL) +@@ -123,7 +123,7 @@ + return -1; + } + +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + fp->_flags &= ~_IO_EOF_SEEN; + fp->_offset = pos; + #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ +--- a/lib/stdio-impl.h ++++ b/lib/stdio-impl.h +@@ -18,6 +18,12 @@ + the same implementation of stdio extension API, except that some fields + have different naming conventions, or their access requires some casts. */ + ++/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this ++ problem by defining it ourselves. FIXME: Do not rely on glibc ++ internals. */ ++#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN ++# define _IO_IN_BACKUP 0x100 ++#endif + + /* BSD stdio derived implementations. */ + diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/metadata.xml b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/metadata.xml index 92fa5463f2..a974c2f2df 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/metadata.xml @@ -1,5 +1,5 @@ - + base-system@gentoo.org diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.14-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.14-r1.ebuild deleted file mode 100644 index 13ebbb3e2a..0000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.14-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils - -MY_P="${P/_/-}" -DESCRIPTION="Tools to deal with shar archives" -HOMEPAGE="https://www.gnu.org/software/sharutils/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="nls" - -DEPEND="app-arch/xz-utils - sys-apps/texinfo - nls? ( >=sys-devel/gettext-0.10.35 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-4.14-popen-rb.patch -} - -src_configure() { - strip-linguas -u po - econf $(use_enable nls) -} diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.1.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.1.ebuild deleted file mode 100644 index 9496a9f091..0000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils - -MY_P="${P/_/-}" -DESCRIPTION="Tools to deal with shar archives" -HOMEPAGE="https://www.gnu.org/software/sharutils/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="nls" - -DEPEND="app-arch/xz-utils - sys-apps/texinfo - nls? ( >=sys-devel/gettext-0.10.35 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-4.14-popen-rb.patch -} - -src_configure() { - strip-linguas -u po - econf $(use_enable nls) -} diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2-r2.ebuild new file mode 100644 index 0000000000..4df30e2394 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit flag-o-matic strip-linguas + +MY_P="${P/_/-}" +DESCRIPTION="Tools to deal with shar archives" +HOMEPAGE="https://www.gnu.org/software/sharutils/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="nls" + +DEPEND="app-arch/xz-utils + sys-apps/texinfo + nls? ( >=sys-devel/gettext-0.10.35 )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.15.2-glibc228.patch + "${FILESDIR}"/${PN}-4.15.2-CVE-2018-1000097.patch + "${FILESDIR}"/${PN}-4.15.2-gcc-10.patch +) + +src_prepare() { + default + + # Upstream is aware but thinks this isn't a bug/problem in sharutils itself + # See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html + append-cflags $(test-flags-CC -Wno-error=format-security) +} + +src_configure() { + strip-linguas -u po + econf $(use_enable nls) +} diff --git a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2.ebuild deleted file mode 100644 index 00fc5a9f30..0000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/sharutils/sharutils-4.15.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils - -MY_P="${P/_/-}" -DESCRIPTION="Tools to deal with shar archives" -HOMEPAGE="https://www.gnu.org/software/sharutils/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="nls" - -DEPEND="app-arch/xz-utils - sys-apps/texinfo - nls? ( >=sys-devel/gettext-0.10.35 )" - -S=${WORKDIR}/${MY_P} - -src_configure() { - strip-linguas -u po - econf $(use_enable nls) -}