diff options
Diffstat (limited to 'sys-cluster/minikube')
-rw-r--r-- | sys-cluster/minikube/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/minikube/minikube-1.26.1.ebuild | 75 |
2 files changed, 77 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 5ab6d7239991..6a28f303dc77 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1,7 +1,9 @@ DIST minikube-1.25.1-vendor.tar.gz 104698545 BLAKE2B 2402594f1a876e16f36f4341136b71a84a8848c90d61789c85b1b962848e029363ec1efa051b0a08a28d38e82ee5fd52ceb0f2836078102a22de0d9cff4cc041 SHA512 661cd0261535728a119d5a0fa5f15c535092ae870f094e85dd03cbb5449ccef89c64dacec02373a7097f0a81bf2c23a91254f2257c09db54cb48249a785d06a5 DIST minikube-1.25.2-vendor.tar.gz 103616191 BLAKE2B 6707011b208bf96670649192aef0100bee5780bc3321b41eddc12a62b2d4acbc566a8cdf557dae4a84b501c67b31ac35c77effb808bbc3ca56d65e7727977141 SHA512 2e964be6f0708a41ae1aaf1d47eabad8acf13ffafc5ae56cfd66f81ef94673d9661654c807bf2c8790ce5336f95f9fce377b82905e229e4d3534ed5d2622b5da DIST minikube-1.26.0-vendor.tar.gz 104726099 BLAKE2B b8dce4c567e370219c568e9b8298dc7d9b9e3b53330d644e943876683c19a80dbb77a938e3428f8662ac55f2359c473920d081c6ac8573ea79e30989ea8dcfb2 SHA512 76b6bc5a004a29864de6a0574a6abed18de6b92fd8a963576a284c8245fde31edf57fc82636299f4acaed0e69ca2134ded2e5606ed64b1de8d1a247e8c83ffa3 +DIST minikube-1.26.1-vendor.tar.gz 104831112 BLAKE2B 532856492a6b7759d3aaccf9baf9dd603b81953d8691d4df5aef8a667cde13d4035728e31ba52d440fb18661be94cf406ff101eed1a9fe1e2b86fc845a9268c5 SHA512 d9efe06a4912df67543246aae92ccfae62d7e0e25480761bbf0705d2867481d8cd89ea2441bd318e5ce0d682deaf5b81ae3a40000c270a0d6884ba07f69909f3 EBUILD minikube-1.25.1.ebuild 2297 BLAKE2B 0bc47384147196b879b400a72263c83397075442d2ce6c93da0931329473699b5d12af4c4c989ca74ef6b97d11b1949f2956334b34a1144ae6cdc5032e43f9fb SHA512 e596b9eaff277be0782a02de06bbaf4c56596294d37d68dd4bff6047bd99cb4cf06488a235f0dfdc5a78c887ec6018b8a79fd2a601acef0ca267a7f7923948e5 EBUILD minikube-1.25.2.ebuild 2297 BLAKE2B a28cdbca5fcb3d6c5f26cc2cbee198e6f3da06b8897633c0000194e56d3deb283b014b819deeb5a4bf0ffa78d60dc61988b58cc3d31194505f1d1a7eb1469f84 SHA512 6766905da7fcdfc0468f949320fb04c68754aaec3583c37a6e6d61f6cf636df896fef49bad4889afd3f707d4e81c48815323fb705a5884e02bec3a3f9be46020 EBUILD minikube-1.26.0.ebuild 2297 BLAKE2B 1d5328379eed8a9915c885a1fe3d4efe97c64fd2381632ac4c2f2dfccf5d9a589b2cef5e89fd1872d31c03085946135eebaab3a0cfa4846950cb33d07838e369 SHA512 6b1108d9c1a4b741189c68da4ac38e1e3291573da3f808650bf43305abd8b86d1a0e51ab54e4cd1632a850513428e92f70f0a91ac9c014bb623f7a12d07aaa75 +EBUILD minikube-1.26.1.ebuild 2297 BLAKE2B f5f3f4b595803d92e0c7e3ddb38537a7d726793518a2463a6cb1b889221dc4103d65ed5d14a22196f76b939848be64930a09b4141274b7a6f2f66825a55f523e SHA512 c9ec7a8179a60ce1f24185457dd66c224520df0dd9e17e6999e394f26efa1970e7bad6d0dff368cc4ce420255c465b206f52ef680f8731f4b49adf83b28d0dde MISC metadata.xml 394 BLAKE2B fafba25060bc4bb387492659132b39d8b4fd7fbc2136de870eaa87ab9ee3ecaea732093904a3c580b80150da5c47f445fe3b5f85716c343904684dd1fbda2b94 SHA512 da62983710576f02082e75cd84648e47e97d1aae6b25e862fc0c4379b07976ac2838684760b7aebc77e775ff631fc9a57fabfd7997831d2112b58ad010dcd31f diff --git a/sys-cluster/minikube/minikube-1.26.1.ebuild b/sys-cluster/minikube/minikube-1.26.1.ebuild new file mode 100644 index 000000000000..029fbb4dba7b --- /dev/null +++ b/sys-cluster/minikube/minikube-1.26.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module toolchain-funcs +GIT_COMMIT=62e108c3dfdec8029a890ad6d8ef96b6461426dc +GIT_COMMIT_SHORT=${GIT_COMMIT:0:9} + +DESCRIPTION="Single Node Kubernetes Cluster" +HOMEPAGE="https://github.com/kubernetes/minikube https://kubernetes.io" + +SRC_URI="https://github.com/zmedico/minikube/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-4.0 CC-BY-SA-4.0 CC0-1.0 GPL-2 ISC LGPL-3 MIT MPL-2.0 WTFPL-2 ZLIB || ( LGPL-3+ GPL-2 ) || ( Apache-2.0 LGPL-3+ ) || ( Apache-2.0 CC-BY-4.0 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="hardened libvirt" + +COMMON_DEPEND="libvirt? ( app-emulation/libvirt:=[qemu] )" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/go-bindata" + +RESTRICT+=" test" +S=${WORKDIR}/${P}-vendor + +src_configure() { + case "${ARCH}" in + amd64|arm*) + minikube_arch="${ARCH}" ;; + ppc64) + # upstream does not support big-endian ppc64 + minikube_arch="${ARCH}le" ;; + *) + die "${ARCH} is not supported" ;; + esac + minikube_target="out/minikube-linux-${minikube_arch}" +} + +src_compile() { + # out/docker-machine-driver-kvm2 target is amd64 specific + # but libvirt useflag is masked on most arches. + COMMIT=${GIT_COMMIT} \ + COMMIT_NO=${GIT_COMMIT} \ + COMMIT_SHORT=${GIT_COMMIT_SHORT} \ + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + LDFLAGS="" \ + emake \ + $(usex libvirt "out/docker-machine-driver-kvm2" "") \ + "${minikube_target}" +} + +src_install() { + newbin "${minikube_target}" minikube + use libvirt && dobin out/docker-machine-driver-kvm2 + dodoc -r site CHANGELOG.md README.md + + if ! tc-is-cross-compiler; then + "${minikube_target}" completion bash > "${T}/bashcomp" || die + "${minikube_target}" completion fish > "${T}/fishcomp" || die + "${minikube_target}" completion zsh > "${T}/zshcomp" || die + + newbashcomp "${T}/bashcomp" minikube + insinto /usr/share/fish/vendor_completions.d + newins "${T}/fishcomp" minikube.fish + insinto /usr/share/zsh/site-functions + newins "${T}/zshcomp" _minikube + fi +} + +pkg_postinst() { + elog "You may want to install the following optional dependencies:" + elog " app-emulation/virtualbox or app-emulation/virtualbox-bin" + elog " sys-cluster/kubectl" +} |