Skip to contentSkip to conversation

rust: Upgrade 1.66.0 -> 1.66.1

PATCH New Alex Kiernan 1 participant 2 messages Jan 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 rust: Upgrade 1.66.0 -> 1.66.1

Changes:
Added validation of SSH host keys for git URLs in Cargo (CVE-2022-46176)

---

Changes in v2:
- Add patch to drop redundant CARGO_VERSION
- Rebased

 meta/recipes-devtools/rust/{cargo_1.66.0.bb => cargo_1.66.1.bb} | 0
 .../rust/{libstd-rs_1.66.0.bb => libstd-rs_1.66.1.bb}           | 0
 ...t-cross-canadian_1.66.0.bb => rust-cross-canadian_1.66.1.bb} | 0
 .../rust/{rust-llvm_1.66.0.bb => rust-llvm_1.66.1.bb}           | 0
 meta/recipes-devtools/rust/rust-source.inc                      | 2 +-
 meta/recipes-devtools/rust/{rust_1.66.0.bb => rust_1.66.1.bb}   | 0
 6 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/rust/{cargo_1.66.0.bb => cargo_1.66.1.bb} (100%)
 rename meta/recipes-devtools/rust/{libstd-rs_1.66.0.bb => libstd-rs_1.66.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.66.0.bb => rust-cross-canadian_1.66.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.66.0.bb => rust-llvm_1.66.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust_1.66.0.bb => rust_1.66.1.bb} (100%)
meta/recipes-devtools/rust/cargo_1.66.1.bb renamed from meta/recipes-devtools/rust/cargo_1.66.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/cargo_1.66.0.bb
rename to meta/recipes-devtools/rust/cargo_1.66.1.bb
meta/recipes-devtools/rust/libstd-rs_1.66.1.bb renamed from meta/recipes-devtools/rust/libstd-rs_1.66.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/libstd-rs_1.66.0.bb
rename to meta/recipes-devtools/rust/libstd-rs_1.66.1.bb
meta/recipes-devtools/rust/rust-cross-canadian_1.66.1.bb renamed from meta/recipes-devtools/rust/rust-cross-canadian_1.66.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/rust-cross-canadian_1.66.0.bb
rename to meta/recipes-devtools/rust/rust-cross-canadian_1.66.1.bb
meta/recipes-devtools/rust/rust-llvm_1.66.1.bb renamed from meta/recipes-devtools/rust/rust-llvm_1.66.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/rust-llvm_1.66.0.bb
rename to meta/recipes-devtools/rust/rust-llvm_1.66.1.bb
meta/recipes-devtools/rust/rust-source.inc +1 -1
index 6f1df4561b29..22e97174a98c 100644
@@ -7,7 +7,7 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
             file://0001-Do-not-use-LFS64-on-linux-with-musl.patch;patchdir=${RUSTSRC} \
             file://zlib-off64_t.patch;patchdir=${RUSTSRC} \
 "
-SRC_URI[rust.sha256sum] = "0dc176e34fae9871f855a6ba4cb30fa19d69c5b4428d29281a07419c4950715c"
+SRC_URI[rust.sha256sum] = "07ac4e6c93e0d8ecfaf3b86c4c78bbbde3f5be675f0334e7fb343cb4a0b81ebe"
 
 RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
 
meta/recipes-devtools/rust/rust_1.66.1.bb renamed from meta/recipes-devtools/rust/rust_1.66.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/rust_1.66.0.bb
rename to meta/recipes-devtools/rust/rust_1.66.1.bb
Signature · 1 line
2.39.0
#1 lore raw

PATCH v2 2/2 rust: Remove CARGO_VERSION

CARGO_VERSION isn't broken out in rust/src/stage0.json, there's only one snapshot version, so just use that.

---

(no changes since v1)

 meta/recipes-devtools/rust/rust-snapshot.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-devtools/rust/rust-snapshot.inc +1 -2
index 6420bcff55ad..25192c9f7666 100644
@@ -7,7 +7,6 @@
 ##       earlier SRC_URI.
 
 SNAPSHOT_VERSION = "1.65.0"
-CARGO_VERSION = "1.65.0"
 
 # TODO: Add hashes for other architecture toolchains as well. Make a script?
 SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "2b588cd2d49688c0c33b7466614123e8fe4c910f4d802fc0ff0662b1772816a9"
@@ -30,4 +29,4 @@ SRC_URI += " \
 
 RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
 RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
-CARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
Signature · 1 line
2.39.0