From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/crun/
Date: Thu, 4 Nov 2021 18:39:31 +0000 (UTC) [thread overview]
Message-ID: <1636051144.6216e942037bfab1e0fd3f1dc9c136410a8bbb00.gyakovlev@gentoo> (raw)
commit: 6216e942037bfab1e0fd3f1dc9c136410a8bbb00
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 4 18:11:17 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov 4 18:39:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6216e942
app-emulation/crun: add 1.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
app-emulation/crun/Manifest | 1 +
app-emulation/crun/crun-1.2.ebuild | 57 ++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/app-emulation/crun/Manifest b/app-emulation/crun/Manifest
index 7ddc8f69e7a..91b667a3ed9 100644
--- a/app-emulation/crun/Manifest
+++ b/app-emulation/crun/Manifest
@@ -1 +1,2 @@
DIST crun-0.19.1.tar.gz 1870594 BLAKE2B 1780a2936ff39ec80836c4c9ae072e2fc30703a31a79786337290c62dd433b5a35dcfa953be370703d1baab3de93fdb376c99ab76dff1470883c61726c313144 SHA512 f93f79d1d63d6749bcf92d48542d9555f3ad47657c959c7c06701861d7a5a4171969f00f6dff3878286970a48aba3314c25e35c005463e606533b0ff7843d994
+DIST crun-1.2.tar.gz 1879836 BLAKE2B 45370e3206a13c963d694f338dc0a00de24253025d31ec893353905235b239b8e7f626ddd4ee0cc32da2b3f5676b42f59f3214a1eb9c3af4612483cd6fd14693 SHA512 5cadaf0eb0e9bcf53726e7f6ffb664c8327f0f4e7cdbf75ae8a0cd4759f7c8a8a2611df65ca1436a50d7af5d37505aac861d7db4d46a93c3832362228cb37cbc
diff --git a/app-emulation/crun/crun-1.2.ebuild b/app-emulation/crun/crun-1.2.ebuild
new file mode 100644
index 00000000000..0fef6a729b1
--- /dev/null
+++ b/app-emulation/crun/crun-1.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit autotools python-any-r1
+
+DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
+HOMEPAGE="https://github.com/containers/crun"
+SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
+IUSE="+bpf +caps criu +seccomp systemd static-libs"
+
+DEPEND="
+ sys-kernel/linux-headers
+ >=dev-libs/yajl-2.0.0
+ caps? ( sys-libs/libcap )
+ criu? ( >=sys-process/criu-3.15 )
+ seccomp? ( sys-libs/libseccomp )
+ systemd? ( sys-apps/systemd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+# the crun test suite is comprehensive to the extent that tests will fail
+# within a sandbox environment, due to the nature of the privileges
+# required to create linux "containers".
+RESTRICT="test"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable bpf)
+ $(use_enable caps)
+ $(use_enable criu)
+ $(use_enable seccomp)
+ $(use_enable systemd)
+ $(usex static-libs '--enable-shared --enable-static' '--enable-shared --disable-static' '' '')
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake -C libocispec
+ emake crun
+}
+
+src_install() {
+ emake "DESTDIR=${D}" install-exec
+ doman crun.1
+ einstalldocs
+}
next reply other threads:[~2021-11-04 18:39 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 18:39 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-01 18:02 [gentoo-commits] repo/gentoo:master commit in: app-emulation/crun/ Joonas Niilola
2021-12-01 18:02 Joonas Niilola
2021-12-01 18:02 Joonas Niilola
2021-08-04 9:36 Georgy Yakovlev
2021-07-20 0:47 Georgy Yakovlev
2021-07-19 6:25 Agostino Sarubbo
2021-05-05 6:42 Joonas Niilola
2021-05-05 6:42 Joonas Niilola
2021-04-10 7:45 Joonas Niilola
2021-04-10 7:45 Joonas Niilola
2021-02-02 13:08 Joonas Niilola
2021-02-02 13:08 Joonas Niilola
2021-02-02 13:08 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2020-10-07 9:29 Georgy Yakovlev
2020-10-06 1:17 Georgy Yakovlev
2020-09-23 1:14 Georgy Yakovlev
2020-08-29 22:45 Sam James
2020-08-05 12:19 Joonas Niilola
2020-08-05 12:19 Joonas Niilola
2020-08-05 12:19 Joonas Niilola
2020-06-02 11:13 Joonas Niilola
2020-06-02 11:13 Joonas Niilola
2019-11-24 0:55 Aaron Bauman
2019-11-19 12:47 Manuel Rüger
2019-11-02 9:37 Michał Górny
2019-10-30 13:35 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1636051144.6216e942037bfab1e0fd3f1dc9c136410a8bbb00.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox