diff options
| author | Matt Jolly <kangie@gentoo.org> | 2025-06-04 09:55:42 +1000 |
|---|---|---|
| committer | Matt Jolly <kangie@gentoo.org> | 2025-06-04 10:06:47 +1000 |
| commit | bcfde367abadc6c154d2452ba916cae2bf73f194 (patch) | |
| tree | f2b53f4bd7e16548cb190afe674df31cc39175a7 /dev-lang/rust/rust-1.75.0-r101.ebuild | |
| parent | b7a855a1adcd5d53fdb03c6c41fc17010cd3d65b (diff) | |
| download | gentoo-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.75.0-r101.ebuild')
| -rw-r--r-- | dev-lang/rust/rust-1.75.0-r101.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.75.0-r101.ebuild b/dev-lang/rust/rust-1.75.0-r101.ebuild index 0d0075b47848..26405e53fed7 100644 --- a/dev-lang/rust/rust-1.75.0-r101.ebuild +++ b/dev-lang/rust/rust-1.75.0-r101.ebuild @@ -232,6 +232,15 @@ pkg_setup() { fi } +src_unpack() { + if 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 + default + fi +} + src_prepare() { PATCHES=( "${WORKDIR}/rust-patches-${RUST_PATCH_VER}/" |
