commit:     5391f1f1a2e4a881dedf2dcd80431a0e51a2abea
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 00:14:11 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 02:07:19 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5391f1f1

app-arch/zstd: wire up verify-sig

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/zstd/Manifest             |  1 +
 app-arch/zstd/zstd-1.5.7-r1.ebuild | 11 ++++++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-arch/zstd/Manifest b/app-arch/zstd/Manifest
index b0dd3d3d669c..d1e554858e78 100644
--- a/app-arch/zstd/Manifest
+++ b/app-arch/zstd/Manifest
@@ -1 +1,2 @@
 DIST zstd-1.5.7.tar.gz 2434947 BLAKE2B 
ef6bcf13bbb79edce2de21ef4860b01dcb4d2dd47ebd03657d5331c3bb1a207ef128e99ed907a32e787dca7bb51df225ebd8abb2097d03d02c003ca713e1e271
 SHA512 
b4de208f179b68d4c6454139ca60d66ed3ef3893a560d6159a056640f83d3ee67cdf6ffb88971cdba35449dba4b597eaa8b4ae908127ef7fd58c89f40bf9a705
+DIST zstd-1.5.7.tar.gz.sig 858 BLAKE2B 
4dd9e9a1df48f458d7b6f0d50cf6134f40e2b7e678108c8aad07ef4eac294ceafb06ebd4966bd4256c82dfe088df06c18ef9a37c8e5e3925f29cadeb97969a77
 SHA512 
9d88171296cffd9b02700999c86d3509dc0349a857fc8961bb1fe34b7dfec19bd0c8622c79e02a0165f067ba28a8430c48804a937e548aa7f52d8ff482ba586c

diff --git a/app-arch/zstd/zstd-1.5.7-r1.ebuild 
b/app-arch/zstd/zstd-1.5.7-r1.ebuild
index e959be84b165..b62e4fb5cc52 100644
--- a/app-arch/zstd/zstd-1.5.7-r1.ebuild
+++ b/app-arch/zstd/zstd-1.5.7-r1.ebuild
@@ -1,13 +1,17 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit dot-a meson-multilib
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/zstd.asc
+inherit dot-a meson-multilib verify-sig
 
 DESCRIPTION="zstd fast compression library"
 HOMEPAGE="https://facebook.github.io/zstd/";
-SRC_URI="https://github.com/facebook/zstd/releases/download/v${PV}/${P}.tar.gz";
+SRC_URI="
+       https://github.com/facebook/zstd/releases/download/v${PV}/${P}.tar.gz
+       verify-sig? ( 
https://github.com/facebook/zstd/releases/download/v${PV}/${P}.tar.gz.sig )
+"
 S="${WORKDIR}"/${P}/build/meson
 
 LICENSE="|| ( BSD GPL-2 )"
@@ -22,6 +26,7 @@ RDEPEND="
        zlib? ( virtual/zlib:= )
 "
 DEPEND="${RDEPEND}"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-zstd )"
 
 MESON_PATCHES=(
        # Workaround until Valgrind bugfix lands

Reply via email to