mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
app-misc/spire: drop 1.3.3, 1.7.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
6b7c866efa
commit
c5dc6531c6
@ -1,8 +1,4 @@
|
||||
DIST spire-1.11.1-deps.tar.xz 115162280 BLAKE2B 090aebb4e3cf4a35a3d568e65ac1fc2acd7df86bb3cfe2e234c8cdb42759bd62cff94dbff46c4960d3eec2f14ee4b8510d45cc4717819bc154c1cdc7e260fe7a SHA512 9f5c2d282723be474ee7e86d15f575af60cc0fa6a15c5f530e41b473eed67ea2cccc706fe9b5d6638e3e4511905b3dcccc03f805b82eb5be70fcc59ae6b16dfe
|
||||
DIST spire-1.11.1.tar.gz 3314465 BLAKE2B 86abfb75cc37bf4d6cae3b784b40bf6ac0ae2771acf74fdb682a87fb06469cd5bd18eff431eb645f465a769d8d90ad24b8b32eec8cf910dd413e93fa53c2f236 SHA512 afc7e677b7acc6707d0abd2c422e21a6563291f367d293035c9fdc14ac3332b4983bf71cf670c8c6dbe973c26954ea17f09dc1a0720e720e89d2a06655bd099e
|
||||
DIST spire-1.3.3-deps.tar.xz 248328956 BLAKE2B 3d07927bad4490c6c87af97cd1c70350c3534993bd907a42b8bd06e31b446f930939e7530d76f771961c07d67f513f2d4f43b1608226701feb21ae18508663e1 SHA512 2d32b2705013f3148a0c26aa77bdf2234233c060b449bcbd73df417e7a9aef254a3fc066cf95b21a03f41cbcf918f23c5d56ad1c83859e8a1360c5a2208bb470
|
||||
DIST spire-1.3.3.tar.gz 2426257 BLAKE2B 743a497f37edacd11e21dbd2f89b565b7133d3a098cca9c6fbc0ffd3019b00ac0adac90c68d487fd20aee599a4030aeb03496bb78cd01a5c162cad5087cd8646 SHA512 9417aa53725a893b8b3da59fe8ae15bcbdb650a05dd94065b3ad5d6621a2d2225ef211ed67397094d1b61465d34c1731e4c0d88edd93f6db5ce11f76fad342d6
|
||||
DIST spire-1.7.1-deps.tar.xz 435155484 BLAKE2B 90398480e1222960c42cdf0153625f7478ad6c840623dcd40556e0a26c98f5bf24e47af2d47b61f682508c07b9b8d5288499107777efaeb747826bc82a077aae SHA512 da8219000399562770c8c004f0588ada40c45f2d576516e67c958b6c6b4a30b5bbea03986233f5103e66ab1bbe4b9bfb5fb8ef00898b18d4d49ae29f54a7a7a5
|
||||
DIST spire-1.7.1.tar.gz 2576518 BLAKE2B af749dd0c26cadfc616658a89a08c99341f527fa090d5c5df76a2a0c258524ede4efc977e2f805cc7be433de0131c69e12c31a6fd2a1b4c5d2d7d3ea43b720d9 SHA512 87979d20074aab358c304de476a6a83aa8f92b0eb8107ab034333934e9bf7067d8015f86fc0b7ff15a015ebe155d74848b6a5ec190e3d72360c45348351f4a10
|
||||
DIST spire-1.8.7-deps.tar.xz 393031212 BLAKE2B 474f17eb65063b059f08ed297c9382aa5c257ed0bf20ae2834bd49bade6c6eba9fc8be75ebf4dc011f8357c8ca223811352fadbd5310fdb28b442aed52425d9f SHA512 78a207b4a1349a8c95c90f4f97404a2484f681c834204f89679377ade2c5b133173bb5faea69099f081e963ea2f7ce11d7c56523ea9ef5569e0b9827d2b3ee95
|
||||
DIST spire-1.8.7.tar.gz 2628189 BLAKE2B d3aac37fedf0035191dfef58a947b3da7551ba223b351ce575d07e3ff82266be7413b12759d9d2aa238fbd66b30c75922c7e9b341c8c31c7b9b7f6ccef038a2f SHA512 0cf4ea63765cde51356623f365e4d9544fbb2437de846cfb05ad33d9507d4a70379dd9cb0e6e98820deba9cacd2bb6a51af5dff09901fe73c5296a0828269044
|
||||
|
||||
@ -1,54 +0,0 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="the spiffe runtime environment"
|
||||
HOMEPAGE="https://github.com/spiffe/spire"
|
||||
SRC_URI="https://github.com/spiffe/spire/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
COMMON_DEPEND="acct-group/spire
|
||||
acct-user/spire"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local targets v
|
||||
targets=(
|
||||
bin/spire-server
|
||||
bin/spire-agent
|
||||
bin/k8s-workload-registrar
|
||||
bin/oidc-discovery-provider
|
||||
)
|
||||
v=$(go version | cut -d ' ' -f 3) || die
|
||||
v=${v#go}
|
||||
emake go_version_full="${v}" "${targets[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go test ./... || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/spire
|
||||
doexe bin/*
|
||||
keepdir /opt/spire/.data
|
||||
insinto /etc/spire
|
||||
doins -r conf/*
|
||||
dosym ../../etc/spire /opt/spire/conf
|
||||
dosym ../../opt/spire/spire-agent /usr/bin/spire-agent
|
||||
dosym ../../opt/spire/spire-server /usr/bin/spire-server
|
||||
newconfd "${FILESDIR}"/spire-agent.confd spire-agent
|
||||
newinitd "${FILESDIR}"/spire-agent.initd spire-agent
|
||||
newconfd "${FILESDIR}"/spire-server.confd spire-server
|
||||
newinitd "${FILESDIR}"/spire-server.initd spire-server
|
||||
keepdir /var/log/spire
|
||||
fowners spire:spire /opt/spire/.data
|
||||
fowners spire:spire /var/log/spire
|
||||
}
|
||||
@ -1,56 +0,0 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
git_tag=${PV}
|
||||
git_hash=1b775d5
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="the spiffe runtime environment"
|
||||
HOMEPAGE="https://github.com/spiffe/spire"
|
||||
SRC_URI="https://github.com/spiffe/spire/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
COMMON_DEPEND="acct-group/spire
|
||||
acct-user/spire"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
local go_ldflags+="
|
||||
-X github.com/spiffe/spire/pkg/common/version.gittag=${PV}
|
||||
-X github.com/spiffe/spire/pkg/common/version.githash=${git_hash}"
|
||||
ego build -ldflags "${go_ldflags}" \
|
||||
-o bin/spire-agent ./cmd/spire-agent
|
||||
ego build -ldflags "${go_ldflags}" \
|
||||
-o bin/spire-server ./cmd/spire-server
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go test ./... || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/spire
|
||||
doexe bin/*
|
||||
keepdir /opt/spire/.data
|
||||
insinto /etc/spire
|
||||
doins -r conf/*
|
||||
dosym ../../etc/spire /opt/spire/conf
|
||||
dosym ../../opt/spire/spire-agent /usr/bin/spire-agent
|
||||
dosym ../../opt/spire/spire-server /usr/bin/spire-server
|
||||
dodoc -r doc/*
|
||||
newconfd "${FILESDIR}"/spire-agent.confd spire-agent
|
||||
newinitd "${FILESDIR}"/spire-agent.initd spire-agent
|
||||
newconfd "${FILESDIR}"/spire-server.confd spire-server
|
||||
newinitd "${FILESDIR}"/spire-server.initd spire-server
|
||||
keepdir /var/log/spire
|
||||
fowners spire:spire /opt/spire/.data
|
||||
fowners spire:spire /var/log/spire
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user