summaryrefslogtreecommitdiff
path: root/source/d/rust
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-08-24 20:48:03 +0000
committerEric Hameleers <alien@slackware.com>2020-08-25 17:59:56 +0200
commit855c3ceaa9f5e68508028608316d973e2068c924 (patch)
tree747e8f2e93aa7e29ad94d74c49cd6b360890f153 /source/d/rust
parentaef1dd99c7a4d8a3da26619fcbfc4a6eb501d2e3 (diff)
downloadcurrent-855c3ceaa9f5e68508028608316d973e2068c924.tar.gz
Mon Aug 24 20:48:03 UTC 202020200824204803
ap/nano-5.2-x86_64-1.txz: Upgraded. d/doxygen-1.8.20-x86_64-1.txz: Upgraded. d/nasm-2.15.03-x86_64-1.txz: Upgraded. Reverted to previous nasm since the new version has problems with some of the assembly included in Firefox. d/parallel-20200822-noarch-1.txz: Upgraded. l/libcap-ng-0.7.11-x86_64-1.txz: Upgraded. n/libgpg-error-1.39-x86_64-1.txz: Upgraded. n/libqmi-1.26.4-x86_64-1.txz: Upgraded. xap/mozilla-firefox-78.2.0esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/78.2.0/releasenotes/ (* Security fix *) xap/sane-1.0.31-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d/rust')
-rw-r--r--source/d/rust/rust.url17
1 files changed, 13 insertions, 4 deletions
diff --git a/source/d/rust/rust.url b/source/d/rust/rust.url
index 4221f0e8..4ef81634 100644
--- a/source/d/rust/rust.url
+++ b/source/d/rust/rust.url
@@ -1,7 +1,16 @@
-# Source code (repacked to .tar.xz):
-lftpget https://static.rust-lang.org/dist/rustc-1.45.2-src.tar.gz
-gzip -d rustc-*tar.gz
-plzip -9 -v rustc-*tar
+# Source code (repacked to .tar.lz):
+VERSION=1.45.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