summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-01-24 09:03:47 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-24 09:12:25 -0600
commit93c19de79d973f8d6b4e0dfa6473ada1daa06d72 (patch)
treebe7b7a01d3daad3bdc598c8d4603a19a5c09bc8a /sys-cluster
parentsys-cluster/kube-controller-manager: 1.16.6 bump (diff)
downloadgentoo-93c19de79d973f8d6b4e0dfa6473ada1daa06d72.tar.gz
gentoo-93c19de79d973f8d6b4e0dfa6473ada1daa06d72.tar.bz2
gentoo-93c19de79d973f8d6b4e0dfa6473ada1daa06d72.zip
sys-cluster/kube-proxy: 1.16.6 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kube-proxy/Manifest1
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.16.6.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index b66968f9ddaa..120be1e5a73f 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.14.10.tar.gz 28106613 BLAKE2B 7ccb89c1390299a224a766a8004b4bfc
DIST kubernetes-1.15.7.tar.gz 26671514 BLAKE2B 7ef6f92ea90fd8f45f250dfa4e081a171ad76c72f4eae4b4e901cb8335259779b7546ac31f97eb2a45daf85f49fdd4408577b96a1e0fd750a5509eb0446bfa8e SHA512 a0fb9dca9b6993ac828427589f4e03e9431b97c2ce153cc00a6e5b669dced05bfe236f2ecb85b623359b4e910c662dc473cd3226dfc4e85bd2551fbabbdfc836
DIST kubernetes-1.15.9.tar.gz 26683313 BLAKE2B e8faaf32bda63dd0ac25670cd96a4a04ac7d1e5151855c9b41bca8d85ae3afadd55f85079b122282f9726386f42898878571072af9326e062062b68c8dfc4e10 SHA512 f60b2e78cd5afee4c5235af37738bed954fd792dfae8788972104bcc79bd2461a8a706f93b3c48f5353610650b6600ebd7197df03aa480ca0fd68fb4ac26278f
DIST kubernetes-1.16.4.tar.gz 31220590 BLAKE2B 3ee3ab50f2a10c419b99f7f25072ad7b129741829d241ad788b343e5bd30ec3c9b07053755a2ec650227c0d26ae34f3d1d101cfd50ed6b16b3415a8233c8e4c0 SHA512 84768ffe3d4147082b3b151c7787498a78ee0e6aee537f5fb21c8e0e30e72b222d68942389063e8fc2a549aec423fc84a9696b3b70b9ae746a2b87a2f47297de
+DIST kubernetes-1.16.6.tar.gz 31714463 BLAKE2B 050897d4308a31d5164a907766af4f952d6551fba7e503bf7def78db37d017a3f5bd7a1c54125e42f9adeb850e6e38ef4ac9a98af978faf2efc4a474323b9f43 SHA512 2e1ca5781842ccd32f6e9791d069e9838a6221be3c4018abc06517cf97517bb500a6fafd7ae346088430f60c3e1dcbb983842572b9ed3241b70467dc1941e4a1
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.16.6.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.16.6.ebuild
new file mode 100644
index 000000000000..f519690e8b2f
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.16.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot
+
+EGO_PN="k8s.io/kubernetes"
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND="dev-go/go-bindata
+ >=dev-lang/go-1.11"
+
+RDEPEND="net-firewall/conntrack-tools"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die
+ sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
+}
+
+src_compile() {
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin _output/bin/${PN}
+ popd || die
+ keepdir /var/log/${PN} /var/lib/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}