From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/runc/
Date: Mon, 13 Jan 2025 18:54:00 +0000 (UTC) [thread overview]
Message-ID: <1736794205.7de80ac31363f9971d27fe20d0315331c2dea07f.williamh@gentoo> (raw)
commit: 7de80ac31363f9971d27fe20d0315331c2dea07f
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 17:41:14 2025 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 18:50:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7de80ac3
app-containers/runc: add 1.2.4
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
app-containers/runc/Manifest | 1 +
app-containers/runc/runc-1.2.4.ebuild | 75 +++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/app-containers/runc/Manifest b/app-containers/runc/Manifest
index 2c7cd812dcff..edd5fa0271cd 100644
--- a/app-containers/runc/Manifest
+++ b/app-containers/runc/Manifest
@@ -5,3 +5,4 @@ DIST runc-1.2.0.tar.gz 2776027 BLAKE2B 743ea8641c0fabda5e32c1d3e044627241337bcdf
DIST runc-1.2.1.tar.gz 2742512 BLAKE2B 06beda96edb4fa0796371d28f646b01760cd9b663104045407ae27f3ddd51e0318eddba8fc3dbe107629831a5f4051af0f50406418213485b7ee90cdf9a86085 SHA512 098ba9810d6a6704b11f97360cf403d0e5cccdf635a9b5c594b70e26c2c1554c328506265754f500e2faec1f08655839837036010c6a25265047a47c31f4defd
DIST runc-1.2.2.tar.gz 2743483 BLAKE2B d1e59aff284dcacdc50a17c4efab09b4bdda5d93ce13822542ea73ec696d3642d4dcc715d2adad308622100b04ef62365d3848be6418db5a325ac574b66e314c SHA512 87066ff0fe7ff6dc0eefd61ba2b194fa96433a091a34e9035350123b7da7dccf7fcec6f52b377c72be853820b4a57154b42bcd58c872263f8b7a16bfc480e5d7
DIST runc-1.2.3.tar.gz 2757883 BLAKE2B adc3b23ddc487d674a406de8e9e17c2d41d2335e4e18ed2a8a1f5add0909ec235a01fc9483e91e74fb2869950c572d0a22882034b8b5f80c4719d20790e3b38c SHA512 e422e469dbcd60fbc3bf9ca348ba04f8b27b2a43bca8f3ee4c9407539f5dec71373d53d192b47d42eaefa1d7ca2ac9e64839cbe4b82bf930b5a496f3028e5212
+DIST runc-1.2.4.tar.gz 2759394 BLAKE2B 02b282c9fbe7f82ad1d4297b9d2576ee99db7f4db193aa6b08b595d1a18f4a0cb41c5fddb8184ca389e77726c71f4b64b686b2ee1b8e8df97179669362c17ff7 SHA512 2a14bfe7759e0cefcf88fac9d756eb2cbed8a9ebf7b6eacb96855467ea151c278ae0d58735d2a5a2d3335fc54eae4625dfcdb641065df58ba10fd1faafbd3119
diff --git a/app-containers/runc/runc-1.2.4.ebuild b/app-containers/runc/runc-1.2.4.ebuild
new file mode 100644
index 000000000000..9d93d3d7ccda
--- /dev/null
+++ b/app-containers/runc/runc-1.2.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module linux-info
+
+# update on bump, look for commit ID on release tag.
+# https://github.com/opencontainers/runc
+RUNC_COMMIT=6c52b3fc541fb26fe8c374d5f58112a0a5dbda66
+
+CONFIG_CHECK="~USER_NS"
+
+DESCRIPTION="runc container cli tools"
+HOMEPAGE="https://github.com/opencontainers/runc/"
+MY_PV="${PV/_/-}"
+SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="Apache-2.0 BSD-2 BSD MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86"
+IUSE="apparmor hardened +kmem +seccomp selinux test"
+
+COMMON_DEPEND="
+ apparmor? ( sys-libs/libapparmor )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ !app-emulation/docker-runc
+ selinux? ( sec-policy/selinux-container )"
+BDEPEND="
+ dev-go/go-md2man
+ test? ( "${RDEPEND}" )"
+
+# tests need busybox binary, and portage namespace
+# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox
+# majority of tests pass
+RESTRICT+=" test"
+
+src_compile() {
+ # Taken from app-containers/docker-1.7.0-r1
+ CGO_CFLAGS+=" -I${ESYSROOT}/usr/include"
+ CGO_LDFLAGS+=" $(usex hardened '-fno-PIC ' '')
+ -L${ESYSROOT}/usr/$(get_libdir)"
+
+ # build up optional flags
+ local options=(
+ $(usev apparmor)
+ $(usev seccomp)
+ $(usex kmem '' 'nokmem')
+ )
+
+ myemakeargs=(
+ BUILDTAGS="${options[*]}"
+ COMMIT="${RUNC_COMMIT}"
+ )
+
+ emake "${myemakeargs[@]}" runc man
+}
+
+src_install() {
+ myemakeargs+=(
+ PREFIX="${ED}/usr"
+ BINDIR="${ED}/usr/bin"
+ MANDIR="${ED}/usr/share/man"
+ )
+ emake "${myemakeargs[@]}" install install-man install-bash
+
+ local DOCS=( README.md PRINCIPLES.md docs/. )
+ einstalldocs
+}
+
+src_test() {
+ emake "${myemakeargs[@]}" localunittest
+}
next reply other threads:[~2025-01-13 18:54 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 18:54 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-11 14:35 [gentoo-commits] repo/gentoo:master commit in: app-containers/runc/ William Hubbs
2025-04-05 17:21 Sam James
2025-04-05 17:21 Sam James
2025-04-05 17:21 Sam James
2025-02-26 19:45 William Hubbs
2025-01-14 23:37 William Hubbs
2025-01-14 7:25 Arthur Zamarin
2025-01-14 2:32 Sam James
2025-01-14 2:20 Sam James
2025-01-14 1:44 William Hubbs
2025-01-10 14:28 Arthur Zamarin
2025-01-10 14:28 Arthur Zamarin
2025-01-10 14:28 Arthur Zamarin
2024-12-20 4:17 William Hubbs
2024-12-10 15:15 William Hubbs
2024-12-09 23:36 William Hubbs
2024-10-29 16:06 William Hubbs
2024-09-24 22:07 James Le Cuirot
2024-07-16 20:29 James Le Cuirot
2024-07-16 20:29 James Le Cuirot
2024-06-18 22:40 William Hubbs
2024-06-13 17:57 Sam James
2024-06-13 2:15 Sam James
2024-06-13 1:56 Sam James
2024-02-01 16:24 William Hubbs
2023-10-31 19:53 Sam James
2023-10-31 19:21 Sam James
2023-10-31 19:21 Sam James
2023-09-25 19:20 William Hubbs
2023-07-25 15:20 William Hubbs
2023-07-24 21:26 William Hubbs
2023-07-24 20:54 Sam James
2023-07-21 23:52 Sam James
2023-07-21 21:52 Sam James
2023-07-20 19:33 William Hubbs
2023-04-23 21:34 William Hubbs
2023-01-05 5:39 William Hubbs
2023-01-05 5:05 Sam James
2023-01-03 19:34 William Hubbs
2023-01-03 19:16 Arthur Zamarin
2023-01-02 22:22 William Hubbs
2022-08-20 22:09 William Hubbs
2022-08-19 19:33 Arthur Zamarin
2022-08-15 7:42 Agostino Sarubbo
2022-08-15 7:40 Agostino Sarubbo
2022-08-14 22:46 William Hubbs
2022-05-14 2:30 William Hubbs
2022-04-14 22:52 William Hubbs
2022-04-09 21:32 Jason Zaman
2022-04-04 21:33 William Hubbs
2022-04-04 15:28 William Hubbs
2022-02-14 9:48 Jakov Smolić
2022-01-07 18:06 Georgy Yakovlev
2022-01-07 17:55 Georgy Yakovlev
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=1736794205.7de80ac31363f9971d27fe20d0315331c2dea07f.williamh@gentoo \
--to=williamh@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