diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /sys-cluster/kubelet | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'sys-cluster/kubelet')
-rw-r--r-- | sys-cluster/kubelet/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/kubelet/kubelet-1.15.12.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 3781bf5f031d..5a3576c6672d 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -5,12 +5,14 @@ AUX kubelet.logrotated 84 BLAKE2B 269b78dfd4ef7d4dea37da9be9e4009cbf231dfaba8320 AUX kubelet.service 642 BLAKE2B 9f0fa5db48c09c2525cbc556cd520660302408a43aceb6c11da3a191b4b21607e824e46d9805b12b57a0ac7878c7da94d0cb86c69cd949814c77bb217973c6f1 SHA512 770cadae6afb68f0556c7c5969643642bbf09b596ff49d969d31b8d9f0d8907d6931eb7fb14485c78a3f75682e44e2355c7e51973a0dfdd1e665816f04ba21ae 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.12.tar.gz 26717819 BLAKE2B f7cf4a5a15265a644d17e8e934239fc209047a7e9ac3a4a1e69b6d618c3e6d79e0f132f17c613fc4fac71614bad4726bfb36da6b4c4b72e63c35739bee8482ab SHA512 ce356fb2cc0cfe1c761c2e59495a84292ac1fadc338c9bb8c4d4eff8efca11a5958ce1d92d0f91ff9f7557bf16283eed8eee007ee17427b3b52e209308fe8acd DIST kubernetes-1.16.7.tar.gz 31722167 BLAKE2B 4792fec43d5921086dc78fc46d9d38554bc710bfb1a29928fd962fc0940946d4a4c1cba1ca86e999ebf2e1064bbeb011c9c6e464fada90c8a3e52a0cc2984977 SHA512 dc7d9180dd120418964e2fcc57105c9c3ba9b79abfdf357ca3ecd3c41468100b89e63b82ab6658b423c730ac2f229bf5eacca0321896b0739963fbc18343d765 DIST kubernetes-1.16.8.tar.gz 31731459 BLAKE2B 1d53c16586b5a7a41fc42d0fb3444b694531d3f04fb9e168a70d4b98f966f322bc82d39234612e38c71da052002c5bcc452c747d9f948dacbdd91ea40a9f5417 SHA512 04c8e9a9227ac9a98074cd52cbe90758134fedb10164fa69accbc19716a2f18dc133a4f880d0e35a3728c377faea431363f00ae9fe2ff5ca9e509444da9106c5 DIST kubernetes-1.17.3.tar.gz 31762013 BLAKE2B 4470fadf2ec441ed7a5f3a82581af6a0f4d768780048576863b2aae9c13cff543592da73b979c7f9191a4c7c2b5a1ad10d85e0eba04fdcd08ece86884ab1f80d SHA512 09b33377de0bdd7dc8ac2ae81196d15eeb93862cb0aba1256bcfca38d2ce1f15951ad70cf67600fc3d16c1d449e0451707e756ec21ad812c6628ae1f0fdda427 DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230df8abdeb7570001ab985ffdb5b85709a8d1698490b9df13455d8f3968741db9571ee1ab3bc2a6fdd06a8c0fe274476e2 SHA512 fd1944d26c840bc1d2f585fccbabf48091fe8820ea089b3ea5c18652fd1edb3c8157a70ea19111b8b62aef16e0284a1607b583c3c1af79dd0dd266b99e20c549 EBUILD kubelet-1.15.10.ebuild 1371 BLAKE2B 43bdcb3a9150f9b861ee4fa2021364d45cff93457662de3d43dce3470b907c72c723a2c49f552f63e0754f37dfc497f7a7f2db040e89899afbc9069348e3373b SHA512 0dfc25ce173f1c4d0084e2fd924c8419519c8e6e3c9ad655e361f8c935c7e825db372f767d0831f48399550683c0ffb1328b7359ee7b466f173a45ce8ed050da EBUILD kubelet-1.15.11.ebuild 1371 BLAKE2B 43bdcb3a9150f9b861ee4fa2021364d45cff93457662de3d43dce3470b907c72c723a2c49f552f63e0754f37dfc497f7a7f2db040e89899afbc9069348e3373b SHA512 0dfc25ce173f1c4d0084e2fd924c8419519c8e6e3c9ad655e361f8c935c7e825db372f767d0831f48399550683c0ffb1328b7359ee7b466f173a45ce8ed050da +EBUILD kubelet-1.15.12.ebuild 1371 BLAKE2B 43bdcb3a9150f9b861ee4fa2021364d45cff93457662de3d43dce3470b907c72c723a2c49f552f63e0754f37dfc497f7a7f2db040e89899afbc9069348e3373b SHA512 0dfc25ce173f1c4d0084e2fd924c8419519c8e6e3c9ad655e361f8c935c7e825db372f767d0831f48399550683c0ffb1328b7359ee7b466f173a45ce8ed050da EBUILD kubelet-1.16.7.ebuild 1371 BLAKE2B 56677b88b0ce37209a05f906cfa35cbe2d605cba25eb1f3d5957cb65c87654eb8545d53b1e055b02508d997d08a844090560df80ed675b85d15143cb3b325ee4 SHA512 a1571faf59947595508944ab42fa703e8628db52108211ecd1990633238d00987b78d684aa42dcfc8dc579c8fa6432e66aa5a2b254c0c11a310b5bd6cf5de2bf EBUILD kubelet-1.16.8.ebuild 1371 BLAKE2B 56677b88b0ce37209a05f906cfa35cbe2d605cba25eb1f3d5957cb65c87654eb8545d53b1e055b02508d997d08a844090560df80ed675b85d15143cb3b325ee4 SHA512 a1571faf59947595508944ab42fa703e8628db52108211ecd1990633238d00987b78d684aa42dcfc8dc579c8fa6432e66aa5a2b254c0c11a310b5bd6cf5de2bf EBUILD kubelet-1.17.3.ebuild 1215 BLAKE2B aaa430e041597b155183233742531db60fccc16d479e421c7d8a0e946294ffc27422566fa686b3dd1a2902b34568709a06e1b9cbc4981cdf793388008f20d2b5 SHA512 f62b07ae957ba610564284b17ef694c4555d8fdd5f62267d34f76319ccbb3036653e1d45f3b7f07c972a08ed2751dada1748c3ebe25ce4321ebcdf00df306637 diff --git a/sys-cluster/kubelet/kubelet-1.15.12.ebuild b/sys-cluster/kubelet/kubelet-1.15.12.ebuild new file mode 100644 index 000000000000..82bd9f75ce32 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.15.12.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 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.12*" + +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 +} |