* [OE-Core][PATCH v2 1/2] rust: Upgrade 1.66.0 -> 1.66.1
@ 2023-01-13 11:53 Alex Kiernan
2023-01-13 11:53 ` [OE-Core][PATCH v2 2/2] rust: Remove CARGO_VERSION Alex Kiernan
0 siblings, 1 reply; 2+ messages in thread
From: Alex Kiernan @ 2023-01-13 11:53 UTC (permalink / raw)
To: openembedded-core; +Cc: Alex Kiernan
Changes:
Added validation of SSH host keys for git URLs in Cargo (CVE-2022-46176)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
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%)
diff --git a/meta/recipes-devtools/rust/cargo_1.66.0.bb b/meta/recipes-devtools/rust/cargo_1.66.1.bb
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
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.66.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.66.1.bb
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
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.66.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.66.1.bb
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
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.66.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.66.1.bb
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
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc
index 6f1df4561b29..22e97174a98c 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -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"
diff --git a/meta/recipes-devtools/rust/rust_1.66.0.bb b/meta/recipes-devtools/rust/rust_1.66.1.bb
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
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [OE-Core][PATCH v2 2/2] rust: Remove CARGO_VERSION
2023-01-13 11:53 [OE-Core][PATCH v2 1/2] rust: Upgrade 1.66.0 -> 1.66.1 Alex Kiernan
@ 2023-01-13 11:53 ` Alex Kiernan
0 siblings, 0 replies; 2+ messages in thread
From: Alex Kiernan @ 2023-01-13 11:53 UTC (permalink / raw)
To: openembedded-core; +Cc: Alex Kiernan
CARGO_VERSION isn't broken out in rust/src/stage0.json, there's only one
snapshot version, so just use that.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
(no changes since v1)
meta/recipes-devtools/rust/rust-snapshot.inc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc
index 6420bcff55ad..25192c9f7666 100644
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -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"
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-13 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 11:53 [OE-Core][PATCH v2 1/2] rust: Upgrade 1.66.0 -> 1.66.1 Alex Kiernan
2023-01-13 11:53 ` [OE-Core][PATCH v2 2/2] rust: Remove CARGO_VERSION Alex Kiernan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.