From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E51615800A for ; Fri, 11 Aug 2023 18:57:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CC012BC013; Fri, 11 Aug 2023 18:57:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DE5E2BC013 for ; Fri, 11 Aug 2023 18:57:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2713434076D for ; Fri, 11 Aug 2023 18:57:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6FE1BE8 for ; Fri, 11 Aug 2023 18:57:42 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1691780244.c622553f52eedb91acbaeef9e9042c9b508f724f.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/spire/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/spire/Manifest app-misc/spire/spire-1.7.1.ebuild X-VCS-Directories: app-misc/spire/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c622553f52eedb91acbaeef9e9042c9b508f724f X-VCS-Branch: master Date: Fri, 11 Aug 2023 18:57:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ee2da64-8330-4fc7-9d6c-069757125014 X-Archives-Hash: 00ad975ff9f3089e0bc14c8af063fcc9 commit: c622553f52eedb91acbaeef9e9042c9b508f724f Author: William Hubbs gentoo org> AuthorDate: Fri Aug 11 18:57:24 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Aug 11 18:57:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c622553f app-misc/spire: add 1.7.1 Closes: https://bugs.gentoo.org/912071 Signed-off-by: William Hubbs gentoo.org> app-misc/spire/Manifest | 2 ++ app-misc/spire/spire-1.7.1.ebuild | 56 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-misc/spire/Manifest b/app-misc/spire/Manifest index 0ede628bda5f..1a31cc068795 100644 --- a/app-misc/spire/Manifest +++ b/app-misc/spire/Manifest @@ -2,3 +2,5 @@ DIST spire-1.3.3-deps.tar.xz 248328956 BLAKE2B 3d07927bad4490c6c87af97cd1c70350c DIST spire-1.3.3.tar.gz 2426257 BLAKE2B 743a497f37edacd11e21dbd2f89b565b7133d3a098cca9c6fbc0ffd3019b00ac0adac90c68d487fd20aee599a4030aeb03496bb78cd01a5c162cad5087cd8646 SHA512 9417aa53725a893b8b3da59fe8ae15bcbdb650a05dd94065b3ad5d6621a2d2225ef211ed67397094d1b61465d34c1731e4c0d88edd93f6db5ce11f76fad342d6 DIST spire-1.6.4-deps.tar.xz 391713668 BLAKE2B 00ad8c5035180c02400d54e2ebd14ef345475eac9a7475ed446250c7af2a0ade0188dc7b223f9bed4d33089af959478a6d181b444d60a7ea2fa6fff875c48940 SHA512 46a9ba050b5e2c1716c6c3212c53a4b506f21f495dbc6e0ee3d9c1c8adec14f4130dc254727c96c7362f43d95213ec5793323e4563f49578d5853bf9a27969ce DIST spire-1.6.4.tar.gz 2523760 BLAKE2B e08dd495326d5c6eaf8532d2b99e0d6f5253bdcf3f1ffdd5f572bfd523427e96f9849fc7b178bd6a9b4865c197264bd6bea414f9b40a0e0bcd30580f8ed4d189 SHA512 ee0c39589d7e02cc1e6d93a680d33b4a52a571a0c54c85caad2fe9637ac25e63335cf526282d808b6d5f1fd32a6a14be66bd8b17b294882fef14339b8374bf8e +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 diff --git a/app-misc/spire/spire-1.7.1.ebuild b/app-misc/spire/spire-1.7.1.ebuild new file mode 100644 index 000000000000..43c7a6704c24 --- /dev/null +++ b/app-misc/spire/spire-1.7.1.ebuild @@ -0,0 +1,56 @@ +# 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 +}