smartmontools-7.2
This commit is contained in:
@@ -16,6 +16,7 @@ def setup():
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--with-drivedbdir \
|
||||
--with-libsystemd=no \
|
||||
--with-libcap-ng=yes \
|
||||
--with-smartdscriptdir=/usr/share/smartmontools \
|
||||
--with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d \
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
commit 56363dff436c12eaa296bbba39dfd65ec3f1f1f2
|
||||
Author: chrfranke <authors@smartmontools.org>
|
||||
Date: Sat Nov 6 15:07:18 2021 +0000
|
||||
|
||||
update-smart-drivedb.in: Add '-q' option to suppress info messages.
|
||||
(GH issues/110).
|
||||
update-smart-drivedb.8.in: Document new option.
|
||||
|
||||
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5242 4ea69e1a-61f1-4043-bf83-b5c94c648137
|
||||
|
||||
--- a/update-smart-drivedb.8.in
|
||||
+++ b/update-smart-drivedb.8.in
|
||||
@@ -1,6 +1,6 @@
|
||||
.ig
|
||||
Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
|
||||
-Copyright (C) 2014-20 Christian Franke
|
||||
+Copyright (C) 2014-21 Christian Franke
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
@@ -144,6 +144,10 @@ Print the OpenPGP/GPG public key block.
|
||||
.B \-\-dryrun
|
||||
Print download commands only.
|
||||
.TP
|
||||
+.B \-q
|
||||
+[NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE]
|
||||
+Suppress info messages.
|
||||
+.TP
|
||||
.B \-v
|
||||
Verbose output.
|
||||
.Sp
|
||||
--- a/update-smart-drivedb.in
|
||||
+++ b/update-smart-drivedb.in
|
||||
@@ -72,6 +72,7 @@ Usage: $myname [OPTIONS] [DESTFILE]
|
||||
--no-verify Don't verify signature
|
||||
--export-key Print the OpenPGP/GPG public key block
|
||||
--dryrun Print download commands only
|
||||
+ -q Suppress info messages
|
||||
-v Verbose output
|
||||
|
||||
Updates $DRIVEDB
|
||||
@@ -131,6 +132,11 @@ inpath()
|
||||
return $rc
|
||||
}
|
||||
|
||||
+iecho()
|
||||
+{
|
||||
+ test -n "$quiet" || echo "$*"
|
||||
+}
|
||||
+
|
||||
vecho()
|
||||
{
|
||||
test -n "$q" || echo "$*"
|
||||
@@ -522,6 +528,7 @@ mv_all()
|
||||
smtctl=$SMARTCTL
|
||||
tool=
|
||||
urlid="svn"
|
||||
+quiet=
|
||||
q="-q"
|
||||
dryrun=
|
||||
trunk=
|
||||
@@ -547,6 +554,9 @@ while true; do case $1 in
|
||||
shift; test -n "$1" || usage
|
||||
urlid=$1 ;;
|
||||
|
||||
+ -q)
|
||||
+ quiet=t ;;
|
||||
+
|
||||
-v)
|
||||
q= ;;
|
||||
|
||||
@@ -727,7 +737,7 @@ if [ -f "$DEST" ]; then
|
||||
then
|
||||
rm -f "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc"
|
||||
touch "$DEST.lastcheck"
|
||||
- echo "$DEST is already up to date"
|
||||
+ iecho "$DEST is already up to date"
|
||||
exit 0
|
||||
fi
|
||||
mv_all "$DEST" "" ".old"
|
||||
@@ -738,4 +748,4 @@ fi
|
||||
|
||||
mv_all "$DEST" ".new" ""
|
||||
|
||||
-echo "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT VERIFIED)}"
|
||||
+iecho "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT VERIFIED)}"
|
||||
@@ -12,11 +12,14 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Programs to control and monitor storage systems using the Self-Monitoring</Summary>
|
||||
<Description>The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI hard disks.</Description>
|
||||
<Archive sha1sum="207dc2b50cab1c6fba7bc248665fbbe3189374e1" type="targz">mirrors://sourceforge/smartmontools/7.1/smartmontools-7.1.tar.gz</Archive>
|
||||
<Archive sha1sum="8d68241096f6ed5b1bbcd8b427fa4a881c1f3e33" type="targz">mirrors://sourceforge/smartmontools/7.2/smartmontools-7.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
<Dependency>libcap-ng-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">smartmontools-7.2-update-smart-drivedb-quiet.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -43,6 +46,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2021-11-22</Date>
|
||||
<Version>7.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2020-02-01</Date>
|
||||
<Version>7.1</Version>
|
||||
|
||||
Reference in New Issue
Block a user