Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/crun/
Date: Tue, 02 Feb 2021 13:08:42
Message-Id: 1612269376.3877d1b18f2ca0e64e05fcbe3d5fc4d3e275caa1.juippis@gentoo
1 commit: 3877d1b18f2ca0e64e05fcbe3d5fc4d3e275caa1
2 Author: Robert Günzler <r <AT> gnzler <DOT> io>
3 AuthorDate: Fri Jan 22 22:40:50 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 12:36:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3877d1b1
7
8 app-emulation/crun: drop 0.15
9
10 Signed-off-by: Robert Günzler <r <AT> gnzler.io>
11 Closes: https://github.com/gentoo/gentoo/pull/19164
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-emulation/crun/Manifest | 1 -
15 app-emulation/crun/crun-0.15.ebuild | 68 -------------------------------------
16 app-emulation/crun/metadata.xml | 1 -
17 3 files changed, 70 deletions(-)
18
19 diff --git a/app-emulation/crun/Manifest b/app-emulation/crun/Manifest
20 index 62c6f7c0d7f..f13ef652014 100644
21 --- a/app-emulation/crun/Manifest
22 +++ b/app-emulation/crun/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST crun-0.15.tar.gz 1364861 BLAKE2B 7078e71229bae4bc663398891b21344abc3189c78a11e4feeae3236e1df4a2c5160cf26f2cc243d4c0898a642a779603d473d2c22ca2b67123c6ac4654fce4d7 SHA512 f9a9e94b6a9c5cff01fe93b1c3d5876a0794e6288b802cf579556e11411ca5d6e63cae3859aaa4df4bb600e2d27aa131872a93a92784b9b48f7885411d86f325
25 DIST crun-0.16.tar.gz 1370194 BLAKE2B c2a2450518226421b43d93597b38da80ca330cb3d8d9c259f323d49561e93dc3d003a25599eb8e918888dd824037c53bd0a07624c3154fa3778cc6dad37ac04b SHA512 f5a0d19c037af55478ee5f83b63d74277c8640f715b81a8233d3f1acd4cdfdad491e5c1f5beda04d0d7aa16693e9a004b0bde71343b082aa514ae76e5907d029
26 DIST crun-0.17.tar.gz 1385658 BLAKE2B 3d4c30989b9e79d02bf9a6c298daa8d0b5b6b8bfcfaca8ae9e27ad865762a32b6af2c8806586bba2ab94271446a93c34e8f2d465cc008c41bbe69e565556a1b1 SHA512 b095a3c4fca8ae683553805de468594e8dd891cc9911b56e8be7c429584e71fb40a364cf55a6a829950078a539d35308310f53f57b8fb40d483d394e91b20b01
27
28 diff --git a/app-emulation/crun/crun-0.15.ebuild b/app-emulation/crun/crun-0.15.ebuild
29 deleted file mode 100644
30 index fc58b334caf..00000000000
31 --- a/app-emulation/crun/crun-0.15.ebuild
32 +++ /dev/null
33 @@ -1,68 +0,0 @@
34 -# Copyright 2019-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{7..9} )
40 -
41 -inherit autotools python-any-r1
42 -
43 -DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
44 -HOMEPAGE="https://github.com/containers/crun"
45 -SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2+ LGPL-2.1+"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
50 -IUSE="+bpf +caps criu man +seccomp systemd static-libs"
51 -
52 -DEPEND="
53 - sys-kernel/linux-headers
54 - >=dev-libs/yajl-2.0.0
55 - caps? ( sys-libs/libcap )
56 - criu? ( >=sys-process/criu-3.13 )
57 - seccomp? ( sys-libs/libseccomp )
58 - systemd? ( sys-apps/systemd:= )
59 -"
60 -RDEPEND="${DEPEND}"
61 -BDEPEND="
62 - ${PYTHON_DEPS}
63 - man? ( dev-go/go-md2man )
64 -"
65 -
66 -# the crun test suite is comprehensive to the extent that tests will fail
67 -# within a sandbox environment, due to the nature of the privileges
68 -# required to create linux "containers".
69 -RESTRICT="test"
70 -
71 -DOCS=( README.md )
72 -
73 -src_configure() {
74 - local myeconfargs=(
75 - $(use_enable bpf) \
76 - $(use_enable caps) \
77 - $(use_enable criu) \
78 - $(use_enable seccomp) \
79 - $(use_enable systemd) \
80 - $(usex static-libs '--enabled-shared --enabled-static' '--enable-shared --disable-static' '' '')
81 - )
82 -
83 - econf "${myeconfargs[@]}"
84 -}
85 -
86 -src_compile() {
87 - emake -C libocispec
88 - emake crun
89 - if use man ; then
90 - emake generate-man
91 - fi
92 -}
93 -
94 -src_install() {
95 - emake "DESTDIR=${D}" install-exec
96 - if use man ; then
97 - emake "DESTDIR=${D}" install-man
98 - fi
99 -
100 - einstalldocs
101 -}
102
103 diff --git a/app-emulation/crun/metadata.xml b/app-emulation/crun/metadata.xml
104 index e26e3d83bf6..11d53911388 100644
105 --- a/app-emulation/crun/metadata.xml
106 +++ b/app-emulation/crun/metadata.xml
107 @@ -26,7 +26,6 @@
108 <flag name="bpf">Enable in Kernel, eBPF (enhanced Berkley Packet Filter)
109 support for managing device controllers.
110 </flag>
111 - <flag name="man">Build and install man pages</flag>
112 <flag name="criu">Enable CRIU based checkpoint/restore support</flag>
113 </use>
114 </pkgmetadata>