public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2020-08-12  7:59 Joonas Niilola
  0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2020-08-12  7:59 UTC (permalink / raw
  To: gentoo-commits

commit:     643754750a8437150ad3c5c74c7351d3d0c0ba89
Author:     Konstantin Podshumok <kpp.live+signed <AT> gmail <DOT> com>
AuthorDate: Mon Jul 20 22:48:18 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 07:59:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64375475

sys-cluster/kube-router: drop old

Cluses: https://github.com/gentoo/gentoo/pull/16755/
Signed-off-by: Konstantin Podshumok <kpp.live+signed <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16755
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |  1 -
 sys-cluster/kube-router/kube-router-0.3.1.ebuild | 48 ------------------------
 2 files changed, 49 deletions(-)

diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index 4b66844af34..dfced39f99a 100644
--- a/sys-cluster/kube-router/Manifest
+++ b/sys-cluster/kube-router/Manifest
@@ -1,3 +1,2 @@
-DIST kube-router-0.3.1.tar.gz 8468463 BLAKE2B 23ee608e6415b3627f5024c8778ae1f33c5db3c1c564d0eb1e0fcb45dd90ff4a148c39e7fd0a4888d6b4cf13b129c5249c2db868efa584f15e31c7ff539829d5 SHA512 185e3a58dc6112e33ed7dc5702795dd7be0a37b63c7c882a1c092060a57a755ea4ea5c2cc96c93210bee632a4a4c4b19f3506ceb44b96d4727cf62cb2f28818f
 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

diff --git a/sys-cluster/kube-router/kube-router-0.3.1.ebuild b/sys-cluster/kube-router/kube-router-0.3.1.ebuild
deleted file mode 100644
index c0be2fdbb4e..00000000000
--- a/sys-cluster/kube-router/kube-router-0.3.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-EGO_PN="github.com/cloudnativelabs/${PN}"
-
-inherit golang-build golang-vcs-snapshot
-
-KEYWORDS="~amd64"
-
-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"
-
-RDEPEND="
-	net-firewall/iptables[conntrack]
-	net-firewall/ipset
-	sys-cluster/ipvsadm
-"
-
-src_compile() {
-	pushd "src/${EGO_PN}" || die
-	GOPATH="${S}" go build -x -work -v \
-		-ldflags "-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.version=${PV}' "\
-"-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.buildDate=$(date -u +%FT%T%z)'" \
-		-o kube-router cmd/kube-router/kube-router.go || die
-	popd || die
-}
-
-src_test() {
-	:
-}
-
-src_install() {
-	pushd "src/${EGO_PN}" || die
-	dobin "${PN}"
-	dodoc *.md docs/*.md docs/*/*
-	popd || die
-
-	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
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2020-08-12  7:59 Joonas Niilola
  0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2020-08-12  7:59 UTC (permalink / raw
  To: gentoo-commits

commit:     4a77a7c4a87f6a387a7a628e62c2b852c9c236d7
Author:     Konstantin Podshumok <kpp.live+signed <AT> gmail <DOT> com>
AuthorDate: Mon Jul 20 22:47:17 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 07:59:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a77a7c4

sys-cluster/kube-router: bump v1.0.1.ebuild

Signed-off-by: Konstantin Podshumok <kpp.live+signed <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |   1 +
 sys-cluster/kube-router/kube-router-1.0.1.ebuild | 198 +++++++++++++++++++++++
 2 files changed, 199 insertions(+)

diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index 6cf2a1e48fc..4b66844af34 100644
--- a/sys-cluster/kube-router/Manifest
+++ b/sys-cluster/kube-router/Manifest
@@ -1,2 +1,3 @@
 DIST kube-router-0.3.1.tar.gz 8468463 BLAKE2B 23ee608e6415b3627f5024c8778ae1f33c5db3c1c564d0eb1e0fcb45dd90ff4a148c39e7fd0a4888d6b4cf13b129c5249c2db868efa584f15e31c7ff539829d5 SHA512 185e3a58dc6112e33ed7dc5702795dd7be0a37b63c7c882a1c092060a57a755ea4ea5c2cc96c93210bee632a4a4c4b19f3506ceb44b96d4727cf62cb2f28818f
 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

diff --git a/sys-cluster/kube-router/kube-router-1.0.1.ebuild b/sys-cluster/kube-router/kube-router-1.0.1.ebuild
new file mode 100644
index 00000000000..f1c72e8048b
--- /dev/null
+++ b/sys-cluster/kube-router/kube-router-1.0.1.ebuild
@@ -0,0 +1,198 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN="github.com/cloudnativelabs/${PN}"
+
+inherit golang-build golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+
+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"
+
+RDEPEND="
+	net-firewall/iptables[conntrack]
+	net-firewall/ipset
+	sys-cluster/ipvsadm
+"
+
+# Vendored dependencies (helps with LICENSE, see https://bugs.gentoo.org/694792):
+# github.com/PuerkitoBio/purell # BSD
+# github.com/PuerkitoBio/urlesc # BSD
+# github.com/armon/go-radix # MIT
+# github.com/aws/aws-sdk-go # Apache-2.0
+# github.com/beorn7/perks # MIT
+# github.com/containernetworking/cni # Apache-2.0
+# github.com/coreos/go-iptables # Apache-2.0
+# github.com/docker/distribution # Apache-2.0
+# github.com/docker/docker # Apache-2.0
+# github.com/docker/go-connections # Apache-2.0
+# github.com/docker/go-units # Apache-2.0
+# github.com/docker/libnetwork # Apache-2.0
+# github.com/davecgh/go-spew # ISC
+# github.com/dgryski/go-farm # MIT
+# github.com/eapache/channels # MIT
+# github.com/eapache/queue # MIT
+# github.com/emicklei/go-restful # MIT
+# github.com/emicklei/go-restful-swagger12 # MIT
+# github.com/fsnotify/fsnotify # BSD
+# github.com/ghodss/yaml # MIT BSD
+# github.com/go-ini/ini # Apache-2.0
+# github.com/go-openapi/jsonpointer # Apache-2.0
+# github.com/go-openapi/jsonreference # Apache-2.0
+# github.com/go-openapi/spec # Apache-2.0
+# github.com/go-openapi/swag # Apache-2.0
+# github.com/gogo/protobuf # BSD
+# github.com/golang/glog # Apache-2.0
+# github.com/golang/protobuf # BSD
+# github.com/google/btree # Apache-2.0
+# github.com/google/gofuzz # Apache-2.0
+# github.com/googleapis/gnostic # Apache-2.0
+# github.com/gregjones/httpcache # MIT
+# github.com/hashicorp/golang-lru # MPL-2.0
+# github.com/hashicorp/hcl # MPL-2.0
+# github.com/howeyc/gopass # ISC
+# github.com/imdario/mergo # BSD
+# github.com/influxdata/influxdb # MIT
+# github.com/jmespath/go-jmespath # Apache-2.0
+# github.com/json-iterator/go # MIT
+# github.com/juju/ratelimit # LGPL-3-with-linking-exception
+# github.com/magiconair/properties # BSD-2
+# github.com/mailru/easyjson # MIT
+# github.com/matttproud/golang_protobuf_extensions # Apache-2.0
+# github.com/mitchellh/mapstructure # MIT
+# github.com/modern-go/concurrent # Apache-2.0
+# github.com/modern-go/reflect2 # Apache-2.0
+# github.com/opencontainers/go-digest # Apache-2.0
+# github.com/opencontainers/image-spec # Apache-2.0
+# github.com/osrg/gobgp # Apache-2.0
+# github.com/pelletier/go-toml # MIT
+# github.com/peterbourgon/diskv # MIT
+# github.com/pkg/errors # BSD-2
+# github.com/prometheus/client_golang # Apache-2.0
+# github.com/prometheus/client_model # Apache-2.0
+# github.com/prometheus/common # Apache-2.0
+# github.com/prometheus/procfs # Apache-2.0
+# github.com/satori/go.uuid # MIT
+# github.com/sirupsen/logrus # MIT
+# github.com/spf13/afero # Apache-2.0
+# github.com/spf13/cast # MIT
+# github.com/spf13/jwalterweatherman # MIT
+# github.com/spf13/pflag # BSD
+# github.com/spf13/viper # MIT
+# github.com/vishvananda/netlink # Apache-2.0
+# github.com/vishvananda/netns # Apache-2.0
+# google.golang.org/genproto # Apache-2.0
+# google.golang.org/grpc # Apache-2.0
+# golang.org/x/crypto # BSD
+# golang.org/x/net # BSD
+# golang.org/x/sys # BSD
+# golang.org/x/text # BSD
+# k8s.io/api # Apache-2.0
+# k8s.io/apimachinery # Apache-2.0
+# k8s.io/client-go # Apache-2.0
+# k8s.io/kube-openapi # Apache-2.0
+# gopkg.in/inf.v0 # BSD
+# gopkg.in/tomb.v2 # BSD
+# gopkg.in/yaml.v2 # Apache-2.0 && MIT
+
+# Test dependencies:
+# github.com/onsi/ginkgo # MIT
+# github.com/onsi/gomega # MIT
+
+src_prepare() {
+	eapply_user
+	# we are going to remove some stuff that is not required for compoilation
+	# but may have some license issues
+	local unneeded_dir
+	local unneeded_dirs=(
+		github.com/howeyc/gopass/terminal_solaris.go
+		github.com/docker/libnetwork/client/mflag
+		github.com/prometheus/client_model/ruby
+		github.com/docker/docker/contrib
+
+		github.com/Microsoft/go-winio
+		github.com/inconshreveable/mousetrap
+
+		github.com/petar/GoLLRB
+		github.com/spf13/cobra
+	)
+	for unneeded_dir in ${unneeded_dirs[@]}; do
+		mv -v "${S}/src/${EGO_PN}/vendor/${unneeded_dir}" "${T}" || \
+			die "can't remove ${unneeded_dir}"
+	done
+}
+
+src_compile() {
+	pushd "src/${EGO_PN}" || die
+	GOPATH="${S}" go build -x -work -v \
+		-ldflags "-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.version=${PV}' "\
+"-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.buildDate=$(date -u +%FT%T%z)'" \
+		-o kube-router cmd/kube-router/kube-router.go || die
+	popd || die
+}
+
+src_test() {
+	local line
+	local testdirs="github.com/cloudnativelabs/kube-router/cmd/kube-router/
+		github.com/cloudnativelabs/kube-router/pkg/..."
+
+	local known_fail=(
+		Test_advertiseClusterIPs
+		Test_advertiseExternalIPs
+		Test_advertiseAnnotationOptOut
+		Test_advertiseAnnotationOptIn
+		Test_advertisePodRoute
+		Test_syncInternalPeers
+		Test_AddPolicies
+		Test_routeReflectorConfiguration
+	)
+
+	# concat as '|^Test1$|^Test2$|^Test3...$':
+	local known_fail_re="$(printf '|^%s$' "${known_fail[@]}" || die)"
+	# drop '|' in the begining:
+	known_fail_re="${known_fail_re:1}"
+
+	einfo "Looking for tests"
+	local working_tests_re="$(
+		# get list of all test:
+		{
+			GOFLLAGS="-mod=readonly" GOPATH="${S}" \
+				go test -list . ${testdirs} ||
+			die "Can't get list of tests";
+		} |
+		{ while read line; do echo "${line}"; echo "${line}" >&2; done; } |
+		# skip "no tests" messages as well as know failures:
+		{ grep -v -E " |${known_fail_re}" || die "Can't parse tests list"; } |
+		# format a regexp:
+		{ sed -z 's/\n/$|^/g' || die; }
+	)"
+	# drop '|^' in the end:
+	working_tests_re="^${working_tests_re::-2}"
+
+	GOFLLAGS="-mod=readonly" GOPATH="${S}" \
+		go test -v -timeout 30s -run "${working_tests_re}" ${testdirs} || \
+			die "Tests failed"
+	GOFLLAGS="-mod=readonly" GOPATH="${S}" \
+		go test -v -timeout 30s -run "${known_fail_re}" ${testdirs} || \
+			ewarn "Known test failure"
+}
+
+src_install() {
+	pushd "src/${EGO_PN}" || die
+	dobin "${PN}"
+	einstalldocs
+	popd || die
+
+	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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2020-10-07 16:32 William Hubbs
  0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2020-10-07 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8227697146fb6d76d06749dbe2fbdc11c6979d1d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 16:31:19 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 16:32:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82276971

sys-cluster/kube-router: 1.1.0 bump

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |  1 +
 sys-cluster/kube-router/kube-router-1.1.0.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index dfced39f99a..dfe5c7683c5 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 00000000000..001c06d8fbc
--- /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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2020-12-19 19:22 William Hubbs
  0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2020-12-19 19:22 UTC (permalink / raw
  To: gentoo-commits

commit:     85461729989e0c9efa8b3f57d227eda434677b52
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 19:22:02 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 19:22:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85461729

sys-cluster/kube-router: 1.1.1 bump

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |  1 +
 sys-cluster/kube-router/kube-router-1.1.1.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index dfe5c7683c5..4db43e01441 100644
--- a/sys-cluster/kube-router/Manifest
+++ b/sys-cluster/kube-router/Manifest
@@ -1,3 +1,4 @@
 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
+DIST kube-router-1.1.1.tar.gz 8155406 BLAKE2B c036f94eb8e938d37fcc62c58d64c718493d730e0b3fec9ecc2287a772f9890cf63b9728c3c8b0eae00098173e237b91a3dc8801029ed026800b5df3076e7d5a SHA512 172921e999cd9634663ec522623259ad9b64ce18506b8358d90547714f64a5c0b73598f8da402e1f4ecdabb3f4d5602e784f27a55747a7d4d2c47c42f51abfef

diff --git a/sys-cluster/kube-router/kube-router-1.1.1.ebuild b/sys-cluster/kube-router/kube-router-1.1.1.ebuild
new file mode 100644
index 00000000000..001c06d8fbc
--- /dev/null
+++ b/sys-cluster/kube-router/kube-router-1.1.1.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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2021-01-09 10:36 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-01-09 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     23b5831c028d0d86b367b2d38eb80b553e71ba61
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  9 09:48:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  9 10:36:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b5831c

sys-cluster/kube-router: drop trailing whitespace

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/kube-router/kube-router-1.1.0.ebuild | 4 ++--
 sys-cluster/kube-router/kube-router-1.1.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/kube-router/kube-router-1.1.0.ebuild b/sys-cluster/kube-router/kube-router-1.1.0.ebuild
index 001c06d8fbc..7cb3180b581 100644
--- a/sys-cluster/kube-router/kube-router-1.1.0.ebuild
+++ b/sys-cluster/kube-router/kube-router-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,7 +23,7 @@ src_compile() {
 }
 
 src_test() {
-	go test -mod=vendor -v -timeout=30s ./cmd/kube-router ./pkg/... || 
+	go test -mod=vendor -v -timeout=30s ./cmd/kube-router ./pkg/... ||
 		die "tests failed"
 }
 

diff --git a/sys-cluster/kube-router/kube-router-1.1.1.ebuild b/sys-cluster/kube-router/kube-router-1.1.1.ebuild
index 001c06d8fbc..7cb3180b581 100644
--- a/sys-cluster/kube-router/kube-router-1.1.1.ebuild
+++ b/sys-cluster/kube-router/kube-router-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,7 +23,7 @@ src_compile() {
 }
 
 src_test() {
-	go test -mod=vendor -v -timeout=30s ./cmd/kube-router ./pkg/... || 
+	go test -mod=vendor -v -timeout=30s ./cmd/kube-router ./pkg/... ||
 		die "tests failed"
 }
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2021-03-20  8:25 Joonas Niilola
  0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2021-03-20  8:25 UTC (permalink / raw
  To: gentoo-commits

commit:     4d05b7b1c1d77245b32c8803b3b8832e7ba60107
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 08:18:19 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 08:25:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d05b7b1

sys-cluster/kube-router: drop 0.4.0, 1.0.1, 1.1.0

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |   3 -
 sys-cluster/kube-router/kube-router-0.4.0.ebuild | 160 ------------------
 sys-cluster/kube-router/kube-router-1.0.1.ebuild | 198 -----------------------
 sys-cluster/kube-router/kube-router-1.1.0.ebuild |  37 -----
 4 files changed, 398 deletions(-)

diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index 4db43e01441..e23b546bf5d 100644
--- a/sys-cluster/kube-router/Manifest
+++ b/sys-cluster/kube-router/Manifest
@@ -1,4 +1 @@
-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
 DIST kube-router-1.1.1.tar.gz 8155406 BLAKE2B c036f94eb8e938d37fcc62c58d64c718493d730e0b3fec9ecc2287a772f9890cf63b9728c3c8b0eae00098173e237b91a3dc8801029ed026800b5df3076e7d5a SHA512 172921e999cd9634663ec522623259ad9b64ce18506b8358d90547714f64a5c0b73598f8da402e1f4ecdabb3f4d5602e784f27a55747a7d4d2c47c42f51abfef

diff --git a/sys-cluster/kube-router/kube-router-0.4.0.ebuild b/sys-cluster/kube-router/kube-router-0.4.0.ebuild
deleted file mode 100644
index 1200a1c74c0..00000000000
--- a/sys-cluster/kube-router/kube-router-0.4.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-EGO_PN="github.com/cloudnativelabs/${PN}"
-
-inherit golang-build golang-vcs-snapshot
-
-KEYWORDS="~amd64"
-
-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"
-
-# It will fail (timeout) at least with standard set of FEATURES attempting to serve bgp
-RESTRICT="test"
-
-SLOT="0"
-
-RDEPEND="
-	net-firewall/iptables[conntrack]
-	net-firewall/ipset
-	sys-cluster/ipvsadm
-"
-
-# Vendored dependencies (helps with LICENSE, see https://bugs.gentoo.org/694792):
-# github.com/aws/aws-sdk-go # Apache-2.0
-# github.com/containernetworking/cni # Apache-2.0
-# github.com/coreos/go-iptables # Apache-2.0
-# github.com/docker/docker # Apache-2.0
-# github.com/docker/distribution # Apache-2.0
-# github.com/docker/go-connections # Apache-2.0
-# github.com/docker/go-units # Apache-2.0
-# github.com/docker/libnetwork # Apache-2.0
-# github.com/osrg/gobgp # Apache-2.0
-# github.com/prometheus/client_model # Apache-2.0
-# github.com/prometheus/client_golang # Apache-2.0
-# github.com/prometheus/common # Apache-2.0
-# github.com/prometheus/procfs # Apache-2.0
-# github.com/satori/go.uuid # MIT
-# github.com/vishvananda/netlink # Apache-2.0
-# github.com/vishvananda/netns # Apache-2.0
-# github.com/beorn7/perks # MIT
-# github.com/davecgh/go-spew # ISC
-# github.com/dgryski/go-farm # MIT
-# github.com/eapache/channels # MIT
-# github.com/eapache/queue # MIT
-# github.com/emicklei/go-restful # MIT
-# github.com/emicklei/go-restful-swagger12 # MIT
-# github.com/ghodss/yaml # MIT BSD
-# github.com/go-ini/ini # Apache-2.0
-# github.com/armon/go-radix # MIT
-# github.com/go-openapi/spec # Apache-2.0
-# github.com/gogo/protobuf # BSD
-# github.com/gregjones/httpcache # MIT
-# github.com/hashicorp/golang-lru # MPL-2.0
-# github.com/go-openapi/jsonpointer # Apache-2.0
-# github.com/go-openapi/jsonreference # Apache-2.0
-# github.com/go-openapi/swag # Apache-2.0
-# github.com/howeyc/gopass # ISC
-# github.com/imdario/mergo # BSD
-# github.com/influxdata/influxdb # MIT
-# github.com/jmespath/go-jmespath # Apache-2.0
-# github.com/json-iterator/go # MIT
-# github.com/juju/ratelimit # LGPL-3-with-linking-exception
-# github.com/opencontainers/go-digest # Apache-2.0
-# github.com/opencontainers/image-spec # Apache-2.0
-# github.com/peterbourgon/diskv # MIT
-# github.com/PuerkitoBio/purell # BSD
-# github.com/PuerkitoBio/urlesc # BSD
-# github.com/mailru/easyjson # MIT
-# github.com/modern-go/concurrent # Apache-2.0
-# github.com/modern-go/reflect2 # Apache-2.0
-# github.com/spf13/afero # Apache-2.0
-# github.com/spf13/cast # MIT
-# github.com/spf13/pflag # BSD
-# github.com/spf13/viper # MIT
-# github.com/spf13/jwalterweatherman # MIT
-# github.com/fsnotify/fsnotify # BSD
-# github.com/hashicorp/hcl # MPL-2.0
-# github.com/magiconair/properties # BSD-2
-# github.com/mitchellh/mapstructure # MIT
-# github.com/pelletier/go-toml # MIT
-# github.com/sirupsen/logrus # MIT
-# github.com/matttproud/golang_protobuf_extensions # Apache-2.0
-# github.com/golang/protobuf # BSD
-# github.com/golang/glog # Apache-2.0
-# github.com/pkg/errors # BSD-2
-# github.com/google/gofuzz # Apache-2.0
-# github.com/google/btree # Apache-2.0
-# github.com/googleapis/gnostic # Apache-2.0
-# google.golang.org/grpc # Apache-2.0
-# google.golang.org/genproto # Apache-2.0
-# golang.org/x/crypto # BSD
-# golang.org/x/net # BSD
-# golang.org/x/sys # BSD
-# golang.org/x/text # BSD
-# k8s.io/api # Apache-2.0
-# k8s.io/apimachinery # Apache-2.0
-# k8s.io/client-go # Apache-2.0
-# k8s.io/kube-openapi # Apache-2.0
-# gopkg.in/inf.v0 # BSD
-# gopkg.in/tomb.v2 # BSD
-# gopkg.in/yaml.v2 # Apache-2.0 && MIT
-
-# Test dependencies:
-# github.com/onsi/ginkgo # MIT
-# github.com/onsi/gomega # MIT
-
-src_prepare() {
-	eapply_user
-	# we are going to remove some stuff that is not required for compoilation
-	# but may have some license issues
-	local unneeded_dir
-	local unneeded_dirs=(
-		github.com/howeyc/gopass/terminal_solaris.go
-		github.com/docker/libnetwork/client/mflag
-		github.com/prometheus/client_model/ruby
-		github.com/docker/docker/contrib
-
-		github.com/Microsoft/go-winio
-		github.com/inconshreveable/mousetrap
-
-		github.com/petar/GoLLRB
-		github.com/spf13/cobra
-	)
-	for unneeded_dir in ${unneeded_dirs[@]}; do
-		mv -v "${S}/src/${EGO_PN}/vendor/${unneeded_dir}" "${T}" || \
-			die "can't remove ${unneeded_dir}"
-	done
-}
-
-src_compile() {
-	pushd "src/${EGO_PN}" || die
-	GOPATH="${S}" go build -x -work -v \
-		-ldflags "-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.version=${PV}' "\
-"-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.buildDate=$(date -u +%FT%T%z)'" \
-		-o kube-router cmd/kube-router/kube-router.go || die
-	popd || die
-}
-
-src_test() {
-	pushd "src/${EGO_PN}" || die
-	emake GOPATH="${S}" BUILD_IN_DOCKER= test || die "Tests failed"
-}
-
-src_install() {
-	pushd "src/${EGO_PN}" || die
-	dobin "${PN}"
-	einstalldocs
-	popd || die
-
-	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
-}

diff --git a/sys-cluster/kube-router/kube-router-1.0.1.ebuild b/sys-cluster/kube-router/kube-router-1.0.1.ebuild
deleted file mode 100644
index f1c72e8048b..00000000000
--- a/sys-cluster/kube-router/kube-router-1.0.1.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-EGO_PN="github.com/cloudnativelabs/${PN}"
-
-inherit golang-build golang-vcs-snapshot
-
-KEYWORDS="~amd64"
-
-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"
-
-RDEPEND="
-	net-firewall/iptables[conntrack]
-	net-firewall/ipset
-	sys-cluster/ipvsadm
-"
-
-# Vendored dependencies (helps with LICENSE, see https://bugs.gentoo.org/694792):
-# github.com/PuerkitoBio/purell # BSD
-# github.com/PuerkitoBio/urlesc # BSD
-# github.com/armon/go-radix # MIT
-# github.com/aws/aws-sdk-go # Apache-2.0
-# github.com/beorn7/perks # MIT
-# github.com/containernetworking/cni # Apache-2.0
-# github.com/coreos/go-iptables # Apache-2.0
-# github.com/docker/distribution # Apache-2.0
-# github.com/docker/docker # Apache-2.0
-# github.com/docker/go-connections # Apache-2.0
-# github.com/docker/go-units # Apache-2.0
-# github.com/docker/libnetwork # Apache-2.0
-# github.com/davecgh/go-spew # ISC
-# github.com/dgryski/go-farm # MIT
-# github.com/eapache/channels # MIT
-# github.com/eapache/queue # MIT
-# github.com/emicklei/go-restful # MIT
-# github.com/emicklei/go-restful-swagger12 # MIT
-# github.com/fsnotify/fsnotify # BSD
-# github.com/ghodss/yaml # MIT BSD
-# github.com/go-ini/ini # Apache-2.0
-# github.com/go-openapi/jsonpointer # Apache-2.0
-# github.com/go-openapi/jsonreference # Apache-2.0
-# github.com/go-openapi/spec # Apache-2.0
-# github.com/go-openapi/swag # Apache-2.0
-# github.com/gogo/protobuf # BSD
-# github.com/golang/glog # Apache-2.0
-# github.com/golang/protobuf # BSD
-# github.com/google/btree # Apache-2.0
-# github.com/google/gofuzz # Apache-2.0
-# github.com/googleapis/gnostic # Apache-2.0
-# github.com/gregjones/httpcache # MIT
-# github.com/hashicorp/golang-lru # MPL-2.0
-# github.com/hashicorp/hcl # MPL-2.0
-# github.com/howeyc/gopass # ISC
-# github.com/imdario/mergo # BSD
-# github.com/influxdata/influxdb # MIT
-# github.com/jmespath/go-jmespath # Apache-2.0
-# github.com/json-iterator/go # MIT
-# github.com/juju/ratelimit # LGPL-3-with-linking-exception
-# github.com/magiconair/properties # BSD-2
-# github.com/mailru/easyjson # MIT
-# github.com/matttproud/golang_protobuf_extensions # Apache-2.0
-# github.com/mitchellh/mapstructure # MIT
-# github.com/modern-go/concurrent # Apache-2.0
-# github.com/modern-go/reflect2 # Apache-2.0
-# github.com/opencontainers/go-digest # Apache-2.0
-# github.com/opencontainers/image-spec # Apache-2.0
-# github.com/osrg/gobgp # Apache-2.0
-# github.com/pelletier/go-toml # MIT
-# github.com/peterbourgon/diskv # MIT
-# github.com/pkg/errors # BSD-2
-# github.com/prometheus/client_golang # Apache-2.0
-# github.com/prometheus/client_model # Apache-2.0
-# github.com/prometheus/common # Apache-2.0
-# github.com/prometheus/procfs # Apache-2.0
-# github.com/satori/go.uuid # MIT
-# github.com/sirupsen/logrus # MIT
-# github.com/spf13/afero # Apache-2.0
-# github.com/spf13/cast # MIT
-# github.com/spf13/jwalterweatherman # MIT
-# github.com/spf13/pflag # BSD
-# github.com/spf13/viper # MIT
-# github.com/vishvananda/netlink # Apache-2.0
-# github.com/vishvananda/netns # Apache-2.0
-# google.golang.org/genproto # Apache-2.0
-# google.golang.org/grpc # Apache-2.0
-# golang.org/x/crypto # BSD
-# golang.org/x/net # BSD
-# golang.org/x/sys # BSD
-# golang.org/x/text # BSD
-# k8s.io/api # Apache-2.0
-# k8s.io/apimachinery # Apache-2.0
-# k8s.io/client-go # Apache-2.0
-# k8s.io/kube-openapi # Apache-2.0
-# gopkg.in/inf.v0 # BSD
-# gopkg.in/tomb.v2 # BSD
-# gopkg.in/yaml.v2 # Apache-2.0 && MIT
-
-# Test dependencies:
-# github.com/onsi/ginkgo # MIT
-# github.com/onsi/gomega # MIT
-
-src_prepare() {
-	eapply_user
-	# we are going to remove some stuff that is not required for compoilation
-	# but may have some license issues
-	local unneeded_dir
-	local unneeded_dirs=(
-		github.com/howeyc/gopass/terminal_solaris.go
-		github.com/docker/libnetwork/client/mflag
-		github.com/prometheus/client_model/ruby
-		github.com/docker/docker/contrib
-
-		github.com/Microsoft/go-winio
-		github.com/inconshreveable/mousetrap
-
-		github.com/petar/GoLLRB
-		github.com/spf13/cobra
-	)
-	for unneeded_dir in ${unneeded_dirs[@]}; do
-		mv -v "${S}/src/${EGO_PN}/vendor/${unneeded_dir}" "${T}" || \
-			die "can't remove ${unneeded_dir}"
-	done
-}
-
-src_compile() {
-	pushd "src/${EGO_PN}" || die
-	GOPATH="${S}" go build -x -work -v \
-		-ldflags "-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.version=${PV}' "\
-"-X 'github.com/cloudnativelabs/kube-router/pkg/cmd.buildDate=$(date -u +%FT%T%z)'" \
-		-o kube-router cmd/kube-router/kube-router.go || die
-	popd || die
-}
-
-src_test() {
-	local line
-	local testdirs="github.com/cloudnativelabs/kube-router/cmd/kube-router/
-		github.com/cloudnativelabs/kube-router/pkg/..."
-
-	local known_fail=(
-		Test_advertiseClusterIPs
-		Test_advertiseExternalIPs
-		Test_advertiseAnnotationOptOut
-		Test_advertiseAnnotationOptIn
-		Test_advertisePodRoute
-		Test_syncInternalPeers
-		Test_AddPolicies
-		Test_routeReflectorConfiguration
-	)
-
-	# concat as '|^Test1$|^Test2$|^Test3...$':
-	local known_fail_re="$(printf '|^%s$' "${known_fail[@]}" || die)"
-	# drop '|' in the begining:
-	known_fail_re="${known_fail_re:1}"
-
-	einfo "Looking for tests"
-	local working_tests_re="$(
-		# get list of all test:
-		{
-			GOFLLAGS="-mod=readonly" GOPATH="${S}" \
-				go test -list . ${testdirs} ||
-			die "Can't get list of tests";
-		} |
-		{ while read line; do echo "${line}"; echo "${line}" >&2; done; } |
-		# skip "no tests" messages as well as know failures:
-		{ grep -v -E " |${known_fail_re}" || die "Can't parse tests list"; } |
-		# format a regexp:
-		{ sed -z 's/\n/$|^/g' || die; }
-	)"
-	# drop '|^' in the end:
-	working_tests_re="^${working_tests_re::-2}"
-
-	GOFLLAGS="-mod=readonly" GOPATH="${S}" \
-		go test -v -timeout 30s -run "${working_tests_re}" ${testdirs} || \
-			die "Tests failed"
-	GOFLLAGS="-mod=readonly" GOPATH="${S}" \
-		go test -v -timeout 30s -run "${known_fail_re}" ${testdirs} || \
-			ewarn "Known test failure"
-}
-
-src_install() {
-	pushd "src/${EGO_PN}" || die
-	dobin "${PN}"
-	einstalldocs
-	popd || die
-
-	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
-}

diff --git a/sys-cluster/kube-router/kube-router-1.1.0.ebuild b/sys-cluster/kube-router/kube-router-1.1.0.ebuild
deleted file mode 100644
index 7cb3180b581..00000000000
--- a/sys-cluster/kube-router/kube-router-1.1.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2021-04-30 17:46 William Hubbs
  0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2021-04-30 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     550f521419e2e2336cd17a1b64a104e800a4251b
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 17:43:15 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 17:46:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550f5214

sys-cluster/kube-router: 1.2.2 bump

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |  1 +
 sys-cluster/kube-router/kube-router-1.2.2.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kube-router/Manifest b/sys-cluster/kube-router/Manifest
index e23b546bf5d..65664e1eccc 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 00000000000..7cb3180b581
--- /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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2022-07-27  5:07 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-07-27  5:07 UTC (permalink / raw
  To: gentoo-commits

commit:     88bcdee3d0c671cfe2d9b0b10bd5729b5553dc13
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 05:06:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 05:07:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88bcdee3

sys-cluster/kube-router: retire inactive proxied maintainer

No commits in 2 years (when most of the pkgs were added).

Bug: https://bugs.gentoo.org/691590
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/kube-router/metadata.xml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sys-cluster/kube-router/metadata.xml b/sys-cluster/kube-router/metadata.xml
index 1b2eac56c947..df57b8f67db9 100644
--- a/sys-cluster/kube-router/metadata.xml
+++ b/sys-cluster/kube-router/metadata.xml
@@ -1,14 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-    <maintainer type="person" proxied="yes">
-        <email>kpp+gentoo@qrator.net</email>
-        <name>Konstantin Ignatov</name>
-    </maintainer>
-    <maintainer type="project" proxied="proxy">
-        <email>proxy-maint@gentoo.org</email>
-        <name>Proxy Maintainers</name>
-    </maintainer>
+    <!-- maintainer-needed -->
     <longdescription lang="en">
         kube-router is an alternative to several network components used
         in typical Kubernetes clusters.


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2022-07-28 18:10 William Hubbs
  0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2022-07-28 18:10 UTC (permalink / raw
  To: gentoo-commits

commit:     6dae508c493e41ccb2c3081e85f108e7f660fead
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 18:10:16 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 18:10:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dae508c

sys-cluster/kube-router: add myself as a maintainer

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-router/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/kube-router/metadata.xml b/sys-cluster/kube-router/metadata.xml
index df57b8f67db9..0ed7077a0ae1 100644
--- a/sys-cluster/kube-router/metadata.xml
+++ b/sys-cluster/kube-router/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-    <!-- maintainer-needed -->
+    <maintainer type="person">
+        <email>williamh@gentoo.org</email>
+        <name>William Hubbs</name>
+    </maintainer>
     <longdescription lang="en">
         kube-router is an alternative to several network components used
         in typical Kubernetes clusters.


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2022-07-28 20:13 William Hubbs
  0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2022-07-28 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     c37fb04c739faa18cb77594125cb28755e48fe1f
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 20:11:17 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 20:11:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c37fb04c

sys-cluster/kube-router: add 1.5.0

Closes: https://bugs.gentoo.org/747214
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |  2 ++
 sys-cluster/kube-router/kube-router-1.5.0.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/
@ 2023-09-01 14:32 William Hubbs
  0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2023-09-01 14:32 UTC (permalink / raw
  To: gentoo-commits

commit:     6c5e0326665a116361a0c62d97acc33f64bcf6ec
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 31 23:04:48 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 14:32:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5e0326

sys-cluster/kube-router: add 1.6.0

Restrict tests for now.

Closes: https://bugs.gentoo.org/913377
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-router/Manifest                 |  2 ++
 sys-cluster/kube-router/kube-router-1.6.0.ebuild | 39 ++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

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
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-01 14:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-12  7:59 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2020-08-12  7:59 Joonas Niilola
2020-10-07 16:32 William Hubbs
2020-12-19 19:22 William Hubbs
2021-01-09 10:36 Sam James
2021-03-20  8:25 Joonas Niilola
2021-04-30 17:46 William Hubbs
2022-07-27  5:07 Sam James
2022-07-28 18:10 William Hubbs
2022-07-28 20:13 William Hubbs
2023-09-01 14:32 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox