summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-11-22 20:06:13 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-11-22 20:08:36 -0600
commitba266a3166f08f332959a66ba201791f590d9990 (patch)
tree02c8221001dccf85578b0859e036a56f0793c6d8 /sys-cluster/kube-apiserver
parentsys-cluster/kubeadm: 1.17.14 bump (diff)
downloadgentoo-ba266a3166f08f332959a66ba201791f590d9990.tar.gz
gentoo-ba266a3166f08f332959a66ba201791f590d9990.tar.bz2
gentoo-ba266a3166f08f332959a66ba201791f590d9990.zip
sys-cluster/kube-apiserver: 1.17.14 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.17.14.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index ea5fc3529d25..eb4e206f78a6 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,3 +1,4 @@
DIST kubernetes-1.17.13.tar.gz 31841139 BLAKE2B b068ed913fe9a36aaf51b2e2ff05841374b9b1ad25392c0b894bb25b2895228201e9c85eee84a6d61901855be336ad07a1108fbeb43a619f779667191737eddb SHA512 eaebc7d649a2a53f2a7bae8fe70ccd469f8f983a2d14148f86e86a05d66a40ce8b71d4422e653966daf4c86ccd353693cc0e9bfe3a44b5259239d047a20ddb7a
+DIST kubernetes-1.17.14.tar.gz 31844013 BLAKE2B 725081706a7647127018d34d55d1eae1ac750d1378a7b8762aff39a638f88931e2f37d8609329b32bce360bb52e654f230f1c121d122fd90ab94de6b8a035f0f SHA512 6d5a22c47bd89a5622e38746a6e9c6d3146f065d7f1e63c161f6fc667e1c7d973a4ce0a77a63b53ed46708f490477c182119a0809d08b8ee3041f232a60ad19e
DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d694d55130fa6fd0a13f2e6ec653971670a8b1af04dc5972738e504cce664619b1aad67d0bcae217884fb352c364a6804 SHA512 967caccf8758bcdf4549ec83b795ec580e072d8108b2c8ef10f1d05696dedbfd5d472e27590bb952639f198003b44dc83da5435853337938035488959360e3d3
DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.17.14.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.17.14.ebuild
new file mode 100644
index 000000000000..ec67c2c362ce
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.17.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 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://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"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-apiserver
+ acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ !sys-cluster/kubernetes"
+BDEPEND="=dev-lang/go-1.14*"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}