Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
Date: Wed, 06 Oct 2021 16:49:56
Message-Id: 1633538985.949df73785abb771c4fcd39daafcf5e97aa76fac.williamh@gentoo
1 commit: 949df73785abb771c4fcd39daafcf5e97aa76fac
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 6 16:49:19 2021 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 6 16:49:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949df737
7
8 app-emulation/runc: remove old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
12
13 app-emulation/runc/Manifest | 2 -
14 app-emulation/runc/runc-1.0.0.ebuild | 78 ------------------------------------
15 app-emulation/runc/runc-1.0.1.ebuild | 78 ------------------------------------
16 3 files changed, 158 deletions(-)
17
18 diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest
19 index 398b1f10e34..3bbb8a65700 100644
20 --- a/app-emulation/runc/Manifest
21 +++ b/app-emulation/runc/Manifest
22 @@ -1,3 +1 @@
23 -DIST runc-1.0.0.tar.gz 2366170 BLAKE2B 1b6455cd45bc51b92c12b3293037446da62957d441124e9b76fd44ce92329e0eb2fde2ef71c6519fc4d58bcbd4ef580f64d71753a6fc06f3f6e347de170bd9c3 SHA512 8ddad1e031237c07b6cab5cfe5bdb7b11bf98d5d1064ec06845f36da073fe65a0facc6a28ba5daff71cdcb50cfd5d1cd25e97385b4eddb35b287113c2771365c
24 -DIST runc-1.0.1.tar.gz 2371417 BLAKE2B 2c037c9105bf08131de2dc54d74c982a2fbbcab79ed8b7b0fdcd1b577a38c2aa42dc6c1ce01c934dfc66a2927ce650a87e7ca2001586ca4d3c542e63a582f26a SHA512 c5db1016f438cd4883d1f9b36414e9c8b1fe9dfcb53dfebd1130cea3cb9bf78615a765715f4dd587cf8cc603b69951a5871adc33870cfeef2e63521d1ceccf39
25 DIST runc-1.0.2.tar.gz 2374156 BLAKE2B 526520adb7127e46e7258de75e66a15a5aac216a2a2fcb91f4d9c5da393892242c4d93c5f5483ab111bf29eed7d8f0c8c138ae83a22809d72802a981dcda0395 SHA512 434abd6d7ad2508c2272b627d8aeeb28ecd8461899bff463e7d2c7abbc0f0cbb2e0bafbfe81fc534fad506b1acb4bda3e05639ecd908bc9d0d2e9356f1e56e26
26
27 diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild
28 deleted file mode 100644
29 index bda21966de7..00000000000
30 --- a/app-emulation/runc/runc-1.0.0.ebuild
31 +++ /dev/null
32 @@ -1,78 +0,0 @@
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=84113eef6fc27af1b01b3181f31bbaf708715301
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 ~riscv ~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 -}
111
112 diff --git a/app-emulation/runc/runc-1.0.1.ebuild b/app-emulation/runc/runc-1.0.1.ebuild
113 deleted file mode 100644
114 index 72c9a25fb77..00000000000
115 --- a/app-emulation/runc/runc-1.0.1.ebuild
116 +++ /dev/null
117 @@ -1,78 +0,0 @@
118 -# Copyright 1999-2021 Gentoo Authors
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=7
122 -
123 -inherit go-module linux-info
124 -
125 -# update on bump, look for https://github.com/docker\
126 -# docker-ce/blob/<docker ver OR branch>/components/engine/hack/dockerfile/install/runc.installer
127 -RUNC_COMMIT=4144b63817ebcc5b358fc2c8ef95f7cddd709aa7
128 -CONFIG_CHECK="~USER_NS"
129 -
130 -DESCRIPTION="runc container cli tools"
131 -HOMEPAGE="http://runc.io"
132 -MY_PV="${PV/_/-}"
133 -SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
134 -
135 -LICENSE="Apache-2.0 BSD-2 BSD MIT"
136 -SLOT="0"
137 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
138 -IUSE="apparmor hardened +kmem +seccomp test"
139 -
140 -DEPEND="seccomp? ( sys-libs/libseccomp )"
141 -
142 -RDEPEND="
143 - ${DEPEND}
144 - !app-emulation/docker-runc
145 - apparmor? ( sys-libs/libapparmor )
146 -"
147 -
148 -BDEPEND="
149 - dev-go/go-md2man
150 - test? ( "${RDEPEND}" )
151 -"
152 -
153 -# tests need busybox binary, and portage namespace
154 -# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox
155 -# majority of tests pass
156 -RESTRICT+=" test"
157 -
158 -S="${WORKDIR}/${PN}-${MY_PV}"
159 -
160 -src_compile() {
161 - # Taken from app-emulation/docker-1.7.0-r1
162 - export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
163 - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
164 - -L${ESYSROOT}/usr/$(get_libdir)"
165 -
166 - # build up optional flags
167 - local options=(
168 - $(usev apparmor)
169 - $(usev seccomp)
170 - $(usex kmem '' 'nokmem')
171 - )
172 -
173 - myemakeargs=(
174 - BUILDTAGS="${options[*]}"
175 - COMMIT="${RUNC_COMMIT}"
176 - )
177 -
178 - emake "${myemakeargs[@]}" runc man
179 -}
180 -
181 -src_install() {
182 - myemakeargs+=(
183 - PREFIX="${ED}/usr"
184 - BINDIR="${ED}/usr/bin"
185 - MANDIR="${ED}/usr/share/man"
186 - )
187 - emake "${myemakeargs[@]}" install install-man install-bash
188 -
189 - local DOCS=( README.md PRINCIPLES.md docs/. )
190 - einstalldocs
191 -}
192 -
193 -src_test() {
194 - emake "${myemakeargs[@]}" localunittest
195 -}