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