summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-04-30 12:43:15 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-04-30 12:46:43 -0500
commit550f521419e2e2336cd17a1b64a104e800a4251b (patch)
tree49c2cc6095e031aa52922585b564b7d93330fd95 /sys-cluster
parentdev-lua/luasec: remove libressl support (diff)
downloadgentoo-550f521419e2e2336cd17a1b64a104e800a4251b.tar.gz
gentoo-550f521419e2e2336cd17a1b64a104e800a4251b.tar.bz2
gentoo-550f521419e2e2336cd17a1b64a104e800a4251b.zip
sys-cluster/kube-router: 1.2.2 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kube-router/Manifest1
-rw-r--r--sys-cluster/kube-router/kube-router-1.2.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index e23b546bf5dc..65664e1eccc5 100644
--- a/sys-cluster/kube-router/Manifest
+++ b/sys-cluster/kube-router/Manifest
@@ -1 +1,2 @@
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
diff --git a/sys-cluster/kube-router/kube-router-1.2.2.ebuild b/sys-cluster/kube-router/kube-router-1.2.2.ebuild
new file mode 100644
index 000000000000..7cb3180b581b
--- /dev/null
+++ b/sys-cluster/kube-router/kube-router-1.2.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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"
+
+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() {
+ go test -mod=vendor -v -timeout=30s ./cmd/kube-router ./pkg/... ||
+ die "tests failed"
+}
+
+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
+}