1 |
commit: a17208eaff0d8fefee0ad5eb5b217af17f613d10 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 10 21:53:13 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 10 21:53:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17208ea |
7 |
|
8 |
app-emulation/runc: 1.0.0_rc95 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
12 |
|
13 |
app-emulation/runc/Manifest | 1 + |
14 |
app-emulation/runc/runc-1.0.0_rc95.ebuild | 78 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest |
18 |
index 0cfaf470c57..cf45439a450 100644 |
19 |
--- a/app-emulation/runc/Manifest |
20 |
+++ b/app-emulation/runc/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 |
23 |
DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 |
24 |
DIST runc-1.0.0_rc93.tar.gz 2132429 BLAKE2B 35d6fe9eebd26fb37d648a67b35415c51283ac3dff0f111e88be9120cf139e4811ab9a7b98e2c559dc4ce8b0e7958f15464dc4f039f7b3eb9f06f26a1776875f SHA512 087becdf3882818b7c8d05ac0192928695b35033d72e5ce584d5b8291310f4ba35b1cc78299fc8f17dc7ee425a94817b989890f4108444cc3c45927740b2d378 |
25 |
+DIST runc-1.0.0_rc95.tar.gz 2309875 BLAKE2B 8038a2d5311463f1e83665d513ac8b6336ccaa88fab64a3218b261aa03b2750d342f95bdae965c593d4fa89fc89b1e1a6371498c205160d9d09a5c4920ffa841 SHA512 c802a6e5f16cc0321642fc7adffe33819867c1779420f76b2cabd532edb5ac8c852beadcbcf6a3e895fe274f111c5623be5dcc822fef96e7e5259bf532174ba1 |
26 |
|
27 |
diff --git a/app-emulation/runc/runc-1.0.0_rc95.ebuild b/app-emulation/runc/runc-1.0.0_rc95.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..316f720fc29 |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/runc/runc-1.0.0_rc95.ebuild |
32 |
@@ -0,0 +1,78 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit go-module linux-info |
39 |
+ |
40 |
+# update on bump, look for https://github.com/docker\ |
41 |
+# docker-ce/blob/<docker ver OR branch>/components/engine/hack/dockerfile/install/runc.installer |
42 |
+RUNC_COMMIT=ff819c7e9184c13b7c2607fe6c30ae19403a7aff |
43 |
+CONFIG_CHECK="~USER_NS" |
44 |
+ |
45 |
+DESCRIPTION="runc container cli tools" |
46 |
+HOMEPAGE="http://runc.io" |
47 |
+MY_PV="${PV/_/-}" |
48 |
+SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="Apache-2.0 BSD-2 BSD MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
53 |
+IUSE="apparmor hardened +kmem +seccomp test" |
54 |
+ |
55 |
+DEPEND="seccomp? ( sys-libs/libseccomp )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ ${DEPEND} |
59 |
+ !app-emulation/docker-runc |
60 |
+ apparmor? ( sys-libs/libapparmor ) |
61 |
+" |
62 |
+ |
63 |
+BDEPEND=" |
64 |
+ dev-go/go-md2man |
65 |
+ test? ( "${RDEPEND}" ) |
66 |
+" |
67 |
+ |
68 |
+# tests need busybox binary, and portage namespace |
69 |
+# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox |
70 |
+# majority of tests pass |
71 |
+RESTRICT+=" test" |
72 |
+ |
73 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
74 |
+ |
75 |
+src_compile() { |
76 |
+ # Taken from app-emulation/docker-1.7.0-r1 |
77 |
+ export CGO_CFLAGS="-I${ESYSROOT}/usr/include" |
78 |
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') |
79 |
+ -L${ESYSROOT}/usr/$(get_libdir)" |
80 |
+ |
81 |
+ # build up optional flags |
82 |
+ local options=( |
83 |
+ $(usev apparmor) |
84 |
+ $(usev seccomp) |
85 |
+ $(usex kmem '' 'nokmem') |
86 |
+ ) |
87 |
+ |
88 |
+ myemakeargs=( |
89 |
+ BUILDTAGS="${options[*]}" |
90 |
+ COMMIT="${RUNC_COMMIT}" |
91 |
+ ) |
92 |
+ |
93 |
+ emake "${myemakeargs[@]}" runc man |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ myemakeargs+=( |
98 |
+ PREFIX="${ED}/usr" |
99 |
+ BINDIR="${ED}/usr/bin" |
100 |
+ MANDIR="${ED}/usr/share/man" |
101 |
+ ) |
102 |
+ emake "${myemakeargs[@]}" install install-man install-bash |
103 |
+ |
104 |
+ local DOCS=( README.md PRINCIPLES.md docs/. ) |
105 |
+ einstalldocs |
106 |
+} |
107 |
+ |
108 |
+src_test() { |
109 |
+ emake "${myemakeargs[@]}" localunittest |
110 |
+} |