mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
app-containers/cri-tools: Sync with Gentoo
It's from Gentoo commit 1a55476abc9439417dcf61827148f7ac2b05bab6.
This commit is contained in:
parent
5955339f3c
commit
899542c429
@ -1,2 +1,3 @@
|
||||
DIST cri-tools-1.27.0.tar.gz 8465050 BLAKE2B d6c0429271ebc4085e75b54d7f3b9f75ab796e63bc9ae7562105296b13bbad8b512293a7d25abf1ab946f4bf54e672016fdb72696c12c730d21ac74724da465c SHA512 b94122e6401eb0c33b9c3d112274b7ab20cbbad05e76a54933e79d2e42ded2d684771cb9ed703a6c1afa381844142b6f1b4dc77d17e915f9a42c236fd8426b9b
|
||||
DIST cri-tools-1.32.0.tar.gz 7682096 BLAKE2B 125fc9014942e681353ef49d4d397af4fc77500c0fb37d2d1be0850839c37f51f2ef41b5c7d9ca422e814d1fe50f985bfd42d2bba11d391cea66b3bec381dc08 SHA512 654cfd4d546932d48c02e19071e137fa7565a5134ba1845498d61f2dfef45fca722a51dbadb7a467214f7424290c53cb79a2908684d1fbd3820836b55640f66d
|
||||
DIST cri-tools-1.33.0.tar.gz 7754304 BLAKE2B 42011726997a07842fd3c9769335a71e37e1689e443a0d1a99916b5729cc22092593928a6b94bbc3718a0e5f89f3818c3b6d6155970de21e8eee30fc979a294d SHA512 0252243147e32e06328c192f77397461a729aec621bee92083dcf3899e9ffbb62386a944795535cc4a0deb5c88d1017082db8bf221f6627feb7dcd100dc70457
|
||||
|
38
sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.33.0.ebuild
vendored
Normal file
38
sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.33.0.ebuild
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-env go-module shell-completion toolchain-funcs
|
||||
|
||||
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() {
|
||||
local GOOS=$(go-env_goos)
|
||||
CRICTL="build/bin/${GOOS}/${GOARCH}/crictl"
|
||||
emake VERSION="${PV}"
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
"${CRICTL}" completion bash > crictl.bash || die
|
||||
"${CRICTL}" completion zsh > crictl.zsh || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin "${CRICTL}"
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
newbashcomp crictl.bash crictl
|
||||
newzshcomp crictl.zsh _crictl
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user