From 494ca58c9f5243dd4b56557aa8c41bce76e95ec3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Dec 2024 02:01:11 +0000 Subject: gentoo auto-resync : 11:12:2024 - 02:01:11 --- app-containers/Manifest.gz | Bin 9230 -> 9232 bytes app-containers/containerd/Manifest | 2 + app-containers/containerd/containerd-2.0.0.ebuild | 90 ++++++++++++++++++++++ app-containers/cri-tools/Manifest | 2 + app-containers/cri-tools/cri-tools-1.32.0.ebuild | 33 ++++++++ app-containers/nerdctl/Manifest | 3 + app-containers/nerdctl/nerdctl-2.0.2.ebuild | 53 +++++++++++++ app-containers/runc/Manifest | 2 + app-containers/runc/runc-1.2.1.ebuild | 75 ++++++++++++++++++ 9 files changed, 260 insertions(+) create mode 100644 app-containers/containerd/containerd-2.0.0.ebuild create mode 100644 app-containers/cri-tools/cri-tools-1.32.0.ebuild create mode 100644 app-containers/nerdctl/nerdctl-2.0.2.ebuild create mode 100644 app-containers/runc/runc-1.2.1.ebuild (limited to 'app-containers') diff --git a/app-containers/Manifest.gz b/app-containers/Manifest.gz index c13893b7a78b..910580b6c1a4 100644 Binary files a/app-containers/Manifest.gz and b/app-containers/Manifest.gz differ diff --git a/app-containers/containerd/Manifest b/app-containers/containerd/Manifest index 5bc37e007479..780646a3d8d4 100644 --- a/app-containers/containerd/Manifest +++ b/app-containers/containerd/Manifest @@ -6,10 +6,12 @@ DIST containerd-1.7.21.tar.gz 10188737 BLAKE2B 0a3eef5bd97b4249963d6e6b80652e2ab DIST containerd-1.7.22.tar.gz 10189969 BLAKE2B b1fac9764a8bac0b883849786bd20c9a8e64d764186c6362978faec5ba360636caccc6c1a7c51c6781aa51f96a4e713968d1e86b54b6fe2fa9e3dfcc07727e64 SHA512 9572f2b0f49365cc3888999a0c0b7d29694922f0cbefb33e1fbbfc71781cde402537da3a23e36fd3a600a1d819bcef9acbeee423df2699fa9e3f07cfde7f9128 DIST containerd-1.7.23.tar.gz 10192816 BLAKE2B 592e3a1992a637879f1669a660991f811db6f3d11a788c9809277b3fb9639d8b89445cbbca1de16ed45703e8506c8850d9ce68b64d1213817732d008a1847ea6 SHA512 4cb003a6ef2f9fe856665c3b7099e13b23cf07c77ed9a9ed50988d74de1933e3fe9463ae123635230f25cde38cd8a487133b11e20d829a79517c4d7fbe2ce012 DIST containerd-1.7.24.tar.gz 10196410 BLAKE2B be5238208170f63e7328627a4407da3eefa2c03051c95228bc26dac04560c564330ae118e1b01fcbd22983073b9fe25161f1da7698449507cd8222f41ff59eba SHA512 eba2d562f336ffac981b67d2574c5951774f4c6a70ad1cc8aabb59204d1c8e9aa5b3be50c048bf04a018be1335b7ec8e47b73013de2e19805c978587b53bc85e +DIST containerd-2.0.0.tar.gz 10420188 BLAKE2B 4a75c845cabf3e0213a7cd312febc0c45b127b5b70caa5b6843e669b554e4fa65112585f3b16382180539527144d2371f02bc791cb01415eb60ad01d17f0065a SHA512 b1a89c4c53db2c69757bc40d90d585e2662ab4fffb28acb904f9710b281a9f22273ecdbab49250b229bf95b29cf1a33a352afb81967db7580ae209a83c5fb2ea EBUILD containerd-1.7.15.ebuild 1976 BLAKE2B 038a302335d730a6b0c8b6caeb0672beabd7ef48d2a24ec3a317be6d15b41e00551cd95594d575b68fcec6f28757980f91ffbe41cb975bc220168e4963cacf48 SHA512 1fde07b64582f154e76728dd307b4fff449c368ab50c92f68750540ed4805aa383edf400aed1ea8fdc2e52f9a10b61efeddad9ed8f2412b205dfc443c53e771d EBUILD containerd-1.7.19.ebuild 1979 BLAKE2B 03d3bf66fc47d66746d96b00d83fc52912beff1e286bb7bbaefddcbeb2f6e6279cf0a51ac4d55d56be80dccc9b62183052e951f5f03e7584cfcb1f2172b72c82 SHA512 a4100422feedc666778ec6e284c1cb9f84704305b281c76ed2a9c012f92cbfa598d2ffac62d1fac57a9280f9d50606b6207e7bf9473d607e9bb58d894e904620 EBUILD containerd-1.7.21.ebuild 2022 BLAKE2B aeb92d5514daca7ccca74f5b5a7fc7d0bc75e3de1aa705ebc09b4fd038ad3f9059807862abfb5850988c60b3f4999eb4bcb4cd9d9366ec6f640e233b548ccb2b SHA512 da76549087389711ca3af88b162ff1c95f225ee60bd3150b8565b4d65aadbaf9ea86f002d0ec332500ed48ea26cf90643b2b685297c709ade8f476d85dad0ca5 EBUILD containerd-1.7.22.ebuild 2022 BLAKE2B 309b1522fb887aa0979aceb63837a8a7c78520ad9b17b4a0f3480ecea3b86ff377e04addf559c36da17a51d5aa38edfc09c5cbc1c293c91b7178f854791a6089 SHA512 518e4cf035e52e5828de714a5eeeae6afd122ba1bf1b9820984e9583ee0428d6de905a7aa67d9c9636ccad1ca6984bedb74ecb52ba65175291c55d43bc89af81 EBUILD containerd-1.7.23.ebuild 2022 BLAKE2B 6d9195dff277519a734b1959a304fe01d6e3025f3b56c86431a03904d5ea5d6de310589d248d60480c0b8be19a74d63f10af9d07a57e75dadcaff04553523415 SHA512 45cd2cdb4d8332fa7079dfb73f2bf5c4e533e2cf8099420481e01a9ffc767c5ac456fb495f090f1c838b11aa537f442460f18c74002af375ae82e2d860eb4636 EBUILD containerd-1.7.24.ebuild 2021 BLAKE2B 8d1f30c5e2d88874e63aaf2452c1f594379587506f0dd5c4cad2531f4ced6f9a341ee0a4800c68b828b133312637767f6d2aab5f52dbc46a7c391448c6b3d50e SHA512 668630c48fbe40f7c658a3170d45ac0242bfda54aeef324db896e1c769f5891503368533ca630af0afd7217040f00edd9bfc27e30636bc625666c9e5bb8219d6 +EBUILD containerd-2.0.0.ebuild 2021 BLAKE2B b4a80a24a5eb0d90c8c89ee5f9104de363a77d8031968f595faf6fddc426a7b73eeb9e89a6b381eb3c4b09c20c991c60228c79f22c3a6f80261456d944e43940 SHA512 1d6bb45bc502c62c18a24af6981ffbe6c4086502c6e7d24495b278bd241b6dee1dc5ee3dc3857da1a5ed8ebe2226a52b48c7ff521b55462605de297cb38e29d6 MISC metadata.xml 981 BLAKE2B 78f44dd46331f9159931ff289a5adfdc177cb5e0c1d12cf717fad4f227b15ae40f479f40554dc4855009342cb7d699aaa543a0fbcc962789fe100a1cc9b350c5 SHA512 a171a3fcd67d8b410148d3e99477ea69be7e84ba2a2d24739343bfde29b88f8f799530c3b1107829ebd52eb847b4f5c25e4d4701ea9a2bc196c761b0768906d1 diff --git a/app-containers/containerd/containerd-2.0.0.ebuild b/app-containers/containerd/containerd-2.0.0.ebuild new file mode 100644 index 000000000000..5f1930094da4 --- /dev/null +++ b/app-containers/containerd/containerd-2.0.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd +GIT_REVISION=88bf19b2105c8b17560993bee28a01ddc2f97182 + +DESCRIPTION="A daemon to control runC" +HOMEPAGE="https://containerd.io/" +SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="apparmor btrfs device-mapper +cri hardened +seccomp selinux test" + +COMMON_DEPEND=" + btrfs? ( sys-fs/btrfs-progs ) + seccomp? ( sys-libs/libseccomp ) +" + +DEPEND=" +${COMMON_DEPEND} +" + +# recommended version of runc is found in script/setup/runc-version +RDEPEND=" + ${COMMON_DEPEND} + ~app-containers/runc-1.2.1[apparmor?,seccomp?] +" + +BDEPEND=" + dev-go/go-md2man + virtual/pkgconfig +" + +# tests require root or docker +RESTRICT+="test" + +src_prepare() { + default + sed -i \ + -e "s/-s -w//" \ + -e "s/-mod=readonly//" \ + Makefile || die + sed -i \ + -e "s:/usr/local:/usr:" \ + containerd.service || die +} + +src_compile() { + local options=( + $(usev apparmor) + $(usex btrfs "" "no_btrfs") + $(usex cri "" "no_cri") + $(usex device-mapper "" "no_devmapper") + $(usev seccomp) + $(usev selinux) + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" + REVISION="${GIT_REVISION}" + VERSION=v${PV} + ) + + # race condition in man target https://bugs.gentoo.org/765100 + # we need to explicitly specify GOFLAGS for "go run" to use vendor source + emake "${myemakeargs[@]}" man -j1 #nowarn + emake "${myemakeargs[@]}" all + +} + +src_install() { + rm bin/gen-manpages || die + dobin bin/* + doman man/* + newconfd "${FILESDIR}"/${PN}.confd "${PN}" + newinitd "${FILESDIR}"/${PN}.initd "${PN}" + systemd_dounit containerd.service + keepdir /var/lib/containerd + + # we already installed manpages, remove markdown source + # before installing docs directory + rm -r docs/man || die + + local DOCS=( ADOPTERS.md README.md RELEASES.md ROADMAP.md SCOPE.md docs/. ) + einstalldocs +} diff --git a/app-containers/cri-tools/Manifest b/app-containers/cri-tools/Manifest index 897b26d85b02..69bd4b9a80f3 100644 --- a/app-containers/cri-tools/Manifest +++ b/app-containers/cri-tools/Manifest @@ -1,7 +1,9 @@ DIST cri-tools-1.25.0.tar.gz 7905707 BLAKE2B 79595f31fc22aff608406bad4319a60dddcabda5f4dab8706305f11500b3db43f1d7021a340a096227d4580212953f32a95b05bbf81c1236f8fa8cf635017abb SHA512 dc04359320d59d6b3789e4e81fb613f3795b7e82dbad681393eaeff2c876e5b0393dd9384d7857d24ada5de34d03e151f7cf121367cc20e71d0b78607372b3a1 DIST cri-tools-1.27.0.tar.gz 8465050 BLAKE2B d6c0429271ebc4085e75b54d7f3b9f75ab796e63bc9ae7562105296b13bbad8b512293a7d25abf1ab946f4bf54e672016fdb72696c12c730d21ac74724da465c SHA512 b94122e6401eb0c33b9c3d112274b7ab20cbbad05e76a54933e79d2e42ded2d684771cb9ed703a6c1afa381844142b6f1b4dc77d17e915f9a42c236fd8426b9b DIST cri-tools-1.31.1.tar.gz 7830559 BLAKE2B 5ec935be8d453a2d024fb8b07c8c7a21a15c23c7aba03b9030806c5ed47698f41a5167b02c3d38e792fec035725fccdff92867e68c5b2c8a06ff040e4c37cc9e SHA512 a72946944207d20f27236da12f7c2d532a1c9ebc881c3af4709494f7abc6f7b2d421934006a535a0b4a35926f09f58315ff0aaf4da870fd5a65281f547ef86a1 +DIST cri-tools-1.32.0.tar.gz 7682096 BLAKE2B 125fc9014942e681353ef49d4d397af4fc77500c0fb37d2d1be0850839c37f51f2ef41b5c7d9ca422e814d1fe50f985bfd42d2bba11d391cea66b3bec381dc08 SHA512 654cfd4d546932d48c02e19071e137fa7565a5134ba1845498d61f2dfef45fca722a51dbadb7a467214f7424290c53cb79a2908684d1fbd3820836b55640f66d EBUILD cri-tools-1.25.0.ebuild 870 BLAKE2B aa699a0838d60539138310248e4bffda10cf43d1feb1506fd496566554a787b4b8b4a1a27b2102e5ac85a57ee303f666cdb4070388f03c531445a57a8ef7f36f SHA512 d7c5660c72ebc6fd8e70611d6d2286a350421ae0d8afc5ef0517e0ed9e4d8835bce98df979d83acce2258b2da9d6a559c35144fad1a4e1031154659a9502b2a6 EBUILD cri-tools-1.27.0.ebuild 917 BLAKE2B ea1d949136eff43206b5f5d02996e96d67ee4e69c134a2cb316fb63bf4b8817834b7a9e23005306981beee6de59425ebaab08a616b59d436b6ef6cf78d38a5dd SHA512 b8f806329c303e3cddb82a2c45dc55f4aeae7ae126b6967c8d5efe394efd249f04a400fbcfbe3533805607c646bb07e5135b134f652f2ce7a089d02da127284a EBUILD cri-tools-1.31.1.ebuild 918 BLAKE2B 78cdba0853fcaafe0aaec933af02f078ec0422959a7e9fb9f1567ac1e744d697896728c62a4f95c268fd835ae3cd5c99f8f2cde1b20bb1ebeb14ee1863f7790d SHA512 e2eb0fb1e7a21ca16067220d465e264d2350b1f2f49a52e0b00c68419a1e85d2803abd07c43b29acce29e0f6b9dabd9ebc6adf5c0c44d61f8faeb142faed324a +EBUILD cri-tools-1.32.0.ebuild 918 BLAKE2B 78cdba0853fcaafe0aaec933af02f078ec0422959a7e9fb9f1567ac1e744d697896728c62a4f95c268fd835ae3cd5c99f8f2cde1b20bb1ebeb14ee1863f7790d SHA512 e2eb0fb1e7a21ca16067220d465e264d2350b1f2f49a52e0b00c68419a1e85d2803abd07c43b29acce29e0f6b9dabd9ebc6adf5c0c44d61f8faeb142faed324a MISC metadata.xml 335 BLAKE2B 2144a466f521028b7bc93b372ec9b8f81f6ef5317285dede88a71736bff65aa0908bd1c8ed18b2b7b0563f14a24b10862efc81985e78c75b5c2a786d501331b1 SHA512 ae1cb972ec7ddc298a8e1747503400f52b27e899ed51b1aeba877a66c8f883248ca782b437ffea4d06cb1ad80ff6e8f071445ba848f98240e48ef5814c866c2e diff --git a/app-containers/cri-tools/cri-tools-1.32.0.ebuild b/app-containers/cri-tools/cri-tools-1.32.0.ebuild new file mode 100644 index 000000000000..21381a7af4bb --- /dev/null +++ b/app-containers/cri-tools/cri-tools-1.32.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module + +DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" +HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" +SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +RESTRICT="test" + +DOCS=( docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md ) + +src_compile() { + emake VERSION="${PV}" + find build/ -name crictl -exec cp {} build/bin/ \; || die + ./build/bin/crictl completion bash > "crictl.bash" || die + ./build/bin/crictl completion zsh > "crictl.zsh" || die +} + +src_install() { + einstalldocs + + dobin ./build/bin/crictl + newbashcomp crictl.bash crictl + insinto /usr/share/zsh/site-functions + newins crictl.zsh _crictl +} diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest index eaa063e9a93e..679b5b11c8d9 100644 --- a/app-containers/nerdctl/Manifest +++ b/app-containers/nerdctl/Manifest @@ -6,8 +6,11 @@ DIST nerdctl-2.0.0-go-mod-vendor.tar.gz 7302844 BLAKE2B 16b286ccab4ea143fd067c0b DIST nerdctl-2.0.0.tar.gz 1326169 BLAKE2B 1f3518045eb41d694535663d5426d7a68e09bb1323bbdd037088ef1049d41812d1d3176628d230bd4f6bd83e7ee844769b0449d268ab4d390ea81739e035609b SHA512 645df69994921c92685c8dcaeeeef6a3e64554029d70550d783ee9b199ae80ffd4c7f7126bb8e122d7b0958b80452cb49be3267138d17cfac535da36e65d6d57 DIST nerdctl-2.0.1-go-mod-vendor.tar.gz 7349046 BLAKE2B 70e9044055d24e80843f37ff7ff6ba9fdef93ccdbed398114c109cfe99ca5c65597ba39e3fd78ea2521d6fe16f289cdbe3dace2b78c125845c417657839a16f6 SHA512 aa9b01db2f0860bfbd3af755418219ab8fed1bd7a1097ac9c6961b28eda4a6292f49c4dddacdc84884f8032330ccb293b90f70dae18b7909b1e8078cc7da2936 DIST nerdctl-2.0.1.tar.gz 1327776 BLAKE2B dd185fb3c22f3ae57076e9a1e446a4d7c402d87c66d4dd54fa857c999f7634451a811543c7e114eef46bfbee70b4196ee1c71a9bc466544713ac02f44c8c48b0 SHA512 1df3bab770d397fa6a7811a5f6e7752b216d04e5281150e98c8a918311c099b7a3fce6f4c668558b5c7ac31f21223f192826cac96a6ed1eb73f5f5b462d34357 +DIST nerdctl-2.0.2-go-mod-vendor.tar.gz 7348723 BLAKE2B 8f9b96193b45f2006ffaa205f2c265462ed759652163272e31ecbef76f6752adb2288a843902faa27b42e5d2215e44521101d7017e3a4c6cb78660e288c27fb6 SHA512 a8b587b502dfacc14bef9d70e7233c53561ce39ea3612794086951c022daba445e2a4d429f3f40686e9c55deaac05848f4e6646f59f1df166dc5efb61ec75a67 +DIST nerdctl-2.0.2.tar.gz 1328952 BLAKE2B 4ffa3cdf3e6c2ec2ee2ece0c214b3219f3a068c9d34cf17eff12660421219470b1309f701bcfadea6623e3a7693f9f2cf0c732f882e97866d6e75945176ce5a5 SHA512 bab4358279ba8edf119062b494bf1b393e22c8ee483aa16d502e6656ed56a9775e024bc1c30cbdc2185840fbb7d8a8d7da7e30a0f1905b5a436024472619d2c3 EBUILD nerdctl-1.7.5.ebuild 1105 BLAKE2B 8539e5c150de230f6ee5d8a1872dde3fa9a0b5ea1f63ef52c5071faee3c68872e5312e159ea810ada904657d13ed65b49f7b52c0059eb305a582b704a7c98bdb SHA512 a06cf80ae71b891433f5f8f566cae1c5fdba61b4ae0a7a7b827a320e011783327fd9147718134a4d39ab678e628063da17ccba7655b47d1e39ecc1a7c88d69bc EBUILD nerdctl-1.7.6.ebuild 1109 BLAKE2B 450eb3073db6d5e694ca278a453130b30dd3dbd8cc2119d9e36272ce4d4bf30448b552c545150609c2f567c5e3ddcb70d7a9eb6527065ab754d4218a8dc1fe2a SHA512 edce728019e0f8b4a978a72629505450b2c6987ff28d2d82e658bb3585bca8d5a09e2e516627c0c9b032440e0eec2077e77f45aad4358fbb0d9ef9220cc5baf9 EBUILD nerdctl-2.0.0.ebuild 1162 BLAKE2B 99ddfd4b917007adadb981b0627d0cb42f2682e347409f7f6cdc637352075269d3ede047254de53e07d5e44c25f12e1982572d1bf8c96a3d45d2c372a3a43532 SHA512 d0031b85bd51f1c00b3f6d88e9510b3710a18bcd8995f100c5d3f2237ef418712f3ac08f4cd8d15c13c58d25cc6b1c532b6e8f623c36ab145926dacd51f7fb17 EBUILD nerdctl-2.0.1.ebuild 1162 BLAKE2B e00d2fa29d24fa7193c094320220f925a73800883a5af84fd96d45f57578bf06e4201b33546c5fbb70437be5a27b5f8906bdecb65541d70b21fe3ac941a5923f SHA512 442f2f32a4c6e0eaf9a570ee77a8a3f15f66c71064ff210c2eb4633fb4dd0d2caadd25488117bd8fed522fa511eadff368aa6f3292d9c88289354df66c1bb46a +EBUILD nerdctl-2.0.2.ebuild 1162 BLAKE2B 4928658ea816c441be0218ba61bbfdeee4669778b3febae7983ad14323650f75e52ab911b0f8172587f1e6f46b74a8eeed1eedc0655d82089e20bbeb7e532b17 SHA512 65a6541a7eb27c816da9d4e4f65560f65101da4d85371c953ab4287c4267514a2d01cee8da0556ce2064824a5bc1620f7b946d94d80267e52e98af6229a64153 MISC metadata.xml 432 BLAKE2B 7f848d9bba87057eaa87973dcea0651a8190fbbf096d0e28d074825daa4c5617d113dc274595e6a985dc9140c14b09cd9b24ed872332d2a74ca4a0a757a6b00d SHA512 9118209800003747dcf6dbde6703e7c5b0cbe68c79c6eaae9d7b5ad6c53112e07f5372128d88ab5a484dc68cc7780230111d6fd1b13c04cf255db803fd196a7d diff --git a/app-containers/nerdctl/nerdctl-2.0.2.ebuild b/app-containers/nerdctl/nerdctl-2.0.2.ebuild new file mode 100644 index 000000000000..bac4c17e9e5d --- /dev/null +++ b/app-containers/nerdctl/nerdctl-2.0.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +EGIT_COMMIT="1220ce7ec2701d485a9b1beeea63dae3da134fb5" + +DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose" +HOMEPAGE="https://github.com/containerd/nerdctl" +SRC_URI=" + https://github.com/containerd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/containerd/${PN}/releases/download/v${PV}/${P}-go-mod-vendor.tar.gz +" + +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="rootless" + +DEPEND=" + rootless? ( + app-containers/slirp4netns + sys-apps/rootlesskit + ) +" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack "${P}.tar.gz" + cd "${S}" + unpack "${P}-go-mod-vendor.tar.gz" + mv home/runner/work/nerdctl/nerdctl/vendor . || die +} + +src_compile() { + emake VERSION=v${PV} REVISION="${EGIT_COMMIT}" +} + +src_install() { + local emake_args=( + DESTDIR="${D}" + VERSION=v${PV} + REVISION="${EGIT_COMMIT}" + DOCDIR="${EPREFIX}/usr/share/doc/${PF}" + PREFIX="${EPREFIX}/usr" + ) + emake "${emake_args[@]}" install + local DOCS=( README.md docs/* examples ) + einstalldocs +} diff --git a/app-containers/runc/Manifest b/app-containers/runc/Manifest index 6dee248e7320..ad990b09d15e 100644 --- a/app-containers/runc/Manifest +++ b/app-containers/runc/Manifest @@ -2,10 +2,12 @@ DIST runc-1.1.12.tar.gz 2522196 BLAKE2B 14fe8d5f82d5b4d7f6b4bb9111c5d258e74f6a44 DIST runc-1.1.13.tar.gz 2532849 BLAKE2B f3d3171ffce2bb833bfb5cc21d0dc034fd7e38c47ee098cc1fc75c06fd4dfae21dfe25c2e69a1ca93b29d36e8799727ea41725eee8aca3a059c14dab6c8a435f SHA512 644bf9e6359bf49bbdec667c0f7c69ded78c7eacfc2d1b730d52fdcf7348571c6406b8e5790811fe3662a458c878e4225c3559885f0d95f8905273e7e40e55ad DIST runc-1.1.14.tar.gz 2543890 BLAKE2B 3eede8cd7d04d2a3826cfc7caae032744551799e8262d28e989d3d5c66ca3969ce8dede064ebd37361a00eb276fa7c9961180dd9fc9b0d53535421ecc99acb39 SHA512 bdefbf34cf57485c6b961babc8294d0e6b2e003eb836b8e99c49ef4d00acf11f30a46ad0bcd399ee9346610419591daf1eecb3b6b127962357d629bf5f252e22 DIST runc-1.2.0.tar.gz 2776027 BLAKE2B 743ea8641c0fabda5e32c1d3e044627241337bcdfd92b740bf8ef406e2ad4f37f7069975d93639954a1b20b2627b6456a66847eabfb544ee0eef44e59b2a7453 SHA512 30194521e9ff8e5586309bedbb29812f057220f765b68145d88f2e0008f7f9b5a22fa185d448247d7c71aeade3f48f76b48d4289c94a6c02a1e3384ae5674617 +DIST runc-1.2.1.tar.gz 2742512 BLAKE2B 06beda96edb4fa0796371d28f646b01760cd9b663104045407ae27f3ddd51e0318eddba8fc3dbe107629831a5f4051af0f50406418213485b7ee90cdf9a86085 SHA512 098ba9810d6a6704b11f97360cf403d0e5cccdf635a9b5c594b70e26c2c1554c328506265754f500e2faec1f08655839837036010c6a25265047a47c31f4defd DIST runc-1.2.2.tar.gz 2743483 BLAKE2B d1e59aff284dcacdc50a17c4efab09b4bdda5d93ce13822542ea73ec696d3642d4dcc715d2adad308622100b04ef62365d3848be6418db5a325ac574b66e314c SHA512 87066ff0fe7ff6dc0eefd61ba2b194fa96433a091a34e9035350123b7da7dccf7fcec6f52b377c72be853820b4a57154b42bcd58c872263f8b7a16bfc480e5d7 EBUILD runc-1.1.12.ebuild 1833 BLAKE2B 6815357831f57776945cb6c7d8e8e0a7735aacfa35ee4329ad5e8a8c165f788812c7a347b6933fd05e29b063dab3e886fa3e37f57d2e66f0d46401a65c620b8a SHA512 eb290a626e95d3cfc5ecc308aa63891e19f6d6e5092aa3704cdc174d7ed917dd8c53f86dc13a6ec9ddfcbf04a5c826fc1e6cc10ffe20c431209dadd9fcc427b0 EBUILD runc-1.1.13.ebuild 1779 BLAKE2B e96b0bea4e8b2f0890c3a9dbbac809787e1d78022bfa34ba85bf528bd253a3acbbf4985ddb745a64018d159e02a9b8ee98f4e2907f25cfc372e3b8284ecaddd9 SHA512 e509e11e78246b47e3af3b5d5b0a4acddcd1ec31a632f7920cea8f1859194d2dada536a46543607250a770caed9a89a20eef7ec78f95848a896ccbadc0403268 EBUILD runc-1.1.14.ebuild 1779 BLAKE2B fbcdf8db2d3ee3a18f322e618f607fcac9203be3ac693616b9cdde34a3ed013305ca3cbe66406212d18cd56cacfc19461998307ef43f3626a1a4e93408ab5600 SHA512 ac8877b61958badbb560f36c3e61798a9452fb72dbd26975ea3e161f865c1c1a945c4f81fff4be763d1d05aa2282d09d627c1e469a62f0a64a1dfe8ae6992b29 EBUILD runc-1.2.0.ebuild 1816 BLAKE2B ccc31c5c48d4ebfde40e43ca043c296b5f1b51881114cbf7a0d8cd447a6d0cf412d377b2845a91881fb4779c433b5aa1984174e20f62a3650eb67a70cc749bf6 SHA512 fc450b70c64f03e4641941b84386e2d9eb8e7d7282127fa0f0f87d1e47b60b17f05cc3e7e1e12aa16b2ef0a32d9db6e60ffa9f7b4e4ea756a0ed6213e101579a +EBUILD runc-1.2.1.ebuild 1816 BLAKE2B 1937aea831725622ee8efabc29b334e55d87649425f3d14438c29b1ac61e6808a5d9bf701cf0f7d879a88e8767c927e57823f4aa1955541278567ebe78a78a2c SHA512 ff0dc3bad2a63454676c89c8e706cef722d7a4a1594c9c18dcd25af08ba8e1ed05d9435f3c4c2260eb17b697f2f16df4e93a6cc8b15d3c7f0390417cb3429c78 EBUILD runc-1.2.2.ebuild 1816 BLAKE2B 1937aea831725622ee8efabc29b334e55d87649425f3d14438c29b1ac61e6808a5d9bf701cf0f7d879a88e8767c927e57823f4aa1955541278567ebe78a78a2c SHA512 ff0dc3bad2a63454676c89c8e706cef722d7a4a1594c9c18dcd25af08ba8e1ed05d9435f3c4c2260eb17b697f2f16df4e93a6cc8b15d3c7f0390417cb3429c78 MISC metadata.xml 647 BLAKE2B 67dce497b4fa65db5146f9e017ec00795ad4ef5d63058d4c20bfc730f17e2fabfcd82b403bd06330f9a68ef2e344198514930493eeadef69eb2ee8a618e5e0fc SHA512 970d9753c81eb387a06fc24be8bfb3b056e9e7cbf568f99511bdcfd35f6a8cdfe21ea0103ea36b8fba7be733016493663c3a38452b05225de35af7e1c5b359dc diff --git a/app-containers/runc/runc-1.2.1.ebuild b/app-containers/runc/runc-1.2.1.ebuild new file mode 100644 index 000000000000..56751cc62a35 --- /dev/null +++ b/app-containers/runc/runc-1.2.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 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=7cb363254b69e10320360b63fb73e0ffb5da7bf2 + +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 +} -- cgit v1.2.3