Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containerd/
Date: Mon, 25 Sep 2017 14:11:39
Message-Id: 1506348680.0f4e133f0c1144512d2b4fddef16fee494ca3b0a.mrueg@gentoo
1 commit: 0f4e133f0c1144512d2b4fddef16fee494ca3b0a
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 25 14:10:55 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 25 14:11:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4e133f
7
8 app-emulation/containerd: Update snapshot for docker-ce 17.09
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 app-emulation/containerd/Manifest | 1 +
13 .../containerd/containerd-0.2.9_p20170917.ebuild | 42 ++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest
17 index 509ae925f49..88e8248cdb2 100644
18 --- a/app-emulation/containerd/Manifest
19 +++ b/app-emulation/containerd/Manifest
20 @@ -1,3 +1,4 @@
21 DIST containerd-0.2.5_p20170308.tar.gz 1021631 SHA256 d08d3d0758b76f7de0e8f503b74e1562d8c0a1014cb4baf4cd34e246751cec4c SHA512 8b00862a7b54490a8342bcc0eddaa7e8c86d1e05c02f5173b9f4a08321425f8d75d1fb0665e86bc79249294354977693c21d6a4d8405866ff8058da9772e2ecc WHIRLPOOL ed658d10f927fff4d9591930bdf855fc0ed259ca538d4361ce3cffcc5943dcfe39121242f1c9ef950897761016a8450b3a2117c0be0b8b0ebffeab330fe30b5d
22 DIST containerd-0.2.9.tar.gz 1228977 SHA256 2360fec91d40e4e93757f964f07c74e35b6bfe838252b1cc814a176e1cd1c604 SHA512 6f0de476668e6b86a0cd5e1ea0f6dac24e0e68fe2dd52b8915dbafa5ffab137a5eea866c216f8184ffa6e4750c7b69bce3d46552e8be283a15ce676ea4356fc8 WHIRLPOOL b9fdd57af3cf39e6a5efdd67f0302ad38d6634d20aa3eb45431d2900f5fbb7dc62d624b07a5028bbb09ae763e07103e37703cf52f3e14e7af72fc2198d9c7876
23 DIST containerd-0.2.9_p20170605.tar.gz 1229549 SHA256 c506121c49e3bfea27018aa77e09e4734067f84ae85b6ef75ec31b488a91ae54 SHA512 900cf9c251c4de0f9848fb5bf26537226c1361d1a64a0fba853bda3805cb141fc2a849442fe885f0ee228b3e3a7018440af18898b484a54a7b75b4a86538aaa9 WHIRLPOOL 880f19a994f623b7cd8c3f771b5c56468681de349ae4196e60ffcb5a34d42ef423d8eefc82c07134c9e50c33bc0ecbfc1a9e47c3df987050d8dcb82da0178d80
24 +DIST containerd-0.2.9_p20170917.tar.gz 1140788 SHA256 4d2b6e30bcc6c4bb901d6b9f19b5ac1d4a2d9b17075a9b1f110102920d01f64a SHA512 c749bda691197ec8a7603db9ad92f2800a3f065143430a660333b7862518deb4c158a1c1fd01671dff438b40988d4a64d8f06bab05496b8728c6e2f57cd7da0a WHIRLPOOL 75cb3467a94af50bef52377f309d7c85386475789fab3d2758679f022b516735728a1ac2c54307954a14100c4f84059d8fd5e8376270fdd69e572cff43453fa0
25
26 diff --git a/app-emulation/containerd/containerd-0.2.9_p20170917.ebuild b/app-emulation/containerd/containerd-0.2.9_p20170917.ebuild
27 new file mode 100644
28 index 00000000000..90c87cf4475
29 --- /dev/null
30 +++ b/app-emulation/containerd/containerd-0.2.9_p20170917.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +EGO_PN="github.com/${PN}/${PN}"
37 +
38 +inherit toolchain-funcs
39 +
40 +if [[ ${PV} == *9999 ]]; then
41 + inherit golang-vcs
42 +else
43 + MY_PV="${PV/_/-}"
44 + EGIT_COMMIT="06b9cb35161009dcb7123345749fef02f7cea8e0"
45 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
46 + KEYWORDS="~amd64 ~arm ~ppc64"
47 + inherit golang-vcs-snapshot
48 +fi
49 +
50 +DESCRIPTION="A daemon to control runC"
51 +HOMEPAGE="https://containerd.tools"
52 +
53 +LICENSE="Apache-2.0"
54 +SLOT="0"
55 +IUSE="hardened +seccomp"
56 +
57 +DEPEND=""
58 +RDEPEND=">=app-emulation/docker-runc-1.0.0_rc4_p20170917
59 + seccomp? ( sys-libs/libseccomp )"
60 +
61 +S=${WORKDIR}/${P}/src/${EGO_PN}
62 +
63 +RESTRICT="test"
64 +
65 +src_compile() {
66 + local options=( $(usex seccomp "seccomp" '') )
67 + export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor
68 + LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}"
69 +}
70 +
71 +src_install() {
72 + dobin bin/containerd* bin/ctr
73 +}