commit:     e8d68f139708143910ac9212eb04553b5cdedf3c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 00:08:16 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 00:08:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d68f13

dev-util/pahole: port to verify-sig_uncompress_verify_unpack

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

 dev-util/pahole/pahole-1.30.ebuild | 9 +++------
 dev-util/pahole/pahole-9999.ebuild | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/dev-util/pahole/pahole-1.30.ebuild 
b/dev-util/pahole/pahole-1.30.ebuild
index a13829ecc1b1..d01c685363ac 100644
--- a/dev-util/pahole/pahole-1.30.ebuild
+++ b/dev-util/pahole/pahole-1.30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -55,12 +55,9 @@ src_unpack() {
                return
        fi
 
-       # Upstream sign the decompressed .tar
        if use verify-sig; then
-               einfo "Unpacking ${MY_P}.tar.xz ..."
-               verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \
-                       < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf 
-))
-               assert "Unpack failed"
+               verify-sig_uncompress_verify_unpack "${DISTDIR}"/${MY_P}.tar.xz 
\
+                       "${DISTDIR}"/${MY_P}.tar.sign
        else
                default
        fi

diff --git a/dev-util/pahole/pahole-9999.ebuild 
b/dev-util/pahole/pahole-9999.ebuild
index e3c538fde170..9da0a41472ee 100644
--- a/dev-util/pahole/pahole-9999.ebuild
+++ b/dev-util/pahole/pahole-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -55,12 +55,9 @@ src_unpack() {
                return
        fi
 
-       # Upstream sign the decompressed .tar
        if use verify-sig; then
-               einfo "Unpacking ${MY_P}.tar.xz ..."
-               verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \
-                       < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf 
-))
-               assert "Unpack failed"
+               verify-sig_uncompress_verify_unpack "${DISTDIR}"/${MY_P}.tar.xz 
\
+                       "${DISTDIR}"/${MY_P}.tar.sign
        else
                default
        fi

Reply via email to