commit smartmontools for openSUSE:Factory

2020-01-05 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2020-01-05 15:21:22

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new.6675 (New)


Package is "smartmontools"

Sun Jan  5 15:21:22 2020 rev:80 rq:760833 version:7.1

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2019-08-08 14:21:43.984364392 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new.6675/smartmontools.changes
2020-01-05 15:21:33.873573236 +0100
@@ -1,0 +2,38 @@
+Sat Jan  4 01:53:52 UTC 2020 - Stanislav Brabec 
+
+- Update to version 7.1:
+  * smartctl: Fixed bogus exception on unknown form factor value.
+  * smartctl '--json=cg': Suppresses extra spaces also in 'g'
+format.
+  * smartctl '-i': ATA ACS-4 and ACS-5 enhancements.
+  * smartd: No longer truncates very long device names in warning
+emails.
+  * smartd: No longer skips scheduled tests if system clock has
+been adjusted to the past.
+  * smartd '-A': Attribute logs now use local time instead of UTC.
+  * ATA: Device type '-d jmb39x,N' for drives behind JMicron JMB39x
+RAID port multipliers.
+  * SCSI: Workaround for incomplete Log subpages response from some
+SAS SSDs.
+  * HDD, SSD and USB additions to drive database.
+  * Autodetection of '-d sntjmicron' type for JMicron USB to NVMe
+bridges.
+  * Fixed segfault on CCISS transfer sizes > 512 bytes.
+  * Fixed smartd.service 'Type' if libsystemd-dev is not available.
+  * Fixed '/dev/megaraid_sas_ioctl_node' fd leak.
+  * Fixed GPL licensing problem of 'linux_nvme_ioctl.h'
+(smartmontools#1226,
+drop smartmontools-nvme_ioctl_h-license.patch).
+- Update smartmontools.keyring. Developers use new key.
+- smartmontools-drivedb_h-update.sh: Recognize equal files in
+  different commits.
+- Remove smartmontools-drivedb.h. No update available in the
+  upstream branch RELEASE_7_0_DRIVEDB.
+
+---
+Thu Dec 19 14:52:51 UTC 2019 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(libsystemd) instead of systemd-devel:
+  Allow OBS to shortcut through the -mini flavors.
+
+---

Old:

  smartmontools-7.0.tar.gz
  smartmontools-7.0.tar.gz.asc
  smartmontools-drivedb.h
  smartmontools-nvme_ioctl_h-license.patch

New:

  smartmontools-7.1.tar.gz
  smartmontools-7.1.tar.gz.asc



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.2YpeTi/_old  2020-01-05 15:21:35.881574243 +0100
+++ /var/tmp/diff_new_pack.2YpeTi/_new  2020-01-05 15:21:35.881574243 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %endif
 
 Name:   smartmontools
-Version:7.0
+Version:7.1
 Release:0
 Source: 
https://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
 Source1:
https://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz.asc
@@ -34,7 +34,7 @@
 # SOURCE-FEATURE-SLE smartmontools-drivedb_h-update.sh bnc851276 
sbra...@suse.cz -- Supplementary script to update drivedb.h.
 Source6:smartmontools-drivedb_h-update.sh
 # SOURCE-FEATURE-UPSTREAM smartmontools-drivedb.h bnc851276 sbra...@suse.cz -- 
Update of drivedb.h. (Following line is handled by 
smartmontools-drivedb_h-update.sh.)
-Source7:smartmontools-drivedb.h
+#Source7:smartmontools-drivedb.h
 Source8:smartd_generate_opts.path
 Source9:smartd_generate_opts.service
 # PATCH-FEATURE-OPENSUSE smartmontools-suse-default.patch sbra...@suse.cz -- 
Define smart SUSE defaults.
@@ -43,17 +43,15 @@
 Patch10:smartmontools-var-lock-subsys.patch
 # PATCH-FEATURE-OPENSUSE smartd-service-novm.patch crrodrig...@opensuse.org -- 
Do not start smartd in virtual environment.
 Patch11:smartd-service-novm.patch
-# PATCH-FIX-LEGAL smartmontools-nvme_ioctl_h-license.patch 
https://www.smartmontools.org/ticket/1226 sbra...@suse.com -- Fix license of 
nvme_ioctl.h.
-Patch12:smartmontools-nvme_ioctl_h-license.patch
 Requires(pre):  %fillup_prereq
 # Needed by generate_smartd_opt:
 Requires(pre):  coreutils
-Url:https://www.smartmontools.org/
+URL:https://www.smartmontools.org/
 BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Build

commit smartmontools for openSUSE:Factory

2019-08-08 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2019-08-08 14:21:39

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new.9556 (New)


Package is "smartmontools"

Thu Aug  8 14:21:39 2019 rev:79 rq:721334 version:7.0

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2018-10-11 11:39:06.271271622 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new.9556/smartmontools.changes
2019-08-08 14:21:43.984364392 +0200
@@ -1,0 +2,45 @@
+Tue Aug  6 18:50:22 CEST 2019 - sbra...@suse.com
+
+- Fix license of nvme_ioctl.h
+  (https://www.smartmontools.org/ticket/1226,
+  smartmontools-nvme_ioctl_h-license.patch).
+
+---
+Tue Jun  4 09:42:28 UTC 2019 - r...@suse.com
+
+- Update to 7.0 version
+  - smartctl
+* New options '-j' and '--json[=giosu]' to enable experimental
+  JSON output mode.  Also supports an alternative flat format
+  suitable for grep ('--json=g').
+* '-l devstat': Fix for logs with 256 sectors.
+* '-l error': Prints SCSI Pending Defects log page if supported.
+* '-H': Prints SCSI Format Status log page if supported.
+* '-x': Now includes '-l defects'.
+* New option '-d scsi+TYPE' to disable SAT auto detection for
+  'aacraid' and 'cciss'.
+  - NVMe/USB: Device type '-d sntjmicron' for NVMe drives behind
+JMicron USB to NVMe bridges.
+  - NVMe: SMART/Health Information and Error Information are always
+read with broadcast NSID.
+  - SCSI: Various improvements for the decoding of log pages.
+  - SCSI: Improved handling of READ CAPACITY command.
+  - SCSI: Support for SAS host managed drives.
+  - update-smart-drivedb: New option '-u github'.
+  - update-smart-drivedb: New signing key.
+  - HDD, SSD and USB additions to drive database.
+  - Always use '-d sat' for USB vendor IDs with known SAT support.
+  - Linux
+* Device scan with '-d by-id' scans '/dev/disk/by-id/*' symlinks.
+* Dropped device scan support for devfs.
+* Fixed device scan with multiple '-d TYPE' options.
+* Fixed device scan crash on missing '/proc/devices'.
+* USB ID detection also for '/dev/sgN'.
+* smartd: Could now run as systemd service with 'Type=notify' set.
+- Drop upstreamed patches:
+  * smartmontools-scsiata-scsi_only.patch
+  * smartmontools-systemd-no-syslog.patch
+- Update smartmontools-drivedb.h to the latest version from the
+  upstream branch RELEASE_7_0_DRIVEDB.
+
+---
@@ -61,4 +105,0 @@
-  - configure: New options '--with-gnupg', '--with-scriptpath' and
-'--with-update-smart-drivedb=X.Y'
-  - configure: Checks for C++11 support option and requires
-'--with[out]-cxx11-option' if option unknown or no C++11 support.
@@ -72,20 +112,0 @@
-  - Darwin: Initial NVMe support based on undocumented API.
-  - FreeBSD:
-* Fix panic on INVARIANTS enabled kernel.
-* Improve ATA SMART STATUS check for legacy controllers.
-* Compile fix for FreeBSD-11 and newer.
-  - NetBSD:
-* NVMe support.
-* Full 28-bit ATA support.
-* Compile fix.
-* Use a raw disk device file.
-  - OpenBSD: Compile fix.
-  - OS/2: Support for the OS2AHCI driver, updating source code,
-adding autoscan support, adding self-test support.
-  - Windows fixes:
-* Support for Windows 10 NVMe driver (stornvme.sys).
-* Fix CSMI access for IRST driver 15.2.
-* smartd: Ability to run PowerShell scripts with '-M exec'.
-* smartd: New PowerShell script to send smartd warning emails
-  without external tools.
-* package now provides PDF man pages.
@@ -130 +151 @@
-  * default device scanning result.
+default device scanning result.
@@ -144,5 +164,0 @@
-  * configure option '--without-update-smart-drivedb' to disable
-update-smart-drivedb script.
-  * configure options '--disable-drivedb', '--enable-savestates',
-'--enable-attributelog' and '--with-docdir' are no longer supported.
-  * autoconf < 2.60 and automake < 1.10 are no longer supported.
@@ -152,12 +167,0 @@
-  * Darwin: New support files for package installer.
-  * New makefile target 'install-darwin' builds DMG image.
-  * Solaris: Auto detection of SATA devices behind SAT layer.
-  * Solaris SPARC: Legacy ATA support disabled by default.
-New configure option '--with-solaris-sparc-ata' enables it.
-File os_solaris_ata.s is no longer included in source tarball.
-  * Windows: Auto detection of USB devices specified by drive letter.
-  * Windows: Device scanning does no longer ignore unknown USB devices.
-  * Windows: Prevent drive spin up by '-n standby' check.
-  * Windows: New application manifests indicating Win 10 support.
-  * Wind

