New commits:
commit e85f75d682270d310d9fdca5d623618f0a019aa7
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/rust: libressl patch was updated again
previous update wasn't sufficient for cases with libressl >= 3.8.0,
added extra checks into more files to catch such cases
also, neutralized checksumming in all vendored crates
diff --git a/devel/rust/HISTORY b/devel/rust/HISTORY
index 057b66f..c562341 100644
--- a/devel/rust/HISTORY
+++ b/devel/rust/HISTORY
@@ -1,6 +1,8 @@
2023-07-13 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.71.0
* patches/0001-libressl-3.4.x.patch: updated
+ * PRE_]BUILD: incorporated code from firefox spell to neutralize
checksumming
+ in all vendored crates
2023-06-01 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.70.0
diff --git a/devel/rust/PRE_BUILD b/devel/rust/PRE_BUILD
index 531b74c..3615c48 100755
--- a/devel/rust/PRE_BUILD
+++ b/devel/rust/PRE_BUILD
@@ -6,8 +6,8 @@ apply_patch_dir patches &&
sedit '1s@bash$@sh@' src/tools/rust-installer/install-template.sh &&
# remove checksums to avoid failure with patched sources
-sed -i 's/"files":{[^}]*}/"files":{}/' \
- vendor/{libc,openssl-sys}/.cargo-checksum.json &&
+find vendor -name .cargo-checksum.json \
+ -exec sed -i -e 's/\("files":{\)[^}]*/\1/' {} \; &&
# Bootstrapping
# Installed rust will in general NOT WORK!
diff --git a/devel/rust/patches/0001-libressl-3.4.x.patch
b/devel/rust/patches/0001-libressl-3.4.x.patch
index 6933c79..62256e3 100644
--- a/devel/rust/patches/0001-libressl-3.4.x.patch
+++ b/devel/rust/patches/0001-libressl-3.4.x.patch
@@ -10,3 +10,43 @@ diff --git a/vendor/openssl-sys/build/main.rs
b/vendor/openssl-sys/build/main.rs
_ => version_error(),
};