Сравнение spire-1.3.3 с spire-1.7.1

/usr/portage/app-misc/spire/spire-1.7.1.ebuild 2023-10-09 14:52:28.820368333 +0300
1
# Copyright 2019-2022 Gentoo Authors
1
# Copyright 2019-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
git_tag=${PV}
6
git_hash=1b775d5
5 7
inherit go-module
6 8

  
7 9
DESCRIPTION="the spiffe runtime environment"
......
18 20
DEPEND="${COMMON_DEPEND}"
19 21
RDEPEND="${COMMON_DEPEND}"
20 22

  
23
RESTRICT="test"
24

  
21 25
src_compile() {
22
	local targets v
23
	targets=(
24
		bin/spire-server
25
		bin/spire-agent
26
		bin/k8s-workload-registrar
27
		bin/oidc-discovery-provider
28
	)
29
	v=$(go version | cut -d ' ' -f 3) || die
30
	v=${v#go}
31
	emake go_version_full="${v}" "${targets[@]}"
26
	local go_ldflags+="
27
		-X github.com/spiffe/spire/pkg/common/version.gittag=${PV}
28
		-X github.com/spiffe/spire/pkg/common/version.githash=${git_hash}"
29
	ego build -ldflags "${go_ldflags}" \
30
		-o bin/spire-agent ./cmd/spire-agent
31
	ego build -ldflags "${go_ldflags}" \
32
		-o bin/spire-server ./cmd/spire-server
32 33
}
33 34

  
34 35
src_test() {
......
44 45
	dosym ../../etc/spire /opt/spire/conf
45 46
	dosym ../../opt/spire/spire-agent /usr/bin/spire-agent
46 47
	dosym ../../opt/spire/spire-server /usr/bin/spire-server
48
dodoc -r doc/*
47 49
	newconfd "${FILESDIR}"/spire-agent.confd spire-agent
48 50
	newinitd "${FILESDIR}"/spire-agent.initd spire-agent
49 51
	newconfd "${FILESDIR}"/spire-server.confd spire-server
Спасибо!