slackware-current/source/d/rust-bindgen/fetch-sources.sh
Patrick J Volkerding 413469c1b8 Thu Jun 22 01:54:11 UTC 2023
a/kernel-firmware-20230620_045b213-noarch-1.txz:  Upgraded.
a/kernel-generic-6.1.35-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.1.35-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.1.35-x86_64-1.txz:  Upgraded.
ap/ghostscript-10.01.2-x86_64-1.txz:  Upgraded.
d/cbindgen-0.24.6-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.1.35-x86-1.txz:  Upgraded.
d/rust-bindgen-0.66.1-x86_64-1.txz:  Upgraded.
k/kernel-source-6.1.35-noarch-1.txz:  Upgraded.
kde/plasma-sdk-5.27.6.1-x86_64-1.txz:  Upgraded.
l/SDL2-2.28.0-x86_64-1.txz:  Upgraded.
l/gst-plugins-bad-free-1.22.4-x86_64-1.txz:  Upgraded.
l/gst-plugins-base-1.22.4-x86_64-1.txz:  Upgraded.
l/gst-plugins-good-1.22.4-x86_64-1.txz:  Upgraded.
l/gst-plugins-libav-1.22.4-x86_64-1.txz:  Upgraded.
l/gstreamer-1.22.4-x86_64-1.txz:  Upgraded.
l/nodejs-20.3.1-x86_64-1.txz:  Upgraded.
n/bind-9.18.16-x86_64-1.txz:  Upgraded.
  This update fixes a security issue:
  Exceeding the recursive-clients quota may cause named to terminate
  unexpectedly when stale-answer-client-timeout is set to 0.
  For more information, see:
    https://kb.isc.org/docs/cve-2023-2911
    https://www.cve.org/CVERecord?id=CVE-2023-2911
  (* Security fix *)
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2023-06-22 04:39:09 +02:00

35 lines
898 B
Bash
Executable file

#!/bin/bash
#VERSION=$1
VERSION=0.66.1
rm -rf rust-bindgen-*.tar.?z cargo-rust-bindgen*
echo "Downloading rust-bindgen-$VERSION..."
wget --content-disposition "https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v$VERSION.tar.gz"
tar xf rust-bindgen-$VERSION.tar.gz
tar cf rust-bindgen-$VERSION.tar rust-bindgen-$VERSION
cd rust-bindgen-$VERSION
if ! [ -f /usr/bin/cargo-vendor-filterer ]; then
echo "WARNING: Creating unfiltered vendor libs tarball!"
cargo vendor
else
cargo vendor-filterer --platform="x86_64-unknown-linux-gnu" --platform="i686-unknown-linux-gnu"
fi
mv vendor ../cargo-rust-bindgen-$VERSION
cd ..
tar cf cargo-rust-bindgen-$VERSION.tar cargo-rust-bindgen-$VERSION
plzip -9 cargo-rust-bindgen-$VERSION.tar
plzip -9 rust-bindgen-$VERSION.tar
rm -rf rust-bindgen-$VERSION
rm -rf cargo-rust-bindgen-$VERSION
rm -f rust-bindgen-$VERSION.tar.gz