1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-08 20:46:14 +01:00
slackware-current/source/d/rust/rust.url
Patrick J Volkerding d06ae62d99 Mon May 8 23:42:23 UTC 2023
a/less-633-x86_64-1.txz:  Upgraded.
ap/inxi-3.3.27_1-noarch-1.txz:  Upgraded.
d/rust-1.68.2-x86_64-2.txz:  Upgraded.
l/mlt-7.16.0-x86_64-1.txz:  Upgraded.
x/m17n-lib-1.8.1-x86_64-1.txz:  Upgraded.
x/xf86-video-dummy-0.4.1-x86_64-1.txz:  Upgraded.
testing/packages/rust-1.69.0-x86_64-1.txz:  Upgraded.
2023-05-09 02:37:30 +02:00

35 lines
1.6 KiB
INI

# Source code (repacked to .tar.lz):
VERSION=1.68.2
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=2023-02-09
BOOTSTRAP_VERSION=1.67.1
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