summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.85.1-r1.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.85.1-r1.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.85.1-r1.ebuild')
-rw-r--r--dev-lang/rust/rust-1.85.1-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.85.1-r1.ebuild b/dev-lang/rust/rust-1.85.1-r1.ebuild
index 816bc67bcd2c..6c827a53b625 100644
--- a/dev-lang/rust/rust-1.85.1-r1.ebuild
+++ b/dev-lang/rust/rust-1.85.1-r1.ebuild
@@ -219,8 +219,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
}