summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-12-02 14:42:11 -0800
committerZac Medico <zmedico@gentoo.org>2024-12-02 14:42:45 -0800
commitdba5baa04731cf98e49a81a9d065eb964f72402b (patch)
tree9da22286487a0014047449493cde369f4f7c2165 /app-containers
parentx11-wm/fvwm3: drop `-fno-strict-aliasing` (diff)
downloadgentoo-dba5baa04731cf98e49a81a9d065eb964f72402b.tar.gz
gentoo-dba5baa04731cf98e49a81a9d065eb964f72402b.tar.bz2
gentoo-dba5baa04731cf98e49a81a9d065eb964f72402b.zip
app-containers/nerdctl: add 2.0.1
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/nerdctl/Manifest2
-rw-r--r--app-containers/nerdctl/nerdctl-2.0.1.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest
index f3d46e1d0640..3e0294c4f681 100644
--- a/app-containers/nerdctl/Manifest
+++ b/app-containers/nerdctl/Manifest
@@ -4,3 +4,5 @@ DIST nerdctl-1.7.6-go-mod-vendor.tar.gz 7224842 BLAKE2B 65b06708bd9e568a58f486af
DIST nerdctl-1.7.6.tar.gz 517166 BLAKE2B 0ba11ac7331fdcbdab03a63284d0c9f3e2d6e11860c014cc88b4fbcac3ba7a76b6f359c8094a0dbe4d5f69c02b5c1e87e940b8cf839c93a512de2d5b8e68ded9 SHA512 8fd8a393c25206b7213fa7a95f4d6c76ed68aad82cfc6c8968d134e7d31304f4b7c20e6fa8b6d825c5398ccf5f08f3af94a3e3f7b30ebdf2ac7aa2066120bc50
DIST nerdctl-2.0.0-go-mod-vendor.tar.gz 7302844 BLAKE2B 16b286ccab4ea143fd067c0b0f6dc55f4976010609702c3d8517e3cc6b774fd86684ea2da89152602dad6f17ae6f25d4f7b564b573e6fa62fa5907c32d91184f SHA512 504bbbb2b11166703866adc509d6c66a9da718c59aad9d73644f3f805040a6dfe7c016a896dcc2191aa25d89f4e19154ec8a24bf0d8d2f8bbbc5d55b830e993a
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
diff --git a/app-containers/nerdctl/nerdctl-2.0.1.ebuild b/app-containers/nerdctl/nerdctl-2.0.1.ebuild
new file mode 100644
index 000000000000..83ad2b2a7004
--- /dev/null
+++ b/app-containers/nerdctl/nerdctl-2.0.1.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="47f31ff2c1615c1accb85c1ce4e7882ad739102f"
+
+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
+}