From 299ec18872258e91d26feebbb061e8147f88a15f Mon Sep 17 00:00:00 2001 From: Nick Owens Date: Wed, 2 Mar 2016 14:26:41 -0800 Subject: [PATCH] bump(sys-libs/newlib): sync with upstream --- .../metadata/md5-cache/sys-libs/newlib-1.18.0 | 12 +- .../metadata/md5-cache/sys-libs/newlib-1.19.0 | 12 ++ .../metadata/md5-cache/sys-libs/newlib-1.20.0 | 12 ++ .../metadata/md5-cache/sys-libs/newlib-2.0.0 | 12 ++ .../metadata/md5-cache/sys-libs/newlib-2.1.0 | 12 ++ .../metadata/md5-cache/sys-libs/newlib-2.2.0 | 13 ++ .../md5-cache/sys-libs/newlib-2.2.0.20150423 | 11 ++ .../md5-cache/sys-libs/newlib-2.3.0.20160104 | 12 ++ .../metadata/md5-cache/sys-libs/newlib-9999 | 11 ++ .../portage-stable/sys-libs/newlib/ChangeLog | 88 +++++++++++ .../sys-libs/newlib/ChangeLog-2015 | 149 ++++++++++++++++++ .../portage-stable/sys-libs/newlib/Manifest | 24 ++- .../files/newlib-1.20.0-arm-targets.patch | 55 +++++++ .../files/newlib-1.20.0-cris-install.patch | 13 ++ .../files/newlib-2.1.0-msp430-destdir.patch | 41 +++++ .../sys-libs/newlib/metadata.xml | 11 ++ .../sys-libs/newlib/newlib-1.18.0.ebuild | 36 ++--- .../sys-libs/newlib/newlib-1.19.0.ebuild | 72 +++++++++ .../sys-libs/newlib/newlib-1.20.0.ebuild | 77 +++++++++ .../sys-libs/newlib/newlib-2.0.0.ebuild | 70 ++++++++ .../sys-libs/newlib/newlib-2.1.0.ebuild | 75 +++++++++ .../newlib/newlib-2.2.0.20150423.ebuild | 82 ++++++++++ .../sys-libs/newlib/newlib-2.2.0.ebuild | 83 ++++++++++ .../newlib/newlib-2.3.0.20160104.ebuild | 82 ++++++++++ .../sys-libs/newlib/newlib-9999.ebuild | 82 ++++++++++ 25 files changed, 1121 insertions(+), 26 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.19.0 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.20.0 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.0.0 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.1.0 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.2.0 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.2.0.20150423 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.3.0.20160104 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-9999 create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog-2015 create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-cris-install.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/metadata.xml create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.19.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.20.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.0.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.1.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.20150423.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.3.0.20160104.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.18.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.18.0 index 3b43e394b2..d77082d822 100644 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.18.0 +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.18.0 @@ -1,12 +1,12 @@ -DEFINED_PHASES=compile install unpack +DEFINED_PHASES=compile install setup unpack DESCRIPTION=Newlib is a C library intended for use on embedded systems EAPI=0 HOMEPAGE=http://sourceware.org/newlib/ IUSE=nls threads unicode crosscompile_opts_headers-only -KEYWORDS=-* arm hppa m68k mips ppc ppc64 sh sparc x86 +KEYWORDS=-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 LICENSE=NEWLIB LIBGLOSS GPL-2 RESTRICT=strip -SLOT=x86_64-pc-linux-newlib -SRC_URI=ftp://sources.redhat.com/pub/newlib/newlib-1.18.0.tar.gz -_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 -_md5_=5516af76a7d40c815fdaa9ff5f86fe08 +SLOT=0 +SRC_URI=ftp://sourceware.org/pub/newlib/newlib-1.18.0.tar.gz +_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=8f2b006707bf98b51a3b05b9d3452cdf diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.19.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.19.0 new file mode 100644 index 0000000000..3e0ff59b50 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.19.0 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install setup unpack +DESCRIPTION=Newlib is a C library intended for use on embedded systems +EAPI=0 +HOMEPAGE=http://sourceware.org/newlib/ +IUSE=nls threads unicode crosscompile_opts_headers-only +KEYWORDS=-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 +LICENSE=NEWLIB LIBGLOSS GPL-2 +RESTRICT=strip +SLOT=0 +SRC_URI=ftp://sourceware.org/pub/newlib/newlib-1.19.0.tar.gz +_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=8f2b006707bf98b51a3b05b9d3452cdf diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.20.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.20.0 new file mode 100644 index 0000000000..cfd7d4a7d2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-1.20.0 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare setup +DESCRIPTION=Newlib is a C library intended for use on embedded systems +EAPI=4 +HOMEPAGE=http://sourceware.org/newlib/ +IUSE=nls threads unicode crosscompile_opts_headers-only +KEYWORDS=-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 +LICENSE=NEWLIB LIBGLOSS GPL-2 +RESTRICT=strip +SLOT=0 +SRC_URI=ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz +_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=903e4fc91d54f8baef19544bdbdd47fe diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.0.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.0.0 new file mode 100644 index 0000000000..af34c6e7f7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.0.0 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install setup +DESCRIPTION=Newlib is a C library intended for use on embedded systems +EAPI=4 +HOMEPAGE=http://sourceware.org/newlib/ +IUSE=nls threads unicode crosscompile_opts_headers-only +KEYWORDS=-* arm hppa m68k ~mips ppc ppc64 sh sparc x86 +LICENSE=NEWLIB LIBGLOSS GPL-2 +RESTRICT=strip +SLOT=0 +SRC_URI=ftp://sourceware.org/pub/newlib/newlib-2.0.0.tar.gz +_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=838e2ae4267fe5f50014e20aae2a6486 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.1.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.1.0 new file mode 100644 index 0000000000..f38c472e9a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.1.0 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare setup +DESCRIPTION=Newlib is a C library intended for use on embedded systems +EAPI=4 +HOMEPAGE=http://sourceware.org/newlib/ +IUSE=nls threads unicode crosscompile_opts_headers-only +KEYWORDS=-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 +LICENSE=NEWLIB LIBGLOSS GPL-2 +RESTRICT=strip +SLOT=0 +SRC_URI=ftp://sourceware.org/pub/newlib/newlib-2.1.0.tar.gz +_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=4a57cd774a58dccde1a946dd32524857 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.2.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.2.0 new file mode 100644 index 0000000000..ed3b0b652b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-libs/newlib-2.2.0 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile configure install prepare setup +DESCRIPTION=Newlib is a C library intended for use on embedded systems +EAPI=4 +HOMEPAGE=http://sourceware.org/newlib/ +IUSE=nls threads unicode crosscompile_opts_headers-only +KEYWORDS=-* arm hppa m68k ~mips ppc ppc64 sh sparc x86 +LICENSE=NEWLIB LIBGLOSS GPL-2 +RDEPEND=!=dev-vcs/git-1.8.2.1 +DESCRIPTION=Newlib is a C library intended for use on embedded systems +EAPI=4 +HOMEPAGE=http://sourceware.org/newlib/ +IUSE=nls threads unicode crosscompile_opts_headers-only +LICENSE=NEWLIB LIBGLOSS GPL-2 +RESTRICT=strip +SLOT=0 +_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 git-r3 ab80045e5d080584334f33013f4df21d multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=079dda9a7365fadd8ce2825641425d3a diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog new file mode 100644 index 0000000000..6444350ed0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog @@ -0,0 +1,88 @@ +# ChangeLog for sys-libs/newlib +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*newlib-9999 (09 Aug 2015) +*newlib-2.2.0.20150423 (09 Aug 2015) +*newlib-2.2.0 (09 Aug 2015) +*newlib-2.1.0 (09 Aug 2015) +*newlib-2.0.0 (09 Aug 2015) +*newlib-1.20.0 (09 Aug 2015) +*newlib-1.19.0 (09 Aug 2015) +*newlib-1.18.0 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson + +files/newlib-1.20.0-arm-targets.patch, + +files/newlib-1.20.0-cris-install.patch, + +files/newlib-2.1.0-msp430-destdir.patch, +metadata.xml, + +newlib-1.18.0.ebuild, +newlib-1.19.0.ebuild, +newlib-1.20.0.ebuild, + +newlib-2.0.0.ebuild, +newlib-2.1.0.ebuild, +newlib-2.2.0.ebuild, + +newlib-2.2.0.20150423.ebuild, +newlib-9999.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; 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 + +*newlib-2.3.0.20160104 (04 Jan 2016) + + 04 Jan 2016; Mike Frysinger + +newlib-2.3.0.20160104.ebuild: + version bump to 2.3.0.20160104 + + 18 Jan 2016; Mike Frysinger newlib-2.2.0.ebuild, + newlib-2.2.0.20150423.ebuild, newlib-2.3.0.20160104.ebuild, + newlib-9999.ebuild: + update git repo location #572250 + + 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/sys-libs/newlib/ChangeLog-2015 b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog-2015 new file mode 100644 index 0000000000..d5f41e2dc2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/ChangeLog-2015 @@ -0,0 +1,149 @@ +# ChangeLog for sys-libs/newlib +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.32 2015/05/18 17:18:04 vapier Exp $ + +*newlib-2.2.0.20150423 (18 May 2015) + + 18 May 2015; Mike Frysinger +newlib-2.2.0.20150423.ebuild, + -newlib-2.2.0.20150225.ebuild: + Version bump. + + 18 May 2015; Mike Frysinger newlib-2.2.0.ebuild: + Add a blocker against older SLOTs to help with upgrades #497344 by Alex + Orange. + + 18 May 2015; Mike Frysinger newlib-2.2.0.ebuild: + Stabilize for all. + + 27 Feb 2015; Mike Frysinger newlib-1.18.0.ebuild, + newlib-1.19.0.ebuild, newlib-1.20.0.ebuild, newlib-2.0.0.ebuild, + newlib-2.1.0.ebuild, newlib-2.2.0.20150225.ebuild, newlib-2.2.0.ebuild, + newlib-9999.ebuild: + Use more readable CTARGET setup logic. + +*newlib-2.2.0.20150225 (25 Feb 2015) + + 25 Feb 2015; Mike Frysinger +newlib-2.2.0.20150225.ebuild, + newlib-9999.ebuild: + Add support for new monthly snapshots. + +*newlib-2.2.0 (17 Feb 2015) + + 17 Feb 2015; Mike Frysinger +newlib-2.2.0.ebuild: + Version bump. + + 31 Oct 2014; Mike Frysinger + +files/newlib-2.1.0-msp430-destdir.patch, newlib-2.1.0.ebuild: + Add DESTDIR fix from upstream for msp430. + + 02 Jan 2014; Mike Frysinger newlib-2.1.0.ebuild, + newlib-9999.ebuild: + Add support for epatch_user #489380 by Andrey Hippo. + +*newlib-9999 (24 Dec 2013) + + 24 Dec 2013; Mike Frysinger +newlib-9999.ebuild: + Add live git ebuild by Andrey Hippo #489380. + +*newlib-2.1.0 (24 Dec 2013) + + 24 Dec 2013; Mike Frysinger +newlib-2.1.0.ebuild: + Version bump. + + 24 Dec 2013; Mike Frysinger newlib-2.0.0.ebuild: + Stabilize for all. + + 09 Feb 2013; Mike Frysinger newlib-1.18.0.ebuild, + newlib-1.19.0.ebuild, newlib-1.20.0.ebuild: + Update SRC_URI to use sourceware.org #455152 by wbrana. + +*newlib-2.0.0 (20 Dec 2012) + + 20 Dec 2012; Mike Frysinger +newlib-2.0.0.ebuild: + Version bump. + + 20 Nov 2012; Luca Barbato newlib-1.18.0.ebuild, + newlib-1.19.0.ebuild, newlib-1.20.0.ebuild: + Do not enable mathfp, it is considered unstable/broken code. + + 27 Apr 2012; Mike Frysinger + +files/newlib-1.20.0-arm-targets.patch, newlib-1.20.0.ebuild: + Add fix from upstream for arm* targets #413547 by Christopher Friedt. + + 23 Mar 2012; Mike Frysinger newlib-1.20.0.ebuild, + +files/newlib-1.20.0-cris-install.patch: + Fix install for cris targets. Update to EAPI 4. + +*newlib-1.20.0 (14 Jan 2012) + + 14 Jan 2012; Mike Frysinger +newlib-1.20.0.ebuild: + Version bump. + +*newlib-1.19.0 (12 Feb 2011) + + 12 Feb 2011; Mike Frysinger +newlib-1.19.0.ebuild: + Version bump. + + 12 Feb 2011; Mike Frysinger newlib-1.18.0.ebuild: + Do not allow newlib to install alongside glibc. + + 28 Feb 2010; Luca Barbato newlib-1.18.0.ebuild: + Make use of newlib-multithread as suggested by Olivier Huber + + +*newlib-1.18.0 (28 Feb 2010) + + 28 Feb 2010; Luca Barbato +newlib-1.18.0.ebuild: + New version + +*newlib-1.16.0 (09 Jun 2008) + + 09 Jun 2008; Luca Barbato +newlib-1.16.0.ebuild: + New Version + +*newlib-1.16.0_pre20071025 (25 Oct 2007) + + 25 Oct 2007; Luca Barbato + +newlib-1.16.0_pre20071025.ebuild: + New snapshot, avoid strip completely + + 19 Mar 2007; Luca Barbato newlib-1.15.0.ebuild: + Removed multilib useflag + + 14 Feb 2007; Diego Pettenò newlib-1.15.0.ebuild: + Fix softfloat logic. + + 14 Feb 2007; Luca Barbato -newlib-20061203.ebuild: + Cleanup, thanks to rx Kaffee for pointing out in + bug #166707 + + 14 Feb 2007; Luca Barbato -newlib-20061203.ebuild: + Cleanup, thanks to rx Kaffee + + 05 Feb 2007; Luca Barbato newlib-1.15.0.ebuild: + Make it in line with uclibc, as asked by Flameeyes + +*newlib-1.15.0 (19 Dec 2006) + + 19 Dec 2006; Luca Barbato +newlib-1.15.0.ebuild: + New version + + 10 Dec 2006; Luca Barbato newlib-20061203.ebuild: + Avoid info collision, thanks to truedfx bug #157647 + +*newlib-20061203 (04 Dec 2006) + + 04 Dec 2006; Luca Barbato -newlib-20061113.ebuild, + +newlib-20061203.ebuild: + Updated snapshot, fixes for SPU support + +*newlib-20061113 (13 Nov 2006) + + 13 Nov 2006; Luca Barbato +newlib-20061113.ebuild: + Snapshot with updated Cell support + +*newlib-1.14.0 (21 Aug 2006) + + 21 Aug 2006; Luca Barbato +metadata.xml, + +newlib-1.14.0.ebuild: + Import from overlay diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/Manifest index 58ecc89573..a3af1c9b48 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/Manifest @@ -1 +1,23 @@ -DIST newlib-1.18.0.tar.gz 13598301 RMD160 69d96fd323a23857072f30cb51899040099857cd SHA1 a47d3b8a508304143334b36bdb5b33786a61ce94 SHA256 d608f22b0b2e7725d2fca13cac19f34bc652d9773acadae778db9881746cb071 +AUX newlib-1.20.0-arm-targets.patch 1275 SHA256 31329aba01fb4a79a705b3853cc22a966b6605df7c45b4c90f88fb23eee1be29 SHA512 89299b5d59eb0cb94e46cf9d2169bd4639091668f4c63bcf8755d4ee5e14e3149a9197f00c8db7a8c73ab75eed3fdbfddc1c558e7898280d11fc6212329f7b1c WHIRLPOOL b4a6a4ce71b61be244776becfbc1a695da46e4353d8a2ad430d59caf1cf85f444ac210e2ff22b3d5bdc3877de848dd3f80e4df5cfc2be89a90fa253379af282e +AUX newlib-1.20.0-cris-install.patch 370 SHA256 c178c63458b47698ed35ab0ced93d90e790281def29fc17adff56536b8373ae9 SHA512 402317e0657b083ba674d7ecb7cb50951be90339e327e4deead4baf68a7c1b561f340ae5091dd4cc292c69c53feef45fa75bd29906cd374aa3b3a02f3be9d6ab WHIRLPOOL 8755754e2de1f311daa25f72e2619ba2595e1130db1a7330970e7c6ef023c68f3a182380612503a108c1a323fedeb3a1b45eda72244eed6e151a1805d4131275 +AUX newlib-2.1.0-msp430-destdir.patch 1271 SHA256 84128637a4d28c445d5e0203b7c22ac4ce8ced5a50e64ba969ffcda99dbc1f01 SHA512 094410eb6e259e05ee0ecdf7fc5db2a46af3f09cfb2ac6f3c96eb3d440c28eacfcd1c02e397240fd5e542cb97cf0ea1707ea08d4d1a85e6387769c83ad6df850 WHIRLPOOL de8aa40db0821fe515a9ee044f7c6d71026493372a16e4adb9268d2258f0fe8f153b81ef89b63283eab33857912433a3f36c7c7a976b3231675426c28114b4de +DIST newlib-1.18.0.tar.gz 13598301 SHA256 d608f22b0b2e7725d2fca13cac19f34bc652d9773acadae778db9881746cb071 SHA512 67b80060fd7bb9d035c004cfbcfbc66b8c8f176366c1ce11ae68dd31b8ee3e02b59ad37ceaf6f54da3c35eeee977c462ddaff4492a27425128ee5d5898840771 WHIRLPOOL 04908a55d1e992877668b80a8e5743f433ab96b7d9f8ab0b936ff4aa27862024490e2856acb88188d7f45ecb0d2197cbc22362f8aaf10ff07b9d89d15d258906 +DIST newlib-1.19.0.tar.gz 14323667 SHA256 4f43807236b2274c220881ca69f7dc6aecc52f14bb32a6f03404d30780c25007 SHA512 041004947fbbf1a205f365512de52f9052060f35291827e38caa202c202a76e2f442bbd880abf8edd05317fe179b8c3cb94662b2688b58b3390136d6214ef6f6 WHIRLPOOL e24575945c4d2338694fb00230fa82d5081ba8bb8ddb84d68c1d9eaac778e229d2c56356b0ba5f962480478aeb39df1b4f301f60becb48e9feea923e6b57ceea +DIST newlib-1.20.0.tar.gz 14571004 SHA256 c644b2847244278c57bec2ddda69d8fab5a7c767f3b9af69aa7aa3da823ff692 SHA512 2abf1d30980e460c4d6ffe4d1682e38403d056048e00675362256731e57fe6759d01e85bcba84258d211941926e13bf3c632ff3824931a844c8b2596e795451f WHIRLPOOL be7996e493b0f2be6992c579796ea9d6968ed3b0a4f5d9c58e1c8b255a1060df18e6ae3d7ecf3a291c5859a6c04bdd39296e9ee5811eb59e2e7646da27089f66 +DIST newlib-2.0.0.tar.gz 15868470 SHA256 49c29e9129325e7c3b221aa829743ddcd796d024440e47c80fc0d6769af72d8a SHA512 539cc6e3854a52a7871a822e35563ff0dff7124b667fd9471150b9c56f556c0bcc526dfb5503aba5160a5fb61955a3d0876df639374727d2a444b08f90dbf233 WHIRLPOOL f9fbd87e36c1bfc94cfabfdcfa3a347d611e275eafa9167f9c4b5adea6b1833b090960ba37503210146aec4060dc360f43c31dab5cb8def2d51db33fac935640 +DIST newlib-2.1.0.tar.gz 16199705 SHA256 3e4d5ab9f0508942b6231b8ade4f8e5048cf92c96ed574c2bd6bd3320a599a48 SHA512 6770864f9307abb2401a4e48f286845d3a4afc30b2ac987da4b964a5485cc3823b32d06a0abf61528e93c4ad8a3a0aa3cc1ecd3b033850e6b2bde6d9bbc9a547 WHIRLPOOL 6faba54a72c6242c694f43a7f2e62d23584fec658818201ee58e1d2954d45b58a5f4effd63f5274b99748ed7730db76e0cf2aa1ecfbdf7001f10929d7db6353c +DIST newlib-2.2.0.20150423.tar.gz 17485660 SHA256 b1ff3642b246adc6ee546884cb9ea3b0913f17394cbf7ca4d3b82544fef759f7 SHA512 0eecaf5dbf6caf0e0fca3697dfd70e5f60ecbc0a3365852586bc40a32bd535ef0936fa7fc68fceda3426cdb9b6259de12ed00303cadeea09d95b5f1a07022bae WHIRLPOOL 37d78cf24a072819bcf098e3b384cf6fa3a11ded461d6fb12e8635169fcb8b638400622878ad947df55236957a6ce3884ad46f02f7351414842eb048ceed7d73 +DIST newlib-2.2.0.tar.gz 16521910 SHA256 f8add263b0737591aff451b12a00c262c2efac4fa87d741fa1c318fc3bb335be SHA512 ab9161f16845367c823b6709e3c5708969f29f05c77edb1cf969ff4202f358648f1e55080974599dcefed2fbced4694dc73748596e76c1aa37c50cddff6e4be3 WHIRLPOOL 8dfc23f93d774c5092d64d1482c3ecc6e3ba35395822bb1d52f5e3b86f644ee803927bff133883926f3e019cfd5d9f04ffe0dcaac20bdf144c542ba1dc3edff9 +DIST newlib-2.3.0.20160104.tar.gz 17674117 SHA256 c92a0e02904bd4fbe1dd416ed94e786c66afbaeae484e4c26be8bb7c7c1e4cd1 SHA512 d83ce298b1b72eabf92e4ec14af3afdf3122e34aff5e320295a398df077235a78aa87148895b441a4f7de3047815e7ce13ea06a06135dd86b69a200236514293 WHIRLPOOL 41ab57955b886dad8988bd06a18c1b5bbf21c7b554410711c17141bbc12d70af2f6ce6f9d3503c11180d46b42bcf305c6347ea58252d24459dc02c568aeb8497 +EBUILD newlib-1.18.0.ebuild 1731 SHA256 1407dded51bb7278087ed64495ca60a891b43bf0af0bbeac2d02f1fb55257327 SHA512 6235a9cc6753c004328cc8fe105ba020a4eb867cf9b23df131a37685b0bf4076426cf52477f551ae070ddd8b70ab716cca60519ce5b74ca90d3f6a6451ecaf68 WHIRLPOOL ca49c430c18a130fb1f2f2cadec2792df1975cd1b521dd3274c01ff59c9171d017cdafae10850508e50e3cec139d8c372cd497596962b2b028382e3fe7ff9fdf +EBUILD newlib-1.19.0.ebuild 1731 SHA256 1407dded51bb7278087ed64495ca60a891b43bf0af0bbeac2d02f1fb55257327 SHA512 6235a9cc6753c004328cc8fe105ba020a4eb867cf9b23df131a37685b0bf4076426cf52477f551ae070ddd8b70ab716cca60519ce5b74ca90d3f6a6451ecaf68 WHIRLPOOL ca49c430c18a130fb1f2f2cadec2792df1975cd1b521dd3274c01ff59c9171d017cdafae10850508e50e3cec139d8c372cd497596962b2b028382e3fe7ff9fdf +EBUILD newlib-1.20.0.ebuild 1814 SHA256 6f066ff306d0d4aa078d9805e796fef80c24d5daa78d2f9a753accdf57a8c5d3 SHA512 804350aa395859dc537d678254915ceb32a9128647c0b3f2233a8a492ea6862dbed4d8ed1d07076cd97874fb5bb9469a3577c39439ac8e7e0c1122506995ab04 WHIRLPOOL 6984c111a7b34896a564820c218003de22df649937139137492248b0a6bc7b9d0948e41dbb077e545bdafc82a76e9daa80af785d35516d66677351a19e0aa1ba +EBUILD newlib-2.0.0.ebuild 1622 SHA256 7ac189e577ea1ed3e30beb9071116c0443c2a843266ee9402766bc7c36cfa63e SHA512 b06a119b24ee76bb5decb2c413a10c43068f651059ba5ad48d5c5485decb666321e2d74e8f0106b50e3e27320d453aa3eceb5dd134d06649aa58660c2af08885 WHIRLPOOL b50c9f19637141cd9b624f9ee79820ddbe1fc427cfe1e7974e7bea7c13e0e03c678c0cc75e48c7caf3d680ee44d6eb789fc8c2f0c846b2dcb8dbfc6c8a13aa80 +EBUILD newlib-2.1.0.ebuild 1717 SHA256 0a23e2b4770b9edb75032f609d20679970b05d7e906b32be0c649d002f70b5ee SHA512 a91410bf9635c2f8d35ffd982e188aa2b771d5d99e93e9d74e565ebdb7bfce66d3090bea18cebe013355cf675b71bada7f3bcb058f9e2ce9853fd7a68a4ffd7a WHIRLPOOL 0746ac2b52e7cb81ca951acd19e56d9897821c5e71bb2839de99622d8a29f97b1b9bed33c135fff6ff4ac43195168c9a43b0ace95b875b1033e53200a15be38a +EBUILD newlib-2.2.0.20150423.ebuild 1834 SHA256 6131bf8354249ebc60c4b477db23c8046cf608e165e4e7c862b8b2acbbb67f3a SHA512 63da4da63b7a1cb7bef102b76a1b6f321fa9bf5a856ae7383428bc12c1c0a1296616c677440c4dd12125001195ddf0816b421e7a18d95c7b4159fe8f21e545e0 WHIRLPOOL 2ca78a602bda300a8f50f0f5f9282e9f7630efb2911c3b83e6bf337e156964766c33fdf815a838657b8f0cb9c4f63633ca55d35a3f3a7bb15b63752dad087e80 +EBUILD newlib-2.2.0.ebuild 1852 SHA256 e1c9ac00c7c9a93d36e762da10f66313a1f7a0046e94d3e389a943384873177a SHA512 4219a870a0d24ce916075b3e0943ff8f0148d3eaeeafaa89b9fb3b6de037051dfa48dd283e2f98e7e2e7f86f24969b20614e6cf04fbb34921b884d44fb41abf9 WHIRLPOOL 5a98983c01b48f0e6d959dd9a439e115063a32028df5a58d97fdb26f9ea603156f6feff99aed2e792b9e833eeb6f555f8f305a19be673b59bf1f2b50b019ad61 +EBUILD newlib-2.3.0.20160104.ebuild 1836 SHA256 71b82342c3ed9881a5aaac957914246ae13fee2d8f58bd7dd3b830dd20b961e7 SHA512 aefefa0ee166579acfd95105a4f63171e61f59325e2a793ea09dd05b74d19bafe6fd40b7e3f57f5bd5bf7b3b8a348631b7ca40422bb31a0182863ad92138ca98 WHIRLPOOL b79cd44430ad1519f93156f4b152fc3aeeb9fbf0be23999112022f07ba00232c07a640dfcbf70caf396322f1ee4dc764b6823f7c3decf620b332dc3010e108b0 +EBUILD newlib-9999.ebuild 1834 SHA256 6131bf8354249ebc60c4b477db23c8046cf608e165e4e7c862b8b2acbbb67f3a SHA512 63da4da63b7a1cb7bef102b76a1b6f321fa9bf5a856ae7383428bc12c1c0a1296616c677440c4dd12125001195ddf0816b421e7a18d95c7b4159fe8f21e545e0 WHIRLPOOL 2ca78a602bda300a8f50f0f5f9282e9f7630efb2911c3b83e6bf337e156964766c33fdf815a838657b8f0cb9c4f63633ca55d35a3f3a7bb15b63752dad087e80 +MISC ChangeLog 3275 SHA256 0d38ea422373b00c582981d9a359d64caddd36e907a88788ccd93d8d03282703 SHA512 4068c14e2f237345ed092e9ac6d782e3b619bbcde3398ab84a35afd9be31067d4c59e4cb34890aeca54a54d790c669ee53a6e858fc69a30f081cd14df52c9e7c WHIRLPOOL d29bb09552fa647a4601e69109d0a4afa1e45eb64d2bd657a9ea9178631c171b877b4f0936874dd0302add2a2f7fc04c2566c8a65fe307116cbaf6a461c8f7aa +MISC ChangeLog-2015 4945 SHA256 11f5d12456430577aa00981110408f04fa4f5c23d56cd61876f7e3988aa89347 SHA512 7270853c28263aba68292ce332d52d63df9f395e5981df673bdc2b016ec3457aac1eb7a56b52e8d1890dc3196d831ea836bd368ae0f8d93e13734fa4e397f2f0 WHIRLPOOL 2b785f7603e12bc149b306e95bf9f96311dbde252fab8c4b5f2c71441643945c818d80494393a2d99540cb541271578cf6181529eba70d547d33efc6c4b06f16 +MISC metadata.xml 330 SHA256 0d33786b6df216eaeff2ac74b7a0c68041b294190829c9f614aaad73551709d5 SHA512 cf10bd2100eec996bcd2668a2e8fda67321f6969c59b3969ca1a62bc814113a48d475dbdcae3f4d6ac2186e770ec61d5c8c90690de921ea05696dc8924ec50b5 WHIRLPOOL f1ff858e5271f1ee5e383588c21f763fe959953205ca4b416240584b4fdd36f8107ddf54dbfb6c6366c22c24ae7806b8edf050a7336b43fb5c2ea30aba9441ed diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch new file mode 100644 index 0000000000..1704cc0ba7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-arm-targets.patch @@ -0,0 +1,55 @@ +https://bugs.gentoo.org/413547 + +From 3b98b99eaa23f242b984af8cbf4a0e707bc7eae8 Mon Sep 17 00:00:00 2001 +From: Corinna Vinschen +Date: Thu, 23 Feb 2012 09:30:17 +0000 +Subject: [PATCH] * configure.host: Accept "arm*" host spec instead of + just "arm". + +--- + newlib/ChangeLog | 4 ++++ + newlib/configure.host | 8 ++++---- + 2 files changed, 8 insertions(+), 4 deletions(-) + ++2012-02-23 Dan Egnor + + * configure.host: Accept "arm*" host spec instead of just "arm". + +diff --git a/newlib/configure.host b/newlib/configure.host +index a6673af..dc44e80 100644 +--- a/newlib/configure.host ++++ b/newlib/configure.host +@@ -98,7 +98,7 @@ case "${host_cpu}" in + arc) + machine_dir= + ;; +- arm) ++ arm*) + machine_dir=arm + ;; + avr*) +@@ -367,7 +367,7 @@ case "${host}" in + arc-*-*) + sys_dir=arc + ;; +- arm-*-*) ++ arm*-*-*) + sys_dir=arm + if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then + have_crt0="no" +@@ -560,10 +560,10 @@ case "${host}" in + arc-*-*) + syscall_dir=syscalls + ;; +- arm-*-pe) ++ arm*-*-pe) + syscall_dir=syscalls + ;; +- arm-*-*) ++ arm*-*-*) + syscall_dir=syscalls + # If newlib is supplying syscalls, select which debug protocol is being used. + # ARM_RDP_MONITOR selects the Demon monitor. +-- +1.7.8.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-cris-install.patch b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-cris-install.patch new file mode 100644 index 0000000000..05f571fbe2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-1.20.0-cris-install.patch @@ -0,0 +1,13 @@ +sent upstream already + +--- libgloss/cris/Makefile.in ++++ libgloss/cris/Makefile.in +@@ -228,7 +228,7 @@ install-lin: + *) \ + set -e; \ + for x in ${LIN_BSP} ${LIN_SCRIPTS} ${LIN_EXTRA}; do \ +- ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; \ ++ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ + done;; \ + esac + diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch new file mode 100644 index 0000000000..38fa2643dc --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch @@ -0,0 +1,41 @@ +From 0a7009c61811b4451ff6cccda24f42ab07142603 Mon Sep 17 00:00:00 2001 +From: DJ Delorie +Date: Thu, 23 Oct 2014 01:49:45 +0000 +Subject: [PATCH] 2014-10-22 Tim Harder * + msp430/Makefile.in: respect DESTDIR during install + +--- + libgloss/ChangeLog | 4 ++++ + libgloss/msp430/Makefile.in | 6 ++++-- + 2 files changed, 8 insertions(+), 2 deletions(-) + +2014-10-22 Tim Harder + + * msp430/Makefile.in: respect DESTDIR during install + +diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in +index d72051d..b9f5a6a 100644 +--- a/libgloss/msp430/Makefile.in ++++ b/libgloss/msp430/Makefile.in +@@ -12,6 +12,7 @@ + + # Makefile for libgloss/msp430. + ++DESTDIR = + VPATH = @srcdir@ + srcdir = @srcdir@ + objdir = . +@@ -138,11 +139,11 @@ + + install: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT) $(SCRIPTS) + for c in $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT); do \ +- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\ ++ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ + done + for c in $(SCRIPTS); do \ + b=`basename $$c`; \ +- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\ ++ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\ + done + + clean mostlyclean: diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/metadata.xml new file mode 100644 index 0000000000..5025963793 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/metadata.xml @@ -0,0 +1,11 @@ + + + + +lu_zero@gentoo.org + + +toolchain@gentoo.org +Gentoo Toolchain Project + + diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.18.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.18.0.ebuild index b50daa21ba..d68e307741 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.18.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.18.0.ebuild @@ -1,39 +1,41 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.18.0.ebuild,v 1.2 2010/02/28 20:12:04 lu_zero Exp $ +# $Id$ inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi -# Handle the case where we want newlib on glibc ... -if [[ ${CTARGET} == ${CHOST} ]] && [[ ${CHOST} != *-newlib ]] ; then - export CTARGET=${CHOST%%-*}-pc-linux-newlib -fi - DESCRIPTION="Newlib is a C library intended for use on embedded systems" HOMEPAGE="http://sourceware.org/newlib/" -SRC_URI="ftp://sources.redhat.com/pub/newlib/${P}.tar.gz" +SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" LICENSE="NEWLIB LIBGLOSS GPL-2" [[ ${CTARGET} != ${CHOST} ]] \ && SLOT="${CTARGET}" \ || SLOT="0" -KEYWORDS="-* arm hppa m68k mips ppc ppc64 sh sparc x86" +KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" IUSE="nls threads unicode crosscompile_opts_headers-only" RESTRICT="strip" -DEPEND="" -RDEPEND="" - NEWLIBBUILD="${WORKDIR}/build" +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + src_unpack() { unpack ${A} mkdir -p "${NEWLIBBUILD}" @@ -45,10 +47,6 @@ src_compile() { CHOST=${CTARGET} strip-unsupported-flags local myconf="" - # hardwired to avoid breakages - [[ $(tc-is-softfloat) != "no" ]] \ - && myconf="--disable-newlib-hw-fp" \ - || myconf="--enable-newlib-hw-fp" [[ ${CTARGET} == "spu" ]] \ && myconf="${myconf} --disable-newlib-multithread" \ || myconf="${myconf} $(use_enable threads newlib-multithread)" @@ -66,7 +64,7 @@ src_compile() { src_install() { cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install + emake -j1 DESTDIR="${D}" install || die # env -uRESTRICT CHOST=${CTARGET} prepallstrip # minor hack to keep things clean rm -fR "${D}"/usr/share/info diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.19.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.19.0.ebuild new file mode 100644 index 0000000000..d68e307741 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.19.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils flag-o-matic toolchain-funcs + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" +SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +[[ ${CTARGET} != ${CHOST} ]] \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_unpack() { + unpack ${A} + mkdir -p "${NEWLIBBUILD}" +} + +src_compile() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install || die +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.20.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.20.0.ebuild new file mode 100644 index 0000000000..767ce60267 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-1.20.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils flag-o-matic toolchain-funcs + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" +SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +[[ ${CTARGET} != ${CHOST} ]] \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cris-install.patch + epatch "${FILESDIR}"/${P}-arm-targets.patch #413547 +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.0.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.0.0.ebuild new file mode 100644 index 0000000000..24db8d219c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.0.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" +SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +SLOT="0" +KEYWORDS="-* arm hppa m68k ~mips ppc ppc64 sh sparc x86" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.1.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.1.0.ebuild new file mode 100644 index 0000000000..7f50e9877f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.1.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" +SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +SLOT="0" +KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-msp430-destdir.patch + epatch_user +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.20150423.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.20150423.ebuild new file mode 100644 index 0000000000..064993fbcd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.20150423.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" + inherit git-r3 +else + SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + if [[ ${PV} != *.201[5-9]???? ]] ; then + KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" + fi +fi + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +SLOT="0" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_prepare() { + epatch_user +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.ebuild new file mode 100644 index 0000000000..f8746386f3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.2.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" + inherit git-r3 +else + SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + KEYWORDS="-* arm hppa m68k ~mips ppc ppc64 sh sparc x86" +fi + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +SLOT="0" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +# Handle the SLOT changes. #497344 +RDEPEND="!<${CATEGORY}/${PN}-2.1.0" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_prepare() { + epatch_user +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.3.0.20160104.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.3.0.20160104.ebuild new file mode 100644 index 0000000000..5f23c0ffb2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-2.3.0.20160104.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" + inherit git-r3 +else + SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" +# if [[ ${PV} != *.201[5-9]???? ]] ; then + KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +# fi +fi + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +SLOT="0" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_prepare() { + epatch_user +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-9999.ebuild new file mode 100644 index 0000000000..064993fbcd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/newlib/newlib-9999.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" + inherit git-r3 +else + SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" + if [[ ${PV} != *.201[5-9]???? ]] ; then + KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" + fi +fi + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +DESCRIPTION="Newlib is a C library intended for use on embedded systems" +HOMEPAGE="http://sourceware.org/newlib/" + +LICENSE="NEWLIB LIBGLOSS GPL-2" +SLOT="0" +IUSE="nls threads unicode crosscompile_opts_headers-only" +RESTRICT="strip" + +NEWLIBBUILD="${WORKDIR}/build" + +pkg_setup() { + # Reject newlib-on-glibc type installs + if [[ ${CTARGET} == ${CHOST} ]] ; then + case ${CHOST} in + *-newlib|*-elf) ;; + *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; + esac + fi +} + +src_prepare() { + epatch_user +} + +src_configure() { + # we should fix this ... + unset LDFLAGS + CHOST=${CTARGET} strip-unsupported-flags + + local myconf="" + [[ ${CTARGET} == "spu" ]] \ + && myconf="${myconf} --disable-newlib-multithread" \ + || myconf="${myconf} $(use_enable threads newlib-multithread)" + + mkdir -p "${NEWLIBBUILD}" + cd "${NEWLIBBUILD}" + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable unicode newlib-mb) \ + $(use_enable nls) \ + ${myconf} +} + +src_compile() { + emake -C "${NEWLIBBUILD}" +} + +src_install() { + cd "${NEWLIBBUILD}" + emake -j1 DESTDIR="${D}" install +# env -uRESTRICT CHOST=${CTARGET} prepallstrip + # minor hack to keep things clean + rm -fR "${D}"/usr/share/info + rm -fR "${D}"/usr/info +}