summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-12-17 16:15:23 +0100
committerManuel Rüger <mrueg@gentoo.org>2019-12-17 16:17:19 +0100
commitd4ab9b49ce26ad847c9f29da99db10fd0a090fb4 (patch)
tree86dcf4a40e03ec795be5af054f301b69710b32c7 /sys-cluster
parentsys-cluster/kube-apiserver: Version bump to 1.15.7 (diff)
downloadgentoo-d4ab9b49ce26ad847c9f29da99db10fd0a090fb4.tar.gz
gentoo-d4ab9b49ce26ad847c9f29da99db10fd0a090fb4.tar.bz2
gentoo-d4ab9b49ce26ad847c9f29da99db10fd0a090fb4.zip
sys-cluster/kube-apiserver: Version bump to 1.14.10
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kube-apiserver/Manifest1
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.14.10.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index de17fd0c74cb..21aaa3c69d04 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,3 +1,4 @@
+DIST kubernetes-1.14.10.tar.gz 28106613 BLAKE2B 7ccb89c1390299a224a766a8004b4bfc95adb244ca93a2d7086ab0de76cfa6eef9b51cb35dfdabb9d429fbc1a7c0d06cbeb93cec979a8f15f5586cee90c2b5e5 SHA512 25ecc7bf737e7cbac6405042ced98ccf824ee9a59f290906b76594ab8742028a5b783e892a5b3a03b59a758641f2fe3dfe6a83d72c603103ec7ab0696e406dfc
DIST kubernetes-1.14.8.tar.gz 28096873 BLAKE2B a75fc2443475c9edc67328dc8a2c1b258ca02e675f665e4ea570889e4be76d6f55bfe8ca376b305c482dd12c7a7e9f9f8a452b69277d055b277ab37d24f8abdd SHA512 c751d04f59336186a9556f066bbd4c410cfd9748c2fdffaf14936d734a52de5cc044414d3f4d1e005914564858ceaac0451fd2360f1b9d97847d6f8515c50378
DIST kubernetes-1.14.9.tar.gz 28099090 BLAKE2B 418e00594eb5d06c9e508054c95ac12e00bc431344c8eef7a8e016729a75f811d430dd00de1f6434ac79d6f5c784758edd062135066cd02c9ab55ba04be416b5 SHA512 61ffb34d0d3ed7543539b9c7339db1a04aa86a396f35a2fe214d64d772488146db8e1ee36a51efc629d6f1378745ec60c2f94051026b30a9b72604080f01b6f6
DIST kubernetes-1.15.5.tar.gz 26658547 BLAKE2B a1b97329c7e8b7b54b682cb9cf5c35181a83fe7434dd02b4fc8731cd0a7abe67154a1f04ddf9f2e2bfa28a4e1b3940ebac167dc066b88565a9f12d7011966978 SHA512 2fe035e9cbef19582b1b5e732bf8afff2113281e1d4802a531233c8f6f04cd1538a9b59bc7f4407c0c483d06a5339b02f234337e453533b3e5c016a65f53d6b0
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.14.10.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.14.10.ebuild
new file mode 100644
index 000000000000..a1931590ff31
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.14.10.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user 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"
+
+DEPEND="dev-go/go-bindata
+ >=dev-lang/go-1.11"
+
+RESTRICT="test"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+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}
+}