diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-28 05:11:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-28 05:11:40 +0100 |
commit | 2099ff9b640e648be67527e29760263a7c6274e5 (patch) | |
tree | 238358af0ba45fd8fcc6cd4679736d6c4f07f851 /sys-cluster/kube-controller-manager | |
parent | d198e0ebeee70707545d19ee3beb1de70802cc7c (diff) |
gentoo auto-resync : 28:04:2023 - 05:11:40
Diffstat (limited to 'sys-cluster/kube-controller-manager')
-rw-r--r-- | sys-cluster/kube-controller-manager/Manifest | 16 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.24.12.ebuild | 2 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.24.13.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.23.17.ebuild) | 4 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.25.8.ebuild | 2 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.25.9.ebuild | 38 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.26.3.ebuild | 2 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.26.4.ebuild | 38 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.27.1.ebuild | 38 |
8 files changed, 130 insertions, 10 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index d829f306b6c1..f881765cb1a9 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -1,18 +1,24 @@ AUX kube-controller-manager.confd 142 BLAKE2B d8d35c62bf5c04cc3f440e8b5fb8acab2cf815b25ac4e91354e3fce756a1955e71ec762fab1091074ef4233fff22667aba50417c0d6a896055f8f52b6630bb4e SHA512 b0227a7431018a6742b3931fda0f14b4a040107ecd6821c84593180919ba8a5af9b99b7a507645a5488792f14accd686acc4cc6f70a5084bbdfcdd494021aafc AUX kube-controller-manager.initd 566 BLAKE2B c632b9bc357aead53a2c181af50201b544f214921672e60fffa2d6f77dbeb1912b3d1d138f867d8118cef5ae0843b75d3859ebfc71a4defc2b4cf66426a58101 SHA512 7e3baab9b034e7048ed3cda8d09444c76369874cecc0a747fb5484c482fef464adb5ccc25fcb4481fb4aff68415a60462f6cbee2138810316f0cf822637676c1 AUX kube-controller-manager.logrotated 97 BLAKE2B 00827bf3c3c68c978dc30839318dcdd9ca73e64a38d377168cca75de4764dbd303cdae35fe2c5f6ddded23c7c72976d274e1def66f48a81548e0561411879984 SHA512 e00cd9297d8ac75fcd504a2bfb80d5c5e145e7d475dd15edf9361dc28721afdc069c5b6e79438b75a774e972028841a17e8f7842dcfb3d7835c436a3e503704c -DIST kubernetes-1.23.17.tar.gz 38135738 BLAKE2B 18661ca95d518ede1b8f08ec380bdb4678c0ba06bd4a7bc5aed323d6cec78fb8724a2880bd048df734e17f977159f21532349bae08a351b4adc56f52bb2e8198 SHA512 8cbe20601966faf2830dbe66548b95654651e3501c474be5351dbf64dabd1763f75e0afaa99ee31dabd8ea02ba1b16df6ba2a789aaddcad776ca0690637d05ff DIST kubernetes-1.24.11.tar.gz 37867002 BLAKE2B 3972a049b1549cb1ed147763f09d20b656243814a91d701a1171c171a19721aef2b8393121160edbd75e6f11978b355ce8e97ef6e9d007634428753d7cc1499e SHA512 ceaa5ca883d208e8f80d4d2628195256df697ce5ebedf2524af7cd94ffd783c055c47797cf76f6d4893e2392b652a89f55999251feda196b96b9df4c27215adc DIST kubernetes-1.24.12.tar.gz 37883841 BLAKE2B 7c43ce255a647a128a74e294a1d1ad7f48063b6a4ce0da7697654dd05739c9915b45933640b041e5e0de075bbf0138175ce158e4790d531eb9d87a0823af87f9 SHA512 f171ef7ddc72f81172685061ffa1c8e4cd074d94c3185b0586485639cc9ea12c58a6d66985d7ff745da90d14f3be5d3f8a3a958135be6ba198edb1a78559e7d5 +DIST kubernetes-1.24.13.tar.gz 37889804 BLAKE2B d10f0bae7747700f2e995ea4829d219820360d92068ba8c3a656d15d411ea5892068cb925620cb506c9e171340b3f39427bc2c948dafcc3703a5668bf24163c0 SHA512 0519f2149a5ad675de2b5bfdfad1160bedc03d1b0a14280606388f526bf7558955917204604d949bcb650923016e35bad2b772220d01db55c8e463d992c12f6f DIST kubernetes-1.25.7.tar.gz 38169376 BLAKE2B d324e823be2efc3d19892313ed2a7daa0a3c1384f4f03e18a703f63f32609e1a594a8fd3fc49cb78330848fd42ae1d629339a967ab973e73ddff2be8c6a1eb73 SHA512 d164496df03223cab4d1754ab42f88f0e5d5cc95e1e5995442183aa739d583078c6b7ea1febdc92e2bf8b76820857cd8973d8364f452c2e576b7168a32578419 DIST kubernetes-1.25.8.tar.gz 38188305 BLAKE2B 5c1cc06121243e54ceb42364995ac77f8d6190fb8d8f1198284120d134295c5ff660565c3ec45a416d3231c9d32bb96338c291b6373c1405aa260f5ce6601650 SHA512 30f1815de4d5bf3a091f1937c94e0e6cf0abc0f527488b72ec4a7d72c014bb8fef450abbf4c908f8a5b791e8d4ab501edb3f5c55af4e370359a952a6228362be +DIST kubernetes-1.25.9.tar.gz 38197577 BLAKE2B f90e8e6fff4ada4b36b16623463e99de2818343c4206ada7c230799a01df189c196dc9d8f747517465606958f84b49bbf6a84d759590763ebf3079fa8e2f87c7 SHA512 6966e4246715c358ea60bd581ae9706d002d7463ab5466984a099249e8bd8aebf4929715ece255e3975a60aa4639912d0776ba86d6095438a0788517765cb61c DIST kubernetes-1.26.2.tar.gz 38192706 BLAKE2B ca14778ab5a1d1bdfb935d80eea269adb0414b5613d8e70b9c790711a284b79c8f89cdd22af73b9127fbf9f036b0aa317fbd97bc1df735aead0903d951fe5f4a SHA512 c14f3ba25ae3608ca8d28ab75c2f6a3636970d5851ef1c09259d6be4bce17af131f9adcc0be8e51f4197dc16650461bac8faae7b7ef24f899c1a0ad193ed0a6b DIST kubernetes-1.26.3.tar.gz 38215855 BLAKE2B 1bc1b4e9aeebc41e3e7a519f097b886d0cdede91f0cbbabc7c26db1c75d87220f2e8a5aa5ac85ad0c01486abd5806e74d2b09aa1a0281364b70417d3daea503e SHA512 7a8aa29ea282aec99046d231d4c6756e36ba74eca4c2300b3b1f5a1362d211ffe712957746044168b254ba7332e324e341a2e4d56be7bb6a58de953fa630ac14 -EBUILD kube-controller-manager-1.23.17.ebuild 988 BLAKE2B d78d11bccea71b741539d4b4a0d97378f86b3db26dae9a768db40488f4c8b72d72057c8f165b62a536c2240f9a432f1d0fd0f98ab35883810a22358b210ddc66 SHA512 9a0e44f6fdc267eb3c7a1d9f0ea0ca7374d677a3f96a8e155c10a50b99ea4f5991b51b6479acbf7c47e4bbcd1fd118f20c30bdad9886e398cc8dbaf3b0f460b6 +DIST kubernetes-1.26.4.tar.gz 38229656 BLAKE2B 1da5b7c380d27d57f6c6200f5b65b9a469c9d6663713742bc2f32746bad2eea17bb8265df009d625011f1e036d768e26bda514634aacc13b2997bb7c70684f3e SHA512 185d21368f84a1e1829578c7552922db098d2caecd2c1d95c5da259a107009960ef44c2dd42eec4dab50c4c59a8d5ae0b4dd45fc6f106b27138e1a1d7391626d +DIST kubernetes-1.27.1.tar.gz 38048443 BLAKE2B c5475209ef4bcad704a6075392180496e4ec9f63af26038cb22b0f28effeab8eafe734c330c80e86d0aaabf125bec5f134cd1479ce54fd6437b3aeeaec8fb352 SHA512 20d2b8f3c892884a1abd5e30320f3cf50ada79c3b68409c6d626278e42d031e960057b042aade93b55b3185623c5bdcfef9a16602e7f3c4a71be8cee517e7ba1 EBUILD kube-controller-manager-1.24.11.ebuild 990 BLAKE2B 92eed848da224757f008ce11565aba6967fbc82d5fcc5b3354db6f2bb6e75f3f4150b7ba352f4b3e8ff52100d81973ae417a89c58dbb5b8b8cb4dbe4fccb4a80 SHA512 51603722a1ad80474366a31c81f2ab9f4e4c679e1dafa9e64442f9de0c004e3f10e5f1f980e7ee2ed95308dc6f37425689d9e3daf14b79eab9469e4d63743f57 -EBUILD kube-controller-manager-1.24.12.ebuild 991 BLAKE2B 86150c0db0f8ebdbbb9f5a601ccfadcf5e65a5dc4f6d54303bb35018cc44c2dff99b1e210e05fd58ed5b2a6b5eb62bf860bc8f83dc3d9f7492c836d16fae24bd SHA512 063140c51d829c3822b3038df026a2541bed8fa3bdc5fb1db664bfd951cd413b21afacb90098712eceea3dddb8d479e7cfe79ed0800e6a842164d3d101f0a4e4 +EBUILD kube-controller-manager-1.24.12.ebuild 990 BLAKE2B 92eed848da224757f008ce11565aba6967fbc82d5fcc5b3354db6f2bb6e75f3f4150b7ba352f4b3e8ff52100d81973ae417a89c58dbb5b8b8cb4dbe4fccb4a80 SHA512 51603722a1ad80474366a31c81f2ab9f4e4c679e1dafa9e64442f9de0c004e3f10e5f1f980e7ee2ed95308dc6f37425689d9e3daf14b79eab9469e4d63743f57 +EBUILD kube-controller-manager-1.24.13.ebuild 991 BLAKE2B 86150c0db0f8ebdbbb9f5a601ccfadcf5e65a5dc4f6d54303bb35018cc44c2dff99b1e210e05fd58ed5b2a6b5eb62bf860bc8f83dc3d9f7492c836d16fae24bd SHA512 063140c51d829c3822b3038df026a2541bed8fa3bdc5fb1db664bfd951cd413b21afacb90098712eceea3dddb8d479e7cfe79ed0800e6a842164d3d101f0a4e4 EBUILD kube-controller-manager-1.25.7.ebuild 988 BLAKE2B c0ef8c338ce9b85ea7f875158058fb09f6946862f32983f478638842b4b30e5eb43c5f82f0799f3f47491f19fba4475e9ca29b5630ef5e0b91bc4da472951c5a SHA512 02b9a4c1b5d8d0c4eb4ce3de6a2fcf99ca6d08c3b6bd51574f717a123ffd2499d77905af5a501f32df9b06ebf12e9757d87a61942fd9bb1b8210083321311b97 -EBUILD kube-controller-manager-1.25.8.ebuild 989 BLAKE2B 7000dabd11b273b370c7f0b6b607962579e796d3de369f251df983f8b30a4db21e2e84fed99de11ff5530d1b58a5ef9d89fcf6040556adda9cb91bb230368067 SHA512 81a3f57b5495aedbb4f305dc476b15685461347393441d2c99f59759e24655dcd615299eb8ac7af87d46887f1c7a46a072350d1e0cfdbbedd0ea2677424c0e8d +EBUILD kube-controller-manager-1.25.8.ebuild 988 BLAKE2B c0ef8c338ce9b85ea7f875158058fb09f6946862f32983f478638842b4b30e5eb43c5f82f0799f3f47491f19fba4475e9ca29b5630ef5e0b91bc4da472951c5a SHA512 02b9a4c1b5d8d0c4eb4ce3de6a2fcf99ca6d08c3b6bd51574f717a123ffd2499d77905af5a501f32df9b06ebf12e9757d87a61942fd9bb1b8210083321311b97 +EBUILD kube-controller-manager-1.25.9.ebuild 989 BLAKE2B 7000dabd11b273b370c7f0b6b607962579e796d3de369f251df983f8b30a4db21e2e84fed99de11ff5530d1b58a5ef9d89fcf6040556adda9cb91bb230368067 SHA512 81a3f57b5495aedbb4f305dc476b15685461347393441d2c99f59759e24655dcd615299eb8ac7af87d46887f1c7a46a072350d1e0cfdbbedd0ea2677424c0e8d EBUILD kube-controller-manager-1.26.2.ebuild 988 BLAKE2B c0ef8c338ce9b85ea7f875158058fb09f6946862f32983f478638842b4b30e5eb43c5f82f0799f3f47491f19fba4475e9ca29b5630ef5e0b91bc4da472951c5a SHA512 02b9a4c1b5d8d0c4eb4ce3de6a2fcf99ca6d08c3b6bd51574f717a123ffd2499d77905af5a501f32df9b06ebf12e9757d87a61942fd9bb1b8210083321311b97 -EBUILD kube-controller-manager-1.26.3.ebuild 989 BLAKE2B 7000dabd11b273b370c7f0b6b607962579e796d3de369f251df983f8b30a4db21e2e84fed99de11ff5530d1b58a5ef9d89fcf6040556adda9cb91bb230368067 SHA512 81a3f57b5495aedbb4f305dc476b15685461347393441d2c99f59759e24655dcd615299eb8ac7af87d46887f1c7a46a072350d1e0cfdbbedd0ea2677424c0e8d +EBUILD kube-controller-manager-1.26.3.ebuild 988 BLAKE2B c0ef8c338ce9b85ea7f875158058fb09f6946862f32983f478638842b4b30e5eb43c5f82f0799f3f47491f19fba4475e9ca29b5630ef5e0b91bc4da472951c5a SHA512 02b9a4c1b5d8d0c4eb4ce3de6a2fcf99ca6d08c3b6bd51574f717a123ffd2499d77905af5a501f32df9b06ebf12e9757d87a61942fd9bb1b8210083321311b97 +EBUILD kube-controller-manager-1.26.4.ebuild 989 BLAKE2B 7000dabd11b273b370c7f0b6b607962579e796d3de369f251df983f8b30a4db21e2e84fed99de11ff5530d1b58a5ef9d89fcf6040556adda9cb91bb230368067 SHA512 81a3f57b5495aedbb4f305dc476b15685461347393441d2c99f59759e24655dcd615299eb8ac7af87d46887f1c7a46a072350d1e0cfdbbedd0ea2677424c0e8d +EBUILD kube-controller-manager-1.27.1.ebuild 989 BLAKE2B fb2b9997a42d14c19b8a5a7e4c2c174b113e24f2e2f124bc2a7e65c77f41d0134e458c08b3dc333c7bb775f1e2a6142202ff54d997a74e7cfdf9c129ddef45cb SHA512 2d9dd0addd090f60b695056f82649573e1c86b97f65bd1ae85cf90265124e96ae2334fd1a01056eb7f60655baf1ab18f145c7f4257b41f3a5b3df275751db3f9 MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.12.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.12.ebuild index 2d00c0ea6648..4d4b42ffff8d 100644 --- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.12.ebuild +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.12.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="hardened" COMMON_DEPEND="acct-group/kube-controller-manager diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.17.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.13.ebuild index 4aff7ba044e4..2d00c0ea6648 100644 --- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.17.ebuild +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.13.ebuild @@ -10,14 +10,14 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64" +KEYWORDS="~amd64 ~arm64" IUSE="hardened" COMMON_DEPEND="acct-group/kube-controller-manager acct-user/kube-controller-manager" DEPEND="${COMMON_DEPEND}" RDEPEND="${COMMON_DEPEND}" -BDEPEND=">=dev-lang/go-1.17" +BDEPEND=">=dev-lang/go-1.18.1" RESTRICT+=" test" S="${WORKDIR}/kubernetes-${PV}" diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.8.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.8.ebuild index c4863b6e8840..a5b017f18d03 100644 --- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.8.ebuild +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.8.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="hardened" COMMON_DEPEND="acct-group/kube-controller-manager diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.9.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.9.ebuild new file mode 100644 index 000000000000..c4863b6e8840 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.9.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Kubernetes Controller Manager" +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" + +COMMON_DEPEND="acct-group/kube-controller-manager + acct-user/kube-controller-manager" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND=">=dev-lang/go-1.19" + +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} +} diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.3.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.3.ebuild index c4863b6e8840..a5b017f18d03 100644 --- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.3.ebuild +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.3.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="hardened" COMMON_DEPEND="acct-group/kube-controller-manager diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.4.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.4.ebuild new file mode 100644 index 000000000000..c4863b6e8840 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Kubernetes Controller Manager" +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" + +COMMON_DEPEND="acct-group/kube-controller-manager + acct-user/kube-controller-manager" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND=">=dev-lang/go-1.19" + +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} +} diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.1.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.1.ebuild new file mode 100644 index 000000000000..dc4ca2df138b --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Kubernetes Controller Manager" +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" + +COMMON_DEPEND="acct-group/kube-controller-manager + acct-user/kube-controller-manager" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND=">=dev-lang/go-1.20" + +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} +} |