commit:     ff8a6c3fb8487e52a9075f663c7e03738cf445c1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 03:35:42 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 03:37:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8a6c3f

net-libs/libssh2: wire up verify-sig

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

 net-libs/libssh2/Manifest              |  1 +
 net-libs/libssh2/libssh2-1.11.1.ebuild | 15 ++++++++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/net-libs/libssh2/Manifest b/net-libs/libssh2/Manifest
index a1c2d2879d68..5ef091374225 100644
--- a/net-libs/libssh2/Manifest
+++ b/net-libs/libssh2/Manifest
@@ -1 +1,2 @@
 DIST libssh2-1.11.1.tar.xz 721700 BLAKE2B 
8ab227556f8e7f094b2b8dc77e311d6935580690dd7d46f8766654a30078fb0be4182f43136896a04b5a2d15175397fab76607472d5f3cd31c8837a86e0c3c83
 SHA512 
8322b54a522b0cbbb07916d29ec045c08f8ed94bd8abb5e524038640e90a317667a25be46d95b62b101ed726ade0a51a90fb246cf34c045c38f927f4e439e431
+DIST libssh2-1.11.1.tar.xz.asc 488 BLAKE2B 
d77f0e7b36030277b901b00c2dc8420a7ea5f2f79caf65197464fbb5b87ebbd0132f11c8bad275413129292b8153895cca1bfe4ff3dd0b8f577bb79184415db3
 SHA512 
701a22f7b6cf9e2d02fd313fa5e64860ec8b162d32054b3ebc5c179ae81d13532563c0b1e51fdd1d526533a0a0f4487248fce3ba2f6a9a566bad08cb0f4051bf

diff --git a/net-libs/libssh2/libssh2-1.11.1.ebuild 
b/net-libs/libssh2/libssh2-1.11.1.ebuild
index b882b2b1bec9..77ad89893a22 100644
--- a/net-libs/libssh2/libssh2-1.11.1.ebuild
+++ b/net-libs/libssh2/libssh2-1.11.1.ebuild
@@ -1,13 +1,19 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake-multilib
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc
+inherit cmake-multilib verify-sig
 
 DESCRIPTION="Library implementing the SSH2 protocol"
 HOMEPAGE="https://libssh2.org";
-SRC_URI="https://libssh2.org/download/${P}.tar.xz";
+SRC_URI="
+       https://libssh2.org/download/${P}.tar.xz
+       verify-sig? (
+               https://libssh2.org/download/${P}.tar.xz.asc
+       )
+"
 
 LICENSE="BSD"
 SLOT="0"
@@ -29,6 +35,9 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
 "
+BDEPEND="
+       verify-sig? ( sec-keys/openpgp-keys-danielstenberg )
+"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.11.0-mansyntax_sh.patch

Reply via email to