From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/
Date: Fri, 25 Mar 2022 04:04:01 +0000 (UTC) [thread overview]
Message-ID: <1648181031.1de0ae5303425702cc8b7cbdaa6a26e52b95911b.sam@gentoo> (raw)
commit: 1de0ae5303425702cc8b7cbdaa6a26e52b95911b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 04:03:22 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 04:03:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de0ae53
app-containers/crun: add 1.4.4
Bug: https://bugs.gentoo.org/835976
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-containers/crun/Manifest | 1 +
app-containers/crun/crun-1.4.4.ebuild | 62 +++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/app-containers/crun/Manifest b/app-containers/crun/Manifest
index 80ca148cff08..eba2b6fea90f 100644
--- a/app-containers/crun/Manifest
+++ b/app-containers/crun/Manifest
@@ -1,2 +1,3 @@
DIST crun-1.3.tar.gz 1889283 BLAKE2B d7e7f676ca5db8322b9da2110c9a9e8eb11b13b5e9f1432ccc6ef12bf6ae7db3a28e3227fac86091589a215394ec577e91ccbffec532dabf44be746cb8a5d404 SHA512 9600bdacf5fd2defa542230b6e134920eb80e9d4c49598167b9d58887719765c174f1ac8559c0092dc1b5435274124e0b29c3d0830df86d1cfd690d67c746016
DIST crun-1.4.2.tar.gz 1956517 BLAKE2B c5db3396902c33568c3f9a490c57f8781703018f228f07bb17b1ccaa5c2ab903eda76e50d46fa3be10e440e6a0c3f791744f05d7677c71e2510673077d0acbef SHA512 cc7b57ed945cb36a36cf2ceab57349f836a07164ef31e0cec8bbddc4451a5757e2a0b92bc553b8994a236d7869cfdf229a5dd5e5a0d7f139f8c2a8df5c151d3a
+DIST crun-1.4.4.tar.gz 1962130 BLAKE2B 59681ba7af5735b46d27b568b2f9c36b72dd20d33d1eda4c77284eaeb3a771746e5be26fac28284039f857a4853c3c8decbc9a83bb62004e4ae2da79f1470d31 SHA512 fe64f56bf0f1ed9fed4df4926dd57b0966863208726ad00d8b96dfb9440833f6f88c4223875a6b01fe350456bc2c1021d14efa32795762037e394737daa4bde7
diff --git a/app-containers/crun/crun-1.4.4.ebuild b/app-containers/crun/crun-1.4.4.ebuild
new file mode 100644
index 000000000000..23faad06c21f
--- /dev/null
+++ b/app-containers/crun/crun-1.4.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit 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="
+ dev-libs/yajl:=
+ sys-kernel/linux-headers
+ caps? ( sys-libs/libcap )
+ criu? ( >=sys-process/criu-3.15 )
+ seccomp? ( sys-libs/libseccomp )
+ systemd? ( sys-apps/systemd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+"
+
+# 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' '' '')
+ )
+
+ # Need https://github.com/containers/libocispec/pull/107 to be merged & land in
+ # a crun release that syncs up w/ latest version, then can drop CONFIG_SHELL
+ CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake -C libocispec
+ emake crun
+}
+
+src_install() {
+ emake "DESTDIR=${D}" install-exec
+ doman crun.1
+ einstalldocs
+}
next reply other threads:[~2022-03-25 4:04 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-25 4:04 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-26 16:15 [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/ Arthur Zamarin
2025-09-23 14:39 Arthur Zamarin
2025-09-22 16:12 Arthur Zamarin
2025-07-04 19:15 Sam James
2025-06-22 15:37 Sam James
2025-06-21 9:50 Sam James
2025-06-21 9:50 Sam James
2025-04-24 22:03 Eli Schwartz
2025-03-12 20:46 Sam James
2025-03-12 20:46 Sam James
2025-03-12 20:46 Sam James
2025-03-12 20:15 Arthur Zamarin
2025-01-10 13:18 Arthur Zamarin
2025-01-10 13:18 Arthur Zamarin
2025-01-10 11:44 Arthur Zamarin
2025-01-10 9:27 Arthur Zamarin
2025-01-10 9:27 Arthur Zamarin
2024-12-29 2:40 Sam James
2024-12-29 2:40 Sam James
2024-10-11 23:03 Zac Medico
2024-08-22 8:55 WANG Xuerui
2024-08-20 6:37 Joonas Niilola
2024-08-20 6:37 Joonas Niilola
2024-05-28 13:19 Sam James
2024-05-28 13:19 Sam James
2024-05-10 5:50 Joonas Niilola
2024-02-28 13:10 Florian Schmaus
2024-02-28 13:10 Florian Schmaus
2024-02-28 9:12 Florian Schmaus
2024-02-28 9:12 Florian Schmaus
2023-11-18 16:46 Sam James
2023-11-18 16:46 Sam James
2023-10-31 19:53 Sam James
2023-10-31 19:21 Sam James
2023-10-31 19:21 Sam James
2023-05-18 7:39 Joonas Niilola
2023-05-18 7:39 Joonas Niilola
2023-05-18 7:39 Joonas Niilola
2023-04-29 20:31 Sam James
2023-04-29 20:20 Sam James
2023-04-29 18:21 Arthur Zamarin
2023-03-01 13:46 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2022-11-03 6:40 Sam James
2022-11-03 6:40 Sam James
2022-11-03 6:40 Sam James
2022-05-13 20:12 Sam James
2022-05-13 20:12 Sam James
2022-05-13 20:12 Sam James
2022-04-12 21:04 Sam James
2022-04-09 21:32 Jason Zaman
2022-04-01 1:31 Sam James
2022-03-26 17:07 Arthur Zamarin
2022-03-25 10:44 Yixun Lan
2022-03-25 7:23 Joonas Niilola
2022-03-25 4:23 Sam James
2022-03-09 23:12 Sam James
2022-02-26 11:53 Arthur Zamarin
2022-02-22 16:04 Agostino Sarubbo
2022-02-18 4:50 Sam James
2022-02-18 3:07 Sam James
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=1648181031.1de0ae5303425702cc8b7cbdaa6a26e52b95911b.sam@gentoo \
--to=sam@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