From 8577f3582e0d059b3c47de70a7b2bf95d72c06b3 Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 13 Oct 2016 18:09:23 -0700 Subject: [PATCH] bump(dev-libs/nettle): sync with upstream --- .../portage-stable/dev-libs/nettle/ChangeLog | 268 ++++++++++ .../dev-libs/nettle/ChangeLog-2015 | 500 ++++++++++++++++++ .../portage-stable/dev-libs/nettle/Manifest | 7 + .../files/nettle-3.2-CVE-2016-6489.patch | 177 +++++++ .../dev-libs/nettle/metadata.xml | 8 + .../dev-libs/nettle/nettle-3.2-r1.ebuild | 67 +++ .../dev-libs/nettle/nettle-3.2.ebuild | 63 +++ .../metadata/md5-cache/dev-libs/nettle-3.2 | 13 + .../metadata/md5-cache/dev-libs/nettle-3.2-r1 | 13 + 9 files changed, 1116 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog-2015 create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/files/nettle-3.2-CVE-2016-6489.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/metadata.xml create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2-r1 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog new file mode 100644 index 0000000000..5454f752ee --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog @@ -0,0 +1,268 @@ +# ChangeLog for dev-libs/nettle +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*nettle-3.1.1 (09 Aug 2015) +*nettle-2.7.1-r4 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson + +files/nettle-2.7-shared.patch, +metadata.xml, +nettle-2.7.1-r4.ebuild, + +nettle-3.1.1.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 + + 18 Sep 2015; Tobias Klausmann nettle-3.1.1.ebuild: + add alpha keyword + + Gentoo-Bug: 560724 + + Package-Manager: portage-2.2.20.1 + + 19 Sep 2015; Jeroen Roovers nettle-3.1.1.ebuild: + Stable for PPC64 (bug #560724). + + Package-Manager: portage-2.2.20.1 + + 20 Sep 2015; Jeroen Roovers nettle-3.1.1.ebuild: + Stable for HPPA PPC64 (bug #560724). + + Package-Manager: portage-2.2.20.1 + RepoMan-Options: --ignore-arches + + 24 Sep 2015; Agostino Sarubbo nettle-3.1.1.ebuild: + amd64 stable wrt bug #560724 + + Package-Manager: portage-2.2.20.1 + RepoMan-Options: --include-arches="amd64" + + 25 Sep 2015; Agostino Sarubbo nettle-3.1.1.ebuild: + x86 stable wrt bug #560724 + + Package-Manager: portage-2.2.20.1 + RepoMan-Options: --include-arches="x86" + + 16 Oct 2015; Mikle Kolyada nettle-3.1.1.ebuild: + sparc stable wrt bug #560724 + + Package-Manager: portage-2.2.20.1 + + 17 Oct 2015; Markus Meier nettle-3.1.1.ebuild: + arm stable, bug #560724 + + Package-Manager: portage-2.2.23 + RepoMan-Options: --include-arches="arm" + + 12 Nov 2015; Agostino Sarubbo nettle-3.1.1.ebuild: + ppc stable wrt bug #560724 + + Package-Manager: portage-2.2.20.1 + RepoMan-Options: --include-arches="ppc" + + 18 Nov 2015; Agostino Sarubbo nettle-3.1.1.ebuild: + ia64 stable wrt bug #560724 + + Package-Manager: portage-2.2.20.1 + RepoMan-Options: --include-arches="ia64" + + 18 Nov 2015; Alon Bar-Lev -nettle-2.7.1-r4.ebuild: + cleanup + + Package-Manager: portage-2.2.20.1 + + 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) + +*nettle-3.2 (03 Feb 2016) + + 03 Feb 2016; Alon Bar-Lev +nettle-3.2.ebuild: + version bump + + Bug: 573646 + Thanks: polynomial-c + + Package-Manager: portage-2.2.26 + + 04 Feb 2016; Tobias Klausmann nettle-3.2.ebuild: + add alpha keyword + + Gentoo-Bug: 573646 + + Package-Manager: portage-2.2.27 + + 04 Feb 2016; Agostino Sarubbo nettle-3.2.ebuild: + amd64 stable wrt bug #573646 + + Package-Manager: portage-2.2.26 + RepoMan-Options: --include-arches="amd64" + Signed-off-by: Agostino Sarubbo + + 04 Feb 2016; Agostino Sarubbo nettle-3.2.ebuild: + x86 stable wrt bug #573646 + + Package-Manager: portage-2.2.26 + RepoMan-Options: --include-arches="x86" + Signed-off-by: Agostino Sarubbo + + 05 Feb 2016; Jeroen Roovers nettle-3.2.ebuild: + Stable for PPC64 (bug #573646). + + Package-Manager: portage-2.2.27 + RepoMan-Options: --ignore-arches + + 05 Feb 2016; Jeroen Roovers nettle-3.2.ebuild: + Stable for HPPA (bug #573646). + + Package-Manager: portage-2.2.27 + RepoMan-Options: --ignore-arches + + 14 Feb 2016; Markus Meier nettle-3.2.ebuild: + arm stable, bug #573646 + + Package-Manager: portage-2.2.27 + RepoMan-Options: --include-arches="arm" + + 16 Mar 2016; Agostino Sarubbo nettle-3.2.ebuild: + ppc stable wrt bug #573646 + + Package-Manager: portage-2.2.26 + RepoMan-Options: --include-arches="ppc" + Signed-off-by: Agostino Sarubbo + + 19 Mar 2016; Agostino Sarubbo nettle-3.2.ebuild: + sparc stable wrt bug #573646 + + Package-Manager: portage-2.2.26 + RepoMan-Options: --include-arches="sparc" + Signed-off-by: Agostino Sarubbo + + 20 Mar 2016; Agostino Sarubbo nettle-3.2.ebuild: + ia64 stable wrt bug #573646 + + Package-Manager: portage-2.2.26 + RepoMan-Options: --include-arches="ia64" + Signed-off-by: Agostino Sarubbo + + 04 Jun 2016; Alon Bar-Lev -nettle-3.1.1.ebuild: + cleanup + + Bug: 573646 + + 04 Aug 2016; Alon Bar-Lev + -files/nettle-2.7-shared.patch: + cleanup + + Package-Manager: portage-2.2.28 + +*nettle-3.2-r1 (04 Aug 2016) + + 04 Aug 2016; Alon Bar-Lev + +files/nettle-3.2-CVE-2016-6489.patch, +nettle-3.2-r1.ebuild: + fix CVE-2016-6489 + + Bug: 590484 + + Package-Manager: portage-2.2.28 + + 14 Aug 2016; Jeroen Roovers nettle-3.2-r1.ebuild: + Stable for HPPA PPC64 (bug #590484). + + Package-Manager: portage-2.3.0 + RepoMan-Options: --ignore-arches + + 18 Aug 2016; Agostino Sarubbo nettle-3.2-r1.ebuild: + amd64 stable wrt bug #590484 + + Package-Manager: portage-2.2.28 + RepoMan-Options: --include-arches="amd64" + Signed-off-by: Agostino Sarubbo + + 18 Aug 2016; Markus Meier nettle-3.2-r1.ebuild: + arm stable, bug #590484 + + Package-Manager: portage-2.3.0 + RepoMan-Options: --include-arches="arm" + + 02 Sep 2016; Tobias Klausmann nettle-3.2-r1.ebuild: + 3.2-r1: add alpha keyword + + Gentoo-Bug: 590484 + + 29 Sep 2016; Agostino Sarubbo nettle-3.2-r1.ebuild: + x86 stable wrt bug #590484 + + Package-Manager: portage-2.2.28 + RepoMan-Options: --include-arches="x86" + Signed-off-by: Agostino Sarubbo + + 29 Sep 2016; Agostino Sarubbo nettle-3.2-r1.ebuild: + sparc stable wrt bug #590484 + + Package-Manager: portage-2.2.28 + RepoMan-Options: --include-arches="sparc" + Signed-off-by: Agostino Sarubbo + + 29 Sep 2016; Agostino Sarubbo nettle-3.2-r1.ebuild: + ppc stable wrt bug #590484 + + Package-Manager: portage-2.2.28 + RepoMan-Options: --include-arches="ppc" + Signed-off-by: Agostino Sarubbo + + 29 Sep 2016; Agostino Sarubbo nettle-3.2-r1.ebuild: + ia64 stable wrt bug #590484 + + Package-Manager: portage-2.2.28 + RepoMan-Options: --include-arches="ia64" + Signed-off-by: Agostino Sarubbo + diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog-2015 b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog-2015 new file mode 100644 index 0000000000..a126d66fbb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/ChangeLog-2015 @@ -0,0 +1,500 @@ +# ChangeLog for dev-libs/nettle +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.133 2015/07/30 13:19:46 alonbl Exp $ + + 30 Jul 2015; Alon Bar-Lev -nettle-2.7.1-r1.ebuild, + -nettle-2.7.1-r2.ebuild, -nettle-2.7.1-r3.ebuild, -nettle-2.7.1.ebuild: + Cleanup + + 30 Jul 2015; Agostino Sarubbo nettle-2.7.1-r4.ebuild: + Stable for sparc, wrt bug #540892 + + 21 Jun 2015; Mikle Kolyada nettle-2.7.1-r4.ebuild: + alpha stable wrt bug #540892 + + 11 Jun 2015; Agostino Sarubbo nettle-2.7.1-r4.ebuild: + Stable for ppc, wrt bug #540892 + + 01 Jun 2015; Jeroen Roovers nettle-2.7.1-r4.ebuild: + Stable for HPPA (bug #540892). + + 29 May 2015; Mikle Kolyada nettle-2.7.1-r4.ebuild: + arm stable wrt bug #540892 + + 29 May 2015; Mikle Kolyada nettle-2.7.1-r4.ebuild: + arm stable wrt bug #540892 + + 28 May 2015; Jack Morgan nettle-2.7.1-r4.ebuild: + ppc64 stable wrt bug #540892 + + 28 May 2015; Mikle Kolyada nettle-2.7.1-r4.ebuild: + x86 stable wrt bug #540892 + + 28 May 2015; Agostino Sarubbo nettle-2.7.1-r4.ebuild: + Stable for amd64, wrt bug #540892 + +*nettle-3.1.1 (28 Apr 2015) + + 28 Apr 2015; Alon Bar-Lev +nettle-3.1.1.ebuild, + -nettle-3.1.ebuild: + Version bump + + 26 Apr 2015; Alon Bar-Lev + -files/nettle-1.14-make-as-needed.patch, + -files/nettle-2.0-binutils-2.22.patch, -nettle-1.15.ebuild: + Cleanup, bug#531426 + + 10 Apr 2015; Michał Górny nettle-3.1.ebuild: + Wrap version.h, bug #546104. + +*nettle-3.1 (09 Apr 2015) + + 09 Apr 2015; Alon Bar-Lev +nettle-3.1.ebuild: + Version bump, bug#512874 + +*nettle-2.7.1-r4 (27 Mar 2015) + + 27 Mar 2015; Alon Bar-Lev +nettle-2.7.1-r4.ebuild: + Fix multilib issue, bug#543892 + + 28 Feb 2015; Robin H. Johnson nettle-2.7.1-r2.ebuild: + Oops, changed old r2 as well, revert. + +*nettle-2.7.1-r3 (28 Feb 2015) + + 28 Feb 2015; Robin H. Johnson +nettle-2.7.1-r3.ebuild, + nettle-2.7.1-r2.ebuild: + Bug #540942: gmp w/o 32-bit will cause nettle to compile successfully, but be + missing libhogweed, cascading to other build failures (eg rtmpdump); bump so + that anybody who installed nettle then gmp rebuilds nettle correctly. + + 16 Jan 2015; Raúl Porcel nettle-2.7.1-r1.ebuild: + alpha/arm64/ia64/s390/sparc stable wrt #525160 + + 07 Dec 2014; Markus Meier nettle-2.7.1-r1.ebuild: + arm stable, bug #525160 + + 06 Dec 2014; Jeroen Roovers nettle-2.7.1-r1.ebuild: + Stable for HPPA (bug #525160). + +*nettle-2.7.1-r2 (03 Dec 2014) + + 03 Dec 2014; Alon Bar-Lev +nettle-2.7.1-r2.ebuild: + Use autotools-utils to perform autoreconf, add einstalldocs at multilib, + bug#531522 + +*nettle-1.15 (02 Dec 2014) + + 02 Dec 2014; Pacho Ramos + +files/nettle-1.14-make-as-needed.patch, + +files/nettle-2.0-binutils-2.22.patch, +nettle-1.15.ebuild: + Reintroduce as needed by current stable pike + + 02 Dec 2014; Alon Bar-Lev + -files/nettle-1.14-make-as-needed.patch, + -files/nettle-2.0-binutils-2.22.patch, -files/nettle-2.4-darwin-shlink.patch, + -files/nettle-2.4-missing-libm-link.patch, -files/nettle-2.5-build-ar.patch, + -files/nettle-2.5-missing-libm-link.patch, + -files/nettle-2.5-static-libs.patch, -files/nettle-2.6-shared.patch, + -nettle-1.15.ebuild, -nettle-2.4.ebuild, -nettle-2.5-r1.ebuild, + -nettle-2.5.ebuild, -nettle-2.6.ebuild, -nettle-2.7.ebuild: + Cleanup, bug#531426 + + 02 Dec 2014; Pacho Ramos nettle-2.7.1-r1.ebuild: + amd64/x86 stable, bug #525160 + + 10 Nov 2014; Fabian Groffen nettle-2.7.1-r1.ebuild: + Fix for static-only platforms, such as FreeMiNT, bug #528794 + + 10 Jun 2014; Mike Frysinger nettle-2.7.1-r1.ebuild, + nettle-2.7.1.ebuild: + Add arm64 love. + + 10 Jun 2014; Mike Frysinger nettle-2.7.1.ebuild: + Mark sh stable. + + 16 Feb 2014; Alon Bar-Lev nettle-2.7.1-r1.ebuild: + Pull recent emul package, my bad, bug#501440 + +*nettle-2.7.1-r1 (16 Feb 2014) + + 16 Feb 2014; Alon Bar-Lev +nettle-2.7.1-r1.ebuild: + Add multilib support, bug#493974, thanks to Michael Mair-Keimberger (iamnr3) + and austinenglish + + 16 Feb 2014; Alon Bar-Lev -nettle-2.7.1-r1.ebuild: + Revert multilib, bug#501436 + +*nettle-2.7.1-r1 (15 Feb 2014) + + 15 Feb 2014; Alon Bar-Lev +nettle-2.7.1-r1.ebuild: + Add multilib support, bug#493974, thanks to Michael Mair-Keimberger (iamnr3) + and austinenglish + + 06 Aug 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for s390, wrt bug #477612 + + 04 Aug 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for ia64, wrt bug #477612 + + 03 Aug 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for sparc, wrt bug #477612 + + 30 Jul 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for alpha, wrt bug #477612 + + 27 Jul 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for x86, wrt bug #477612 + + 23 Jul 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for arm, wrt bug #477612 + + 22 Jul 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for ppc64, wrt bug #477612 + + 22 Jul 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for ppc, wrt bug #477612 + + 22 Jul 2013; Jeroen Roovers nettle-2.7.1.ebuild: + Stable for HPPA (bug #477612). + + 21 Jul 2013; Agostino Sarubbo nettle-2.7.1.ebuild: + Stable for amd64, wrt bug #477612 + +*nettle-2.7.1 (05 Jun 2013) + + 05 Jun 2013; Tim Harder +nettle-2.7.1.ebuild: + Version bump. + + 27 May 2013; Fabian Groffen nettle-2.7.ebuild: + Use prefixed libdir, bug #471298 + + 11 May 2013; Alon Bar-Lev nettle-2.7.ebuild: + Fix libdir location, per bug#468810, thanks to Anthony Basile + +*nettle-2.7 (27 Apr 2013) + + 27 Apr 2013; Tim Harder +nettle-2.7.ebuild, + +files/nettle-2.7-shared.patch: + Version bump (bug #467468), add neon use flag. + + 15 Mar 2013; Jeroen Roovers nettle-2.6.ebuild: + Stable for HPPA (bug #461104). + + 15 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for sh, wrt bug #461104 + + 14 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for s390, wrt bug #461104 + + 14 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for sparc, wrt bug #461104 + + 14 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for ia64, wrt bug #461104 + + 14 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for arm, wrt bug #461104 + + 14 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for alpha, wrt bug #461104 + + 13 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for ppc64, wrt bug #461104 + + 12 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for ppc, wrt bug #461104 + + 10 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for x86, wrt bug #461104 + + 10 Mar 2013; Agostino Sarubbo nettle-2.6.ebuild: + Stable for amd64, wrt bug #461104 + + 20 Feb 2013; Zac Medico nettle-2.6.ebuild: + Add ~arm-linux keyword. + + 18 Jan 2013; Tim Harder nettle-2.6.ebuild, + files/nettle-2.6-shared.patch: + Remove explicit src_test. The default just throws a couple warnings if static + libs aren't built but still passes successfully. + + 18 Jan 2013; Tim Harder nettle-2.6.ebuild: + Explicitly specify examples dir. + +*nettle-2.6 (18 Jan 2013) + + 18 Jan 2013; Tim Harder +nettle-2.6.ebuild, + +files/nettle-2.6-shared.patch: + Version bump. Update to EAPI 5 and add subslot, add doc and test use flags, + and run tests. + + 14 Dec 2012; Alon Bar-Lev +files/nettle-2.5-build-ar.patch, + nettle-2.5-r1.ebuild: + Fix ar detection per bug#438160 by Sean McGovern + +*nettle-2.5-r1 (14 Dec 2012) + + 14 Dec 2012; Alon Bar-Lev +files/nettle-2.5-static-libs.patch, + +nettle-2.5-r1.ebuild: + bug#405525 add support for USE static-libs + + 20 Oct 2012; Raúl Porcel nettle-2.5.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #433235 + + 17 Oct 2012; Pawel Hajdan jr nettle-2.5.ebuild: + x86 stable wrt bug #433235 + + 12 Oct 2012; Agostino Sarubbo nettle-2.5.ebuild: + Stable for amd64, wrt bug #433235 + + 11 Oct 2012; Jeroen Roovers nettle-2.5.ebuild: + Stable for HPPA (bug #433235). + + 11 Oct 2012; Markus Meier nettle-2.5.ebuild: + arm stable, bug #433235 + + 11 Oct 2012; Anthony G. Basile nettle-2.5.ebuild: + stable ppc64, bug #433235 + + 10 Oct 2012; Brent Baude nettle-2.5.ebuild: + Marking nettle-2.5 ppc for bug 433235 + +*nettle-1.15 (24 Jul 2012) + + 24 Jul 2012; Diego E. Pettenò +nettle-1.15.ebuild: + Restore ebuild that shouldn't have been deleted. + + 24 Jul 2012; Diego E. Pettenò -nettle-1.15.ebuild, + nettle-2.4.ebuild, nettle-2.5.ebuild: + Disable openssl dependency (which was also wrong, it wasn't RDEPEND), and + avoid using it altogether. Thanks to Maxim Kammerer in bug #427526. + +*nettle-2.5 (12 Jul 2012) + + 12 Jul 2012; Tim Harder +nettle-2.5.ebuild, + +files/nettle-2.5-missing-libm-link.patch: + Version bump. + + 06 Jul 2012; Rick Farina + +files/nettle-2.4-missing-libm-link.patch, nettle-2.4.ebuild: + fix build failure on uclibc systems per bug 415193 + + 26 Apr 2012; Alexis Ballier nettle-2.4.ebuild: + keyword ~amd64-fbsd + + 20 Mar 2012; Tim Harder -nettle-2.0.ebuild, + -files/nettle-2.0-asneeded.patch, -nettle-2.1.ebuild, -nettle-2.2.ebuild: + Remove old. + + 19 Mar 2012; Raúl Porcel nettle-2.4.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #400019 + + 06 Mar 2012; Jeff Horelick nettle-2.4.ebuild: + marked x86 per bug 400019 + + 06 Mar 2012; Brent Baude nettle-2.4.ebuild: + Marking nettle-2.4 ppc64 for bug 400019 + + 01 Mar 2012; Brent Baude nettle-2.4.ebuild: + Marking nettle-2.4 ppc for bug 400019 + + 29 Feb 2012; Markus Meier nettle-2.4.ebuild: + arm stable, bug #400019 + + 27 Feb 2012; Jeroen Roovers nettle-2.4.ebuild: + Stable for HPPA (bug #400019). + + 24 Feb 2012; Agostino Sarubbo nettle-2.4.ebuild: + Stable for amd64, wrt bug #400019 + + 18 Feb 2012; Fabian Groffen nettle-2.4.ebuild: + Fixed for and marked ~x86-solaris + + 16 Feb 2012; Fabian Groffen nettle-2.4.ebuild: + Marked ~sparc-solaris + + 10 Feb 2012; Tim Harder nettle-2.4.ebuild, + files/nettle-2.4-darwin-shlink.patch: + Enable gmp use flag by default (needed by gnutls) and fix sed line in patch + file (bug #400941). + + 01 Jan 2012; Sergei Trofimovich + +files/nettle-2.0-binutils-2.22.patch, nettle-1.15.ebuild, nettle-2.0.ebuild, + nettle-2.1.ebuild: + Fix build failure against binutils-2.22 by jdhore (bug #396659). Dropped + blockers on nonexistent dev-libs/lsh. + + 03 Dec 2011; Fabian Groffen + +files/nettle-2.4-darwin-shlink.patch, nettle-2.4.ebuild: + Add patch to fix compilation on Darwin, marked ~x64-macos + +*nettle-2.4 (04 Sep 2011) + + 04 Sep 2011; Tim Harder -nettle-2.3.ebuild, + +nettle-2.4.ebuild: + Version bump and remove old. + +*nettle-2.3 (03 Sep 2011) + + 03 Sep 2011; Tim Harder +nettle-2.3.ebuild: + Version bump. + +*nettle-2.2 (08 Aug 2011) + + 08 Aug 2011; Markos Chandras +nettle-2.2.ebuild: + Version bump. Ebuild by Arfrever + + 24 Jul 2011; Raúl Porcel nettle-2.1.ebuild: + sh stable wrt #337160 + + 23 Jul 2011; Raúl Porcel nettle-2.1.ebuild: + ia64/s390 stable wrt #337160 + + 13 Jun 2011; Matt Turner nettle-2.1.ebuild: + Added ~mips, bug 337367 + + 02 May 2011; Samuli Suominen nettle-2.1.ebuild: + ppc64 stable wrt #337160 + + 04 Apr 2011; Michael Weber nettle-2.1.ebuild: + arm/sparc stable (bug 337160) + + 30 Mar 2011; Jeroen Roovers nettle-2.1.ebuild: + Stable for HPPA (bug #337160). + + 27 Mar 2011; Brent Baude nettle-2.1.ebuild: + stable ppc, bug 337160 + + 26 Mar 2011; Tobias Klausmann nettle-2.1.ebuild: + Stable on alpha, bug #337160 + + 25 Mar 2011; Markos Chandras nettle-2.1.ebuild: + Stable on amd64 wrt bug #337160 + + 17 Dec 2010; Dane Smith nettle-1.15.ebuild: + Fixed implicit RDEPEND="${DEPEND}" warning. + + 05 Nov 2010; Samuli Suominen nettle-2.1.ebuild: + Keyword ~ppc64 wrt #337367 + + 25 Sep 2010; Markus Meier nettle-2.1.ebuild: + add ~arm, bug #337367 + +*nettle-2.1 (10 Aug 2010) + + 10 Aug 2010; Markos Chandras +nettle-2.1.ebuild: + Version bump. Bug #332129. Thanks to Dane Smith for + the patch and the testing + + 29 Mar 2010; Samuli Suominen nettle-2.0.ebuild, + +files/nettle-2.0-asneeded.patch: + Fix building with -Wl,--as-needed wrt #285747 by Kacper Kowalik. + + 14 Jan 2010; Christian Faulhammer nettle-2.0.ebuild: + Transfer Prefix keywords + + 03 Nov 2009; Raúl Porcel nettle-2.0.ebuild: + s390 stable wrt #279372 + + 05 Aug 2009; Markus Meier nettle-2.0.ebuild: + x86 stable, bug #279372 + + 02 Aug 2009; nixnut nettle-2.0.ebuild: + ppc stable #279372 + + 31 Jul 2009; Tiago Cunha nettle-2.0.ebuild: + stable sparc, bug 279372 + + 31 Jul 2009; nettle-2.0.ebuild: + Marked stable on AMD64 as requested by Arfrever Frehtes Taifersar Arahesis + in bug #279372. Compile-tested on a Core2 Duo with + USE="ssl -gmp". + +*nettle-2.0 (27 Jun 2009) + + 27 Jun 2009; Arfrever Frehtes Taifersar Arahesis + +nettle-2.0.ebuild: + Version bump. + + 14 Nov 2007; Alon Bar-Lev + -files/nettle-1.13-PIC.patch, -files/nettle-1.13-no-exec-stack.patch, + -files/nettle-1.13-preprocess-asm.patch, -nettle-1.10.ebuild, + -nettle-1.12.ebuild, -nettle-1.13.ebuild, -nettle-1.13-r1.ebuild, + -nettle-1.14.ebuild: + Cleanup + + 14 Nov 2007; Markus Ullmann nettle-1.15.ebuild: + Stable on sparc wrt bug #198689 + + 11 Nov 2007; Dawid Węgliński nettle-1.15.ebuild: + Stable on x86 (bug #198689) + + 10 Nov 2007; Samuli Suominen nettle-1.15.ebuild: + amd64 stable + + 10 Nov 2007; nixnut nettle-1.15.ebuild: + Stable on ppc wrt bug 198689 + +*nettle-1.15 (06 Aug 2007) + + 06 Aug 2007; Alon Bar-Lev +nettle-1.15.ebuild: + Version bump, bug#187862 + + 22 Feb 2007; Piotr Jaroszyński ChangeLog: + Transition to Manifest2. + + 27 Dec 2006; Timothy Redaelli nettle-1.14.ebuild: + Add ~x86-fbsd keyword. + + 31 Oct 2006; Alon Bar-Lev nettle-1.14.ebuild: + Autotools fixups + +*nettle-1.14 (31 Oct 2006) + + 31 Oct 2006; Alon Bar-Lev + +files/nettle-1.14-make-as-needed.patch, +nettle-1.14.ebuild: + Version bump, fix LDFLAGS="-Wl,--as-needed", closes bug#153138 + + 14 Oct 2005; Mike Frysinger nettle-1.13-r1.ebuild: + Add support for gmp/ssl USE flags. + +*nettle-1.13-r1 (13 Oct 2005) + + 13 Oct 2005; Mike Frysinger + +files/nettle-1.13-PIC.patch, +files/nettle-1.13-no-exec-stack.patch, + +files/nettle-1.13-preprocess-asm.patch, +nettle-1.13-r1.ebuild: + Fixes from PaX team to address executable stacks and PIC bugs. + +*nettle-1.13 (11 Oct 2005) + + 11 Oct 2005; Mike Frysinger +nettle-1.13.ebuild: + Version bump. + + 29 Sep 2005; Marcelo Goes nettle-1.10.ebuild, + nettle-1.12.ebuild: + Do not dodoc INSTALL. + +*nettle-1.12 (30 Jul 2005) + + 30 Jul 2005; Daniel Black metadata.xml, + +nettle-1.12.ebuild: + version bump thanks to meatoo + + 22 Apr 2005; Simon Stelling nettle-1.10.ebuild: + stable on amd64 + + 01 Oct 2004; Danny van Dyk nettle-1.10.ebuild: + -fPIC _is_ necessary, but not in static libraries. --enable-shared lets it + build an additional shared library. + + 30 Aug 2004; Danny van Dyk nettle-1.10.ebuild: + Removed append-flags -fPIC on amd64. Not necessary anymore. + + 20 Jul 2004; Rainer Groesslinger nettle-1.10.ebuild: + stable on x86, ppc, sparc + +*nettle-1.10 (11 Jul 2004) + + 11 Jul 2004; Mike Frysinger : + Initial import. Ebuild submitted by Rainer Groesslinger #56156. diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/Manifest new file mode 100644 index 0000000000..a4ba91aeee --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/Manifest @@ -0,0 +1,7 @@ +AUX nettle-3.2-CVE-2016-6489.patch 5332 SHA256 0bc6f90da2e682ebdfe1444ee83a591c4a47ba9ef70cfa955530a626e4f5888d SHA512 0393ec586b7eb0a16dd92164c5b7a103774db1ab7c5c375ac09583442b1a4f09df0ae3cf4e816d1a3b7ed1bea25289fa298f8b758940bf4b1caa410f7de73b1f WHIRLPOOL d1d868ee21be4e205030fe1dd7266e2d3889c18dfa795d0d6ee8b95934cac85a13706531413f9330ffc492879fb3559b81658cffb632875b190b6d64c2ffcfe3 +DIST nettle-3.2.tar.gz 1879604 SHA256 ea4283def236413edab5a4cf9cf32adf540c8df1b9b67641cfc2302fca849d97 SHA512 9f2c802e8b683d1c2fd8d16ab33b2a1efda33a1bf33196be39031a2d0677f2e78d67221a718997780e157aa72973da7d9d549429e706fcfcdff97ee3bbef615a WHIRLPOOL 0353f04760137eef292848b4d8060c40cf2959596aff6f39a1d1bd123e42bc0ecb6f01679f16797204eedb01123c09ae7745121241f6a32cc205bf1c8c6efc12 +EBUILD nettle-3.2-r1.ebuild 1844 SHA256 3033447e37868b7e4213e0ccdc42a327de038f1fa7acd8703ce0cf3614e8fa62 SHA512 8cd98981a82333575332cf23d8e9a53025ed012ec8dd06737829d9828b63cfb9d64ef43bca79fc2e8d55db13848e63f4c3e37cd34f1e72380c08bfc66ef1be65 WHIRLPOOL f2587b1da05a2b72bcf52290c316eba4d0e12ca8361cb06a5f69bd2128cf641ecc34e1532b00649e8fd5f517a3c04b47cac0c0fef60fefa83283ae41faf975b3 +EBUILD nettle-3.2.ebuild 1785 SHA256 67e3d82b182f346a9f39dd402ba7cb73f3afc3080a0dd53d18faab2373e2c47c SHA512 f7766d82b1ab9519499f32525c39f5f5d572aecca54cbad295ae13002ea8ed85175c395a98af1a2fea8213cd437425c4870b2cdb919141b7db88a84ed4adbf7f WHIRLPOOL 63a05f91bd8b5c7a255941769a45e2c2b54a7f8f0dff8aa2d7cb127311cd949325e1a13978c234838c33b952ccfa8940c3fac5f7e14b315801f8d2b4366eb999 +MISC ChangeLog 8203 SHA256 e280096367becf4c2ee1ef865a90ff15de3b8fe6993c34bfbe844f7bb1ceb26f SHA512 e432989aafeac733743300ec8807f27aa2caede37b6e3f3210bb7891afb333d3fdf7f289f8826d5777fe1286174d92ed8475cab5be47cba7094fa14409da8d2e WHIRLPOOL da9423c6359f9215b9e7cb6eb3528d5d72e7aff55b181bc9b5f5d0b7fcd7e0eda691483a6b6c41ecf6448e0762a341af7ccc607e66e45c942cea710f31a954df +MISC ChangeLog-2015 17411 SHA256 98a5c73c4fe4b134e2df6a9d6bdecabbb805a5d476970a09f9e92ccda1ef931d SHA512 5e3292521158eac6b187e872f871766ee879c15175906292b3046b782eac946274cd4ea9535d7034537e543f5f2378cbf2a962977387f6f58e2548ddbb19483d WHIRLPOOL b2ab41fd625ddab61566368e4eaf4e8a152a3bf50a609cc9c58144b6d7649873a6652356ef6d58f8fe6303bf917a72f7a7d1c5b826bbcadddb19b47b9f3c6af1 +MISC metadata.xml 236 SHA256 dd25b46c95b0c63da84b7ff5778479e31449a385df066e9ee14bf0d7d176f42f SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 WHIRLPOOL b15a2dfb001c41c8de2895842148b2531b74949e89e93ff8c366519c35792996e344918eaf9144fb081fc240796e47890be356d2339bea60b1e1d41830447d31 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/files/nettle-3.2-CVE-2016-6489.patch b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/files/nettle-3.2-CVE-2016-6489.patch new file mode 100644 index 0000000000..4776a20727 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/files/nettle-3.2-CVE-2016-6489.patch @@ -0,0 +1,177 @@ +From 6450224f3e3c78fdfa37eadbe6ada8301279f6c1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Niels=20M=C3=B6ller?= +Date: Mon, 20 Jun 2016 20:04:56 +0200 +Subject: Use mpz_powm_sec. +Subject: Check for invalid keys, with even p, in dsa_sign. +Subject: Reject invalid keys, with even moduli, in rsa_compute_root_tr. +Subject: Reject invalid RSA keys with even modulo. + +diff --git a/bignum.h b/bignum.h +index 24158e0..0d30534 100644 +--- a/bignum.h ++++ b/bignum.h +@@ -53,6 +53,8 @@ + # define mpz_combit mpz_combit + # define mpz_import mpz_import + # define mpz_export mpz_export ++/* Side-channel silent powm not available in mini-gmp. */ ++# define mpz_powm_sec mpz_powm + #else + # include + #endif +diff --git a/configure.ac b/configure.ac +index e1ee64c..1e88477 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -236,9 +236,9 @@ fi + # Checks for libraries + if test "x$enable_public_key" = "xyes" ; then + if test "x$enable_mini_gmp" = "xno" ; then +- AC_CHECK_LIB(gmp, __gmpz_getlimbn,, ++ AC_CHECK_LIB(gmp, __gmpz_powm_sec,, + [AC_MSG_WARN( +- [GNU MP not found, or not 3.1 or up, see http://gmplib.org/. ++ [GNU MP not found, or too old. GMP-5.0 or later is needed, see http://gmplib.org/. + Support for public key algorithms will be unavailable.])] + enable_public_key=no) + +diff --git a/dsa-sign.c b/dsa-sign.c +index 62c7d4a..b713743 100644 +--- a/dsa-sign.c ++++ b/dsa-sign.c +@@ -56,6 +56,11 @@ dsa_sign(const struct dsa_params *params, + mpz_t tmp; + int res; + ++ /* Check that p is odd, so that invalid keys don't result in a crash ++ inside mpz_powm_sec. */ ++ if (mpz_even_p (params->p)) ++ return 0; ++ + /* Select k, 0q); + mpz_sub_ui(tmp, tmp, 1); +@@ -65,7 +70,7 @@ dsa_sign(const struct dsa_params *params, + mpz_add_ui(k, k, 1); + + /* Compute r = (g^k (mod p)) (mod q) */ +- mpz_powm(tmp, params->g, k, params->p); ++ mpz_powm_sec(tmp, params->g, k, params->p); + mpz_fdiv_r(signature->r, tmp, params->q); + + /* Compute hash */ +diff --git a/rsa-blind.c b/rsa-blind.c +index 7662f50..16b03d7 100644 +--- a/rsa-blind.c ++++ b/rsa-blind.c +@@ -61,7 +61,7 @@ _rsa_blind (const struct rsa_public_key *pub, + while (!mpz_invert (ri, r, pub->n)); + + /* c = c*(r^e) mod n */ +- mpz_powm(r, r, pub->e, pub->n); ++ mpz_powm_sec(r, r, pub->e, pub->n); + mpz_mul(c, c, r); + mpz_fdiv_r(c, c, pub->n); + +diff --git a/rsa-sign-tr.c b/rsa-sign-tr.c +index 3d80ed4..8542cae 100644 +--- a/rsa-sign-tr.c ++++ b/rsa-sign-tr.c +@@ -60,7 +60,7 @@ rsa_blind (const struct rsa_public_key *pub, + while (!mpz_invert (ri, r, pub->n)); + + /* c = c*(r^e) mod n */ +- mpz_powm(r, r, pub->e, pub->n); ++ mpz_powm_sec(r, r, pub->e, pub->n); + mpz_mul(c, m, r); + mpz_fdiv_r(c, c, pub->n); + +@@ -88,6 +88,14 @@ rsa_compute_root_tr(const struct rsa_public_key *pub, + int res; + mpz_t t, mb, xb, ri; + ++ /* mpz_powm_sec handles only odd moduli. If p, q or n is even, the ++ key is invalid and rejected by rsa_private_key_prepare. However, ++ some applications, notably gnutls, don't use this function, and ++ we don't want an invalid key to lead to a crash down inside ++ mpz_powm_sec. So do an additional check here. */ ++ if (mpz_even_p (pub->n) || mpz_even_p (key->p) || mpz_even_p (key->q)) ++ return 0; ++ + mpz_init (mb); + mpz_init (xb); + mpz_init (ri); +@@ -97,7 +105,7 @@ rsa_compute_root_tr(const struct rsa_public_key *pub, + + rsa_compute_root (key, xb, mb); + +- mpz_powm(t, xb, pub->e, pub->n); ++ mpz_powm_sec(t, xb, pub->e, pub->n); + res = (mpz_cmp(mb, t) == 0); + + if (res) +diff --git a/rsa-sign.c b/rsa-sign.c +index eba7388..4832352 100644 +--- a/rsa-sign.c ++++ b/rsa-sign.c +@@ -96,11 +96,11 @@ rsa_compute_root(const struct rsa_private_key *key, + + /* Compute xq = m^d % q = (m%q)^b % q */ + mpz_fdiv_r(xq, m, key->q); +- mpz_powm(xq, xq, key->b, key->q); ++ mpz_powm_sec(xq, xq, key->b, key->q); + + /* Compute xp = m^d % p = (m%p)^a % p */ + mpz_fdiv_r(xp, m, key->p); +- mpz_powm(xp, xp, key->a, key->p); ++ mpz_powm_sec(xp, xp, key->a, key->p); + + /* Set xp' = (xp - xq) c % p. */ + mpz_sub(xp, xp, xq); +diff --git a/rsa.c b/rsa.c +index 19d93de..f594140 100644 +--- a/rsa.c ++++ b/rsa.c +@@ -58,13 +58,18 @@ rsa_public_key_clear(struct rsa_public_key *key) + } + + /* Computes the size, in octets, of a the modulo. Returns 0 if the +- * modulo is too small to be useful. */ +- ++ * modulo is too small to be useful, or otherwise appears invalid. */ + size_t + _rsa_check_size(mpz_t n) + { + /* Round upwards */ +- size_t size = (mpz_sizeinbase(n, 2) + 7) / 8; ++ size_t size; ++ ++ /* Even moduli are invalid, and not supported by mpz_powm_sec. */ ++ if (mpz_even_p (n)) ++ return 0; ++ ++ size = (mpz_sizeinbase(n, 2) + 7) / 8; + + if (size < RSA_MINIMUM_N_OCTETS) + return 0; +diff --git a/testsuite/rsa-test.c b/testsuite/rsa-test.c +index e9b1c03..a429664 100644 +--- a/testsuite/rsa-test.c ++++ b/testsuite/rsa-test.c +@@ -57,6 +57,13 @@ test_main(void) + + test_rsa_sha512(&pub, &key, expected); + ++ /* Test detection of invalid keys with even modulo */ ++ mpz_clrbit (pub.n, 0); ++ ASSERT (!rsa_public_key_prepare (&pub)); ++ ++ mpz_clrbit (key.p, 0); ++ ASSERT (!rsa_private_key_prepare (&key)); ++ + /* 777-bit key, generated by + * + * lsh-keygen -a rsa -l 777 -f advanced-hex +-- +2.7.3 + diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/metadata.xml new file mode 100644 index 0000000000..f1c3d59fb2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/metadata.xml @@ -0,0 +1,8 @@ + + + + + crypto@gentoo.org + Crypto + + diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2-r1.ebuild new file mode 100644 index 0000000000..b5f684abe4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools eutils multilib-build multilib-minimal multilib toolchain-funcs + +DESCRIPTION="Low-level cryptographic library" +HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="|| ( LGPL-3 LGPL-2.1 )" +SLOT="0/6" # subslot = libnettle soname version +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" +IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes" + +DEPEND="gmp? ( >=dev-libs/gmp-5.0:0[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r17 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +PATCHES=( + "${FILESDIR}/${P}-CVE-2016-6489.patch" +) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/nettle/nettle-stdint.h + /usr/include/nettle/version.h +) + +src_prepare() { + default + + sed -e '/CFLAGS=/s: -ggdb3::' \ + -e 's/solaris\*)/sunldsolaris*)/' \ + -i configure.ac || die + + # conditionally build tests and examples required by tests + use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die + + eautoreconf +} + +multilib_src_configure() { + # --disable-openssl bug #427526 + ECONF_SOURCE="${S}" econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-openssl \ + --disable-fat \ + $(use_enable gmp public-key) \ + $(use_enable static-libs static) \ + $(tc-is-static-only && echo --disable-shared) \ + $(use_enable doc documentation) \ + $(use_enable neon arm-neon) \ + $(use_enable cpu_flags_x86_aes x86-aesni) +} + +multilib_src_install_all() { + einstalldocs + if use doc ; then + dohtml nettle.html + dodoc nettle.pdf + fi +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2.ebuild new file mode 100644 index 0000000000..4f14d6db72 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nettle/nettle-3.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools eutils multilib-build multilib-minimal multilib toolchain-funcs + +DESCRIPTION="Low-level cryptographic library" +HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="|| ( LGPL-3 LGPL-2.1 )" +SLOT="0/6" # subslot = libnettle soname version +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" +IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes" + +DEPEND="gmp? ( dev-libs/gmp:0[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r17 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/nettle/nettle-stdint.h + /usr/include/nettle/version.h +) + +src_prepare() { + default + + sed -e '/CFLAGS=/s: -ggdb3::' \ + -e 's/solaris\*)/sunldsolaris*)/' \ + -i configure.ac || die + + # conditionally build tests and examples required by tests + use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die + + eautoreconf +} + +multilib_src_configure() { + # --disable-openssl bug #427526 + ECONF_SOURCE="${S}" econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-openssl \ + --disable-fat \ + $(use_enable gmp public-key) \ + $(use_enable static-libs static) \ + $(tc-is-static-only && echo --disable-shared) \ + $(use_enable doc documentation) \ + $(use_enable neon arm-neon) \ + $(use_enable cpu_flags_x86_aes x86-aesni) +} + +multilib_src_install_all() { + einstalldocs + if use doc ; then + dohtml nettle.html + dodoc nettle.pdf + fi +} diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2 new file mode 100644 index 0000000000..cacf9e07ac --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=gmp? ( dev-libs/gmp:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 +DESCRIPTION=Low-level cryptographic library +EAPI=6 +HOMEPAGE=http://www.lysator.liu.se/~nisse/nettle/ +IUSE=doc +gmp neon static-libs test cpu_flags_x86_aes abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 +KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris +LICENSE=|| ( LGPL-3 LGPL-2.1 ) +RDEPEND=gmp? ( dev-libs/gmp:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r17 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) +SLOT=0/6 +SRC_URI=mirror://gnu/nettle/nettle-3.2.tar.gz +_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=f4f67f30ff8712e0bd2b8789ce7d9f8e diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2-r1 new file mode 100644 index 0000000000..03fd014756 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/nettle-3.2-r1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=gmp? ( >=dev-libs/gmp-5.0:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 +DESCRIPTION=Low-level cryptographic library +EAPI=6 +HOMEPAGE=http://www.lysator.liu.se/~nisse/nettle/ +IUSE=doc +gmp neon static-libs test cpu_flags_x86_aes abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 +KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris +LICENSE=|| ( LGPL-3 LGPL-2.1 ) +RDEPEND=gmp? ( >=dev-libs/gmp-5.0:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r17 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) +SLOT=0/6 +SRC_URI=mirror://gnu/nettle/nettle-3.2.tar.gz +_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e libtool b75230758539a7da029e24afdb693960 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 +_md5_=d30560ef26cf2eee5fdedbb94ce52ec6