commit smartmontools for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2018-10-11 11:38:56

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Thu Oct 11 11:38:56 2018 rev:78 rq:639625 version:6.6

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2018-07-07 21:53:56.311657487 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2018-10-11 11:39:06.271271622 +0200
@@ -1,0 +2,5 @@
+Tue Sep 25 19:52:10 CEST 2018 - sbra...@suse.com
+
+- Fix smartd.service EnvironmentFile (boo#1095662).
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.zppJxw/_old  2018-10-11 11:39:07.619269906 +0200
+++ /var/tmp/diff_new_pack.zppJxw/_new  2018-10-11 11:39:07.619269906 +0200
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -91,6 +91,7 @@
echo "Failed to modify smartd.service.in"
exit 1
 fi
+mv smartd.service.in.new smartd.service.in
 #
 # Check whether drivedb.h from the tarball is older than drivedb.h.new
 # If yes, replace it. If not, fail.





commit smartmontools for openSUSE:Factory

2018-07-07 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2018-07-07 21:53:50

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Sat Jul  7 21:53:50 2018 rev:77 rq:620576 version:6.6

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2018-05-06 14:56:48.827274964 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2018-07-07 21:53:56.311657487 +0200
@@ -1,0 +2,7 @@
+Fri Jun 22 13:33:42 CEST 2018 - ku...@suse.de
+
+- Add smartd_generate_opts.path and smartd_generate_opts.service
+  to update smartd_opts if sysconfig is modified. Needed for
+  [FATE#325524].
+
+---

New:

  smartd_generate_opts.path
  smartd_generate_opts.service



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.vAAG41/_old  2018-07-07 21:53:57.351656165 +0200
+++ /var/tmp/diff_new_pack.vAAG41/_new  2018-07-07 21:53:57.355656159 +0200
@@ -35,6 +35,8 @@
 Source6:smartmontools-drivedb_h-update.sh
 # SOURCE-FEATURE-UPSTREAM smartmontools-drivedb.h bnc851276 sbra...@suse.cz -- 
Update of drivedb.h. (Following line is handled by 
smartmontools-drivedb_h-update.sh.)
 Source7:smartmontools-drivedb.h
+Source8:smartd_generate_opts.path
+Source9:smartd_generate_opts.service
 # PATCH-FEATURE-OPENSUSE smartmontools-suse-default.patch sbra...@suse.cz -- 
Define smart SUSE defaults.
 Patch4: smartmontools-suse-default.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
@@ -133,6 +135,8 @@
 /* smart_drivedb.h: Custom drive database. See also 
%{_datadir}/smartmontools/drivedb.h. */
 EOF
 cp smartd.service %{buildroot}/%{_unitdir}
+cp %{SOURCE8} %{buildroot}/%{_unitdir}
+cp %{SOURCE9} %{buildroot}/%{_unitdir}
 ln -sf %{_sbindir}/service  %{buildroot}%{_sbindir}/rcsmartd
 # INSTALL file is intended only for packagers.
 rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL
@@ -153,7 +157,7 @@
 grep -q "^BRANCH=\"[^\"]*\"$" update-smart-drivedb
 
 %pre
-%service_add_pre smartd.service
+%service_add_pre smartd.service smartd_generate_opts.path 
smartd_generate_opts.service
 # Intelligent drivedb.h update, part 1.
 # Extract drivedb.h branch for installed version. We will need it in %%post.
 if test -f %{_sbindir}/update-smart-drivedb ; then
@@ -177,7 +181,7 @@
 # Then generate initial %%{_localstatedir}/lib/smartmontools/smartd_opts 
needed by smartd.service.
 SMARTD_SKIP_INIT=1 %{_prefix}/lib/smartmontools/generate_smartd_opts
 # No start by default here.. belongs to -presets packages
-%service_add_post smartd.service
+%service_add_post smartd.service smartd_generate_opts.path 
smartd_generate_opts.service
 # Intelligent drivedb.h update, part 2.
 # Now we have the old system drivedb.h.rpmsave and the new packaged drivedb.h.
 if test -f %{_datadir}/smartmontools/drivedb.h.rpmsave ; then
@@ -220,10 +224,10 @@
 fi
 
 %preun
-%service_del_preun smartd.service
+%service_del_preun smartd.service smartd_generate_opts.path 
smartd_generate_opts.service
 
 %postun
-%service_del_postun smartd.service
+%service_del_postun smartd.service smartd_generate_opts.path 
smartd_generate_opts.service
 # Clean all attrlogs and state files.
 if test "$1" = 0 ; then
 rm -rf %{_localstatedir}/lib/smartmontools

++ smartd_generate_opts.path ++
[Unit]
Description=Watch for changes in smartmontools sysconfig file
After=local-fs.target

[Path]
Unit=smartd_generate_opts.service
PathChanged=/etc/sysconfig/smartmontools

[Install]
WantedBy=default.target

++ smartd_generate_opts.service ++
[Unit]
Description=Update smartd options
Wants=local-fs.target

[Service]
Type=oneshot
ExecStart=/usr/lib/smartmontools/generate_smartd_opts

[Install]
WantedBy=default.target





commit smartmontools for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2018-05-06 14:56:47

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Sun May  6 14:56:47 2018 rev:76 rq:602529 version:6.6

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2018-02-12 14:46:00.784976135 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2018-05-06 14:56:48.827274964 +0200
@@ -1,0 +2,6 @@
+Tue Apr 17 22:33:03 CEST 2018 - sbra...@suse.com
+
+- Fix SUSE default of S.M.A.R.T. checks: really enable nightly
+  short tests (bsc#1073918).
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.xX6NSu/_old  2018-05-06 14:56:49.555248253 +0200
+++ /var/tmp/diff_new_pack.xX6NSu/_new  2018-05-06 14:56:49.559248107 +0200
@@ -56,7 +56,7 @@
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 Summary:Monitor for SMART devices
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Hardware/Other
 
 %description
@@ -213,6 +213,11 @@
 fi
 fi
 rm -f %{_datadir}/smartmontools/drivedb.h.branch.rpmtemp
+# Before Leap 15 / SLE 15, there was a incorrect configuration of self tests 
(bsc#1073918).
+# Perform a fix of this nonsense, even if the noreplace configuration file was 
edited.
+if grep -q -F -- '-s S/../.././03 -s L/../(01|02|03|04|05|06|07)/7/01' 
%{_sysconfdir}/smartd.conf ; then
+   sed -i 's:-s S/\.\./\.\./\./03 -s L/\.\./(01|02|03|04|05|06|07)/7/01:-s 
(S/../.././03|L/../(01|02|03|04|05|06|07)/7/01):g' %{_sysconfdir}/smartd.conf
+fi
 
 %preun
 %service_del_preun smartd.service


++ smartmontools-suse-default.patch ++
--- /var/tmp/diff_new_pack.xX6NSu/_old  2018-05-06 14:56:49.647244878 +0200
+++ /var/tmp/diff_new_pack.xX6NSu/_new  2018-05-06 14:56:49.647244878 +0200
@@ -11,7 +11,7 @@
 +# (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
++DEFAULT -d removable -s (S/../.././03|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




commit smartmontools for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2018-02-12 14:45:55

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Mon Feb 12 14:45:55 2018 rev:75 rq:57 version:6.6

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2018-02-10 17:53:27.098374385 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2018-02-12 14:46:00.784976135 +0100
@@ -12 +12 @@
-- update to 6.6 version
+- update to 6.6 version (FATE#321901, FATE#322874)



Other differences:
--




commit smartmontools for openSUSE:Factory

2018-02-10 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2018-02-10 17:53:15

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Sat Feb 10 17:53:15 2018 rev:74 rq:574389 version:6.6

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2017-11-29 10:51:28.387233639 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2018-02-10 17:53:27.098374385 +0100
@@ -1,0 +2,80 @@
+Thu Feb  8 19:49:07 CET 2018 - sbra...@suse.com
+
+- Make possible to disable broken SAT support by -d scsi+cciss,N
+  (bsc#1038271, smartmontools-scsiata-scsi_only.patch,
+  https://www.smartmontools.org/ticket/871).
+- Update smartmontools.keyring.
+
+---
+Mon Dec 18 04:03:10 UTC 2017 - avin...@opensuse.org
+
+- update to 6.6 version
+  - smartctl:
+* -i' and '--identify': ATA ACS-4 and SATA 3.3 enhancements.
+* Control ATA write cache through SCT Feature Control
+with '-s wcache-sct,ata|on|off[,p]' and '-g wcache-sct'.
+* Print ATA Pending Defects log with '-l defects'.
+* '-s wcreorder,on|off': New persistent flag ',p'.
+* '-s standby': Prevent temporary drive spinup.
+* '-n POWERMODE': New parameter to set exit status.
+* '-g security': ATA Security Level check fixed.
+* '-l scttemp*': Print minimum supported ERC Time Limit.
+* '-q noserial': Now also suppresses "SAS address" output.
+* '-i': Print IEEE EUI-64 of NVMe namespace.
+* '-c': Print NVMe 1.3 feature flags.
+* '-A': Print NVMe 1.3 thermal temperature transition
+statistic.
+* '-g/s dsn': Get/set ATA DSN.
+  - smartd
+* Uses also device identify information to detect for duplicate
+devices.
+* '-e dsn' directive: Set ATA DSN.
+* Improved SCSI/SAS temperature logging.
+* Silence emails and log messages on open errors of
+'-d removable' devices.
+* Exit on device open error unless '-q never' or '-d removable'
+is specified (regression).
+  - update-smart-drivedb: Now authenticates downloaded file with GnuPG.
+  - update-smart-drivedb: New options '--trunk', '--no-verify' and
+'--export-key'.
+  - Device type '-d intelliprop,N' for IntelliProp controllers.
+  - SCSI: Default timeout increased to 1 minute.
+  - configure: New options '--with-gnupg', '--with-scriptpath' and
+'--with-update-smart-drivedb=X.Y'
+  - configure: Checks for C++11 support option and requires
+'--with[out]-cxx11-option' if option unknown or no C++11 support.
+  - HDD, SSD and USB additions to drive database.
+  - New smartmontools-* mailing list addresses.
+  - Man page formatting reworked.
+  - Linux:
+* Uses SG_IO V4 API if supported.
+* Devices behind hpsa driver are no longer detected as regular
+  SCSI devices.
+  - Darwin: Initial NVMe support based on undocumented API.
+  - FreeBSD:
+* Fix panic on INVARIANTS enabled kernel.
+* Improve ATA SMART STATUS check for legacy controllers.
+* Compile fix for FreeBSD-11 and newer.
+  - NetBSD:
+* NVMe support.
+* Full 28-bit ATA support.
+* Compile fix.
+* Use a raw disk device file.
+  - OpenBSD: Compile fix.
+  - OS/2: Support for the OS2AHCI driver, updating source code,
+adding autoscan support, adding self-test support.
+  - Windows fixes:
+* Support for Windows 10 NVMe driver (stornvme.sys).
+* Fix CSMI access for IRST driver 15.2.
+* smartd: Ability to run PowerShell scripts with '-M exec'.
+* smartd: New PowerShell script to send smartd warning emails
+  without external tools.
+* package now provides PDF man pages.
+- switch to new url
+- drop upstreamed patches:
+  * smartmontools-scsi-suppress-no-temperature.patch
+  * smartmontools-scsi-temperature-check.patch
+  * smartmontools-log-scsi-temperature.patch
+- regen smartmontools-drivedb.h
+
+---

Old:

  smartmontools-6.5.tar.gz
  smartmontools-6.5.tar.gz.asc
  smartmontools-log-scsi-temperature.patch
  smartmontools-scsi-suppress-no-temperature.patch
  smartmontools-scsi-temperature-check.patch

New:

  smartmontools-6.6.tar.gz
  smartmontools-6.6.tar.gz.asc
  smartmontools-scsiata-scsi_only.patch



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.qM6ABb/_old  2018-02-10 17:53:27.878346151 +0100
+++ /var/tmp/diff_new_pack.qM6ABb/_new  2018-02-10 17:53:27.878346151 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX 

commit smartmontools for openSUSE:Factory

2017-11-29 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2017-11-29 10:51:27

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Wed Nov 29 10:51:27 2017 rev:73 rq:545106 version:6.5

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2017-08-12 20:00:20.625817756 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2017-11-29 10:51:28.387233639 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:42:04 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.XLyNqX/_old  2017-11-29 10:51:29.811181981 +0100
+++ /var/tmp/diff_new_pack.XLyNqX/_new  2017-11-29 10:51:29.811181981 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   smartmontools
 Version:6.5
 Release:0
@@ -125,8 +130,8 @@
 %install
 %makeinstall
 mkdir -p %{buildroot}%{_prefix}/lib/smartmontools
-mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
-cp smartmontools.sysconfig 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.smartmontools
+mkdir -p %{buildroot}%{_fillupdir}
+cp smartmontools.sysconfig %{buildroot}%{_fillupdir}/sysconfig.smartmontools
 mkdir -p %{buildroot}%{_localstatedir}/lib/smartmontools
 touch %{buildroot}%{_localstatedir}/lib/smartmontools/smartd_opts
 install generate_smartd_opts %{buildroot}%{_prefix}/lib/smartmontools/
@@ -243,6 +248,6 @@
 %config(noreplace) %{_sysconfdir}/smartd.conf
 %config(noreplace) %{_sysconfdir}/smartd_warning.sh
 %config %dir %{_sysconfdir}/smartd_warning.d
-%{_localstatedir}/adm/fillup-templates/sysconfig.*
+%{_fillupdir}/sysconfig.*
 
 %changelog






commit smartmontools for openSUSE:Factory

2017-08-12 Thread root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2017-08-12 20:00:11

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools"

Sat Aug 12 20:00:11 2017 rev:72 rq:514991 version:6.5

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2017-01-11 12:01:37.619795046 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2017-08-12 20:00:20.625817756 +0200
@@ -1,0 +2,8 @@
+Fri Jul 14 21:04:35 CEST 2017 - sbra...@suse.com
+
+- SCSI temperature error fixes (bsc#1047198,
+  smartmontools-scsi-suppress-no-temperature.patch,
+  smartmontools-scsi-temperature-check.patch,
+  smartmontools-log-scsi-temperature.patch).
+
+---

New:

  smartmontools-log-scsi-temperature.patch
  smartmontools-scsi-suppress-no-temperature.patch
  smartmontools-scsi-temperature-check.patch



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.XO6GfB/_old  2017-08-12 20:00:23.037479951 +0200
+++ /var/tmp/diff_new_pack.XO6GfB/_new  2017-08-12 20:00:23.045478831 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -38,6 +38,12 @@
 Patch11:smartd-service-novm.patch
 # PATCH-FIX-OPENSUSE smartmontools-systemd-no-syslog.patch bsc983938 
sbra...@suse.cz -- syslog.target does not exist any more.
 Patch12:smartmontools-systemd-no-syslog.patch
+# PATCH-FIX-UPSTREAM smartmontools-scsi-suppress-no-temperature.patch 
bsc1047198 sbra...@suse.cz -- Always suppress "failed to read Temperature" 
message.
+Patch13:smartmontools-scsi-suppress-no-temperature.patch
+# PATCH-FIX-UPSTREAM smartmontools-scsi-temperature-check.patch bsc1047198 
sbra...@suse.cz -- Fix initial check for SCSI temperature support.
+Patch14:smartmontools-scsi-temperature-check.patch
+# PATCH-FIX-UPSTREAM smartmontools-log-scsi-temperature.patch bsc1047198 
sbra...@suse.cz -- Log SCSI temperature regardless of its origin.
+Patch15:smartmontools-log-scsi-temperature.patch
 Requires(pre):  %fillup_prereq
 # Needed by generate_smartd_opt:
 Requires(pre):  coreutils
@@ -74,6 +80,9 @@
 %patch10 -p1
 %patch11
 %patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
 #
 # PATCH-FEATURE-OPENSUSE (sed on smartd.service.in) sbra...@suse.cz -- Use 
generated smartd_opts (from SUSE sysconfig file). Systemd smartd.service cannot 
be smart enough to parse SUSE sysconfig file and generate smartd_opts on fly. 
And we do not want to launch shell just for it in every boot.
 sed 
"s:/usr/local/etc/sysconfig/smartmontools:%{_localstatedir}/lib/smartmontools/smartd_opts:"
 smartd.service.in.new


++ smartmontools-log-scsi-temperature.patch ++
Index: smartmontools-6.5/ChangeLog
===
--- smartmontools-6.5.orig/ChangeLog
+++ smartmontools-6.5/ChangeLog
@@ -5,6 +5,7 @@ $Id: ChangeLog 4318 2016-05-07 11:18:20Z
smartd.cpp: Always suppress "failed to read Temperature" message
if SCSI device does not support temperature (ticket #817).
Fix initial check for SCSI temperature support.
+   Log SCSI temperature regardless of its origin.
 
 2016-05-07  Christian Franke  
 
Index: smartmontools-6.5/smartd.cpp
===
--- smartmontools-6.5.orig/smartd.cpp
+++ smartmontools-6.5/smartd.cpp
@@ -794,8 +794,8 @@ static bool write_dev_attrlog(const char
 fprintf(f, "\tnon-medium-errors;%" PRIu64 ";", 
state.scsi_nonmedium_error.nme.counterPC0);
   }
   // write SCSI current temperature if it is monitored
-  if(state.TempPageSupported && state.temperature)
- fprintf(f, "\ttemperature;%d;", state.temperature);
+  if (state.temperature)
+fprintf(f, "\ttemperature;%d;", state.temperature);
   // end of line
   fprintf(f, "\n");
   return true;
++ smartmontools-scsi-suppress-no-temperature.patch ++
Index: smartmontools-6.5/ChangeLog
===
--- smartmontools-6.5.orig/ChangeLog
+++ smartmontools-6.5/ChangeLog
@@ -1,5 +1,10 @@
 $Id: ChangeLog 4318 2016-05-07 11:18:20Z chrfranke $
 
+2017-03-27  Christian Franke  
+
+   smartd.cpp: Always suppress "failed to read Temperature" message
+   if SCSI device does not support temperature (tic

commit smartmontools for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2016-01-21 23:40:53

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-16 09:37:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2016-01-21 23:40:55.0 +0100
@@ -1,0 +2,43 @@
+Thu Jan 14 09:06:55 UTC 2016 - meiss...@suse.com
+
+- replaced keyring with 2015/2016 key.
+  pub   rsa2048/0xDF0F1A49C4A4903A 2014-12-31 [verfällt: 2016-12-31]
+  Schl.-Fingerabdruck = F41F 01FC 0784 4958 4FFC  CF57 DF0F 1A49 C4A4 903A
+  uid[  unbekannt] Smartmontools Signing Key (through 2016) 

+
+
+---
+Sun Jan 10 14:09:14 UTC 2016 - p.drou...@gmail.com
+
+- Update to version 6.0.4
+  * Device type '  *d usbprolific' for Prolific PL2571/277x USB bridges.
+  * SAT: Support for ATA registers returned in fixed format sense data.
+  * smartctl '  *i' and '  *  *identify': ATA ACS  *4 and SATA 3.2 
enhancements.
+  * smartctl '  *l xerror': Support for logs with more than 255 pages.
+  * smartctl '  *l devstat': Prints ACS  *3 DSN flags.
+  * smartctl '  *l devstat': Read via SMART command if GP log is not
+available.
+  * smartctl '  *l scttempsts': Prints SCT SMART STATUS (ACS  *4) and
+vendor specific SCT bytes.
+  * configure option '  *  *with  *systemdenvfile=auto' as new default.
+  * configure options '  *  *disable  *drivedb', '  *  *enable  *savestates'
+and '  *  *enable  *attributelog' are deprecated.
+  * Corresponding '  *  *with  **' options are enhanced accordingly.
+  * Configure option '  *  *with  *docdir' is deprecated.
+  * autoconf < 2.60 and automake < 1.10 are deprecated.
+(all of the above still work but a warning is printed if used)
+  * HDD, SSD and USB additions to drive database.
+  * Linux: AACRAID fixes, SMART STATUS should work now.
+  * Linux: '/dev/megaraid_sas_ioctl_node' fd leak fix.
+  * Darwin: '  *S' command implemented, '  *l devstat' should work now.
+  * Cygwin: Compile fix.
+  * Windows: Device type '  *d aacraid' for AACRAID controllers.
+  * Windows: SAT autodetection based on IOCTL_STORAGE_QUERY_PROPERTY.
+  * Windows installer: Fix possible loss of user PATH environment variable.
+- Update smartmontools-drivedb.h to the latest version from the
+  upstream branch RELEASE_6_4_DRIVEDB.
+- Cleanup and remove conditional macros; the package doesn't build
+  for SLE anyway
+- Remove smartmontools-default-enabled.patch; not needed anymore
+
+---

Old:

  smartmontools-6.3.tar.gz
  smartmontools-6.3.tar.gz.asc
  smartmontools-default-enabled.patch

New:

  smartmontools-6.4.tar.gz
  smartmontools-6.4.tar.gz.asc



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.lkCgSP/_old  2016-01-21 23:40:57.0 +0100
+++ /var/tmp/diff_new_pack.lkCgSP/_new  2016-01-21 23:40:57.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,10 +17,10 @@
 
 
 Name:   smartmontools
-Version:6.3
+Version:6.4
 Release:0
 Source: 
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
-Source1:%{name}-%{version}.tar.gz.asc
+Source1:
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz.asc
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
 Source4:%{name}.keyring
@@ -30,32 +30,22 @@
 Source6:smartmontools-drivedb_h-update.sh
 # SOURCE-FEATURE-UPSTREAM smartmontools-drivedb.h bnc851276 sbra...@suse.cz -- 
Update of drivedb.h. (Following line is handled by 
smartmontools-drivedb_h-update.sh.)
 Source7:smartmontools-drivedb.h
-# PATCH-FEATURE-UNITEDLINUX smartmontools-default-enabled.patch 
sbra...@suse.cz -- Enable smartd by default.
-Patch1: smartmontools-default-enabled.patch
 # PATCH-FEATURE-OPENSUSE smartmontools-suse-default.patch sbra...@suse.cz -- 
Define smart SUSE defaults.
 Patch4: smartmontools-suse-default.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/s

commit smartmontools for openSUSE:Factory

2015-03-16 Thread h_root
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.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2015-03-16 09:37:58.0 +0100
@@ -1,0 +2,18 @@
+Tue Mar 10 14:49:55 CET 2015 - sbra...@suse.cz
+
+- 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 - sbra...@suse.cz
+
+- 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.0 +0100
+++ /var/tmp/diff_new_pack.bfERcI/_new  2015-03-16 09:37:59.0 +0100
@@ -32,8 +32,8 @@
 Source7:smartmontools-drivedb.h
 # PATCH-FEATURE-UNITEDLINUX smartmontools-default-enabled.patch 
sbra...@suse.cz -- Enable smartd by default.
 Patch1: smartmontools-default-enabled.patch
-# PATCH-FEATURE-OPENSUSE smartmontools-removable.patch sbra...@suse.cz -- Skip 
removable devices. (bnc#308557) Report raw temperature.
-Patch4: smartmontools-removable.patch
+# PATCH-FEATURE-OPENSUSE smartmontools-suse-default.patch sbra...@suse.cz -- 
Define smart SUSE defaults.
+Patch4: smartmontools-suse-default.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
 Patch10:smartmontools-var-lock-subsys.patch
 # PATCH-FEATURE-OPENSUSE smartd-service-novm.patch crrodrig...@opensuse.org -- 
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.0 +0100
+++ /var/tmp/diff_new_pack.bfERcI/_new  2015-03-16 09:37:59.0 +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' 

commit smartmontools for openSUSE:Factory

2015-03-09 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2015-03-09 10:04:11

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  
2014-12-09 09:13:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2015-03-09 10:04:12.0 +0100
@@ -1,0 +2,13 @@
+Tue Mar  3 17:35:15 CET 2015 - sbra...@suse.cz
+
+- Improve drivedb.h update scriptlets: Detect update across
+  branches.
+- Check state of smartmontools-drivedb.h in %prep.
+- Add ghost records for files created by update-smart-drivedb.
+- Improve smartmontools-drivedb_h-update.sh script: Perform spec
+  file changess.
+- Clean up on uninstall.
+- Update smartmontools-drivedb.h to the latest version from the
+  upstream branch RELEASE_6_3_DRIVEDB.
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.ja80n3/_old  2015-03-09 10:04:13.0 +0100
+++ /var/tmp/diff_new_pack.ja80n3/_new  2015-03-09 10:04:13.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,18 +17,6 @@
 
 
 Name:   smartmontools
-# Important: When doing a version update that changes DRIVEDB_BRANCH
-# in smartmontools-drivedb_h-update.sh, you have to check,
-# that the packaged drivedb.h has a higher svn release number than any
-# version that exist in older svn branches. If not, you have
-# to implement special case in the %%post section.
-# Numbers in quotes are release numbers on 2013-12-04.
-# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_39_DRIVEDB/smartmontools/drivedb.h#l61
 (3412)
-# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_40_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
-# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_41_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
-# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
-# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_6_0_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
-# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h#l78
 (3856)
 Version:6.3
 Release:0
 Source: 
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
@@ -40,7 +28,7 @@
 Source5:%{name}.generate_smartd_opts.in
 # SOURCE-FEATURE-SLE smartmontools-drivedb_h-update.sh bnc851276 
sbra...@suse.cz -- Supplementary script to update drivedb.h.
 Source6:smartmontools-drivedb_h-update.sh
-# SOURCE-FEATURE-UPSTREAM smartmontools-drivedb.h bnc851276 sbra...@suse.cz -- 
Update of drivedb.h.
+# SOURCE-FEATURE-UPSTREAM smartmontools-drivedb.h bnc851276 sbra...@suse.cz -- 
Update of drivedb.h. (Following line is handled by 
smartmontools-drivedb_h-update.sh.)
 Source7:smartmontools-drivedb.h
 # PATCH-FEATURE-UNITEDLINUX smartmontools-default-enabled.patch 
sbra...@suse.cz -- Enable smartd by default.
 Patch1: smartmontools-default-enabled.patch
@@ -88,13 +76,33 @@
 %prep
 %setup -q
 cp -a %{SOURCE2} %{SOURCE5} .
-cp -a %{SOURCE7} drivedb.h
+# Following line is handled by smartmontools-drivedb_h-update.sh.
+cp -a %{SOURCE7} drivedb.h.new
 %patch1
 %patch4
 %patch10 -p1
 %patch11
+#
 # PATCH-FEATURE-OPENSUSE (sed on smartd.service.in) sbra...@suse.cz -- Use 
generated smartd_opts (from SUSE sysconfig file). Systemd smartd.service cannot 
be smart enough to parse SUSE sysconfig file and generate smartd_opts on fly. 
And we do not want to launch shell just for it in every boot.
-sed -i 
"s:/usr/local/etc/sysconfig/smartmontools:%{_localstatedir}/lib/smartmontools/smartd_opts:"
 smartd.service.in
+sed 
"s:/usr/local/etc/sysconfig/smartmontools:%{_localstatedir}/lib/smartmontools/smartd_opts:"
 smartd.service.in.new
+if cmp -s smartd.service.in smartd.service.in.new ; then
+   echo "Failed to modify smartd.service.in"
+   exit 1
+fi
+#
+# Check whether drivedb.h from the tarball is older than drivedb.h.new
+# If yes, replace it. If not, fail.
+# PACKAGERS: Don't delete this section. It prevents packaging of outdated 
smartmontools-drivedb.h.
+if tes

commit smartmontools for openSUSE:Factory

2014-12-09 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2014-12-09 09:13:45

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  
2014-10-08 22:13:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2014-12-09 09:13:21.0 +0100
@@ -1,0 +2,8 @@
+Fri Nov 14 09:19:11 UTC 2014 - dims...@opensuse.org
+
+- No longer perform gpg validation; osc source_validator does it
+  implicit:
+  + Drop gpg-offline BuildRequires.
+  + No longer execute gpg_verify.
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.H0n9Xd/_old  2014-12-09 09:13:22.0 +0100
+++ /var/tmp/diff_new_pack.H0n9Xd/_new  2014-12-09 09:13:22.0 +0100
@@ -59,9 +59,6 @@
 %endif
 Url:http://smartmontools.sourceforge.net/
 BuildRequires:  gcc-c++
-%if 0%{?suse_version} > 1220
-BuildRequires:  gpg-offline
-%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1110
 BuildRequires:  libselinux-devel
@@ -89,9 +86,6 @@
 commands man smartctl and man smartd will provide more information.
 
 %prep
-%if 0%{?gpg_verify:1}
-%gpg_verify %{S:1}
-%endif
 %setup -q
 cp -a %{SOURCE2} %{SOURCE5} .
 cp -a %{SOURCE7} drivedb.h


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2014-10-08 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2014-10-08 22:13:27

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  
2014-09-09 18:59:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2014-10-08 22:13:31.0 +0200
@@ -1,0 +2,7 @@
+Tue Oct  7 22:55:04 CEST 2014 - sbra...@suse.cz
+
+- Re-add /usr/sbin/rcsmards symlink (bnc#900099).
+- Fix service restart in smartmontools.generate_smartd_opts.in
+  (bnc#900099).
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.kXOXfK/_old  2014-10-08 22:13:33.0 +0200
+++ /var/tmp/diff_new_pack.kXOXfK/_new  2014-10-08 22:13:33.0 +0200
@@ -120,7 +120,8 @@
--enable-savestates\
--enable-attributelog
 make %{?_smp_mflags} BUILD_INFO='"(SUSE RPM)"'
-sed "s:@libdir@:%{_libdir}:g;s:@localstatedir@:%{_localstatedir}:g" 
generate_smartd_opts
+SERVICE=/usr/sbin/service
+sed 
"s:@prefix@:%{_prefix}:g;s:@localstatedir@:%{_localstatedir}:g;s:@SERVICE@:$SERVICE:"
 generate_smartd_opts
 
 %install
 %makeinstall
@@ -143,6 +144,9 @@
 EOF
 %if 0%{?suse_version} >= 1130
 cp smartd.service %{buildroot}/%{_unitdir}
+ln -sf %{_sbindir}/service  %{buildroot}%{_sbindir}/rcsmartd
+%else
+ln -sf ../../etc/init.d/smartd %{buildroot}%{_sbindir}/rcsmartd
 %endif
 # INSTALL file is intended only for packagers.
 rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL
@@ -182,7 +186,7 @@
 %endif
 
 %if 0%{?suse_version} > 1140
-# Then generate initial %{_localstatedir}/lib/smartmontools/smartd_opts needed 
by smartd.service.
+# Then generate initial %%{_localstatedir}/lib/smartmontools/smartd_opts 
needed by smartd.service.
 SMARTD_SKIP_INIT=1 %{_prefix}/lib/smartmontools/generate_smartd_opts
 %endif
 # No start by default here.. belongs to -presets packages


++ smartmontools.generate_smartd_opts.in ++
--- /var/tmp/diff_new_pack.kXOXfK/_old  2014-10-08 22:13:33.0 +0200
+++ /var/tmp/diff_new_pack.kXOXfK/_new  2014-10-08 22:13:33.0 +0200
@@ -37,11 +37,11 @@
 
 mkdir -p @localstatedir@/lib/smartmontools
 
-echo "# Generated by @libdir@/smartmontools/generate_smartd_opts
+echo "# Generated by @prefix@/lib/smartmontools/generate_smartd_opts
 smartd_opts=\"$smartd_opts\"" >@localstatedir@/lib/smartmontools/smartd_opts
 
 # SMARTD_SKIP_INIT is used during installation.
 if test -z "$SMARTD_SKIP_INIT" ; then
# Behavior of both "Command" and "ServiceRestart" is undefined. Restart 
service here.
-   /etc/init.d/smartd try-restart
+   @SERVICE@ smartd try-restart
 fi

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2014-09-09 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2014-09-09 18:59:42

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  
2014-06-05 10:49:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2014-09-09 18:59:50.0 +0200
@@ -1,0 +2,30 @@
+Wed Sep  3 13:27:11 CEST 2014 - r...@suse.de
+
+- re-add sysvinit support in specfile (fix build on sles11) 
+
+---
+Wed Sep  3 13:01:54 CEST 2014 - r...@suse.de
+
+- update to version 6.3
+  - smartctl: Fixed bogus error messages from '-g/-s wcreorder'.
+  - smartctl prints ATA form factor.
+  - SCSI: Improved support of modern disks (SAS SSDs).
+  - SCSI: Fixed sense data noise from old disks.
+  - update-smart-drivedb man page.
+  - configure option '--with-smartdscriptdir'.
+  - configure option '--with-smartdplugindir'.
+  - configure option '--with-systemdenvfile'.
+  - configure option '--with-working-snprintf'.
+  - Removed build time stamps to support reproducible builds.
+  - Compile fixes for C++11.
+  - HDD, SSD and USB additions to drive database.
+  - Linux: Support for controllers behind AACRAID driver.
+  - Linux: Fixed DEVICESCAN max path count.
+  - FreeBSD: Fixed possible crash caused by wrong SCSI error handling.
+  - FreeBSD: Compile fix for kFreeBSD.
+  - Windows: Reworked CSMI port scanning.
+  - QNX: Compile fix.
+- dropped patches:
+  smartmontools-nobuild-date.patch (code removed upstream) 
+
+---

Old:

  smartmontools-6.2.tar.gz
  smartmontools-6.2.tar.gz.asc
  smartmontools-nobuild-date.patch

New:

  smartmontools-6.3.tar.gz
  smartmontools-6.3.tar.gz.asc



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.udr4vB/_old  2014-09-09 18:59:52.0 +0200
+++ /var/tmp/diff_new_pack.udr4vB/_new  2014-09-09 18:59:52.0 +0200
@@ -29,7 +29,7 @@
 # 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
 # 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_6_0_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
 # 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h#l78
 (3856)
-Version:6.2
+Version:6.3
 Release:0
 Source: 
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}-%{version}.tar.gz.asc
@@ -46,8 +46,6 @@
 Patch1: smartmontools-default-enabled.patch
 # PATCH-FEATURE-OPENSUSE smartmontools-removable.patch sbra...@suse.cz -- Skip 
removable devices. (bnc#308557) Report raw temperature.
 Patch4: smartmontools-removable.patch
-# SUSE-FEATURE-PATCH smartmontools-nobuild-date.patch bnc#647521 
pgaj...@suse.cz
-Patch8: smartmontools-nobuild-date.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
 Patch10:smartmontools-var-lock-subsys.patch
 # PATCH-FEATURE-OPENSUSE smartd-service-novm.patch crrodrig...@opensuse.org -- 
Do not start smartd in virtual environment.
@@ -70,9 +68,9 @@
 %endif
 %if 0%{?suse_version} >= 1130
 BuildRequires:  libcap-ng-devel
-%endif
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
+%endif
 Summary:Monitor for SMART devices
 License:GPL-2.0+
 Group:  Hardware/Other
@@ -99,7 +97,6 @@
 cp -a %{SOURCE7} drivedb.h
 %patch1
 %patch4
-%patch8 -p1
 %patch10 -p1
 %patch11
 # PATCH-FEATURE-OPENSUSE (sed on smartd.service.in) sbra...@suse.cz -- Use 
generated smartd_opts (from SUSE sysconfig file). Systemd smartd.service cannot 
be smart enough to parse SUSE sysconfig file and generate smartd_opts on fly. 
And we do not want to launch shell just for it in every boot.
@@ -116,7 +113,9 @@
 %if 0%{?suse_version} >= 1110
 --with-selinux\
 %endif
+%if 0%{?suse_version} >= 1130
 --with-systemdsystemunitdir=%{_unitdir}\
+%endif
--enable-drivedb\
--enable-savestates\
--enable-attributelog
@@ -142,7 +141,9 @@
 cat >%{buildroot}%{_sysconfdir}/smart_drivedb.h <= 1130
 cp smartd.service %{buildroot}/%{_unitdir}
+%endif
 # INSTALL file is intended only for packagers.
 rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL
 # Check syntax of drivedb.h that may come from a later snapshot (code from 
update-smart-drivedb)
@@ -160,7 +161,9 @@
 rm -rf %{buildroot}
 
 %pre 
+%if 0

commit smartmontools for openSUSE:Factory

2014-06-05 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2014-06-05 10:49:34

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  
2013-12-08 19:49:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2014-06-05 10:49:36.0 +0200
@@ -1,0 +2,5 @@
+Mon May 26 15:26:24 UTC 2014 - crrodrig...@opensuse.org
+
+- Build with large file support in 32 bit systems. 
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.03cJuR/_old  2014-06-05 10:49:40.0 +0200
+++ /var/tmp/diff_new_pack.03cJuR/_new  2014-06-05 10:49:40.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -107,8 +107,8 @@
 
 %build
 %if 0%{?suse_version} > 1000
-export CFLAGS="%{optflags} -fPIE"
-export CXXFLAGS="%{optflags} -fPIE"
+export CFLAGS="%{optflags} $(getconf LFS_CFLAGS) -fPIE"
+export CXXFLAGS="%{optflags} -fPIE $(getconf LFS_CFLAGS)"
 export LDFLAGS="-pie"
 %endif
 %configure\


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2013-12-08 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2013-12-08 19:49:43

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  
2013-08-01 06:56:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2013-12-08 19:49:44.0 +0100
@@ -1,0 +2,11 @@
+Thu Dec  5 18:52:44 UTC 2013 - sbra...@suse.com
+
+- Add supplementary drivedb.h update script
+  (smartmontools-drivedb_h-update.sh, bnc#851276).
+- Skip drivedb.h verification by rpm -V (bnc#851276).
+- Implement intelligent drivedb.h update not overwriting newer
+  drivedb.h releases.
+- Update smartmontools-drivedb.h to the latest version from the
+  upstream branch trunk.
+
+---

New:

  smartmontools-drivedb.h
  smartmontools-drivedb_h-update.sh



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.NYesyX/_old  2013-12-08 19:49:45.0 +0100
+++ /var/tmp/diff_new_pack.NYesyX/_new  2013-12-08 19:49:45.0 +0100
@@ -17,6 +17,18 @@
 
 
 Name:   smartmontools
+# Important: When doing a version update that changes DRIVEDB_BRANCH
+# in smartmontools-drivedb_h-update.sh, you have to check,
+# that the packaged drivedb.h has a higher svn release number than any
+# version that exist in older svn branches. If not, you have
+# to implement special case in the %%post section.
+# Numbers in quotes are release numbers on 2013-12-04.
+# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_39_DRIVEDB/smartmontools/drivedb.h#l61
 (3412)
+# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_40_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
+# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_41_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
+# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
+# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_6_0_DRIVEDB/smartmontools/drivedb.h#l78
 (3850)
+# 
http://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h#l78
 (3856)
 Version:6.2
 Release:0
 Source: 
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
@@ -24,7 +36,12 @@
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
 Source4:%{name}.keyring
+# SOURCE-FEATURE-OPENSUSE smartmontools.generate_smartd_opts.in 
sbra...@suse.cz -- sysconfig support for systemd.
 Source5:%{name}.generate_smartd_opts.in
+# SOURCE-FEATURE-SLE smartmontools-drivedb_h-update.sh bnc851276 
sbra...@suse.cz -- Supplementary script to update drivedb.h.
+Source6:smartmontools-drivedb_h-update.sh
+# SOURCE-FEATURE-UPSTREAM smartmontools-drivedb.h bnc851276 sbra...@suse.cz -- 
Update of drivedb.h.
+Source7:smartmontools-drivedb.h
 # PATCH-FEATURE-UNITEDLINUX smartmontools-default-enabled.patch 
sbra...@suse.cz -- Enable smartd by default.
 Patch1: smartmontools-default-enabled.patch
 # PATCH-FEATURE-OPENSUSE smartmontools-removable.patch sbra...@suse.cz -- Skip 
removable devices. (bnc#308557) Report raw temperature.
@@ -79,6 +96,7 @@
 %endif
 %setup -q
 cp -a %{SOURCE2} %{SOURCE5} .
+cp -a %{SOURCE7} drivedb.h
 %patch1
 %patch4
 %patch8 -p1
@@ -127,12 +145,30 @@
 cp smartd.service %{buildroot}/%{_unitdir}
 # INSTALL file is intended only for packagers.
 rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL
+# Check syntax of drivedb.h that may come from a later snapshot (code from 
update-smart-drivedb)
+if ./smartctl -B drivedb.h -P showall >/dev/null; then :; else
+  echo "drivedb.h.error: rejected by smartctl, probably no longer compatible" 
>&2
+  exit 1
+fi
+# Intelligent drivedb.h update, part 0.
+# Check that drivedb.h has well formed svn RELEASE. We will need it for the 
intelligent update.
+DRIVEDB_H_RELEASE_CHECK="$(sed -n 's/^.*$Id: drivedb.h \([0-9][0-9]*\) 
.*$/\1/p' <%{buildroot}%{_datadir}/smartmontools/drivedb.h)"
+# Fail if the file has broken release number.
+test "$DRIVEDB_H_RELEASE_CHECK" -ge 0
 
 %clean
 rm -rf %{buildroot}
 
 %pre 
 %service_add_pre smartd.service
+# Intelligent drivedb.h update, part 1.
+# Save installed drivedb.h. Maybe the sysadmin called update-smart-drivedb,
+# and the installed drivedb.h may be even newer than the new packaged one.
+if test -f %{_datadir}/smartmontools/drivedb.h ; then
+# Be on safe side, remove any potentia

commit smartmontools for openSUSE:Factory

2013-07-31 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2013-08-01 06:56:55

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  
2013-04-08 14:58:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2013-08-01 06:56:56.0 +0200
@@ -1,0 +2,11 @@
+Mon Jul 29 18:12:00 CEST 2013 - sbra...@suse.cz
+
+- Update to version 6.2:
+  * smartctl: Added ATA write cache reordering control using
+'-g wcreorder' and '-s wcreorder,[on|off]' options.
+  * update-smart-drivedb: Updated for new SVN repository.
+  * HDD, SSD and USB additions to drive database.
+  * Areca RAID support: Fixed possible segfault on empty port.
+  * HPT RAID support: Maximum disk number increased to 128.
+
+---

Old:

  smartmontools-6.1.tar.gz
  smartmontools-6.1.tar.gz.asc

New:

  smartmontools-6.2.tar.gz
  smartmontools-6.2.tar.gz.asc



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.gQ1ggW/_old  2013-08-01 06:56:57.0 +0200
+++ /var/tmp/diff_new_pack.gQ1ggW/_new  2013-08-01 06:56:57.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   smartmontools
-Version:6.1
+Version:6.2
 Release:0
 Source: 
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}-%{version}.tar.gz.asc
@@ -88,14 +88,14 @@
 sed -i 
"s:/usr/local/etc/sysconfig/smartmontools:%{_localstatedir}/lib/smartmontools/smartd_opts:"
 smartd.service.in
 
 %build
-%if %suse_version > 1000
+%if 0%{?suse_version} > 1000
 export CFLAGS="%{optflags} -fPIE"
 export CXXFLAGS="%{optflags} -fPIE"
 export LDFLAGS="-pie"
 %endif
 %configure\
--with-docdir=%{_defaultdocdir}/%{name}\
-%if %suse_version >= 1110
+%if 0%{?suse_version} >= 1110
 --with-selinux\
 %endif
 --with-systemdsystemunitdir=%{_unitdir}\

++ smartmontools-6.1.tar.gz -> smartmontools-6.2.tar.gz ++
 2560 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2013-04-08 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2013-04-08 14:58:41

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-12-19 13:29:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2013-04-08 14:58:43.0 +0200
@@ -1,0 +2,32 @@
+Fri Apr  5 11:24:43 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+---
+Wed Apr  3 23:53:45 UTC 2013 - crrodrig...@opensuse.org
+
+- remove all sysvinit support. 
+
+---
+Mon Mar 18 18:28:10 CET 2013 - sbra...@suse.cz
+
+- Update to version 6.1:
+  * smartctl -l improved.
+  * smartctl -s/-g wcache and rcache for SCSI devices.
+  * smartctl prints more info for ATA and SCSI devices.
+  * smartctl '--identify' updated for latest ATA ACS-3 spec.
+  * smartd runs /etc/smartd_warning.sh to generate warning emails.
+  * smartd '-w PATH' option to specify this executable.
+  * smartd '-d ignore' directive.
+  * smartd DEVICESCAN ignores devices already specified.
+  * smartd: added support for -s and -A for SCSI devices.
+  * smartd '-W' directive uses ATA attribute 190 if 194 is missing.
+  * Support of larger SCSI defect lists via READ DEFECT(12).
+  * Device type '-d usbjmicron,p' for Prolific USB bridges.
+  * Many HDD, SSD and USB additions to drive database.
+  * Support for SAS disks behind Areca controllers.
+  * Improved support for SATA disks on LSI/Megaraid controllers.
+  * Disks on MegaRaid controllers are automatically scanned.
+- smartmontools.keyring: New signing key for the next 2 years.
+
+---

Old:

  smartmontools-6.0.tar.gz
  smartmontools-6.0.tar.gz.asc
  smartmontools-silent-unsupported.patch
  smartmontools-sysconfig.patch

New:

  smartmontools-6.1.tar.gz
  smartmontools-6.1.tar.gz.asc



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.yhLPur/_old  2013-04-08 14:58:45.0 +0200
+++ /var/tmp/diff_new_pack.yhLPur/_new  2013-04-08 14:58:45.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,33 +17,28 @@
 
 
 Name:   smartmontools
-Version:6.0
+Version:6.1
 Release:0
-Source: %{name}-%{version}.tar.gz
+Source: 
http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}-%{version}.tar.gz.asc
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
 Source4:%{name}.keyring
 Source5:%{name}.generate_smartd_opts.in
+# PATCH-FEATURE-UNITEDLINUX smartmontools-default-enabled.patch 
sbra...@suse.cz -- Enable smartd by default.
 Patch1: smartmontools-default-enabled.patch
-Patch3: smartmontools-silent-unsupported.patch
+# PATCH-FEATURE-OPENSUSE smartmontools-removable.patch sbra...@suse.cz -- Skip 
removable devices. (bnc#308557) Report raw temperature.
 Patch4: smartmontools-removable.patch
-# PATCH-FEATURE-OPENSUSE smartmontools-sysconfig.patch sbra...@suse.cz -- 
Introduce SMARTD_SAVESTATES and SMARTD_ATTRLOG sysconfig varaibles.
-Patch6: smartmontools-sysconfig.patch
 # SUSE-FEATURE-PATCH smartmontools-nobuild-date.patch bnc#647521 
pgaj...@suse.cz
 Patch8: smartmontools-nobuild-date.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
 Patch10:smartmontools-var-lock-subsys.patch
+# PATCH-FEATURE-OPENSUSE smartd-service-novm.patch crrodrig...@opensuse.org -- 
Do not start smartd in virtual environment.
 Patch11:smartd-service-novm.patch
 PreReq: %fillup_prereq
 PreReq: %insserv_prereq
 # Needed by generate_smartd_opt:
 PreReq: coreutils
-%if 0%{?suse_version} > 1130
-%if 0%{?suse_version} < 1230
-PreReq: sysvinit(syslog)
-%endif
-%endif
 %if 0%{?suse_version} <= 1100
 Requires:   powersave
 %endif
@@ -59,10 +54,8 @@
 %if 0%{?suse_version} >= 1130
 BuildRequires:  libcap-ng-devel
 %endif
-%if 0%{?suse_versi

commit smartmontools for openSUSE:Factory

2012-12-19 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-12-19 13:29:15

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-12-05 14:08:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-12-19 13:29:17.0 +0100
@@ -1,0 +2,8 @@
+Wed Dec 12 19:47:57 CET 2012 - sbra...@suse.cz
+
+- Use sysconfig variables (sed on smartd.service.in) and generate
+  smartd_opts for systemd smartd.service.
+- Remove obsolete parsing of /etc/default/smartmontools
+  (it is no more in upstream installation).
+
+---
@@ -16 +24 @@
-- Update to version 6.0:
+- Update to version 6.0 (bnc#789204):

New:

  smartmontools.generate_smartd_opts.in



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.RfyCLD/_old  2012-12-19 13:29:19.0 +0100
+++ /var/tmp/diff_new_pack.RfyCLD/_new  2012-12-19 13:29:19.0 +0100
@@ -24,6 +24,7 @@
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
 Source4:%{name}.keyring
+Source5:%{name}.generate_smartd_opts.in
 Patch1: smartmontools-default-enabled.patch
 Patch3: smartmontools-silent-unsupported.patch
 Patch4: smartmontools-removable.patch
@@ -36,6 +37,7 @@
 Patch11:smartd-service-novm.patch
 PreReq: %fillup_prereq
 PreReq: %insserv_prereq
+# Needed by generate_smartd_opt:
 PreReq: coreutils
 %if 0%{?suse_version} > 1130
 %if 0%{?suse_version} < 1230
@@ -45,10 +47,11 @@
 %if 0%{?suse_version} <= 1100
 Requires:   powersave
 %endif
-%{?systemd_requires}
 Url:http://smartmontools.sourceforge.net/
 BuildRequires:  gcc-c++
+%if 0%{?suse_version} > 1220
 BuildRequires:  gpg-offline
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1110
 BuildRequires:  libselinux-devel
@@ -78,9 +81,11 @@
 commands man smartctl and man smartd will provide more information.
 
 %prep
+%if 0%{?gpg_verify:1}
 %gpg_verify %{S:1}
+%endif
 %setup -q
-cp -a %{SOURCE2} .
+cp -a %{SOURCE2} %{SOURCE5} .
 %patch1
 %patch3
 %patch4
@@ -88,6 +93,8 @@
 %patch8 -p1
 %patch10 -p1
 %patch11
+# PATCH-FEATURE-OPENSUSE (sed on smartd.service.in) sbra...@suse.cz -- Use 
generated smartd_opts (from SUSE sysconfig file). Systemd smartd.service cannot 
be smart enough to parse SUSE sysconfig file and generate smartd_opts on fly. 
And we do not want to launch shell just for it in every boot.
+sed -i 
"s:/usr/local/etc/sysconfig/smartmontools:%{_localstatedir}/lib/smartmontools/smartd_opts:"
 smartd.service.in
 
 %build
 %if %suse_version > 1000
@@ -108,6 +115,7 @@
--enable-savestates\
--enable-attributelog
 make %{?_smp_mflags} BUILD_INFO='"(SUSE RPM)"'
+sed "s:@libdir@:%{_libdir}:g;s:@localstatedir@:%{_localstatedir}:g" 
generate_smartd_opts
 
 %install
 %makeinstall
@@ -115,20 +123,28 @@
 cp smartd.initd %{buildroot}%{_sysconfdir}/init.d/smartd
 chmod +x %{buildroot}%{_sysconfdir}/init.d/smartd
 ln -s ../..%{_sysconfdir}/init.d/smartd %{buildroot}%{_sbindir}/rcsmartd
-%if 0%{?suse_version} <= 1100
+%if 0%{?suse_version} <= 1100 || 0%{?suse_version} > 1140
 mkdir -p %{buildroot}%{_prefix}/lib/smartmontools
+%endif
+%if 0%{?suse_version} <= 1100
 cp examplescripts/Example4 
%{buildroot}%{_prefix}/lib/smartmontools/smart-notify
 chmod +x %{buildroot}%{_prefix}/lib/smartmontools/smart-notify
 %endif
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
 cp smartmontools.sysconfig 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.smartmontools
 mkdir -p %{buildroot}%{_localstatedir}/lib/smartmontools
+%if 0%{?suse_version} > 1140
+touch %{buildroot}%{_localstatedir}/lib/smartmontools/smartd_opts
+install generate_smartd_opts %{buildroot}%{_prefix}/lib/smartmontools/
+%endif
 cat >%{buildroot}%{_sysconfdir}/smart_drivedb.h <= 1210
cp smartd.service %{buildroot}/%{_unitdir}
 %endif
+# INSTALL file is intended only for packagers.
+rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL
 
 %clean
 rm -rf %{buildroot}
@@ -139,90 +155,16 @@
 %endif
 
 %post
-# Migrate %{_sysconfdir}/default/smartmontools to sysconfig 
(<=11.0,>=10.2,upstream)
-#BEGIN smartd_opts_migrate
-# generated by genopts
-function optarg_parse()
-{
-OPTARG_INTERVAL=false
-OPTARG_LOGFACILITY=false
-until [ $# -eq 0 ]
-do
-   case "$1" in
-   --interval )
-   shift
-   OPTARG_INTERVAL=true
- 

commit smartmontools for openSUSE:Factory

2012-12-05 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-12-05 14:08:57

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-11-25 14:11:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-12-05 14:08:59.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 29 19:09:35 CET 2012 - sbra...@suse.cz
+
+- Verify GPG signature.
+
+---

New:

  smartmontools.keyring



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.XFcdNg/_old  2012-12-05 14:09:00.0 +0100
+++ /var/tmp/diff_new_pack.XFcdNg/_new  2012-12-05 14:09:00.0 +0100
@@ -23,6 +23,7 @@
 Source1:%{name}-%{version}.tar.gz.asc
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
+Source4:%{name}.keyring
 Patch1: smartmontools-default-enabled.patch
 Patch3: smartmontools-silent-unsupported.patch
 Patch4: smartmontools-removable.patch
@@ -47,6 +48,7 @@
 %{?systemd_requires}
 Url:http://smartmontools.sourceforge.net/
 BuildRequires:  gcc-c++
+BuildRequires:  gpg-offline
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1110
 BuildRequires:  libselinux-devel
@@ -76,6 +78,7 @@
 commands man smartctl and man smartd will provide more information.
 
 %prep
+%gpg_verify %{S:1}
 %setup -q
 cp -a %{SOURCE2} .
 %patch1


++ smartmontools.keyring ++
pub   2048R/2753E77A 2010-11-18 [expires: 2012-12-31]
uid  Smartmontools Signing Key (through 2012) 


-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.19 (GNU/Linux)

mQENBEzlkCkBCAC7b5anMVMaBs0XOo3z9ypx7MvYpTNfJi/r8fg+zConKedcFbxD
N2NIrvrpArsWrnuEdO1VpmKiWdvwzxlJqkyf/Mc6430BgtomveZalawy9+jGeGo7
8vVNoD5y6CTlqvE7WZi7XIKK9SHbkMB1YeT0mGHNkkilr/WKi/dABNP2LRRwRTAV
ur9tZZYnGOPa0zkvgtYdxlg8UGrg+FOc5uw8CfC1LqrxT/BS3AGBTPNeTRKg6vWZ
hdAmrsZOdJwc+Sh4wL6+Cb7fE4BqZ5ZxAwVzZ8YDIL4xtTV87MM+gUYLMv393HZ5
cNgS6iUHQMs5S97VTJjUQysxCmZPBUbA5XatABEBAAG0VlNtYXJ0bW9udG9vbHMg
U2lnbmluZyBLZXkgKHRocm91Z2ggMjAxMikgPHNtYXJ0bW9udG9vbHMtc3VwcG9y
dEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQ+iQE+BBMBAgAoBQJM5ZApAhsDBQkD/GkA
BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRCCsvCQJ1PnejU9CACJ1Miqn4mW
IJpHcdS5u/WVKJ4tB0Hn36iFZLR4n+UK6nA/s+a+6As//xyjrNc6EtKOKruAALgq
x0h+DczUzr3yhxSm/iUfHBVRmh6y213N1WyMV9BcXfWTIGfU6/LcVTCRZ6ESiHif
pVT/qGxyI9Dg3gXg8spMuaQc8eM2bXWbVSdVLOt+8AZOkSk7uOciECjQiLVduYdY
EgY2fPHT+W5u8Z2Hgu7HpjlSu5WtbnfC53sF43riQ/jKvlvtH5J4j9O1orPGj9Kb
Bkhk67hSl/kkim/ZQCr1kgpcQI5sd0Y1XvmlBLkFD3qU1a9QSurZdHz9bK6JwyAE
uBZFB8XOUEpp
=KAnN
-END PGP PUBLIC KEY BLOCK-
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2012-11-25 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-11-25 14:11:18

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-11-16 14:34:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-11-25 14:11:20.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov 20 19:19:59 CET 2012 - sbra...@suse.cz
+
+- Re-introduce smartmontools-sysconfig.patch with
+  SMARTD_SAVESTATES, SMARTD_ATTRLOG and SMARTD_EXTRA_OPTS sysconfig
+  variables (bnc#790044).
+
+---

New:

  smartmontools-sysconfig.patch



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.2cbcFT/_old  2012-11-25 14:11:21.0 +0100
+++ /var/tmp/diff_new_pack.2cbcFT/_new  2012-11-25 14:11:21.0 +0100
@@ -26,6 +26,8 @@
 Patch1: smartmontools-default-enabled.patch
 Patch3: smartmontools-silent-unsupported.patch
 Patch4: smartmontools-removable.patch
+# PATCH-FEATURE-OPENSUSE smartmontools-sysconfig.patch sbra...@suse.cz -- 
Introduce SMARTD_SAVESTATES and SMARTD_ATTRLOG sysconfig varaibles.
+Patch6: smartmontools-sysconfig.patch
 # SUSE-FEATURE-PATCH smartmontools-nobuild-date.patch bnc#647521 
pgaj...@suse.cz
 Patch8: smartmontools-nobuild-date.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
@@ -79,6 +81,7 @@
 %patch1
 %patch3
 %patch4
+%patch6
 %patch8 -p1
 %patch10 -p1
 %patch11


++ smartmontools-sysconfig.patch ++
Index: smartd.initd.in
===
--- smartd.initd.in.orig
+++ smartd.initd.in
@@ -228,6 +228,15 @@ elif [ -f /etc/SuSE-release ] ; then
 if test -n "$SMARTD_DRIVEDB" ; then
smartd_opts="$smartd_opts -B $SMARTD_DRIVEDB"
 fi
+if test "$SMARTD_SAVESTATES" = "no" ; then
+   smartd_opts="$smartd_opts -s \"\""
+fi
+if test "$SMARTD_ATTRLOG" = "no" ; then
+   smartd_opts="$smartd_opts -A \"\""
+fi
+if test -n "$SMARTD_EXTRA_OPTS" ; then
+   smartd_opts="$smartd_opts $SMARTD_EXTRA_OPTS"
+fi
 
 # Shell functions sourced from /etc/rc.status:
 #  rc_check check and set local and overall rc status
@@ -270,7 +279,7 @@ elif [ -f /etc/SuSE-release ] ; then
 
# We don't use startproc - we need to check for return code 17.
if ! /sbin/checkproc $SMARTD_BIN ; then
-   $SMARTD_BIN $smartd_opts
+   eval $SMARTD_BIN$smartd_opts
# Remember status and be verbose
if test $? -ne 17 ; then
rc_status -v
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2012-11-16 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-11-16 14:34:41

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-11-14 09:16:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-11-16 14:34:43.0 +0100
@@ -1,0 +2,28 @@
+Thu Nov 15 17:10:02 CET 2012 - sbra...@suse.cz
+
+- Update to version 6.0:
+  * option/directive '-F nologdir' and '-F xerrorlba'.
+  * smartctl '--identify' option.
+  * smartctl prints nominal media rotation rate (ATA).
+  * smartctl prints SATA version and speed.
+  * smartctl '-l sataphy' works for CD/DVD drives also.
+  * smartctl '-x' includes ATA Device Statistics.
+  * smartd warning emails include device identify info.
+  * smartd '-d' output is flushed to support redirection.
+  * Many HDD, SSD and USB additions to drive database.
+  * smartctl options '-g, --get' and '-s, --set' to get/set various
+ATA settings: AAM, APM, Read look-ahead, Write cache, Security
+(freeze), Standby mode/timer.
+  * smartd directive '-e' to set (most of) the above settings on
+startup.
+  * smartctl options '-f hex' and '-f hex,[id|val]'.
+  * smartctl does not start ATA self-test if another test is
+already running.  Override with new option '-t force'.
+  * smartctl supports extended self-test polling times greater
+than 255 minutes.
+  * Controller-independent SAT detection: '-d sat,auto[+TYPE]'.
+  * smartd.conf DEFAULT directive.
+  * Support for SATA disks behind Areca SAS RAID controllers and
+HP Smart Array controllers.
+
+---

Old:

  COPYING-address.patch
  smartmontools-5.42.tar.bz2

New:

  smartmontools-6.0.tar.gz
  smartmontools-6.0.tar.gz.asc



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.VQ1aj3/_old  2012-11-16 14:34:45.0 +0100
+++ /var/tmp/diff_new_pack.VQ1aj3/_new  2012-11-16 14:34:45.0 +0100
@@ -17,9 +17,10 @@
 
 
 Name:   smartmontools
-Version:5.42
+Version:6.0
 Release:0
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.gz
+Source1:%{name}-%{version}.tar.gz.asc
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
 Patch1: smartmontools-default-enabled.patch
@@ -27,8 +28,6 @@
 Patch4: smartmontools-removable.patch
 # SUSE-FEATURE-PATCH smartmontools-nobuild-date.patch bnc#647521 
pgaj...@suse.cz
 Patch8: smartmontools-nobuild-date.patch
-# Fix FSF wrong address
-Patch9: COPYING-address.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
 Patch10:smartmontools-var-lock-subsys.patch
 Patch11:smartd-service-novm.patch
@@ -81,7 +80,6 @@
 %patch3
 %patch4
 %patch8 -p1
-%patch9
 %patch10 -p1
 %patch11
 

++ smartd-service-novm.patch ++
--- /var/tmp/diff_new_pack.VQ1aj3/_old  2012-11-16 14:34:45.0 +0100
+++ /var/tmp/diff_new_pack.VQ1aj3/_new  2012-11-16 14:34:45.0 +0100
@@ -1,11 +1,12 @@
+Index: smartd.service.in
+===
 --- smartd.service.in.orig
 +++ smartd.service.in
-@@ -1,7 +1,7 @@
+@@ -1,6 +1,7 @@
  [Unit]
  Description=Self Monitoring and Reporting Technology (SMART) Daemon
  After=syslog.target
--
 +ConditionVirtualization=false
+ 
  [Service]
- EnvironmentFile=/usr/local/etc/sysconfig/smartmontools
- ExecStart=/usr/local/sbin/smartd -n $smartd_opts
+ EnvironmentFile=-/usr/local/etc/sysconfig/smartmontools

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2012-11-14 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-11-14 09:16:33

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-09-12 07:13:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-11-14 09:16:34.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov  6 14:30:35 UTC 2012 - co...@suse.com
+
+- do no longer require syslog on 12.3, journal is enough for
+  some installations
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.DE7RDO/_old  2012-11-14 09:16:35.0 +0100
+++ /var/tmp/diff_new_pack.DE7RDO/_new  2012-11-14 09:16:35.0 +0100
@@ -36,8 +36,10 @@
 PreReq: %insserv_prereq
 PreReq: coreutils
 %if 0%{?suse_version} > 1130
+%if 0%{?suse_version} < 1230
 PreReq: sysvinit(syslog)
 %endif
+%endif
 %if 0%{?suse_version} <= 1100
 Requires:   powersave
 %endif

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2012-09-11 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-09-12 07:13:46

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-06-01 18:53:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-09-12 07:13:48.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 11 14:25:07 UTC 2012 - co...@suse.com
+
+- buildrequire systemd to have working rpm macros
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.snwVHh/_old  2012-09-12 07:13:50.0 +0200
+++ /var/tmp/diff_new_pack.snwVHh/_new  2012-09-12 07:13:50.0 +0200
@@ -51,6 +51,10 @@
 %if 0%{?suse_version} >= 1130
 BuildRequires:  libcap-ng-devel
 %endif
+%if 0%{?suse_version} > 1140
+BuildRequires:  systemd
+%{?systemd_requires}
+%endif
 Summary:Monitor for SMART devices
 License:GPL-2.0+
 Group:  Hardware/Other

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2012-06-01 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-06-01 18:53:38

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2012-03-01 17:27:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-06-01 18:53:41.0 +0200
@@ -1,0 +2,8 @@
+Thu May 31 20:25:44 UTC 2012 - sweet_...@gmx.de
+
+- update to the _latest_ smartmontools-5.42 tarball, see
+  http://sourceforge.net/mailarchive/message.php?msg_id=28262364
+  "The PKG_PROG_PKG_CONFIG macro was not expanded in configure"
+- remove automake dependency
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.3kcEdB/_old  2012-06-01 18:53:43.0 +0200
+++ /var/tmp/diff_new_pack.3kcEdB/_new  2012-06-01 18:53:43.0 +0200
@@ -16,12 +16,9 @@
 #
 
 
-
 Name:   smartmontools
 Version:5.42
 Release:0
-License:GPL-2.0+
-Group:  Hardware/Other
 Source: %{name}-%{version}.tar.bz2
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
@@ -46,7 +43,7 @@
 %endif
 %{?systemd_requires}
 Url:http://smartmontools.sourceforge.net/
-BuildRequires:  automake gcc-c++
+BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1110
 BuildRequires:  libselinux-devel
@@ -55,6 +52,8 @@
 BuildRequires:  libcap-ng-devel
 %endif
 Summary:Monitor for SMART devices
+License:GPL-2.0+
+Group:  Hardware/Other
 
 %description
 SMARTmontools controls and monitors storage devices using the
@@ -81,7 +80,6 @@
 %patch11
 
 %build
-AUTOMAKE=/usr/bin/automake-1.11 ./autogen.sh
 %if %suse_version > 1000
 export CFLAGS="%{optflags} -fPIE"
 export CXXFLAGS="%{optflags} -fPIE"

++ smartmontools-5.42.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smartmontools-5.42/Makefile.in 
new/smartmontools-5.42/Makefile.in
--- old/smartmontools-5.42/Makefile.in  2011-10-20 21:20:37.0 +0200
+++ new/smartmontools-5.42/Makefile.in  2011-10-21 17:47:51.0 +0200
@@ -308,6 +308,9 @@
 PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smartmontools-5.42/aclocal.m4 
new/smartmontools-5.42/aclocal.m4
--- old/smartmontools-5.42/aclocal.m4   2011-10-20 21:20:24.0 +0200
+++ new/smartmontools-5.42/aclocal.m4   2011-10-21 17:47:36.0 +0200
@@ -19,6 +19,165 @@
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 
`autoreconf'.])])
 
+# pkg.m4 - Macros to locate and utilise pkg-config.-*- Autoconf -*-
+# 
+# Copyright © 2004 Scott James Remnant .
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# --
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search 
path]

commit smartmontools for openSUSE:Factory

2012-03-01 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2012-03-01 17:27:48

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2011-12-01 17:38:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2012-03-01 17:27:49.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 21 19:32:51 CET 2012 - sbra...@suse.cz
+
+- Disable PIE for SLE9.
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.RIGLd3/_old  2012-03-01 17:27:52.0 +0100
+++ /var/tmp/diff_new_pack.RIGLd3/_new  2012-03-01 17:27:52.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -82,9 +82,11 @@
 
 %build
 AUTOMAKE=/usr/bin/automake-1.11 ./autogen.sh
+%if %suse_version > 1000
 export CFLAGS="%{optflags} -fPIE"
 export CXXFLAGS="%{optflags} -fPIE"
 export LDFLAGS="-pie"
+%endif
 %configure\
--with-docdir=%{_defaultdocdir}/%{name}\
 %if %suse_version >= 1110

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2011-12-06 19:04:36

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:




Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.u0Etkz/_old  2011-12-06 19:37:39.0 +0100
+++ /var/tmp/diff_new_pack.u0Etkz/_new  2011-12-06 19:37:39.0 +0100
@@ -20,7 +20,7 @@
 Name:   smartmontools
 Version:5.42
 Release:0
-License:GPL-2+
+License:GPL-2.0+
 Group:  Hardware/Other
 Source: %{name}-%{version}.tar.bz2
 Source2:smartmontools.sysconfig

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2011-12-01 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2011-12-01 17:38:46

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2011-11-24 11:37:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2011-12-01 17:38:48.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 30 10:23:56 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.DTR6nn/_old  2011-12-01 17:38:49.0 +0100
+++ /var/tmp/diff_new_pack.DTR6nn/_new  2011-12-01 17:38:49.0 +0100
@@ -20,7 +20,7 @@
 Name:   smartmontools
 Version:5.42
 Release:0
-License:GPLv2+
+License:GPL-2+
 Group:  Hardware/Other
 Source: %{name}-%{version}.tar.bz2
 Source2:smartmontools.sysconfig
@@ -46,7 +46,7 @@
 %endif
 %{?systemd_requires}
 Url:http://smartmontools.sourceforge.net/
-BuildRequires:  gcc-c++
+BuildRequires:  automake gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1110
 BuildRequires:  libselinux-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2011-11-24 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2011-11-24 12:37:22

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2011-10-26 15:46:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2011-11-24 11:37:30.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov 22 21:30:08 UTC 2011 - crrodrig...@opensuse.org
+
+- When in a virtualized envirnment, hard disk monitoring
+  with smartd is a task for the host, make systemd to skip
+  the service if found running in such setup.
+
+---

New:

  smartd-service-novm.patch



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.wJTL5O/_old  2011-11-24 11:37:31.0 +0100
+++ /var/tmp/diff_new_pack.wJTL5O/_new  2011-11-24 11:37:31.0 +0100
@@ -34,6 +34,7 @@
 Patch9: COPYING-address.patch
 # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
 Patch10:smartmontools-var-lock-subsys.patch
+Patch11:smartd-service-novm.patch
 PreReq: %fillup_prereq
 PreReq: %insserv_prereq
 PreReq: coreutils
@@ -77,6 +78,7 @@
 %patch8 -p1
 %patch9
 %patch10 -p1
+%patch11
 
 %build
 AUTOMAKE=/usr/bin/automake-1.11 ./autogen.sh

++ smartd-service-novm.patch ++
--- smartd.service.in.orig
+++ smartd.service.in
@@ -1,7 +1,7 @@
 [Unit]
 Description=Self Monitoring and Reporting Technology (SMART) Daemon
 After=syslog.target
-
+ConditionVirtualization=false
 [Service]
 EnvironmentFile=/usr/local/etc/sysconfig/smartmontools
 ExecStart=/usr/local/sbin/smartd -n $smartd_opts
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2011-10-26 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2011-10-26 15:45:56

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2011-10-25 17:10:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2011-10-26 15:46:28.0 +0200
@@ -4 +4 @@
-- Upgrade to version 5.42:
+- Upgrade to version 5.42 (bnc#725631):
@@ -14 +14 @@
-- Fixed race condition lock location.
+- Fixed pid file location (bnc#714647).



Other differences:
--
++ smartmontools-var-lock-subsys.patch ++
--- /var/tmp/diff_new_pack.xoEJ41/_old  2011-10-26 15:47:08.0 +0200
+++ /var/tmp/diff_new_pack.xoEJ41/_new  2011-10-26 15:47:08.0 +0200
@@ -7,7 +7,7 @@
  
  prog=smartd
 -pidfile=/var/lock/subsys/smartd
-+pidfile=/var/lock/smartd
++pidfile=/var/run/smartd.pid
  config=/etc/smartd.conf
  
  start()

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smartmontools for openSUSE:Factory

2011-10-25 Thread h_root
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2011-10-25 17:10:14

Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and  /work/SRC/openSUSE:Factory/.smartmontools.new (New)


Package is "smartmontools", Maintainer is "sbra...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes  
2011-10-20 14:11:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 
2011-10-25 17:10:19.0 +0200
@@ -1,0 +2,15 @@
+Fri Oct 21 15:54:22 CEST 2011 - sbra...@suse.cz
+
+- Upgrade to version 5.42:
+  * smartctl option '-l devstat' (Device Statistics).
+  * smartctl option '-l ssd' (SSD endurance indicator).
+  * smartd logs identify information of each SCSI/SAS device.
+  * smartd resends warning emails if problem reappears.
+  * smartd directives '-l offlinests' and '-l selfteststs'.
+  * Many HDD, SSD and USB additions to drive database.
+  * Platform-specific man pages.
+  * smartd.8 man page no longer includes smartd.conf.5.
+  * Support for Areca controllers enhanced.
+- Fixed race condition lock location.
+
+---

Old:

  smartmontools-5.41.tar.bz2

New:

  smartmontools-5.42.tar.bz2
  smartmontools-var-lock-subsys.patch



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.hMeq4H/_old  2011-10-25 17:10:22.0 +0200
+++ /var/tmp/diff_new_pack.hMeq4H/_new  2011-10-25 17:10:22.0 +0200
@@ -18,8 +18,8 @@
 
 
 Name:   smartmontools
-Version:5.41
-Release:14
+Version:5.42
+Release:0
 License:GPLv2+
 Group:  Hardware/Other
 Source: %{name}-%{version}.tar.bz2
@@ -32,6 +32,8 @@
 Patch8: smartmontools-nobuild-date.patch
 # Fix FSF wrong address
 Patch9: COPYING-address.patch
+# PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch sbra...@suse.cz -- Do 
not use unsupported /var/lock/subsys.
+Patch10:smartmontools-var-lock-subsys.patch
 PreReq: %fillup_prereq
 PreReq: %insserv_prereq
 PreReq: coreutils
@@ -74,6 +76,7 @@
 %patch4
 %patch8 -p1
 %patch9
+%patch10 -p1
 
 %build
 AUTOMAKE=/usr/bin/automake-1.11 ./autogen.sh

++ COPYING-address.patch ++
--- /var/tmp/diff_new_pack.hMeq4H/_old  2011-10-25 17:10:22.0 +0200
+++ /var/tmp/diff_new_pack.hMeq4H/_new  2011-10-25 17:10:22.0 +0200
@@ -1,5 +1,7 @@
 COPYING2009-07-15 21:59:19.0 +0200
-+++ gpl-2.0.txt2010-03-24 00:34:05.0 +0100
+Index: COPYING
+===
+--- COPYING.orig
 COPYING
 @@ -1,12 +1,12 @@
 -  GNU GENERAL PUBLIC LICENSE
 - Version 2, June 1991
@@ -18,7 +20,7 @@
  
The licenses for most software are designed to take away your
  freedom to share and change it.  By contrast, the GNU General Public
-@@ -15,7 +15,7 @@
+@@ -15,7 +15,7 @@ software--to make sure the software is f
  General Public License applies to most of the Free Software
  Foundation's software and to any other program whose authors commit to
  using it.  (Some other Free Software Foundation software is covered by
@@ -27,7 +29,7 @@
  your programs, too.
  
When we speak of free software, we are referring to freedom, not
-@@ -55,8 +55,8 @@
+@@ -55,8 +55,8 @@ patent must be licensed for everyone's f
  
The precise terms and conditions for copying, distribution and
  modification follow.
@@ -38,7 +40,7 @@
 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  
0. This License applies to any program or other work which contains
-@@ -110,7 +110,7 @@
+@@ -110,7 +110,7 @@ above, provided that you also meet all o
  License.  (Exception: if the Program itself is interactive but
  does not normally print such an announcement, your work based on
  the Program is not required to print an announcement.)
@@ -47,7 +49,7 @@
  These requirements apply to the modified work as a whole.  If
  identifiable sections of that work are not derived from the Program,
  and can be reasonably considered independent and separate works in
-@@ -168,7 +168,7 @@
+@@ -168,7 +168,7 @@ access to copy from a designated place,
  access to copy the source code from the same place counts as
  distribution of the source code, even though third parties are not
  compelled to copy the source along with the object code.
@@ -56,7 +58,7 @@
4. You may not copy, modify, sublicense, or distribute the Program
  except as expressly provided under this License.  Any attempt
  otherwise to copy, modify, sublicense or distribute the Program is
-@@ -225,7 

commit smartmontools for openSUSE:Factory

2011-06-20 Thread h_root

Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory
checked in at Mon Jun 20 10:58:45 CEST 2011.




--- smartmontools/smartmontools.changes 2011-03-21 17:48:36.0 +0100
+++ /mounts/work_src_done/STABLE/smartmontools/smartmontools.changes
2011-06-17 17:16:57.0 +0200
@@ -1,0 +2,10 @@
+Wed Jun  8 20:17:25 CEST 2011 - sbra...@suse.cz
+
+- Added sysconfig options to set arbitrary smartd options and
+  disable persistent state writes and attribute log (FATE#310460).
+- Decrease log message on unsupported state writes to DEBUG
+  (FATE#310460).
+- Change sysconfig ServiceReload to ServiceRestart, otherwise
+  sysconfig changes will not take effect until restart.
+
+---

calling whatdependson for head-i586


New:

  smartmontools-silent-unsupported.patch



Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.1brkKi/_old  2011-06-20 10:54:42.0 +0200
+++ /var/tmp/diff_new_pack.1brkKi/_new  2011-06-20 10:54:42.0 +0200
@@ -22,13 +22,14 @@
 License:GPLv2+
 Group:  Hardware/Other
 Version:5.40
-Release:13
+Release:14
 Source: %{name}-%{version}.tar.bz2
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
 Patch:  smartmontools-powersave-notify.patch
 Patch1: smartmontools-default-enabled.patch
 Patch2: smartmontools-lsb-init-script.patch
+Patch3: smartmontools-silent-unsupported.patch
 Patch4: smartmontools-removable.patch
 Patch5: smartmontools-init-update.patch
 Patch6: smartmontools-sysconfig.patch
@@ -75,6 +76,7 @@
 cp -a %{S:2} .
 %patch1
 %patch2
+%patch3
 %patch4
 %if %suse_version <= 1100
 # Powersave notification was available only in 10.0-11.0 and SLE10.

++ smartmontools-silent-unsupported.patch ++
Index: smartd.cpp
===
--- smartd.cpp.orig
+++ smartd.cpp
@@ -2036,7 +2036,7 @@ static int SCSIDeviceScan(dev_config & c
 
   // TODO: Build file name for state file
   if (!state_path_prefix.empty()) {
-PrintOut(LOG_INFO, "Device: %s, persistence not yet supported for SCSI; 
ignoring -s option.\n", device);
+PrintOut(LOG_DEBUG, "Device: %s, persistence not yet supported for SCSI; 
ignoring -s option.\n", device);
   }
   // TODO: Build file name for attribute log file
   if (!attrlog_path_prefix.empty()) {
++ smartmontools-sysconfig.patch ++
--- /var/tmp/diff_new_pack.1brkKi/_old  2011-06-20 10:54:43.0 +0200
+++ /var/tmp/diff_new_pack.1brkKi/_new  2011-06-20 10:54:43.0 +0200
@@ -1,6 +1,8 @@
 smartd.initd.in
+Index: smartd.initd.in
+===
+--- smartd.initd.in.orig
 +++ smartd.initd.in
-@@ -141,8 +141,18 @@
+@@ -141,8 +141,24 @@ elif [ -f /etc/SuSE-release ] ; then
  # Existence of config file is optional
  SMARTD_CONFIG=/etc/smartd.conf
  
@@ -18,15 +20,21 @@
 +if test -n "$SMARTD_DRIVEDB" ; then
 +  smartd_opts="$smartd_opts -B $SMARTD_DRIVEDB"
 +fi
++if test "$SMARTD_SAVESTATES" = "no" ; then
++  smartd_opts="$smartd_opts -s \"\""
++fi
++if test "$SMARTD_ATTRLOG" = "no" ; then
++  smartd_opts="$smartd_opts -A \"\""
++fi
  
 # Shell functions sourced from /etc/rc.status:
 #  rc_check check and set local and overall rc status
-@@ -185,7 +195,7 @@
+@@ -185,7 +201,7 @@ elif [ -f /etc/SuSE-release ] ; then
  
# We don't use startproc - we need to check for return code 17.
if ! /sbin/checkproc $SMARTD_BIN ; then
 -  $SMARTD_BIN $smartd_opts
-+  $SMARTD_BIN$smartd_opts
++  eval $SMARTD_BIN$smartd_opts
# Remember status and be verbose
if test $? -ne 17 ; then
rc_status -v

++ smartmontools.sysconfig ++
--- /var/tmp/diff_new_pack.1brkKi/_old  2011-06-20 10:54:43.0 +0200
+++ /var/tmp/diff_new_pack.1brkKi/_new  2011-06-20 10:54:43.0 +0200
@@ -1,6 +1,6 @@
 ## Path:   Hardware/S.M.A.R.T.
 ## Description:Hard disc health monitoring
-## ServiceReload: smartd
+## ServiceRestart: smartd
 
 ## Type:   integer(10:)
 ## Default:1800
@@ -24,3 +24,30 @@
 # specified file.
 #
 SMARTD_DRIVEDB=""
+
+## Type:yesno
+## Default: yes
+#
+# Preserve SMART attributes in files and read them when smartd starts.
+# This feature is now ATA only, so you may want to disable it to supress
+# warnings. See smartd(8) option -s for details.
+#
+SMARTD_SAVESTATES="yes"
+
+## Type:yesno
+## Default: yes
+#
+# Enable or disable SMART attribute logging.
+# If you don't consider this log useful for you, you can disable it.
+# This feature is now ATA only, so 

commit smartmontools for openSUSE:Factory

2011-03-22 Thread h_root

Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory
checked in at Tue Mar 22 17:56:10 CET 2011.




--- smartmontools/smartmontools.changes 2011-02-03 17:25:25.0 +0100
+++ /mounts/work_src_done/STABLE/smartmontools/smartmontools.changes
2011-03-21 17:48:36.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 21 16:48:36 UTC 2011 - co...@novell.com
+
+- licenses package is about to die
+
+---

calling whatdependson for head-i586




Other differences:
--
++ smartmontools.spec ++
--- /var/tmp/diff_new_pack.N9WtJ0/_old  2011-03-22 17:55:57.0 +0100
+++ /var/tmp/diff_new_pack.N9WtJ0/_new  2011-03-22 17:55:57.0 +0100
@@ -22,7 +22,7 @@
 License:GPLv2+
 Group:  Hardware/Other
 Version:5.40
-Release:4
+Release:13
 Source: %{name}-%{version}.tar.bz2
 Source2:smartmontools.sysconfig
 Source3:%{name}-rpmlintrc
@@ -42,10 +42,6 @@
 %if %suse_version <= 1100
 Requires:   powersave
 %endif
-%if %suse_version > 1020
-Requires:   licenses
-BuildRequires:  licenses
-%endif
 Url:http://smartmontools.sourceforge.net/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
@@ -120,9 +116,6 @@
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/smartmontools
 #remove installed files we don't want to package
 rm -r $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
-%if %suse_version > 1020
-ln -sf %{_datadir}/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') 
$RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING
-%endif
 cat >$RPM_BUILD_ROOT%{_sysconfdir}/smart_drivedb.h <