summaryrefslogtreecommitdiff
path: root/app-containers/nerdctl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-25 01:00:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-25 01:00:59 +0000
commit2808be9288546424bc5e88a39631a6835e6bd388 (patch)
tree80c785026b9bcf673fbd94227390082ac8716acf /app-containers/nerdctl
parenta7689c2abcff4374b84d95fb2df980ec9a566965 (diff)
gentoo auto-resync : 25:03:2024 - 01:00:59
Diffstat (limited to 'app-containers/nerdctl')
-rw-r--r--app-containers/nerdctl/Manifest6
-rw-r--r--app-containers/nerdctl/nerdctl-1.7.5.ebuild (renamed from app-containers/nerdctl/nerdctl-1.4.0.ebuild)26
2 files changed, 25 insertions, 7 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest
index 14f538fb5311..8e4c2ae2ba52 100644
--- a/app-containers/nerdctl/Manifest
+++ b/app-containers/nerdctl/Manifest
@@ -1,7 +1,7 @@
-DIST nerdctl-1.4.0-go-mod-vendor.tar.gz 6711566 BLAKE2B 242648545d82bfcdde6dd5056e4225d9b37021a6b210632ad112e18659d3f6f89bb53e31aee55106b5654080fab8dfd33268138b5f0a0b36d425395e1be89728 SHA512 fd2b3d30c35dee73eb2325188477659fc08a974737b8f555275524368aa59583987b04f19057cbd4c03c0bf7df89f38e3d115c36da2f089ac9d908bf77e774b8
-DIST nerdctl-1.4.0.tar.gz 515068 BLAKE2B 68daacc251322b5efe0591fe6cd615cd7a11df803a66a3a151b3ae46e1a3b22bfbde7726bf4418b0df988965578cecd3dc2fac67b45b1d765d059c92aab1ec12 SHA512 b14cd92b76d9699b4042fcd7a6906b1c714221b30cff1074a1d59ea038cf74ea6437d4a4d9a265e7b0f4c96397c82d53856f9e43d08aa8abcb98af5e9fb6e8dc
DIST nerdctl-1.7.4-go-mod-vendor.tar.gz 7197938 BLAKE2B 14a95cd634acc652d5532d1c6aa28abf24c1cf26393d63fd627e864ba73e5f3355832afd8c3c31eb0dcef9ae1d82c35a7df49c017c5719b45145496ec9243e79 SHA512 aefc9d23114bb2ca0a640287ed27e2afeeb9075a4fdfa33817310300ac8a1ca492defd4a5436f71f4f06a2b8916a75793ce846eac0878a8e51e1accadd21d13f
DIST nerdctl-1.7.4.tar.gz 516231 BLAKE2B 3f1726945c5b816b4ca922187ae0bde0af82ca38227fe3ad2509b8b1654a2ee22d3929296d9633275cc7c3495202c66d90a956ac92c790f17eb2d1254bdb2c17 SHA512 a2cf60e2d704bef6a9c2abc697ef44a6a833b5fcc276bbffec503437281c830e2cd73fc541ef85be2444bad8f2b827c832b7685a3c74ebba503019ed39a19d75
-EBUILD nerdctl-1.4.0.ebuild 877 BLAKE2B 31e5421ce3eb68ce07f942d43d075ed78c6b0b2f7cafec4b0da86a9745cf9196364887b36e313b616f9af056562f2cc491c048d01119c6829e2533a1ba53d3ac SHA512 85b960d4aebea5f9a8e7fc68a7bcb29e6356800b3f0349bcd0070ccacae195b5db44b10aa64a47be0a50cdd03b23980409c3da0d5e74b78572ea8b61126f5720
+DIST nerdctl-1.7.5-go-mod-vendor.tar.gz 7229228 BLAKE2B 24dd81b3b54542e8723c44d75e653414c75be9e0e56095e7afe6886d2bde6febdc91b7ef903009145c77a57dd4780bbceda58851b39e7375141066abc20f2f1f SHA512 265d9ae58ec221611c9f7666de2748bf8519a7ba8b3bc0bd3b1e97d671bfc11c7d51cd4512d52000a579c8f5e4bd7e4c5a4bf469853b481c838262001bd9dd65
+DIST nerdctl-1.7.5.tar.gz 517127 BLAKE2B 800fc487c60ea62641b26a1b41f95747bd39467d8e1c7fd7b5302c5d515c2e6765fcf7ef8860b3cbfe04428fe849a7293ec914bae3da65ac6418a1f5c789d832 SHA512 3e35c5e3c68c675d23c1a106d267f62c2e36cd8026308ac6237fa5aa2f3ebaea0f47888e6702290f40c26f543e90bca91d76cae28b74732e8fb351f6ef2441f9
EBUILD nerdctl-1.7.4.ebuild 1105 BLAKE2B 687902768057732a6fd0969e0325cea5ff5474a05b2991af21f9031ba7708eb7ceb4851e990e1edd3424522fd75ce099474c5066bae772be2ff05a2345830aaf SHA512 d3d2d87222de3f9ed9be490f1f1d9df8d79f49642e5dcd0c1c84446ec4d9ca851273efc6131d16f5a58be7746fb5761e3208c4b8c0e6b5bd61d2dd1e7125c230
+EBUILD nerdctl-1.7.5.ebuild 1105 BLAKE2B 8539e5c150de230f6ee5d8a1872dde3fa9a0b5ea1f63ef52c5071faee3c68872e5312e159ea810ada904657d13ed65b49f7b52c0059eb305a582b704a7c98bdb SHA512 a06cf80ae71b891433f5f8f566cae1c5fdba61b4ae0a7a7b827a320e011783327fd9147718134a4d39ab678e628063da17ccba7655b47d1e39ecc1a7c88d69bc
MISC metadata.xml 432 BLAKE2B 7f848d9bba87057eaa87973dcea0651a8190fbbf096d0e28d074825daa4c5617d113dc274595e6a985dc9140c14b09cd9b24ed872332d2a74ca4a0a757a6b00d SHA512 9118209800003747dcf6dbde6703e7c5b0cbe68c79c6eaae9d7b5ad6c53112e07f5372128d88ab5a484dc68cc7780230111d6fd1b13c04cf255db803fd196a7d
diff --git a/app-containers/nerdctl/nerdctl-1.4.0.ebuild b/app-containers/nerdctl/nerdctl-1.7.5.ebuild
index a01a8d688b2f..a4e11f03f281 100644
--- a/app-containers/nerdctl/nerdctl-1.4.0.ebuild
+++ b/app-containers/nerdctl/nerdctl-1.7.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
-EGIT_COMMIT="7e8114a82da342cdbec9a518c5c6a1cce58105e9"
+EGIT_COMMIT="cffed372371dcbea3dc9a646ce5a913fc1c09513"
DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose"
HOMEPAGE="https://github.com/containerd/nerdctl"
@@ -14,9 +14,19 @@ SRC_URI="
https://github.com/containerd/${PN}/releases/download/v${PV}/${P}-go-mod-vendor.tar.gz
"
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
+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"
@@ -29,7 +39,15 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" VERSION=v${PV} REVISION="${EGIT_COMMIT}" BINDIR="/usr/bin" install
+ local emake_args=(
+ DESTDIR="${D}"
+ VERSION=v${PV}
+ REVISION="${EGIT_COMMIT}"
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ PREFIX="${EPREFIX}/usr"
+ install
+ )
+ emake "${emake_args[@]}"
DOCS=( README.md docs/* examples )
einstalldocs
}