Diff kube-proxy-1.34.3 with a kube-proxy-1.36.1

/usr/portage/sys-cluster/kube-proxy/kube-proxy-1.36.1.ebuild 2026-06-05 19:17:05.005041514 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit go-module systemd
6
inherit go-env go-module shell-completion sysroot systemd
7 7

  
8 8
DESCRIPTION="Kubernetes Proxy service"
9 9
HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
......
18 18
RESTRICT="test"
19 19

  
20 20
RDEPEND="net-firewall/conntrack-tools"
21
BDEPEND=">=dev-lang/go-1.24.6"
21
BDEPEND=">=dev-lang/go-1.26.0"
22 22

  
23 23
QA_PRESTRIPPED=usr/bin/kube-proxy
24 24

  
25 25
src_compile() {
26
	local GOOS=$(go-env_goos)
27

  
26 28
	emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
29
		KUBE_BUILD_PLATFORMS="${GOOS}/${GOARCH}" KUBE_${GOOS@U}_${GOARCH@U}_CC="${CC}" \
27 30
		WHAT=cmd/${PN}
31

  
32
	bin=_output/local/bin/${GOOS}/${GOARCH}/${PN}
33

  
34
	einfo "generating shell completion files"
35
	sysroot_try_run_prefixed ${bin} completion bash > ${PN}.bash || die
36
	sysroot_try_run_prefixed ${bin} completion zsh > ${PN}.zsh || die
37
	sysroot_try_run_prefixed ${bin} completion fish > ${PN}.fish || die
28 38
}
29 39

  
30 40
src_install() {
31
	dobin _output/bin/${PN}
41
	dobin ${bin}
42

  
43
	[[ -s ${PN}.bash ]] && newbashcomp ${PN}.bash ${PN}
44
	[[ -s ${PN}.zsh ]] && newzshcomp ${PN}.zsh _${PN}
45
	[[ -s ${PN}.fish ]] && dofishcomp ${PN}.fish
46

  
32 47
	keepdir /var/log/${PN} /var/lib/${PN}
33 48
	newinitd "${FILESDIR}"/${PN}.initd ${PN}
34 49
	newconfd "${FILESDIR}"/${PN}.confd ${PN}
Thank you!