Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2015-03-16 09:37:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and      /work/SRC/openSUSE:Factory/.smartmontools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "smartmontools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes      
2015-03-09 10:04:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2015-03-16 09:37:58.000000000 +0100
@@ -1,0 +2,18 @@
+Tue Mar 10 14:49:55 CET 2015 - [email protected]
+
+- Run Self Tests:
+  * Short Self Test every night
+  * Extended Self Test every month
+  * Discussion:
+    http://lists.opensuse.org/opensuse-factory/2015-03/msg00040.html
+- Dropped smartmontools-removable.patch
+- Created smartmontools-suse-default.patch
+
+-------------------------------------------------------------------
+Mon Mar  9 17:29:15 CET 2015 - [email protected]
+
+- Package empty /etc/smartd_warning.d for warning plugins.
+- smartmontools-drivedb_h-update.sh: Fix default branch name.
+- Comment fixes.
+
+-------------------------------------------------------------------

Old:
----
  smartmontools-removable.patch

New:
----
  smartmontools-suse-default.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ smartmontools.spec ++++++
--- /var/tmp/diff_new_pack.bfERcI/_old  2015-03-16 09:37:59.000000000 +0100
+++ /var/tmp/diff_new_pack.bfERcI/_new  2015-03-16 09:37:59.000000000 +0100
@@ -32,8 +32,8 @@
 Source7:        smartmontools-drivedb.h
 # PATCH-FEATURE-UNITEDLINUX smartmontools-default-enabled.patch 
[email protected] -- Enable smartd by default.
 Patch1:         smartmontools-default-enabled.patch
-# PATCH-FEATURE-OPENSUSE smartmontools-removable.patch [email protected] -- Skip 
removable devices. (bnc#308557) Report raw temperature.
-Patch4:         smartmontools-removable.patch
+# PATCH-FEATURE-OPENSUSE smartmontools-suse-default.patch [email protected] -- 
Define smart SUSE defaults.
+Patch4:         smartmontools-suse-default.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch [email protected] -- Do 
not use unsupported /var/lock/subsys.
 Patch10:        smartmontools-var-lock-subsys.patch
 # PATCH-FEATURE-OPENSUSE smartd-service-novm.patch [email protected] -- 
Do not start smartd in virtual environment.
@@ -214,8 +214,7 @@
     # Compare their release numbers.
     DRIVEDB_H_RELEASE_RPM="$(sed -n 's/^.*$Id: drivedb.h \([0-9][0-9]*\) 
.*$/\1/p' <%{_datadir}/smartmontools/drivedb.h)"
     DRIVEDB_H_RELEASE_SAVED="$(sed -n 's/^.*$Id: drivedb.h \([0-9][0-9]*\) 
.*$/\1/p' <%{_datadir}/smartmontools/drivedb.h.rpmsave)"
-    # File has broken release number. Skip the update.
-    # Note: The SAVED release number may be broken. The test syntax must cover 
it.
+    # Note: The SAVED release number may be broken. The test syntax must cover 
it and replace old file.
     if test "$DRIVEDB_H_RELEASE_RPM" -lt "$DRIVEDB_H_RELEASE_SAVED" ; then
        # If it is an update to the new branch, always replace the database.
        # Extract drivedb.h branch for the new version to BRANCH.
@@ -289,6 +288,7 @@
 %config(noreplace) %{_sysconfdir}/smart_drivedb.h
 %config(noreplace) %{_sysconfdir}/smartd.conf
 %config(noreplace) %{_sysconfdir}/smartd_warning.sh
+%config %dir %{_sysconfdir}/smartd_warning.d
 %{_localstatedir}/adm/fillup-templates/sysconfig.*
 
 %changelog


++++++ smartmontools-drivedb_h-update.sh ++++++
--- /var/tmp/diff_new_pack.bfERcI/_old  2015-03-16 09:37:59.000000000 +0100
+++ /var/tmp/diff_new_pack.bfERcI/_new  2015-03-16 09:37:59.000000000 +0100
@@ -33,7 +33,7 @@
        rm -r "$WORKDIR"
        exit 2
 fi
-BRANCHNAME=DRIVEDB_BRANCH
+BRANCHNAME=$DRIVEDB_BRANCH
 
 PCK_TIME=$(date -d "$(sed -n 's/^.*$Id: drivedb.h [0-9][0-9]* \([^ ]* [^ ]*\) 
.*$/\1/p' <smartmontools-$VERSION/drivedb.h)" +%s)
 

++++++ smartmontools-suse-default.patch ++++++
--- smartd.conf
+++ smartd.conf
@@ -14,6 +14,15 @@
 # You can usually identify which hard disks are on your system by
 # looking in /proc/ide and in /proc/scsi.
 
+# SUSE default:
+#   -d removable: Prevent error messages after disconnecting of
+#                 monitored removable discs.
+#   -s S/:        Run Short Self Test every day in the deep night.
+#                 (Takes several minutes.)
+#   -s L/:        Run Extended Self Test every first Sunday in the
+#                 month. (Start earlier, it could take tens of hours.)
+DEFAULT -d removable -s S/../.././03 -s L/../(01|02|03|04|05|06|07)/7/01
+
 # The word DEVICESCAN will cause any remaining lines in this
 # configuration file to be ignored: it tells smartd to scan for all
 # ATA and SCSI devices.  DEVICESCAN may be followed by any of the
++++++ smartmontools.generate_smartd_opts.in ++++++
--- /var/tmp/diff_new_pack.bfERcI/_old  2015-03-16 09:37:59.000000000 +0100
+++ /var/tmp/diff_new_pack.bfERcI/_new  2015-03-16 09:37:59.000000000 +0100
@@ -11,7 +11,7 @@
 # example COPYING); if not, write to the Free Software Foundation, Inc., 51
 # Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
 
-# Following code must be in sync with sysv init script!
+# Following code should be in sync with sysv init script for older distros!
 
 # source configuration file.
 [ -r /etc/sysconfig/smartmontools ] && . /etc/sysconfig/smartmontools

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to