1 |
commit: ba14740cac8fa6e8a6bff87300253a25080a9efb |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 3 06:20:37 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 3 06:21:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba14740c |
7 |
|
8 |
app-emulation/containerd: Version bump to 1.0.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
app-emulation/containerd/Manifest | 1 + |
13 |
app-emulation/containerd/containerd-1.0.3.ebuild | 52 ++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
17 |
index 98e959577a6..52a2c82b8d2 100644 |
18 |
--- a/app-emulation/containerd/Manifest |
19 |
+++ b/app-emulation/containerd/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST containerd-0.2.9_p20170917.tar.gz 1140788 BLAKE2B 96effa85f9cb03c3e416d5343 |
21 |
DIST containerd-1.0.0.tar.gz 3763785 BLAKE2B cd4af679c9028b616aeedd594518f796a350523899c13da5a848a5843b318394166ddfbf5e7ed1f473a3759b26d134659f928d8e15da17ebdf65a41d2fd5f914 SHA512 8c1a03de7f30976675e4482b4f18f4b87da56108de4d92f2e33b4cb4f8c188af5b3fad87971a294eac8442a0fb6ddae48cda81334c363203a8c8bdfc09176a7a |
22 |
DIST containerd-1.0.1.tar.gz 3766659 BLAKE2B 36c96a9e3cba22578daff31e46d9a876095e9de7e20e1e84a41076d9936f30a5681e41187a90f9a01884fd02086fa3c9a6ee29c8261401988a1cfa2026952431 SHA512 351c0e298ba6a9a14df2f367df23049a8a833eb18238e3d41cf0066feb2e0b8f2aa7b25fb4484a1b5c95bccf5cba3a8076a5bcfe25602b5368e7cf2a20872160 |
23 |
DIST containerd-1.0.2.tar.gz 3772144 BLAKE2B 7549f47d1f0ff0244d7dedd41aabb76d2c2fc4942f8da3cf45fe0ca7b808b3aed4e39e0338d30ccc63cf37db3e59412442d43d272d3b073823e210a24d4d991a SHA512 d6b8eeaa942e1dccb21feb0723bb1ee29c878992c0f7128038c967580b4c6a1b4110371aa60962a331627d869d027a20ca47e6c625aedf68cac5d532d7f7094a |
24 |
+DIST containerd-1.0.3.tar.gz 3776722 BLAKE2B 31e9f2e56b23d09341e4cdd546198233517893e1596c9aefd084044f04b1e1831219343142eef09159a5698720fa307e3ec1dbb86304e071a9d8e1f8f8436519 SHA512 31aa462f357a77434033ae4bff2e453ce849cbd91e4981383be3c7cdea77ea1f57081c4f8121d15c151145defc2003348fe23b26a11568b38780fa2fb9cf114c |
25 |
|
26 |
diff --git a/app-emulation/containerd/containerd-1.0.3.ebuild b/app-emulation/containerd/containerd-1.0.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e516515b339 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/containerd/containerd-1.0.3.ebuild |
31 |
@@ -0,0 +1,52 @@ |
32 |
+# Copyright 1999-2018 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/_rc/-rc.}" |
44 |
+ EGIT_COMMIT="v${MY_PV}" |
45 |
+ CONTAINERD_COMMIT="773c489" |
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="+btrfs hardened" |
57 |
+ |
58 |
+DEPEND="btrfs? ( sys-fs/btrfs-progs )" |
59 |
+RDEPEND="|| ( >=app-emulation/docker-runc-1.0.0_rc4 |
60 |
+ >=app-emulation/runc-1.0.0_rc4 ) |
61 |
+ 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 btrfs "" "no_btrfs") ) |
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 |
+} |