1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-15 15:41:54 +01:00
slackware-current/source/d/rust/rust.url
Patrick J Volkerding 81dbcfdf62 Thu Apr 7 22:11:23 UTC 2022
a/gzip-1.12-x86_64-1.txz:  Upgraded.
d/meson-0.62.0-x86_64-1.txz:  Upgraded.
d/rust-1.60.0-x86_64-1.txz:  Upgraded.
l/libsigc++-2.10.8-x86_64-1.txz:  Upgraded.
n/libgpg-error-1.45-x86_64-1.txz:  Upgraded.
x/xf86-video-dummy-0.4.0-x86_64-1.txz:  Upgraded.
xap/libnma-1.8.38-x86_64-1.txz:  Upgraded.
2022-04-08 06:59:46 +02:00

35 lines
1.6 KiB
INI

# Source code (repacked to .tar.lz):
VERSION=1.60.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-02-24
BOOTSTRAP_VERSION=1.59.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