diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-08-05 15:40:55 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-08-05 15:40:55 +0200 |
commit | 77e41ec38c93b1a118ef759a41f47a981ff5d3a8 (patch) | |
tree | 1ef47e8598eccf27250b293cfb118f7152a19d71 /sys-cluster | |
parent | sys-cluster/kube-scheduler: Version bump to 1.14.5 (diff) | |
download | gentoo-77e41ec38c93b1a118ef759a41f47a981ff5d3a8.tar.gz gentoo-77e41ec38c93b1a118ef759a41f47a981ff5d3a8.tar.bz2 gentoo-77e41ec38c93b1a118ef759a41f47a981ff5d3a8.zip |
sys-cluster/kube-proxy: Version bump to 1.14.5
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-proxy/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-proxy/kube-proxy-1.14.5.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest index 1ee0e3ae3c49..bdc4b6019687 100644 --- a/sys-cluster/kube-proxy/Manifest +++ b/sys-cluster/kube-proxy/Manifest @@ -3,4 +3,5 @@ DIST kubernetes-1.13.8.tar.gz 28863825 BLAKE2B a796e25d6c4c751bf4bce1d4c8b48b0d0 DIST kubernetes-1.13.9.tar.gz 28870425 BLAKE2B d09a8654fe0704562f383dc1d475db064c79c01f7213aba2374d56b834051827e04ed62d8d74bb5a3d70eec9981ccfec5991f264c9882177528782ce95a733e2 SHA512 94086ac8b12e874b8045cc32ceaf8ceeea9718eee9f7eeed4f44f515ee738ba486bb8e124c1dcaa4e7b3f49f99fc70481571c6f972115da11348a9c9722e434c DIST kubernetes-1.14.3.tar.gz 28058624 BLAKE2B 11a1bd98cf6270e0035d6f01a3b14cce641ab1af421e4f060d6616ae6f3e2fd84074c1fad48d4182ce49e62466be40181ff17fce9fd300b84afbdcc3a4f9dc22 SHA512 3fab0b5f142644454d22abfc99454adb3d3055b132cf93b6a0f6a0088b6a7938835edee813611756e80a21b1473e62c179905d77d3f2288bd5c60c6a43e60361 DIST kubernetes-1.14.4.tar.gz 28066996 BLAKE2B 1738564f1a6406d934faf10f1f7dd380f9c12bf522e5a1394e591da27865695abe8f015a2776907414b335ffa619283b675b6eb9cc1de923665c027d38d80d29 SHA512 b221c34e980965c9973d2fc576fd8f55488e2d0cd7b8e03fac5f9b5a807eb604cf2230f6feb975759f893454891bdea7abd6362b948cae1469dc5c1570f93c40 +DIST kubernetes-1.14.5.tar.gz 28071522 BLAKE2B 1d949f53ebae03c5ce02d32253e85e96c7c0fef85d16dac8442ca379b980ba553d1602a5ae5e984eb6ae5abe5998155f62521292a3683612a251e7b81c940b05 SHA512 3c15c3663fd81dbbfbfa15219cbf94306af1cb846f9e3a6739db8c188d90b8ae25c601e0c746e93c13cbc4734fe612f9b5ca42fad97055903ccc473e5f3e15c3 DIST kubernetes-1.15.0.tar.gz 26591862 BLAKE2B 114ae651bb1827913ff5294878956b46dba288928b9fec45796ce5f3c01ab611a7333bd955fb96e7fe970a9f4afc901570ff911dd946c1a72ff8e2c6b3bc927a SHA512 764268020e0fc27e8325058fefbc53200996e5a8f963c9156cf079425cdfed7545522ff8c779bfa074db8739e3ab97e829a049deaf0a0568f1434d7c1ed8446b diff --git a/sys-cluster/kube-proxy/kube-proxy-1.14.5.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.14.5.ebuild new file mode 100644 index 000000000000..f519690e8b2f --- /dev/null +++ b/sys-cluster/kube-proxy/kube-proxy-1.14.5.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} +} |