1 |
commit: 1a733e460f0368825faec1d49b9a965381513c08 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 9 15:44:08 2019 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 9 15:44:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a733e46 |
7 |
|
8 |
app-emulation/containerd: Version bump to 1.2.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.54, Repoman-2.3.12 |
11 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
12 |
|
13 |
app-emulation/containerd/Manifest | 1 + |
14 |
app-emulation/containerd/containerd-1.2.2.ebuild | 56 ++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
18 |
index aa52e984354..14fe116537f 100644 |
19 |
--- a/app-emulation/containerd/Manifest |
20 |
+++ b/app-emulation/containerd/Manifest |
21 |
@@ -4,3 +4,4 @@ DIST containerd-1.1.2.tar.gz 5124208 BLAKE2B d989519d6bef4e12d1fa04aa00bfee223e9 |
22 |
DIST containerd-1.1.4.tar.gz 5328134 BLAKE2B cb69f9bd80bc279ae2bd85c75152dacdbdf13df9aa2efae2453c11bf6ea9b990a4e8ec3cb07778ff1b07ef2fbc05d19bb5714616fa5618f590dc8c5b5c2b2bd0 SHA512 c51b3168b8d8121b1479f75f5ba21280848bb1cbed2d2c4a7e315ec24d1805fc9c512a1fc53e8e8fc32e150c7f2becb8daca0ecab4eaf760b3274c11fbcd6ea8 |
23 |
DIST containerd-1.2.0.tar.gz 4605096 BLAKE2B 5bcfb252933d4f8d5ab6c7e91505cfec34137545121440cd6935e05cd3c62a4969fff8b90b628634c01cc9a4dc3901c307604ab30f45a03dd20112653da9437d SHA512 f7e1ede8db253c666dc9d68642951a427722945da60acf8631312377c84aab14c7a8b14e81f9a63ab8f909d25eb55911c0f2eef68f11380c66cd77bada8577bd |
24 |
DIST containerd-1.2.1.tar.gz 4605947 BLAKE2B 340daac847eaa653d15894fd65c190702807400dfb8293b5a2507b9a13a86752c00357cf6aeb3735c57878c34f79c35076d7087a905ee7efe7971746c792a212 SHA512 0949299afe17e269a6c551e865e500afeeaba700cf78bb12fef4af8e6d48a2f699976e81dad44d797bb13079361f5d5e05e9abe903a3b158af93f2aaa95712e5 |
25 |
+DIST containerd-1.2.2.tar.gz 4607013 BLAKE2B aca366f23cb24ddd0363333e5a4ab0fc833f917c7f1f01d56fd22bdb4bc6721f077e5ba411db6faecc4152b8f047af5da95283029f6e66dadad49c7296b82c89 SHA512 0fdd8799c5afb75074b6f00d5191e983ff570b323242665055c73b2e7a6bdd74a745e287f4f7b675dde26e8bf083c144104151e794ad24d2a8f6f39ae2ee6fff |
26 |
|
27 |
diff --git a/app-emulation/containerd/containerd-1.2.2.ebuild b/app-emulation/containerd/containerd-1.2.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8ccee3fc69a |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/containerd/containerd-1.2.2.ebuild |
32 |
@@ -0,0 +1,56 @@ |
33 |
+# Copyright 1999-2019 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="9754871865f7fe2f4e74d43e2fc7ccd237edcbce" |
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/runc-1.0.0_rc5 |
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 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
86 |
+ keepdir /var/lib/containerd |
87 |
+ dobin bin/containerd{-shim,-stress,} bin/ctr |
88 |
+} |