summaryrefslogtreecommitdiff
path: root/app-containers/nerdctl
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers/nerdctl')
-rw-r--r--app-containers/nerdctl/Manifest2
-rw-r--r--app-containers/nerdctl/nerdctl-0.16.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest
index f8d4e3591463..7b8b0ff4cf8f 100644
--- a/app-containers/nerdctl/Manifest
+++ b/app-containers/nerdctl/Manifest
@@ -1,5 +1,7 @@
DIST nerdctl-0.14.0-vendor.tar.gz 8166023 BLAKE2B 9aeeceb8b35244723a618814dd0b53ab380b31f15985754df41d5515ebfb00e5d5465e5ad0bd43b543683e0146d1114d2cb0dd95c7e011ca5974250ded296f7c SHA512 f63cecb655292cb8b0e734831834dd0134e6693ec517aeaa3d9accedcb35768115efa82b9133d20e34cbffbd78d043ec680a7fa4c838d5f4999fd8a50272d377
DIST nerdctl-0.15.0-vendor.tar.gz 8310858 BLAKE2B 2406d87e3f1ee17b501308cee4a662ce79d1a49510ab1b023a6e52d537feb8fe79e9a9eacb25a1dcdf019db206467f67bf6a95e3a2ba03c07ad658cb0757394c SHA512 65494af911382086e57eab669280cc377670ce1472a2a7aef74e437a7d70d3e811a858cba1a4e154397709531523c13f3840f286334c6df367ae8f9ba47a9976
+DIST nerdctl-0.16.0-vendor.tar.gz 7871495 BLAKE2B 048c5070cec7d8dd6260738b427c461fce5144d2a1c569b4872771d43682860d6406cf7768ea1261499d4dc768269fa2af017ce969a1698c12699e82cd968b47 SHA512 9cb782e7fec46dd1c939d7bc9c417437899c22579159439c82f4b8fa5b7d4a993da679aa9130a5ee24e190fa0030ba73ead87c3e7971791b3e9a7437ab77c95d
EBUILD nerdctl-0.14.0.ebuild 984 BLAKE2B 9a00368dd6245d783f3ec7bf080e8006b281d67a82084d886e4c81d0d7f87fe160fa7a9515290a5785691543e02633e1c5ca5d19041d486309b4351b2fa557c1 SHA512 7fafcf4a06a7f81ba3ffb6c7cd23e4fbab6259eb9269ba80bce75f5ec05704b6059f1ac8bef856c97b4d9d8cf3061fb950f4e24c2ec37902a7af13ccd9be8fb6
EBUILD nerdctl-0.15.0.ebuild 984 BLAKE2B 93f8db2417b97aab95d59d6b3f2eeaa8e570eab833c05ed85651df85f9db7b18a64b1134b42a40c21ce4e714a029637187235a6092016896c8858918d9b61917 SHA512 ae80495efc547402cd5ddd3d5442da8a0cc2b4552510222e41b29875a87c7b164c360aedeedc4cb97502cf59098c4995b65cf692086b59f9c99b5f6fa040c9f8
+EBUILD nerdctl-0.16.0.ebuild 989 BLAKE2B bd1f42af13c54c9b475d6bbd2bcfe1394d9d158cfe5b71334c00b725c905c764c41526286470ac54e77b287d131782722b00764a46bbd07c0097fcebfc8b158d SHA512 151f8d2887eabf460bfe852b88f3a9032c77eb1fb0b1eb5fd889963ffabb613df0a7187bbaf2fed7889750cd7b958451b7ae7469a5c36ed6957efed92af6f292
MISC metadata.xml 328 BLAKE2B e1284388fe40d8aa709a783d583fc6116eafc276e6d3e65741a03dea3cfb007549c1dadfdc2eea8ee92e430c22b734ad76944efb9c00082b4dc84e003c684763 SHA512 27f4323cda23315264bc5ea386e19b3faea4fc4808835c7105b2827cb98ed62bbbc49fa9676bd8e897d66e1b2d1cc338eebfff4c7ed01b769c13f1b72e3d5252
diff --git a/app-containers/nerdctl/nerdctl-0.16.0.ebuild b/app-containers/nerdctl/nerdctl-0.16.0.ebuild
new file mode 100644
index 000000000000..1ec02ed005d2
--- /dev/null
+++ b/app-containers/nerdctl/nerdctl-0.16.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose"
+HOMEPAGE="https://github.com/containerd/nerdctl"
+
+EGIT_COMMIT="0ddaffd2ce304dd917267470883898feff9463dc"
+# There are too many vendor dependencies to distribute via EGO_SUM (see https://bugs.gentoo.org/721088),
+# so they are instead distributed via a combined tarball.
+SRC_URI="https://github.com/zmedico/nerdctl/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
+BDEPEND=">=dev-lang/go-1.16"
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
+SLOT="0"
+
+KEYWORDS="~amd64"
+IUSE=""
+S=${WORKDIR}/${P}-vendor
+
+src_prepare() {
+ sed -e 's:/usr/local/bin:/usr/bin:' \
+ -e "s|^VERSION[[:space:]]*=.*|VERSION := v${PV}|" \
+ -e "s|^REVISION[[:space:]]*=.*|REVISION := ${EGIT_COMMIT}|" \
+ -i Makefile || die
+ default
+}
+
+src_install() {
+ DOCS=(README.md docs examples)
+ default_src_install
+}