diff options
author | William Hubbs <williamh@gentoo.org> | 2022-07-28 15:11:17 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-07-28 15:11:17 -0500 |
commit | c37fb04c739faa18cb77594125cb28755e48fe1f (patch) | |
tree | 52039f09392bd042fbe7c126289d468755419c4b /sys-cluster/kube-router | |
parent | dev-libs/tree-sitter: drop 0.20.0, 0.20.2-r1 (diff) | |
download | gentoo-c37fb04c739faa18cb77594125cb28755e48fe1f.tar.gz gentoo-c37fb04c739faa18cb77594125cb28755e48fe1f.tar.bz2 gentoo-c37fb04c739faa18cb77594125cb28755e48fe1f.zip |
sys-cluster/kube-router: add 1.5.0
Closes: https://bugs.gentoo.org/747214
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-router')
-rw-r--r-- | sys-cluster/kube-router/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/kube-router/kube-router-1.5.0.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest index 65664e1eccc5..e7ff478a1c6d 100644 --- a/sys-cluster/kube-router/Manifest +++ b/sys-cluster/kube-router/Manifest @@ -1,2 +1,4 @@ DIST kube-router-1.1.1.tar.gz 8155406 BLAKE2B c036f94eb8e938d37fcc62c58d64c718493d730e0b3fec9ecc2287a772f9890cf63b9728c3c8b0eae00098173e237b91a3dc8801029ed026800b5df3076e7d5a SHA512 172921e999cd9634663ec522623259ad9b64ce18506b8358d90547714f64a5c0b73598f8da402e1f4ecdabb3f4d5602e784f27a55747a7d4d2c47c42f51abfef DIST kube-router-1.2.2.tar.gz 8929524 BLAKE2B 246cfbea3a2520109cad1507bda22cb72c2e1625b05d815cda0e014fee634c93a85d1647c8fd4f84aa6f3b8c3e899e215a7cdda7f4c7521f5e44f1c0b85f8251 SHA512 7dc6732b9cfc77fca9fc2fec49716d4bd3eab749089f5a86af66a2c16439e662505dbe0f009c087f85fb7e20393e11f4c007b49c40cfdaabf3b5fcfeac424999 +DIST kube-router-1.5.0-deps.tar.xz 110558264 BLAKE2B f65d75422dd2b8057cb448a7f3c0c70e66768d83f1939496b465c5ffabc7870f56bcde4234affdc15e963f9f61b3025df7d1f98d704f5262ce07ae42308b3040 SHA512 532f560e3431ba36dd8ef36ce6529cb17dc51e6434535f5b58bac3f81c525cf1934c275a2abf80b4606ea831b289660ef8a53f0326780eb45862bc1a1f2401a6 +DIST kube-router-1.5.0.tar.gz 1558200 BLAKE2B b019ffa912a57411e68b03349eafb87a61108d1f63eaad943bc926e6a27b30ac92faf72e0a29f3b1790cd524b0755c2148bf0a7b9e18511012a79657579388ed SHA512 c9fe5977072054c9782c1ef405182b671032e59fddef81e295fec46817c018a3c3eb23b89ee293d3dc9a8645f8d161e337ea19ac1d9da483200ed4c92babe5a4 diff --git a/sys-cluster/kube-router/kube-router-1.5.0.ebuild b/sys-cluster/kube-router/kube-router-1.5.0.ebuild new file mode 100644 index 000000000000..16fd7f0fbd51 --- /dev/null +++ b/sys-cluster/kube-router/kube-router-1.5.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="A turnkey solution for Kubernetes networking" +HOMEPAGE="https://kube-router.io" +SRC_URI="https://github.com/cloudnativelabs/kube-router/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 MIT BSD BSD-2 MPL-2.0 ISC LGPL-3-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + net-firewall/iptables[conntrack] + net-firewall/ipset + sys-cluster/ipvsadm +" + +src_compile() { + emake BUILD_IN_DOCKER=false GIT_COMMIT=v${PV} kube-router +} + +src_test() { + ego test -v -timeout=30s ./cmd/kube-router ./pkg/... +} + +src_install() { + dobin "${PN}" + einstalldocs + newinitd "${FILESDIR}"/kube-router.initd kube-router + newconfd "${FILESDIR}"/kube-router.confd kube-router + insinto /etc/logrotate.d + newins "${FILESDIR}"/kube-router.logrotated kube-router +} |