commit:     9a3de17d78167770bd527bfbb73a314f1e37726c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 23:55:49 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 23:55:49 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3de17d

sys-apps/util-linux: port to verify-sig_uncompress_verify_unpack

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

 sys-apps/util-linux/util-linux-2.41.3.ebuild | 9 +++------
 sys-apps/util-linux/util-linux-9999.ebuild   | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/sys-apps/util-linux/util-linux-2.41.3.ebuild 
b/sys-apps/util-linux/util-linux-2.41.3.ebuild
index 40609e5fd3df..6f0fe67bf947 100644
--- a/sys-apps/util-linux/util-linux-2.41.3.ebuild
+++ b/sys-apps/util-linux/util-linux-2.41.3.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
@@ -115,12 +115,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/sys-apps/util-linux/util-linux-9999.ebuild 
b/sys-apps/util-linux/util-linux-9999.ebuild
index 64c3f01f2ace..be530b836b18 100644
--- a/sys-apps/util-linux/util-linux-9999.ebuild
+++ b/sys-apps/util-linux/util-linux-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
@@ -114,12 +114,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