summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.84.1-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/rust/rust-1.84.1-r2.ebuild')
-rw-r--r--dev-lang/rust/rust-1.84.1-r2.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.84.1-r2.ebuild b/dev-lang/rust/rust-1.84.1-r2.ebuild
index 688d74e1f8ce..24b11fadae0c 100644
--- a/dev-lang/rust/rust-1.84.1-r2.ebuild
+++ b/dev-lang/rust/rust-1.84.1-r2.ebuild
@@ -238,6 +238,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}/"