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/, app-emulation/crun/files/
Date: Wed, 05 Aug 2020 12:19:13
Message-Id: 1596629922.789dd9cb8e9c3a64faec1282d9fbf4931e5061f8.juippis@gentoo
1 commit: 789dd9cb8e9c3a64faec1282d9fbf4931e5061f8
2 Author: Robert Günzler <r <AT> gnzler <DOT> io>
3 AuthorDate: Fri Jul 17 16:09:53 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 12:18:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789dd9cb
7
8 app-emulation/crun: Remove 0.13
9
10 Signed-off-by: Robert Günzler <r <AT> gnzler.io>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-emulation/crun/Manifest | 1 -
14 app-emulation/crun/crun-0.13.ebuild | 73 ----------------------
15 ...ec-deduplicate-json_common-in-makefile-am.patch | 31 ---------
16 3 files changed, 105 deletions(-)
17
18 diff --git a/app-emulation/crun/Manifest b/app-emulation/crun/Manifest
19 index db514cf9c50..e95ed9bd252 100644
20 --- a/app-emulation/crun/Manifest
21 +++ b/app-emulation/crun/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST crun-0.13.tar.gz 1305048 BLAKE2B fbffabf4cfc744522147b47c5e2bf2bc48e074866108ec4ec8ab94e7ebdc39451851696fabde268b5853e1c3fafb0ac93527e08fdb766acebdd7cf952a9e1a9e SHA512 314612eaf3097160e9369b3400ac8a83e173ef1a53295191c925e96212ba00d032883db1e4615b8ba42ddb08f1e31ca5e5088ea583a469835ac3c27087a88d6e
24 DIST crun-0.14.1.tar.gz 1341891 BLAKE2B c20d5001161e298050ddca859fa78487fe3f8577ef0b06eb5515056f19ba4f981debeb684148de49111a0370b9bafb7f6454d65f7ecf087862c697a162c9b377 SHA512 420f1713653cbd17df83b2a63d163aaa41baf78115b093877a2241305e10b2ceeaf08ea6700658eca894729ff8a20cbc66f868d18d27fba3fbedf1a9993b122e
25 DIST libcrun.lds 257 BLAKE2B 00e7cdf3162ea0b7231dbb9037b192bcf5ffa83316e1aa60268560bc9fe8302be351c405861f9dfc06620ea64561a9226f58b7133039c0af1299dc4088b98272 SHA512 0e9b836c79ee4ad7ff33c592eca8ff41f38aed588f2f5a2416bed82efa819cd4c61ad65a2dfd11a37838a19d950688b1d5adb3b75841963dbb589536e8a867f7
26
27 diff --git a/app-emulation/crun/crun-0.13.ebuild b/app-emulation/crun/crun-0.13.ebuild
28 deleted file mode 100644
29 index 5b014ac1198..00000000000
30 --- a/app-emulation/crun/crun-0.13.ebuild
31 +++ /dev/null
32 @@ -1,73 +0,0 @@
33 -# Copyright 2019-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{6,7} )
39 -
40 -inherit autotools python-any-r1
41 -
42 -DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
43 -HOMEPAGE="https://github.com/containers/crun"
44 -SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.gz"
45 -
46 -LICENSE="GPL-2+ LGPL-2.1+"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -IUSE="bpf +caps doc seccomp systemd static-libs"
50 -
51 -DEPEND="
52 - dev-libs/yajl
53 - caps? ( sys-libs/libcap )
54 - seccomp? ( sys-libs/libseccomp )
55 - systemd? ( sys-apps/systemd:= )
56 -"
57 -RDEPEND="${DEPEND}"
58 -BDEPEND="
59 - ${PYTHON_DEPS}
60 - doc? ( dev-go/go-md2man )
61 -"
62 -
63 -# the crun test suite is comprehensive to the extent that tests will fail
64 -# within a sandbox environment, due to the nature of the privileges
65 -# required to create linux "containers".
66 -RESTRICT="test"
67 -
68 -DOCS=( README.md )
69 -
70 -PATCHES=(
71 - # see https://709982.bugs.gentoo.org/attachment.cgi?id=614208
72 - "${FILESDIR}/libocispec-deduplicate-json_common-in-makefile-am.patch"
73 -)
74 -
75 -src_prepare() {
76 - default
77 - eautoreconf
78 -}
79 -
80 -src_configure() {
81 - econf \
82 - --disable-criu \
83 - $(use_enable bpf) \
84 - $(use_enable caps) \
85 - $(use_enable seccomp) \
86 - $(use_enable systemd) \
87 - $(usex static-libs '--enabled-shared --enabled-static' '--enable-shared --disable-static' '' '')
88 -}
89 -
90 -src_compile() {
91 - emake -C libocispec
92 - emake crun
93 - if use doc ; then
94 - emake generate-man
95 - fi
96 -}
97 -
98 -src_install() {
99 - emake "DESTDIR=${D}" install-exec
100 - if use doc ; then
101 - emake "DESTDIR=${D}" install-man
102 - fi
103 -
104 - einstalldocs
105 -}
106
107 diff --git a/app-emulation/crun/files/libocispec-deduplicate-json_common-in-makefile-am.patch b/app-emulation/crun/files/libocispec-deduplicate-json_common-in-makefile-am.patch
108 deleted file mode 100644
109 index 234ac20ad8d..00000000000
110 --- a/app-emulation/crun/files/libocispec-deduplicate-json_common-in-makefile-am.patch
111 +++ /dev/null
112 @@ -1,31 +0,0 @@
113 -From 9d58891c058efa55c7b95cb90597d4cadc5c66d8 Mon Sep 17 00:00:00 2001
114 -From: Bruce Guenter <bruce@××××××××××.org>
115 -Date: Mon, 17 Feb 2020 13:54:14 -0600
116 -Subject: [PATCH] De-duplicate json_common in Makefile.am
117 -
118 -The source file src/json_common.c is listed twice in Makefile.am,
119 -leading libtool to produce an archive with duplicated symbols. This
120 -change removes the duplicate source.
121 -
122 -This was introduced in commit 2e318803a2c49521ea448e3ae010b1564a7e95ed
123 -
124 -Signed-off-by: Bruce Guenter <bruce@××××××××××.org>
125 ----
126 - Makefile.am | 2 +-
127 - 1 file changed, 1 insertion(+), 1 deletion(-)
128 -
129 -diff --git a/Makefile.am b/Makefile.am
130 -index 65bed45..c7ede83 100644
131 ---- a/libocispec/Makefile.am
132 -+++ b/libocispec/Makefile.am
133 -@@ -7,7 +7,7 @@ GITIGNOREFILES = build-aux/ gtk-doc.make config.h.in aclocal.m4
134 - noinst_LTLIBRARIES = libocispec.la
135 - noinst_LIBRARIES = libocispec.a
136 -
137 --SOURCE_FILES = src/json_common.c \
138 -+SOURCE_FILES = \
139 - src/image_spec_schema_config_schema.c \
140 - src/image_spec_schema_content_descriptor.c \
141 - src/image_spec_schema_defs.c \
142 ---
143 -2.24.1