public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/
Date: Wed,  1 Mar 2023 13:46:17 +0000 (UTC)	[thread overview]
Message-ID: <1677678370.7b594d5e7f81994e0ac8cbd3928ee2f528e323fe.juippis@gentoo> (raw)

commit:     7b594d5e7f81994e0ac8cbd3928ee2f528e323fe
Author:     Robert Günzler <r <AT> gnzler <DOT> io>
AuthorDate: Tue Feb 28 12:27:19 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 13:46:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b594d5e

app-containers/crun: bump to 1.8.1

includes python bump to 3.11

Closes: https://bugs.gentoo.org/895450
Closes: https://bugs.gentoo.org/896508
Signed-off-by: Robert Günzler <r <AT> gnzler.io>
Closes: https://github.com/gentoo/gentoo/pull/29854
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-containers/crun/Manifest          |  1 +
 app-containers/crun/crun-1.8.1.ebuild | 69 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-containers/crun/Manifest b/app-containers/crun/Manifest
index 4777e551e272..f4de3c59d4f4 100644
--- a/app-containers/crun/Manifest
+++ b/app-containers/crun/Manifest
@@ -1,2 +1,3 @@
 DIST crun-1.4.4.tar.xz 877892 BLAKE2B 57e48c0a229db3f54212177cef3fdb3f59b4bb1d1cc865da956f026a35837d839489bd126f880d7a9ceb18f5cffbf0e32ac9ae59a4cd39c34e3aff5b32c0559a SHA512 1756dccf6509457a5dc114d43c4f4e99258a20c3437dfe06016d080989c5d3035f5735d62d18ab537b660ec36de04df369a2582745baf4ab680af367a19830fd
 DIST crun-1.4.5.tar.xz 879044 BLAKE2B c80cae28c23140086682493a7dddb40640491e3ea827f0a7376d9be12570111d056022f50b8d7c574ca07790753d20de2314db5b89463994c4fffbc7576c372d SHA512 9f288279615fdf587018c465047fc8793daae280ab864bf9046994983239129d50f2eb89cac9b092e5cdc49a10f3523ab403a3f0e7451f7536b79f651a355153
+DIST crun-1.8.1.tar.xz 692152 BLAKE2B b5dce1a454641221c591f50ac8519d4e9e9d892ea56232fa3fc9916934c19eba5853019238b1837cd5fb61f0dec5e0e6a11c02f628bece3b69c9c4f5750addae SHA512 6230b378f4746aff1d53f3ed797229b2056ece76e8e5b22d6f5f7b42e6042c6aff5294298f3cfd1293b4a87371dfa58cc69e57455e20948abd7269059ad39042

diff --git a/app-containers/crun/crun-1.8.1.ebuild b/app-containers/crun/crun-1.8.1.ebuild
new file mode 100644
index 000000000000..cca11e64b885
--- /dev/null
+++ b/app-containers/crun/crun-1.8.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+# Can drop autotools/eautoreconf after next release & glibc patch gone
+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.xz"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
+IUSE="+bpf +caps criu +seccomp selinux 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}
+	selinux? ( sec-policy/selinux-container )"
+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_prepare() {
+	default
+
+	eautoreconf
+}
+
+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 git-version.h
+	emake -C libocispec
+	emake crun
+}
+
+src_install() {
+	emake "DESTDIR=${D}" install-exec
+	doman crun.1
+	einstalldocs
+}


             reply	other threads:[~2023-03-01 13:46 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01 13:46 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12 20:46 [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/ 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
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-25  4:04 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=1677678370.7b594d5e7f81994e0ac8cbd3928ee2f528e323fe.juippis@gentoo \
    --to=juippis@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