1 |
commit: 98f98e97f106a86851336f42f580f7ff48f222e2 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 28 16:18:51 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 28 16:18:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f98e97 |
7 |
|
8 |
app-emulation/containerd: Version bump to 1.2.0 |
9 |
|
10 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-emulation/containerd/Manifest | 1 + |
14 |
app-emulation/containerd/containerd-1.2.0.ebuild | 55 ++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
18 |
index 8317dba9874..09155d9b56a 100644 |
19 |
--- a/app-emulation/containerd/Manifest |
20 |
+++ b/app-emulation/containerd/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST containerd-1.0.3.tar.gz 3776722 BLAKE2B 31e9f2e56b23d09341e4cdd546198233517 |
22 |
DIST containerd-1.1.1.tar.gz 5123253 BLAKE2B e3e14311f4b444531b9b5d22ad7babd3fe9e7f4bf540c98153ebfc7445c34dad9c1268863e90a383bdab8630fc6576d1425e3e6a7f37e25fe6fb392aac389e2f SHA512 429070dbe0b486f8bbf5411c037e020f50fd008741091d6db1c13a0b526b2b4d0b22bb458401dd2ed142dc34e9bdcbd1ea30eabba39f11a50c294b94ce9867bd |
23 |
DIST containerd-1.1.2.tar.gz 5124208 BLAKE2B d989519d6bef4e12d1fa04aa00bfee223e94676a90525304d4357f4caf46326b4d2b897b885e9e137fe01ce66b93bc92fb7da7bd2b5dd5019edda5bb0bbc6d0a SHA512 fe4121a43e72a354cd87577b5227f2c2e0d54674244001e6fdb695da78873b3fd3f46b6bda6bbd0c8793b33f50e0d725cb356bb75b789a273c862bbe7d4f719c |
24 |
DIST containerd-1.1.4.tar.gz 5328134 BLAKE2B cb69f9bd80bc279ae2bd85c75152dacdbdf13df9aa2efae2453c11bf6ea9b990a4e8ec3cb07778ff1b07ef2fbc05d19bb5714616fa5618f590dc8c5b5c2b2bd0 SHA512 c51b3168b8d8121b1479f75f5ba21280848bb1cbed2d2c4a7e315ec24d1805fc9c512a1fc53e8e8fc32e150c7f2becb8daca0ecab4eaf760b3274c11fbcd6ea8 |
25 |
+DIST containerd-1.2.0.tar.gz 4605096 BLAKE2B 5bcfb252933d4f8d5ab6c7e91505cfec34137545121440cd6935e05cd3c62a4969fff8b90b628634c01cc9a4dc3901c307604ab30f45a03dd20112653da9437d SHA512 f7e1ede8db253c666dc9d68642951a427722945da60acf8631312377c84aab14c7a8b14e81f9a63ab8f909d25eb55911c0f2eef68f11380c66cd77bada8577bd |
26 |
|
27 |
diff --git a/app-emulation/containerd/containerd-1.2.0.ebuild b/app-emulation/containerd/containerd-1.2.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d7d5430a826 |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/containerd/containerd-1.2.0.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+EGO_PN="github.com/containerd/${PN}" |
38 |
+ |
39 |
+inherit toolchain-funcs |
40 |
+ |
41 |
+if [[ ${PV} == *9999 ]]; then |
42 |
+ inherit golang-vcs |
43 |
+else |
44 |
+ MY_PV="${PV/_rc/-rc.}" |
45 |
+ EGIT_COMMIT="v${MY_PV}" |
46 |
+ CONTAINERD_COMMIT="c4446665cb9c30056f4998ed953e6d4ff22c7c39" |
47 |
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" |
49 |
+ inherit golang-vcs-snapshot |
50 |
+fi |
51 |
+ |
52 |
+DESCRIPTION="A daemon to control runC" |
53 |
+HOMEPAGE="https://containerd.tools" |
54 |
+ |
55 |
+LICENSE="Apache-2.0" |
56 |
+SLOT="0" |
57 |
+IUSE="apparmor +btrfs +cri hardened +seccomp" |
58 |
+ |
59 |
+DEPEND="btrfs? ( sys-fs/btrfs-progs ) |
60 |
+ seccomp? ( sys-libs/libseccomp )" |
61 |
+RDEPEND="|| ( >=app-emulation/docker-runc-1.0.0_rc4 |
62 |
+ >=app-emulation/runc-1.0.0_rc4 ) |
63 |
+ seccomp? ( sys-libs/libseccomp )" |
64 |
+ |
65 |
+S=${WORKDIR}/${P}/src/${EGO_PN} |
66 |
+ |
67 |
+RESTRICT="test" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ if [[ ${PV} != *9999* ]]; then |
72 |
+ sed -i -e "s/git describe --match.*$/echo ${PV})/"\ |
73 |
+ -e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\ |
74 |
+ -e "s/-s -w//" \ |
75 |
+ Makefile || die |
76 |
+ fi |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ local options=( $(usex btrfs "" "no_btrfs") $(usex cri "" "no_cri") $(usex seccomp "seccomp" "") $(usex apparmor "apparmor" "") ) |
81 |
+ export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor |
82 |
+ LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') BUILDTAGS="${options[@]}" emake |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ dobin bin/containerd{-shim,-stress,} bin/ctr |
87 |
+} |