diff options
author | William Hubbs <williamh@gentoo.org> | 2020-03-19 15:27:16 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-03-19 16:19:32 -0500 |
commit | 644c09040f67e66b3b51df4aecc5ef177056cab1 (patch) | |
tree | 8bad440a976868a0d53c4bd6fc2f3729d91c5a67 /sys-cluster | |
parent | sys-cluster/kubeadm: 1.17.4 bump (diff) | |
download | gentoo-644c09040f67e66b3b51df4aecc5ef177056cab1.tar.gz gentoo-644c09040f67e66b3b51df4aecc5ef177056cab1.tar.bz2 gentoo-644c09040f67e66b3b51df4aecc5ef177056cab1.zip |
sys-cluster/kube-apiserver: 1.17.4 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-apiserver/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-apiserver/kube-apiserver-1.17.4.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 58183fa0e3a8..e859037ff0c5 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -9,3 +9,4 @@ DIST kubernetes-1.16.7.tar.gz 31722167 BLAKE2B 4792fec43d5921086dc78fc46d9d38554 DIST kubernetes-1.16.8.tar.gz 31731459 BLAKE2B 1d53c16586b5a7a41fc42d0fb3444b694531d3f04fb9e168a70d4b98f966f322bc82d39234612e38c71da052002c5bcc452c747d9f948dacbdd91ea40a9f5417 SHA512 04c8e9a9227ac9a98074cd52cbe90758134fedb10164fa69accbc19716a2f18dc133a4f880d0e35a3728c377faea431363f00ae9fe2ff5ca9e509444da9106c5 DIST kubernetes-1.17.2.tar.gz 31753827 BLAKE2B de92f1e0f087115691b5ce057a07f4b46a4410714ad9164801c0390190bd8e29f8aa6e79d0d8b816669770feaf229932df04c48792ce11e77e8c682db54f28bd SHA512 64c45967e6a85943fd3f62f82e0d51001bbeb04ed8ccbe376ad63989f4a888f838bc17d1d0942e8c857118781703a6cbd3336bff1f3ae5269f808b5d9b4d11bd DIST kubernetes-1.17.3.tar.gz 31762013 BLAKE2B 4470fadf2ec441ed7a5f3a82581af6a0f4d768780048576863b2aae9c13cff543592da73b979c7f9191a4c7c2b5a1ad10d85e0eba04fdcd08ece86884ab1f80d SHA512 09b33377de0bdd7dc8ac2ae81196d15eeb93862cb0aba1256bcfca38d2ce1f15951ad70cf67600fc3d16c1d449e0451707e756ec21ad812c6628ae1f0fdda427 +DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230df8abdeb7570001ab985ffdb5b85709a8d1698490b9df13455d8f3968741db9571ee1ab3bc2a6fdd06a8c0fe274476e2 SHA512 fd1944d26c840bc1d2f585fccbabf48091fe8820ea089b3ea5c18652fd1edb3c8157a70ea19111b8b62aef16e0284a1607b583c3c1af79dd0dd266b99e20c549 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.17.4.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.17.4.ebuild new file mode 100644 index 000000000000..fc16ab15524f --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.17.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Kubernetes API server" +HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +COMMON_DEPEND="acct-group/kube-apiserver + acct-user/kube-apiserver" +DEPEND="${COMMON_DEPEND} + dev-go/go-bindata + >=dev-lang/go-1.13" +RDEPEND="${COMMON_DEPEND}" + +RESTRICT="test" +S="${WORKDIR}/kubernetes-${PV}" + +src_prepare() { + default + sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" hack/lib/golang.sh || die + sed -i -e "/export PATH/d" hack/generate-bindata.sh || die +} + +src_compile() { + LDFLAGS="" emake -j1 WHAT=cmd/${PN} GOFLAGS=-v +} + +src_install() { + dobin _output/bin/${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} +} |