summaryrefslogtreecommitdiff
path: root/app-containers/crun
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
commite68d405c5d712af4387159df07e226217bdda049 (patch)
tree009ab0f3d427f0813e62930d71802cb054c07e30 /app-containers/crun
parent401101f9c8077911929d3f2b60a37098460a5d89 (diff)
gentoo resync : 06.04.2022
Diffstat (limited to 'app-containers/crun')
-rw-r--r--app-containers/crun/Manifest4
-rw-r--r--app-containers/crun/crun-1.3.ebuild2
-rw-r--r--app-containers/crun/crun-1.4.4.ebuild62
3 files changed, 66 insertions, 2 deletions
diff --git a/app-containers/crun/Manifest b/app-containers/crun/Manifest
index 8628f984d70f..042380008249 100644
--- a/app-containers/crun/Manifest
+++ b/app-containers/crun/Manifest
@@ -1,5 +1,7 @@
DIST crun-1.3.tar.gz 1889283 BLAKE2B d7e7f676ca5db8322b9da2110c9a9e8eb11b13b5e9f1432ccc6ef12bf6ae7db3a28e3227fac86091589a215394ec577e91ccbffec532dabf44be746cb8a5d404 SHA512 9600bdacf5fd2defa542230b6e134920eb80e9d4c49598167b9d58887719765c174f1ac8559c0092dc1b5435274124e0b29c3d0830df86d1cfd690d67c746016
DIST crun-1.4.2.tar.gz 1956517 BLAKE2B c5db3396902c33568c3f9a490c57f8781703018f228f07bb17b1ccaa5c2ab903eda76e50d46fa3be10e440e6a0c3f791744f05d7677c71e2510673077d0acbef SHA512 cc7b57ed945cb36a36cf2ceab57349f836a07164ef31e0cec8bbddc4451a5757e2a0b92bc553b8994a236d7869cfdf229a5dd5e5a0d7f139f8c2a8df5c151d3a
-EBUILD crun-1.3.ebuild 1375 BLAKE2B 5d482d2f524737847ee191578c9567590673dd0288e76d068e6da2ddc5114d3efc557b511cc9cdbe85e26ed5bb74cd087a8c1dc1d7fb41c07d1300231a31dbb8 SHA512 dcbc837b95422547b4fa4464a28a40e91f36e17729baa83ce49b9ad7985dc76ee06596fbba27e210320cf523b8ee769c9b71cb4da0c04a3eebb8e70c1df73b82
+DIST crun-1.4.4.tar.gz 1962130 BLAKE2B 59681ba7af5735b46d27b568b2f9c36b72dd20d33d1eda4c77284eaeb3a771746e5be26fac28284039f857a4853c3c8decbc9a83bb62004e4ae2da79f1470d31 SHA512 fe64f56bf0f1ed9fed4df4926dd57b0966863208726ad00d8b96dfb9440833f6f88c4223875a6b01fe350456bc2c1021d14efa32795762037e394737daa4bde7
+EBUILD crun-1.3.ebuild 1374 BLAKE2B d057cdec5aeb2c9cbb3ad91b1dae0568f4d2845b8deba6e10e93ee1c9268dca8fa03cb132d6365643523cc3517a09116218625467600c7cf88fb7e55734e0447 SHA512 210b4788c820a25e60dd1845cc81b99c15120fd29b596136f90e4ca3ded1a3d5dc780bb7cdedfde299efd7e37c99395d9d67479dee72fad2b5dfba2a5e6ac3f8
EBUILD crun-1.4.2.ebuild 1513 BLAKE2B 9a6858626d135a21d3fd967027e5bf44a1de361c4be1d2ba5766bf35d24d6d1c7d64f1979614ea66ed30231d410f5705f02a81b4e3434650ebd1f8059c61f6ae SHA512 7d168190fd1a775b85f13d9c136d246325f6526b0b61b57cd594e80262b6f128ecafdbafdceb0c84fb3586da7ae75788f7448950927b9ea643dce96458c77734
+EBUILD crun-1.4.4.ebuild 1573 BLAKE2B d39c0f6333486269f4e36da3e5f4cd03cf1e12cd99d5ba027e95ef3cbb39e785982ae887c6f7c05bdc4ad31bacc859161f1779a82ce258f0f4f2cfc932350670 SHA512 261a713ca595fedf3cdcb9e4c1e862920a5ea60ae06b64158ea563ebada30aac8741501cf3a3ef89954b124dca02e1f5ff729fccbd3eec800149e53aa49eefff
MISC metadata.xml 1300 BLAKE2B a0ae27420fca097e4e7b5e983de3b76fef43bf13887bd5fe903da14e20c2f0ebd2fc273dae74e32e28c2768b5f8d6e5e6c8b4c9f07ca6d47e41902621173a167 SHA512 1699a89a01de32b580bc74bc747430ef7b1a6284b2f459b4041b22de0efbebda45778803deb512a61806ed8e2998b141caefb7830acafc68d42ce4343b193dd6
diff --git a/app-containers/crun/crun-1.3.ebuild b/app-containers/crun/crun-1.3.ebuild
index 927cc63d4181..fb5ec251832d 100644
--- a/app-containers/crun/crun-1.3.ebuild
+++ b/app-containers/crun/crun-1.3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ppc64"
IUSE="+bpf +caps criu +seccomp systemd static-libs"
DEPEND="
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..ad09a9266459
--- /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 ~riscv"
+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
+}