1 |
commit: 4f8214f5250c024dd67c5f62f3acee771943088c |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 26 11:20:26 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 26 11:20:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8214f5 |
7 |
|
8 |
app-emulation/containerd: Version bump to 1.1.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
11 |
|
12 |
app-emulation/containerd/Manifest | 1 + |
13 |
app-emulation/containerd/containerd-1.1.4.ebuild | 55 ++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
17 |
index 6baa2e4279b..8317dba9874 100644 |
18 |
--- a/app-emulation/containerd/Manifest |
19 |
+++ b/app-emulation/containerd/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST containerd-1.0.3.tar.gz 3776722 BLAKE2B 31e9f2e56b23d09341e4cdd546198233517893e1596c9aefd084044f04b1e1831219343142eef09159a5698720fa307e3ec1dbb86304e071a9d8e1f8f8436519 SHA512 31aa462f357a77434033ae4bff2e453ce849cbd91e4981383be3c7cdea77ea1f57081c4f8121d15c151145defc2003348fe23b26a11568b38780fa2fb9cf114c |
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 |
|
26 |
diff --git a/app-emulation/containerd/containerd-1.1.4.ebuild b/app-emulation/containerd/containerd-1.1.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0d07ff805fc |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/containerd/containerd-1.1.4.ebuild |
31 |
@@ -0,0 +1,55 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
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/_rc/-rc.}" |
44 |
+ EGIT_COMMIT="v${MY_PV}" |
45 |
+ CONTAINERD_COMMIT="9f2e07b1fc1342d1c48fe4d7bbb94cb6d1bf278b" |
46 |
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~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="apparmor +btrfs +cri hardened +seccomp" |
57 |
+ |
58 |
+DEPEND="btrfs? ( sys-fs/btrfs-progs ) |
59 |
+ seccomp? ( sys-libs/libseccomp )" |
60 |
+RDEPEND="|| ( >=app-emulation/docker-runc-1.0.0_rc4 |
61 |
+ >=app-emulation/runc-1.0.0_rc4 ) |
62 |
+ seccomp? ( sys-libs/libseccomp )" |
63 |
+ |
64 |
+S=${WORKDIR}/${P}/src/${EGO_PN} |
65 |
+ |
66 |
+RESTRICT="test" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ if [[ ${PV} != *9999* ]]; then |
71 |
+ sed -i -e "s/git describe --match.*$/echo ${PV})/"\ |
72 |
+ -e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\ |
73 |
+ -e "s/-s -w//" \ |
74 |
+ Makefile || die |
75 |
+ fi |
76 |
+} |
77 |
+ |
78 |
+src_compile() { |
79 |
+ local options=( $(usex btrfs "" "no_btrfs") $(usex cri "" "no_cri") $(usex seccomp "seccomp" "") $(usex apparmor "apparmor" "") ) |
80 |
+ export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor |
81 |
+ LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') BUILDTAGS="${options[@]}" emake |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ dobin bin/containerd{-shim,-stress,} bin/ctr |
86 |
+} |