summaryrefslogtreecommitdiffstats
path: root/source/l/sg3_utils
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-02-20 21:04:15 +0000
committer Eric Hameleers <alien@slackware.com>2021-02-21 08:59:51 +0100
commit7e53cd0c36c84b63f44d0d701cab0fd2c00075dd (patch)
treef2cf0a6873078f304c5344162a7023a27191cd0a /source/l/sg3_utils
parent782ab7566ebf43eb6feeedace1c58e6632f37e10 (diff)
downloadcurrent-7e53cd0c36c84b63f44d0d701cab0fd2c00075dd.tar.gz
current-7e53cd0c36c84b63f44d0d701cab0fd2c00075dd.tar.xz
Sat Feb 20 21:04:15 UTC 202120210220210415
a/sysvinit-scripts-2.1-noarch-40.txz: Rebuilt. Drop old /sbin/rescan-scsi-bus as the most recent version is already present in the sg3_utils package as /usr/bin/rescan-scsi-bus.sh. d/meson-0.57.1-x86_64-1.txz: Upgraded. l/mozilla-nss-3.62-x86_64-1.txz: Upgraded. l/sg3_utils-1.45-x86_64-4.txz: Rebuilt. Make a symlink /sbin/rescan-scsi-bus -> /usr/bin/rescan-scsi-bus.sh in case anyone depends on the old path / name from the sysvinit-scripts package. n/ipset-7.11-x86_64-1.txz: Upgraded. n/krb5-1.19.1-x86_64-1.txz: Upgraded. n/s-nail-14.9.21-x86_64-4.txz: Rebuilt. If there's no mail, exit. Thanks to ardya. testing/packages/linux-5.11/kernel-generic-5.11.0-x86_64-1.txz: Added. testing/packages/linux-5.11/kernel-headers-5.11.0-x86-1.txz: Added. testing/packages/linux-5.11/kernel-huge-5.11.0-x86_64-1.txz: Added. testing/packages/linux-5.11/kernel-modules-5.11.0-x86_64-1.txz: Added. testing/packages/linux-5.11/kernel-source-5.11.0-noarch-1.txz: Added.
Diffstat (limited to 'source/l/sg3_utils')
-rwxr-xr-xsource/l/sg3_utils/sg3_utils.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/l/sg3_utils/sg3_utils.SlackBuild b/source/l/sg3_utils/sg3_utils.SlackBuild
index ace8252d5..b20db178a 100755
--- a/source/l/sg3_utils/sg3_utils.SlackBuild
+++ b/source/l/sg3_utils/sg3_utils.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sg3_utils
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -106,6 +106,11 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# We used to ship "/sbin/rescan-scsi-bus", so make a symlink in case anyone
+# is depending on that existing:
+mkdir -p $PKG/sbin
+( cd $PKG/sbin ; ln -sf ../usr/bin/rescan-scsi-bus.sh rescan-scsi-bus )
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true