summaryrefslogtreecommitdiff
path: root/testing/source/rust/rust.url
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2022-09-22 19:50:20 +0000
committerEric Hameleers <alien@slackware.com>2022-09-23 07:00:16 +0200
commita510225d2ffb19518cf1671630cb954171ebdb3b (patch)
treebe445eacddd868d956adbba9b3156f217c6e8d6d /testing/source/rust/rust.url
parent5a04d2d705926c4691d26307b0125cfb290e6ee7 (diff)
downloadcurrent-a510225d2ffb19518cf1671630cb954171ebdb3b.tar.gz
Thu Sep 22 19:50:20 UTC 202220220922195020
a/quota-4.09-x86_64-1.txz: Upgraded. d/parallel-20220922-noarch-1.txz: Upgraded. l/jemalloc-5.3.0-x86_64-2.txz: Rebuilt. Fixed version numbers in jemalloc.h. Thanks to Markus Wiesner. n/ca-certificates-20220922-noarch-1.txz: Upgraded. This update provides the latest CA certificates to check for the authenticity of SSL connections. testing/packages/rust-1.64.0-x86_64-1.txz: Added. We've found ourselves in a situation where Thunderbird requires the Rust compiler in /extra, and Firefox requires the one in the main tree (and can't use this one until Firefox 107 sometime in November), so we'll just park this here until we can use it.
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