Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/
Date: Fri, 13 May 2022 20:12:59
Message-Id: 1652472759.85d1acdb1f65d2b341fab003027954845bc67c9c.sam@gentoo
1 commit: 85d1acdb1f65d2b341fab003027954845bc67c9c
2 Author: Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
3 AuthorDate: Fri May 13 14:48:47 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 20:12:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d1acdb
7
8 app-containers/crun: drop 1.3, 1.4.2
9
10 Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
11 Closes: https://github.com/gentoo/gentoo/pull/25470
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-containers/crun/Manifest | 2 --
15 app-containers/crun/crun-1.3.ebuild | 60 ---------------------------------
16 app-containers/crun/crun-1.4.2.ebuild | 62 -----------------------------------
17 3 files changed, 124 deletions(-)
18
19 diff --git a/app-containers/crun/Manifest b/app-containers/crun/Manifest
20 index 96b8d0c45ec8..4777e551e272 100644
21 --- a/app-containers/crun/Manifest
22 +++ b/app-containers/crun/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST crun-1.3.tar.xz 831108 BLAKE2B 37e8d0ba764ae77c870c68ea9cd93f1ea1c751eb2b6aa84481f81b22ec2eb5d9e518d4808bd1bca545c57d18c5c491372694009d6498652cce45fda8864e5835 SHA512 3b58ee65a41bc85ec31147053f00e9c2a2e5ee9a72381a65c19480cc24d80cad7c9f6e1a47b3e020facf0603c54e4d2640db187c5e66a7deb8b1ead7bc111ee6
25 -DIST crun-1.4.2.tar.xz 873636 BLAKE2B f8b3546b7c4aeb7077af8cf9e7ec0059259143da80a6a0d020dc9d702e03008b2b1c2a6a5cdd555b625abc1f2ed5a55786525919eda15dc241d1b8f2334e8689 SHA512 f97eedf84a61cc3753f528b75b24f95131e871f734c8e770b9bdc4e1d33668162e6bdc0c4676c0164900bc987490d3dbd0060c27046091f012ad178ef42fbdbf
26 DIST crun-1.4.4.tar.xz 877892 BLAKE2B 57e48c0a229db3f54212177cef3fdb3f59b4bb1d1cc865da956f026a35837d839489bd126f880d7a9ceb18f5cffbf0e32ac9ae59a4cd39c34e3aff5b32c0559a SHA512 1756dccf6509457a5dc114d43c4f4e99258a20c3437dfe06016d080989c5d3035f5735d62d18ab537b660ec36de04df369a2582745baf4ab680af367a19830fd
27 DIST crun-1.4.5.tar.xz 879044 BLAKE2B c80cae28c23140086682493a7dddb40640491e3ea827f0a7376d9be12570111d056022f50b8d7c574ca07790753d20de2314db5b89463994c4fffbc7576c372d SHA512 9f288279615fdf587018c465047fc8793daae280ab864bf9046994983239129d50f2eb89cac9b092e5cdc49a10f3523ab403a3f0e7451f7536b79f651a355153
28
29 diff --git a/app-containers/crun/crun-1.3.ebuild b/app-containers/crun/crun-1.3.ebuild
30 deleted file mode 100644
31 index 0ad076a2251c..000000000000
32 --- a/app-containers/crun/crun-1.3.ebuild
33 +++ /dev/null
34 @@ -1,60 +0,0 @@
35 -# Copyright 2019-2022 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=8
39 -
40 -PYTHON_COMPAT=( python3_{8..10} )
41 -
42 -inherit python-any-r1
43 -
44 -DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
45 -HOMEPAGE="https://github.com/containers/crun"
46 -SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.xz"
47 -
48 -LICENSE="GPL-2+ LGPL-2.1+"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm arm64 ppc64"
51 -IUSE="+bpf +caps criu +seccomp systemd static-libs"
52 -
53 -DEPEND="
54 - dev-libs/yajl:=
55 - sys-kernel/linux-headers
56 - caps? ( sys-libs/libcap )
57 - criu? ( >=sys-process/criu-3.15 )
58 - seccomp? ( sys-libs/libseccomp )
59 - systemd? ( sys-apps/systemd:= )
60 -"
61 -RDEPEND="${DEPEND}"
62 -BDEPEND="
63 - ${PYTHON_DEPS}
64 - virtual/pkgconfig
65 -"
66 -
67 -# the crun test suite is comprehensive to the extent that tests will fail
68 -# within a sandbox environment, due to the nature of the privileges
69 -# required to create linux "containers".
70 -RESTRICT="test"
71 -
72 -src_configure() {
73 - local myeconfargs=(
74 - $(use_enable bpf)
75 - $(use_enable caps)
76 - $(use_enable criu)
77 - $(use_enable seccomp)
78 - $(use_enable systemd)
79 - $(usex static-libs '--enable-shared --enable-static' '--enable-shared --disable-static' '' '')
80 - )
81 -
82 - econf "${myeconfargs[@]}"
83 -}
84 -
85 -src_compile() {
86 - emake -C libocispec
87 - emake crun
88 -}
89 -
90 -src_install() {
91 - emake "DESTDIR=${D}" install-exec
92 - doman crun.1
93 - einstalldocs
94 -}
95
96 diff --git a/app-containers/crun/crun-1.4.2.ebuild b/app-containers/crun/crun-1.4.2.ebuild
97 deleted file mode 100644
98 index 3320edf85e4d..000000000000
99 --- a/app-containers/crun/crun-1.4.2.ebuild
100 +++ /dev/null
101 @@ -1,62 +0,0 @@
102 -# Copyright 2019-2022 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=8
106 -
107 -PYTHON_COMPAT=( python3_{8..10} )
108 -
109 -inherit python-any-r1
110 -
111 -DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
112 -HOMEPAGE="https://github.com/containers/crun"
113 -SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.xz"
114 -
115 -LICENSE="GPL-2+ LGPL-2.1+"
116 -SLOT="0"
117 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
118 -IUSE="+bpf +caps criu +seccomp systemd static-libs"
119 -
120 -DEPEND="
121 - dev-libs/yajl:=
122 - sys-kernel/linux-headers
123 - caps? ( sys-libs/libcap )
124 - criu? ( >=sys-process/criu-3.15 )
125 - seccomp? ( sys-libs/libseccomp )
126 - systemd? ( sys-apps/systemd:= )
127 -"
128 -RDEPEND="${DEPEND}"
129 -BDEPEND="
130 - ${PYTHON_DEPS}
131 - virtual/pkgconfig
132 -"
133 -
134 -# the crun test suite is comprehensive to the extent that tests will fail
135 -# within a sandbox environment, due to the nature of the privileges
136 -# required to create linux "containers".
137 -RESTRICT="test"
138 -
139 -src_configure() {
140 - local myeconfargs=(
141 - $(use_enable bpf)
142 - $(use_enable caps)
143 - $(use_enable criu)
144 - $(use_enable seccomp)
145 - $(use_enable systemd)
146 - $(usex static-libs '--enable-shared --enable-static' '--enable-shared --disable-static' '' '')
147 - )
148 -
149 - # Bashism workaround for https://github.com/containers/crun/pull/880
150 - # Drop once fixed in a release.
151 - CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
152 -}
153 -
154 -src_compile() {
155 - emake -C libocispec
156 - emake crun
157 -}
158 -
159 -src_install() {
160 - emake "DESTDIR=${D}" install-exec
161 - doman crun.1
162 - einstalldocs
163 -}