Hello community,
here is the log from the commit of package monitoring-plugins-smart for
openSUSE:Factory checked in at 2019-11-06 14:04:25
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-smart (Old)
and /work/SRC/openSUSE:Factory/.monitoring-plugins-smart.new.2990 (New)
Package is "monitoring-plugins-smart"
Wed Nov 6 14:04:25 2019 rev:5 rq:745269 version:6.4
Changes:
---
/work/SRC/openSUSE:Factory/monitoring-plugins-smart/monitoring-plugins-smart.changes
2015-03-11 09:58:57.0 +0100
+++
/work/SRC/openSUSE:Factory/.monitoring-plugins-smart.new.2990/monitoring-plugins-smart.changes
2019-11-06 14:04:27.172682213 +0100
@@ -1,0 +2,27 @@
+Thu Oct 31 15:11:06 UTC 2019 - Martin Hauke
+
+- Update to version 6.4
+ - Allow detection of more than 26 devices / issue #5 (rev 5.3)
+ - Different ATA vs. SCSI lookup (rev 5.4)
+ - Allow script to run outside of nagios plugins dir / wiki url
+update (rev 5.5)
+ - Change syntax of -g parameter (regex is now awaited from
+input) (rev 5.6)
+ - Fix Use of uninitialized value $device (rev 5.7)
+ - Allow multiple devices for interface type megaraid,
+e.g. "megaraid,[1-5]" (rev 5.8)
+ - allow type "auto" (rev 5.9)
+ - Check selftest log for errors using new parameter -s (rev 5.10)
+ - Add exclude list (-e) to ignore certain attributes (5.11)
+ - Fix 'Use of uninitialized value' warnings (5.11.1)
+ - Add raw check list (-r) and warning thresholds (-w) (6.0)
+ - Allow using pseudo bus device /dev/bus/N (6.1)
+ - Add device model and serial number in output (6.2)
+ - Allow exclusion from perfdata as well (-E) and by attribute
+number (6.3)
+ - Remove dependency on utils.pm, add quiet parameter (6.4)
+- Drop not longer needed patch:
+ * enable_auto_interface.patch (obsolete, type auto was added
+upstream in v5.9).
+
+---
Old:
enable_auto_interface.patch
Other differences:
--
++ monitoring-plugins-smart.spec ++
--- /var/tmp/diff_new_pack.fzw7ZE/_old 2019-11-06 14:04:27.732682799 +0100
+++ /var/tmp/diff_new_pack.fzw7ZE/_new 2019-11-06 14:04:27.736682803 +0100
@@ -1,7 +1,7 @@
#
# spec file for package monitoring-plugins-smart
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: monitoring-plugins-smart
-Version:5.2
+Version:6.4
Release:0
Summary:Check SMART status of a given disk
License:SUSE-Public-Domain
Group: System/Monitoring
-Url:http://www.claudiokuenzler.com/nagios-plugins/check_smart.php
+URL:https://www.claudiokuenzler.com/nagios-plugins/check_smart.php
Source0:check_smart.pl
Source1:usr.lib.nagios.plugins.check_smart
Source3:monitoring-plugins-smart-README.SUSE
-Patch0: enable_auto_interface.patch
BuildRequires: nagios-rpm-macros
BuildRequires: sudo
-Provides: nagios-plugins-smart = %{version}-%{release}
-Obsoletes: nagios-plugins-smart < 1.02
Requires: monitoring-plugins-common
Requires: smartmontools >= 5.39
Requires: sudo
@@ -38,8 +35,10 @@
Requires: perl(FindBin)
Requires: perl(Getopt::Long)
Recommends: apparmor-parser
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Provides: nagios-plugins-smart = %{version}-%{release}
+Obsoletes: nagios-plugins-smart < 1.02
BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This plugin does SMART monitoring both ATA and SCSI disks, has an easy usage
@@ -47,8 +46,8 @@
Note:
On older distributions you need a line like
- nagios ALL=NOPASSWD: /usr/sbin/smartctl
-in /etc/sudoers to run this script as non privileged user.
+ nagios ALL=NOPASSWD: %{_sbindir}/smartctl
+in %{_sysconfdir}/sudoers to run this script as non privileged user.
Since SLES 12/openSUSE 12.1, there is a file
%{_sysconfdir}/sysconfig/sudoers.d/%{name}
@@ -57,7 +56,6 @@
%prep
%setup -q -T -c %{name}
install -m755 %{SOURCE0} check_smart
-%patch0 -p0
install -m644 %{SOURCE3} README.SUSE
%build
@@ -68,16 +66,12 @@
%if 0%{?suse_version} > 1130
mkdir -p %{buildroot}/%{_sysconfdir}/sudoers.d
cat >>