1 |
commit: b9e2b787c50df6fe24cb791f1e63131c410b758a |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 19 19:35:24 2020 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 19:35:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e2b787 |
7 |
|
8 |
app-emulation/containerd: 1.3.2 bump |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
app-emulation/containerd/Manifest | 1 + |
13 |
app-emulation/containerd/containerd-1.3.2.ebuild | 55 ++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
17 |
index 7698ad6dbf2..9ecae2deadf 100644 |
18 |
--- a/app-emulation/containerd/Manifest |
19 |
+++ b/app-emulation/containerd/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST containerd-1.2.6.tar.gz 4874159 BLAKE2B 202e19cffbe2b5335558dc1db28ea28a05d |
21 |
DIST containerd-1.2.7.tar.gz 4877757 BLAKE2B 6cf98e370547d3ca5158f546e72e3ff5fdccc08c2e9f390988d080222195f95512dbf6f7dc042b7a966283a040000b7b8777b3fbeb4c5b861caae4f6209c59c5 SHA512 b96ca236d28933c1bf309fc7204af7d2c356e19af394d5c2274a178c8f15298faf6ca9bb8e7d04acb7c3c9c41035446643a8df0103017f7ed0320bfc37cb8ca9 |
22 |
DIST containerd-1.3.0.tar.gz 5697153 BLAKE2B c334cfd2aa11dd430c74bc9f3fe6f31d83faf752b9794da26021033bb6af492c48ed1665fc76ddfe5b858f04d45e9b77505f331e3c3da556af2d75e3cca3bb12 SHA512 cff9f0189b9fdc2b5492c92129af284aa8cd099e48de94cafd90aed191e2d20060c96008111b05fe081de0d4fc41d35f8cba5a3dc2d8cc0a5c37f695fd3cedc1 |
23 |
DIST containerd-1.3.1.tar.gz 5703741 BLAKE2B 6eae3fe9714128e7a5378484115378629baf6c4f7ef4b795e625cc1fbc05323a123c2337c5b203a2c3c3b34486c81f7e5b3ad200c000c961931fc99347ef4513 SHA512 4991286d1a8a221dad24121c5e6cd31a00685d91e652546d0d97745624486450bc05ff4f889f2975c178c4c175fedd7b15f89121a7ce4e6687919aabd04501b4 |
24 |
+DIST containerd-1.3.2.tar.gz 5704320 BLAKE2B 32ea22ff445cc66f4c8db8abdbaaa7fa0c8c620b294bda54f2319045af1925398057ba1a5cb5c265cfc73bcff5b49943013b517ecb3bd05f4504920c4a8d6f29 SHA512 768a19eb0829e196a61ddedaa11b0d6691caf8f9cc590a3e47ac77c1acad62e64b7a55017a1a6cccfcb87785a083d5ce131048b0e39e48c65e6cd5922382fc3c |
25 |
|
26 |
diff --git a/app-emulation/containerd/containerd-1.3.2.ebuild b/app-emulation/containerd/containerd-1.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f6200c865cc |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/containerd/containerd-1.3.2.ebuild |
31 |
@@ -0,0 +1,55 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+EGO_PN="github.com/containerd/${PN}" |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="A daemon to control runC" |
40 |
+HOMEPAGE="https://containerd.io/" |
41 |
+ |
42 |
+if [[ ${PV} == *9999 ]]; then |
43 |
+ inherit golang-vcs |
44 |
+else |
45 |
+ MY_PV="${PV/_rc/-rc.}" |
46 |
+ EGIT_COMMIT="v${MY_PV}" |
47 |
+ CONTAINERD_COMMIT=ff48f57f |
48 |
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
49 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" |
50 |
+ inherit golang-vcs-snapshot |
51 |
+fi |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+IUSE="apparmor +btrfs +cri hardened +seccomp" |
56 |
+ |
57 |
+DEPEND="btrfs? ( sys-fs/btrfs-progs ) |
58 |
+ seccomp? ( sys-libs/libseccomp )" |
59 |
+RDEPEND=">=app-emulation/runc-1.0.0_rc9 |
60 |
+ seccomp? ( sys-libs/libseccomp )" |
61 |
+ |
62 |
+S=${WORKDIR}/${P}/src/${EGO_PN} |
63 |
+ |
64 |
+RESTRICT="strip test" |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ if [[ ${PV} != *9999* ]]; then |
69 |
+ sed -i -e "s/git describe --match.*$/echo ${PV})/"\ |
70 |
+ -e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\ |
71 |
+ -e "s/-s -w//" \ |
72 |
+ Makefile || die |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+src_compile() { |
77 |
+ local options=( $(usex btrfs "" "no_btrfs") $(usex cri "" "no_cri") $(usex seccomp "seccomp" "") $(usex apparmor "apparmor" "") ) |
78 |
+ export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor |
79 |
+ LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') BUILDTAGS="${options[@]}" emake |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
84 |
+ keepdir /var/lib/containerd |
85 |
+ dobin bin/* |
86 |
+} |