summaryrefslogtreecommitdiffstats
path: root/source/a/smartmontools/smartmontools.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-03-08 19:19:03 +0000
committer Eric Hameleers <alien@slackware.com>2021-03-09 08:59:53 +0100
commit0be77b20dad3002d7968cc0a5a8c611d8f9c6315 (patch)
tree8b7950b3b9a70c8a54dd2f7293f973e9fd100c56 /source/a/smartmontools/smartmontools.SlackBuild
parent862bf241139111651f1ec68e56951d2c6d033ba2 (diff)
downloadcurrent-0be77b20dad3002d7968cc0a5a8c611d8f9c6315.tar.gz
current-0be77b20dad3002d7968cc0a5a8c611d8f9c6315.tar.xz
Mon Mar 8 19:19:03 UTC 202120210308191903
a/lrzip-0.641-x86_64-1.txz: Upgraded. This update fixes the poor compression ratio reported by Toutatis. a/smartmontools-7.2-x86_64-4.txz: Rebuilt. Add support for /etc/default/smartd. Thanks to upnort. a/sysvinit-2.99-x86_64-1.txz: Upgraded. l/iso-codes-4.6.0-noarch-1.txz: Upgraded. n/ca-certificates-20210308-noarch-1.txz: Upgraded. This update provides the latest CA certificates to check for the authenticity of SSL connections. n/fetchmail-6.4.17-x86_64-1.txz: Upgraded. xfce/thunar-4.16.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/smartmontools/smartmontools.SlackBuild')
-rwxr-xr-xsource/a/smartmontools/smartmontools.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/a/smartmontools/smartmontools.SlackBuild b/source/a/smartmontools/smartmontools.SlackBuild
index 5973a5951..600138c07 100755
--- a/source/a/smartmontools/smartmontools.SlackBuild
+++ b/source/a/smartmontools/smartmontools.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=smartmontools
VERSION=${VERSION:-$(echo smartmontools-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -83,6 +83,8 @@ mkdir -p $PKG/etc/rc.d
cp -a $CWD/rc.smartd $PKG/etc/rc.d/rc.smartd.new
chown root:root $PKG/etc/rc.d/rc.smartd.new
chmod 644 $PKG/etc/rc.d/rc.smartd.new
+mkdir -p $PKG/etc/default
+cat $CWD/smartd.default > $PKG/etc/default/smartd.new
mv $PKG/etc/smartd.conf $PKG/etc/smartd.conf.new
gzip -9 $PKG/usr/man/man?/*.?
@@ -115,5 +117,5 @@ fi
# Build the package:
cd $PKG
-makepkg -l y -c n $TMP/smartmontools-$VERSION-$ARCH-$BUILD.txz
+/sbin/makepkg -l y -c n $TMP/smartmontools-$VERSION-$ARCH-$BUILD.txz