summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-10-07 11:31:19 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-10-07 11:32:27 -0500
commit8227697146fb6d76d06749dbe2fbdc11c6979d1d (patch)
tree6c771e82c8ad31c5ef6a264e1a7566f645bf99bc /sys-cluster/kube-router
parentdev-python/mypy: add python@g.o to maintainers, update upstream info (diff)
downloadgentoo-8227697146fb6d76d06749dbe2fbdc11c6979d1d.tar.gz
gentoo-8227697146fb6d76d06749dbe2fbdc11c6979d1d.tar.bz2
gentoo-8227697146fb6d76d06749dbe2fbdc11c6979d1d.zip
sys-cluster/kube-router: 1.1.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-router')
-rw-r--r--sys-cluster/kube-router/Manifest1
-rw-r--r--sys-cluster/kube-router/kube-router-1.1.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index dfced39f99af..dfe5c7683c54 100644
--- a/sys-cluster/kube-router/Manifest
+++ b/sys-cluster/kube-router/Manifest
@@ -1,2 +1,3 @@
DIST kube-router-0.4.0.tar.gz 8403982 BLAKE2B e5e9e92064f00d696ca1cde310813541910d3e37b9c31336b1f2729e63a963fb454a2a9d07b2394134b9ea96e64d6caa26b6230bfd214883f5951bcfdd30c674 SHA512 00617e434b770c1b5eeb3f2c85ae9b6f49157224a5df223f5d1ec514ba087164bb03f0e28a38c75d3149c0c028ed54ceccf898a77c474bbf64921f45db7c3e3c
DIST kube-router-1.0.1.tar.gz 8413249 BLAKE2B dd158fda5a25925d1f630764f7ad77a821c145def887093692333fcdb4e9a3d9736fe3243f7834abf60d71835fe37a81e4d0a9f20cb45e05d9bb817a50d81196 SHA512 a84176785367fb87562a9a410d87376d938fb32c8aec0cd71259ca3af2204b76ba083201b5f2ad38b395a83a321f0feec4b304a4f3add595b5eadf0837a6918b
+DIST kube-router-1.1.0.tar.gz 8095149 BLAKE2B 9487d329ef1dc09b0e0d58233a4440da53a239f78dfd4d1f4676c23c347f550431c2a898656e0670afc002bd5435ae172662408fa3526335af95303a1ac9d6d9 SHA512 14ff214257fb0dd1a2e98c5d2a5abb65d2b104402d8403066225274f85dfa861fef6c2b389c2c008a07b42367bb5be52785e375c13e2feffd915863f1da5c86a
diff --git a/sys-cluster/kube-router/kube-router-1.1.0.ebuild b/sys-cluster/kube-router/kube-router-1.1.0.ebuild
new file mode 100644
index 000000000000..001c06d8fbc8
--- /dev/null
+++ b/sys-cluster/kube-router/kube-router-1.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020 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
+}