summaryrefslogtreecommitdiff
path: root/testing/source/rust/rust.url
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/rust/rust.url')
-rw-r--r--testing/source/rust/rust.url35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/source/rust/rust.url b/testing/source/rust/rust.url
new file mode 100644
index 00000000..524e5c1b
--- /dev/null
+++ b/testing/source/rust/rust.url
@@ -0,0 +1,35 @@
+# Source code (repacked to .tar.lz):
+VERSION=1.64.0
+rm -f rustc-${VERSION}-src.tar.*
+lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz
+lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz.asc
+if gpg --verify rustc-${VERSION}-src.tar.gz.asc ; then
+ rm -f rustc-${VERSION}-src.tar.gz.asc
+ gzip -d rustc-*tar.gz
+ plzip -9 -v rustc-*tar
+else
+ echo "FATAL ERROR: Not recompressing since GPG signature failed."
+ exit 1
+fi
+
+# Please note that the bootstrap binary packages listed below might not be kept
+# updated for later versions. The Rust compiler as shipped with Slackware
+# should be able to compile the next released version of Rust.
+#
+# To find the expected date/versions for bootstrap binaries to be able to
+# update the settings below, look at src/stage0.json in the Rust sources.
+exit 0
+
+BOOTSTRAP_DATE=2022-08-11
+BOOTSTRAP_VERSION=1.63.0
+BOOTSTRAP_CARGO=$BOOTSTRAP_VERSION
+
+# i686 bootstrap:
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-i686-unknown-linux-gnu.tar.xz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.xz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-i686-unknown-linux-gnu.tar.xz
+
+# x86_64 bootstrap:
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-x86_64-unknown-linux-gnu.tar.xz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.xz
+lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.xz