1 |
commit: a9032c5a8e0dc28d8b1a4dee32b1e5ace818e276 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 16:54:15 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 16:55:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9032c5a |
7 |
|
8 |
app-emulation/containerd: temporary 0.2.2 snapshot release |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-emulation/containerd/Manifest | 1 + |
13 |
.../containerd/containerd-0.2.2_p20160622.ebuild | 42 ++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest |
17 |
index 634fcd2..429b927 100644 |
18 |
--- a/app-emulation/containerd/Manifest |
19 |
+++ b/app-emulation/containerd/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST containerd-0.2.0.tar.gz 635248 SHA256 1462e0c233763800b91ac2a670d82994ba1988560928e153f751fb1c0a6608c0 SHA512 381c0a21733fb79e90364649b46cbdadbc32d07245bd7a320465f6619ee5895e9552b7cc4393cb8d409295a7b867b7e461c079715cf1938e6313d4b888d81518 WHIRLPOOL d4e70a8be832227be671c13b77242a790cdf8645ff294c31d72e8cf01de2b30b9d78c691a156624adb004de42af6f133cb88b46aff37a33bc94d72bf87a0ee8a |
22 |
DIST containerd-0.2.2.tar.gz 635882 SHA256 a21efc7ea4bb97306ae9807caadca6782358679f38d3afd606cb599b6853bc52 SHA512 db6111984ccce01e928d46f0a22aaeed8d0eb50c2578df4e0cd5f56f43f8bdea43aad3203c2afb743ccf82908bd5961792681eafe07818a4057ca5f5f31c5396 WHIRLPOOL ce80bf79970faeacc3329cb4e365973a88539508904003da3d0f32afce9966e89bdf13a8894657e1fd983392cf2ab88b053393cbbc2018f509d9cbc57ab835cc |
23 |
+DIST containerd-0.2.2_p20160622.tar.gz 989827 SHA256 1bab9b392ae8905edae0e339d6cdff8a0cbad84f0c4803a21920851f27f4e125 SHA512 5463c96c297f01e8f1d7c418d7acee0c279614bcf38d949b1410decddae03b41ff50cb75ebac085bb50547f38bd8154a82c8d90d9b882a3640a7b3072f050a62 WHIRLPOOL 96bfee570a2e0757973ab4d24b2c28c394782062e8e82651f641614e7414f1501cfe10d7a17b73c5212d745794ee50ddd1b1250b2eb9ee9b3c5a59a854b1efb0 |
24 |
|
25 |
diff --git a/app-emulation/containerd/containerd-0.2.2_p20160622.ebuild b/app-emulation/containerd/containerd-0.2.2_p20160622.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..3252173 |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/containerd/containerd-0.2.2_p20160622.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+EGO_PN="github.com/docker/${PN}" |
37 |
+ |
38 |
+if [[ ${PV} == *9999 ]]; then |
39 |
+ inherit golang-vcs |
40 |
+else |
41 |
+ EGIT_COMMIT=14e7949 |
42 |
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
43 |
+ KEYWORDS="~amd64" |
44 |
+ inherit golang-vcs-snapshot |
45 |
+fi |
46 |
+ |
47 |
+DESCRIPTION="A daemon to control runC" |
48 |
+HOMEPAGE="https://containerd.tools" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+IUSE="+seccomp" |
53 |
+ |
54 |
+DEPEND="" |
55 |
+RDEPEND=">=app-emulation/runc-1.0.0_rc1 |
56 |
+ seccomp? ( sys-libs/libseccomp )" |
57 |
+ |
58 |
+S=${WORKDIR}/${P}/src/${EGO_PN} |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ eapply_user |
62 |
+} |
63 |
+ |
64 |
+src_compile() { |
65 |
+ local options=( $(usex seccomp "seccomp") ) |
66 |
+ export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor |
67 |
+ LDFLAGS= emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ dobin bin/containerd* bin/ctr |
72 |
+} |