From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A16D6138334 for ; Mon, 5 Aug 2019 13:39:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC9EFE0824; Mon, 5 Aug 2019 13:39:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C313AE0821 for ; Mon, 5 Aug 2019 13:39:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B34BE349DEA for ; Mon, 5 Aug 2019 13:39:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D8D175C for ; Mon, 5 Aug 2019 13:39:14 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1565012333.9b7290ff0cfd760d66f4a05d7eae49ec8fd1bc49.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kubelet/Manifest sys-cluster/kubelet/kubelet-1.15.2.ebuild X-VCS-Directories: sys-cluster/kubelet/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 9b7290ff0cfd760d66f4a05d7eae49ec8fd1bc49 X-VCS-Branch: master Date: Mon, 5 Aug 2019 13:39:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9de2d233-3043-41de-92d6-d3e141e4ef18 X-Archives-Hash: 5107d7e258f6f6de18bfc0e885890707 commit: 9b7290ff0cfd760d66f4a05d7eae49ec8fd1bc49 Author: Manuel Rüger gentoo org> AuthorDate: Mon Aug 5 13:38:53 2019 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Aug 5 13:38:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7290ff sys-cluster/kubelet: Version bump to 1.15.2 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Manuel Rüger gentoo.org> sys-cluster/kubelet/Manifest | 1 + sys-cluster/kubelet/kubelet-1.15.2.ebuild | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 1cb6953b7d5..a2f7c17737f 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -6,3 +6,4 @@ DIST kubernetes-1.14.4.tar.gz 28066996 BLAKE2B 1738564f1a6406d934faf10f1f7dd380f DIST kubernetes-1.14.5.tar.gz 28071522 BLAKE2B 1d949f53ebae03c5ce02d32253e85e96c7c0fef85d16dac8442ca379b980ba553d1602a5ae5e984eb6ae5abe5998155f62521292a3683612a251e7b81c940b05 SHA512 3c15c3663fd81dbbfbfa15219cbf94306af1cb846f9e3a6739db8c188d90b8ae25c601e0c746e93c13cbc4734fe612f9b5ca42fad97055903ccc473e5f3e15c3 DIST kubernetes-1.15.0.tar.gz 26591862 BLAKE2B 114ae651bb1827913ff5294878956b46dba288928b9fec45796ce5f3c01ab611a7333bd955fb96e7fe970a9f4afc901570ff911dd946c1a72ff8e2c6b3bc927a SHA512 764268020e0fc27e8325058fefbc53200996e5a8f963c9156cf079425cdfed7545522ff8c779bfa074db8739e3ab97e829a049deaf0a0568f1434d7c1ed8446b DIST kubernetes-1.15.1.tar.gz 26623024 BLAKE2B dcd30345a4fcef318b05a9b5cb2fceeb3c33cabe4ce15af8dc3eecfbf5803707fa514c800035ae695c1e7abc5f0dbedb0839dab3e99b2588e01f54ea0659fb0b SHA512 4d662869db8c62dfcbab1aa2ddb1dcdda81385987c864b324312113fafa61143c481e4e5e601d0e00df539a7e71323745e2c0182b6b06a38d926c2e2ca492f1b +DIST kubernetes-1.15.2.tar.gz 26628888 BLAKE2B 49c72f9355e1bb00f743571f4253261b46d58fe6252b1f9284d0982a201502ef13ccc77da588087e407a7d6ed250d1ab224b9fcf99d2542225d6736a8dffb4d9 SHA512 0de798631a3bf82766b797f05084f40df4422808c8ec8651480c5c27ecd4adb51148d15c7260b06482eba11c9bbb68966abc03a2d472b98d12cb0fe2ccf38473 diff --git a/sys-cluster/kubelet/kubelet-1.15.2.ebuild b/sys-cluster/kubelet/kubelet-1.15.2.ebuild new file mode 100644 index 00000000000..f38ce59e625 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.15.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot systemd + +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 Node Agent" +HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" +SRC_URI="${ARCHIVE_URI}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="hardened" + +DEPEND="dev-go/go-bindata + >=dev-lang/go-1.11" + +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() { + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" + 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 /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 +}