commit: 63523556dbd35468f27415b1a9d6f9a3b4015685 Author: Matt Jolly <kangie <AT> gentoo <DOT> org> AuthorDate: Sat Feb 22 22:04:19 2025 +0000 Commit: Matt Jolly <kangie <AT> gentoo <DOT> org> CommitDate: Sat Feb 22 22:07:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63523556
dev-lang/rust: add manual verify-sig handling to 1.86.0_beta20250218 As we fetch a patch from GitHub we can't verify that and instead we need to not use the default 'verify everything' logic. Closes: https://bugs.gentoo.org/950098 Signed-off-by: Matt Jolly <kangie <AT> gentoo.org> dev-lang/rust/rust-1.86.0_beta20250218.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-lang/rust/rust-1.86.0_beta20250218.ebuild b/dev-lang/rust/rust-1.86.0_beta20250218.ebuild index 30a378f5c311..38296bf21ec0 100644 --- a/dev-lang/rust/rust-1.86.0_beta20250218.ebuild +++ b/dev-lang/rust/rust-1.86.0_beta20250218.ebuild @@ -217,7 +217,12 @@ src_unpack() { directory = "vendor" _EOF_ else - verify-sig_src_unpack + # Until upstream merge this patch we can't use the default verify-sig_src_unpack + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}/rustc-${PV}-src.tar.xz" \ + "${DISTDIR}/rustc-${PV}-src.tar.xz.asc" + fi + default_src_unpack fi }
