1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-15 15:41:54 +01:00
slackware-current/source/d/cbindgen/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

34 lines
831 B
Bash
Executable file

#!/bin/bash
VERSION=${VERSION:-0.24.6}
rm -rf cbindgen-*.tar.?z cargo-cbindgen*
echo "Downloading cbindgen-$VERSION..."
wget --content-disposition "https://github.com/eqrion/cbindgen/archive/refs/tags/v$VERSION.tar.gz"
tar xf cbindgen-$VERSION.tar.gz
tar cf cbindgen-$VERSION.tar cbindgen-$VERSION
cd cbindgen-$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-cbindgen-$VERSION
cd ..
tar cf cargo-cbindgen-$VERSION.tar cargo-cbindgen-$VERSION
plzip -9 cargo-cbindgen-$VERSION.tar
plzip -9 cbindgen-$VERSION.tar
rm -rf cbindgen-$VERSION
rm -rf cargo-cbindgen-$VERSION
rm -f cbindgen-$VERSION.tar.gz