commit:     fec12a1db44041aa37ed5acc198ef70d8b265afa
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Mon Feb 19 17:45:13 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 20:22:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec12a1d

net-dns/bind: Fix USE=doc+verify-sig

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://bugs.gentoo.org/924995
Bug: https://bugs.gentoo.org/924895
Closes: https://github.com/gentoo/gentoo/pull/35429
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind/bind-9.16.48.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net-dns/bind/bind-9.16.48.ebuild b/net-dns/bind/bind-9.16.48.ebuild
index 21f53bb53ce8..1cb98a27afae 100644
--- a/net-dns/bind/bind-9.16.48.ebuild
+++ b/net-dns/bind/bind-9.16.48.ebuild
@@ -99,6 +99,13 @@ PATCHES=(
        "${FILESDIR}/ldap-library-path-on-multilib-machines.patch"
 )
 
+src_unpack() {
+       if use verify-sig; then
+               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+       fi
+       default
+}
+
 src_prepare() {
        default
 

Reply via email to