1 |
commit: 596eed9b445a2114124afe998d762114a395e9fe |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 13 19:49:42 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 13 19:50:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596eed9b |
7 |
|
8 |
app-emulation/containerd: Version bump to 1.0.0_beta3 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
app-emulation/containerd/Manifest | 1 + |
13 |
.../containerd/containerd-1.0.0_beta3.ebuild | 52 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
17 |
index acc98749768..558535ccd1e 100644 |
18 |
--- a/app-emulation/containerd/Manifest |
19 |
+++ b/app-emulation/containerd/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST containerd-0.2.9_p20170605.tar.gz 1229549 SHA256 c506121c49e3bfea27018aa77e09e4734067f84ae85b6ef75ec31b488a91ae54 SHA512 900cf9c251c4de0f9848fb5bf26537226c1361d1a64a0fba853bda3805cb141fc2a849442fe885f0ee228b3e3a7018440af18898b484a54a7b75b4a86538aaa9 WHIRLPOOL 880f19a994f623b7cd8c3f771b5c56468681de349ae4196e60ffcb5a34d42ef423d8eefc82c07134c9e50c33bc0ecbfc1a9e47c3df987050d8dcb82da0178d80 |
22 |
DIST containerd-0.2.9_p20170917.tar.gz 1140788 SHA256 4d2b6e30bcc6c4bb901d6b9f19b5ac1d4a2d9b17075a9b1f110102920d01f64a SHA512 c749bda691197ec8a7603db9ad92f2800a3f065143430a660333b7862518deb4c158a1c1fd01671dff438b40988d4a64d8f06bab05496b8728c6e2f57cd7da0a WHIRLPOOL 75cb3467a94af50bef52377f309d7c85386475789fab3d2758679f022b516735728a1ac2c54307954a14100c4f84059d8fd5e8376270fdd69e572cff43453fa0 |
23 |
DIST containerd-1.0.0_beta2.tar.gz 3681494 SHA256 3130384a814bc0a43fe3b76e2bbb2db2372fdc96490b76f8b278362ebc0d3fb1 SHA512 cecb4d2e0dccbc27c1e59f3e49f8fd5b08445988e49aa4b8a2a5910851509d51e001b5295905288c29fee2d91eadf2180a6b86947e130abe1b33a9a01416a286 WHIRLPOOL 4d526904a146971d57adbde6102e4fe42e0d303b102e721e34aaea3f54ef3176586dedf31a347f52d95a6e5c1850454b31ab3e5c6195b868929d32fde6218eb3 |
24 |
+DIST containerd-1.0.0_beta3.tar.gz 3696070 SHA256 efd40a7fdcb07b23273c389453559c0521c2cf4baf669cdf134cd10a21627ee4 SHA512 45853001bcf57f7289747b71215eb0bc60b18e54db73896779f294db1b72374cf36c8792371a8d46ddfe283dfc9655f10cb61b3a74420a79a4abb9fa89b76323 WHIRLPOOL 63c47a18c4d5f09043d0449a042c453451bfe4fedcb1e22eb35080c3730b1f181fcb58131f58ecf8e819688ccdfd9dbe4fb70cb9f3d08782257bb6126f05e0c5 |
25 |
|
26 |
diff --git a/app-emulation/containerd/containerd-1.0.0_beta3.ebuild b/app-emulation/containerd/containerd-1.0.0_beta3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1f0795bfd42 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/containerd/containerd-1.0.0_beta3.ebuild |
31 |
@@ -0,0 +1,52 @@ |
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/containerd/${PN}" |
37 |
+ |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+if [[ ${PV} == *9999 ]]; then |
41 |
+ inherit golang-vcs |
42 |
+else |
43 |
+ MY_PV="${PV/_beta/-beta.}" |
44 |
+ EGIT_COMMIT="v${MY_PV}" |
45 |
+ CONTAINERD_COMMIT="2b8ed96" |
46 |
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm ~ppc64" |
48 |
+ inherit golang-vcs-snapshot |
49 |
+fi |
50 |
+ |
51 |
+DESCRIPTION="A daemon to control runC" |
52 |
+HOMEPAGE="https://containerd.tools" |
53 |
+ |
54 |
+LICENSE="Apache-2.0" |
55 |
+SLOT="0" |
56 |
+IUSE="hardened +seccomp" |
57 |
+ |
58 |
+DEPEND="sys-fs/btrfs-progs" |
59 |
+RDEPEND="|| ( >=app-emulation/docker-runc-1.0.0_rc4 |
60 |
+ >=app-emulation/runc-1.0.0_rc4 ) |
61 |
+ seccomp? ( sys-libs/libseccomp )" |
62 |
+ |
63 |
+S=${WORKDIR}/${P}/src/${EGO_PN} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ if [[ ${PV} != *9999* ]]; then |
68 |
+ sed -i -e "s/git describe --match.*$/echo ${PV})/"\ |
69 |
+ -e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\ |
70 |
+ -e "s/-s -w//" \ |
71 |
+ Makefile || die |
72 |
+ fi |
73 |
+} |
74 |
+ |
75 |
+src_compile() { |
76 |
+ local options=( $(usex seccomp "seccomp" "") ) |
77 |
+ export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor |
78 |
+ LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') emake BUILDTAGS="${options[@]}" |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ dobin bin/containerd{-shim,-stress,} bin/ctr |
83 |
+} |