summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-03-17 16:49:11 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-03-17 16:51:22 -0500
commit7d7faa6a0df0eb7a1213cd4de6a809ca2490c10a (patch)
tree93243eaf0e5e0f50e3b4975f2adb2381998645c2 /sys-cluster/kube-apiserver
parentsys-cluster/kube-controller-manager: 1.15.11 bump (diff)
downloadgentoo-7d7faa6a0df0eb7a1213cd4de6a809ca2490c10a.tar.gz
gentoo-7d7faa6a0df0eb7a1213cd4de6a809ca2490c10a.tar.bz2
gentoo-7d7faa6a0df0eb7a1213cd4de6a809ca2490c10a.zip
sys-cluster/kube-apiserver: 1.15.11 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-apiserver')
-rw-r--r--sys-cluster/kube-apiserver/Manifest1
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.15.11.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index 14b15ce94741..c151c59e8ffc 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,5 +1,6 @@
DIST kubernetes-1.14.10.tar.gz 28106613 BLAKE2B 7ccb89c1390299a224a766a8004b4bfc95adb244ca93a2d7086ab0de76cfa6eef9b51cb35dfdabb9d429fbc1a7c0d06cbeb93cec979a8f15f5586cee90c2b5e5 SHA512 25ecc7bf737e7cbac6405042ced98ccf824ee9a59f290906b76594ab8742028a5b783e892a5b3a03b59a758641f2fe3dfe6a83d72c603103ec7ab0696e406dfc
DIST kubernetes-1.15.10.tar.gz 26689433 BLAKE2B 5648bf9e6b4738393c735a00baec25e144e278c219c0c906a6a9b209896ce5dcb1411d58bbc8e9dd04f4f9312f7052b5f28eb4f2047406547de69a083fc4db19 SHA512 48c069d88a0111072ac02aed0760bc34ae44fbb5140489a837f089a6c944b5fa18f95f4bcc4286ca1fdfd6cd25e7bd0ff99c3b21373a1d70d3a0f70d352d4ed8
+DIST kubernetes-1.15.11.tar.gz 26693249 BLAKE2B 8ffaac0416034e8113955863bffbd04a3bf7f7075374872a63b7c5bdb47d1d241d8da8635c401cab86b2cc278ee6efd8237910aa6cc321e7bc014fc50febef03 SHA512 ec86cad825d06ccc8336e6c0eb3f2e5351e4ba84df0cccd515c37cd6845e1e6d5b8414ea6d970ff92c71088576396a95daaa6deb15d18452eb85d80e09246e1e
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
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.15.11.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.15.11.ebuild
new file mode 100644
index 000000000000..fc7b99f1b89b
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.15.11.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 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 API server"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+COMMON_DEPEND="acct-group/kube-apiserver
+ acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}
+ dev-go/go-bindata
+ =dev-lang/go-1.12*"
+RDEPEND="${COMMON_DEPEND}"
+
+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}
+ 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}
+}