summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-02-21 14:32:01 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-02-21 14:32:01 -0600
commit5bf7eada6bb61a63a1680f7f91f41f6036dc7c78 (patch)
treec2ef3c6f08671c789a189f8e4f682f0658450389 /sys-cluster
parentsys-cluster/kubectl: 1.23.4 bump (diff)
downloadgentoo-5bf7eada6bb61a63a1680f7f91f41f6036dc7c78.tar.gz
gentoo-5bf7eada6bb61a63a1680f7f91f41f6036dc7c78.tar.bz2
gentoo-5bf7eada6bb61a63a1680f7f91f41f6036dc7c78.zip
sys-cluster/kubelet: 1.23.4 bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubelet/Manifest1
-rw-r--r--sys-cluster/kubelet/kubelet-1.23.4.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 45c7c767e7843c572423b562d8a1352b
DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e SHA512 d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58 SHA512 bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2 SHA512 8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc12488888b82af193775089 SHA512 1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98
diff --git a/sys-cluster/kubelet/kubelet-1.23.4.ebuild b/sys-cluster/kubelet/kubelet-1.23.4.ebuild
new file mode 100644
index 000000000000..30ce73901c03
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.23.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+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 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ insinto /etc/kubernetes
+ newins "${FILESDIR}"/${PN}.env ${PN}.env
+}