diff options
-rw-r--r-- | sys-cluster/kube-router/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/kube-router/kube-router-1.6.0.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest index e7ff478a1c6d..471750710698 100644 --- a/sys-cluster/kube-router/Manifest +++ b/sys-cluster/kube-router/Manifest @@ -2,3 +2,5 @@ DIST kube-router-1.1.1.tar.gz 8155406 BLAKE2B c036f94eb8e938d37fcc62c58d64c71849 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 +DIST kube-router-1.6.0-deps.tar.xz 116925328 BLAKE2B 3517db9cae1253229d371888c58f7f194fd1d487298931c67984a21d64432c539f8594db7d883818bea0bf0e9cbfb7f40d7aa5a0f30f1aecc551de4d822811d2 SHA512 bf547444492962ba190e1005c3ca4d0a2354e074e5072d401811d68fa6637d005098b8519c8dd303868b16117039b7d932ff74b2d3befbdf8ce6e6c1a254d3b5 +DIST kube-router-1.6.0.tar.gz 1546330 BLAKE2B 94279e52691ac08e699ce4e271500066df00db5983519dcb4ffb1783891339093bad4a0f8c2c3a01d8798633650103f263c4f21ce6485581acfc154934b37aff SHA512 1b5772e3f032ee81438a54ae8bbd1873eff300d0ab9bac17198892c324d4cc4cb6afd90eeef6345e8b69f2a66b30a68ff144c9585e5b61dc7e83c7da123548cd diff --git a/sys-cluster/kube-router/kube-router-1.6.0.ebuild b/sys-cluster/kube-router/kube-router-1.6.0.ebuild new file mode 100644 index 000000000000..6368727aea6f --- /dev/null +++ b/sys-cluster/kube-router/kube-router-1.6.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020-2023 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 +" + +RESTRICT="test" + +src_compile() { + emake BUILD_IN_DOCKER=false GIT_COMMIT=v${PV} kube-router +} + +src_test() { + emake BUILD_IN_DOCKER=false test +} + +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 +} |