summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.86.0-r2.ebuild
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2025-06-04 09:55:42 +1000
committerMatt Jolly <kangie@gentoo.org>2025-06-04 10:06:47 +1000
commitbcfde367abadc6c154d2452ba916cae2bf73f194 (patch)
treef2b53f4bd7e16548cb190afe674df31cc39175a7 /dev-lang/rust/rust-1.86.0-r2.ebuild
parentb7a855a1adcd5d53fdb03c6c41fc17010cd3d65b (diff)
downloadgentoo-bcfde367abadc6c154d2452ba916cae2bf73f194.tar.gz
gentoo-bcfde367abadc6c154d2452ba916cae2bf73f194.tar.bz2
gentoo-bcfde367abadc6c154d2452ba916cae2bf73f194.zip
dev-lang/rust: fix verify-sig
When the patch tarballs were added the ebuilds were not updated to ensure that only upstream-signed files are verified. Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-1.86.0-r2.ebuild')
-rw-r--r--dev-lang/rust/rust-1.86.0-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.86.0-r2.ebuild b/dev-lang/rust/rust-1.86.0-r2.ebuild
index 430e115e4021..44ad501524ac 100644
--- a/dev-lang/rust/rust-1.86.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.86.0-r2.ebuild
@@ -220,8 +220,11 @@ src_unpack() {
[source.vendored-sources]
directory = "vendor"
_EOF_
+ elif use verify-sig ; then
+ # Patch tarballs are not signed (but we trust Gentoo infra)
+ verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz{,.asc}
else
- verify-sig_src_unpack
+ default
fi
}