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 - [email protected] + +- 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 - [email protected] + +- 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 GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,10 +22,10 @@ %endif Name: smartmontools -Version: 6.5 +Version: 6.6 Release: 0 -Source: http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz -Source1: http://sourceforge.net/projects/smartmontools/files/smartmontools/%{version}/%{name}-%{version}.tar.gz.asc +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 Source2: smartmontools.sysconfig Source3: %{name}-rpmlintrc Source4: %{name}.keyring @@ -43,16 +43,12 @@ Patch11: smartd-service-novm.patch # PATCH-FIX-OPENSUSE smartmontools-systemd-no-syslog.patch bsc983938 [email protected] -- syslog.target does not exist any more. Patch12: smartmontools-systemd-no-syslog.patch -# PATCH-FIX-UPSTREAM smartmontools-scsi-suppress-no-temperature.patch bsc1047198 [email protected] -- Always suppress "failed to read Temperature" message. -Patch13: smartmontools-scsi-suppress-no-temperature.patch -# PATCH-FIX-UPSTREAM smartmontools-scsi-temperature-check.patch bsc1047198 [email protected] -- Fix initial check for SCSI temperature support. -Patch14: smartmontools-scsi-temperature-check.patch -# PATCH-FIX-UPSTREAM smartmontools-log-scsi-temperature.patch bsc1047198 [email protected] -- Log SCSI temperature regardless of its origin. -Patch15: smartmontools-log-scsi-temperature.patch +# PATCH-FIX-UPSTREAM smartmontools-scsiata-scsi_only.patch bsc1038271 smartmontools871 [email protected] -- Make possible to disable broken SAT support by -d scsi+cciss,N. +Patch16: smartmontools-scsiata-scsi_only.patch Requires(pre): %fillup_prereq # Needed by generate_smartd_opt: Requires(pre): coreutils -Url: http://smartmontools.sourceforge.net/ +Url: https://www.smartmontools.org/ BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libcap-ng-devel @@ -85,9 +81,7 @@ %patch10 -p1 %patch11 %patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 +%patch16 -p0 # # PATCH-FEATURE-OPENSUSE (sed on smartd.service.in) [email protected] -- 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 >smartd.service.in.new ++++++ smartmontools-6.5.tar.gz -> smartmontools-6.6.tar.gz ++++++ ++++ 21028 lines of diff (skipped) ++++++ smartmontools-drivedb.h ++++++ ++++ 1538 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/smartmontools/smartmontools-drivedb.h ++++ and /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools-drivedb.h ++++++ smartmontools-scsiata-scsi_only.patch ++++++ Index: dev_interface.cpp =================================================================== --- dev_interface.cpp (revision 4613) +++ dev_interface.cpp (working copy) @@ -401,6 +401,7 @@ } else if ( ((!strncmp(type, "sat", 3) && (!type[3] || strchr(",+", type[3]))) + || str_starts_with(type, "scsi+") || (!strncmp(type, "usb", 3)))) { // Split "sat...+base..." -> ("sat...", "base...") unsigned satlen = strcspn(type, "+"); Index: scsiata.cpp =================================================================== --- scsiata.cpp (revision 4613) +++ scsiata.cpp (working copy) @@ -112,8 +112,14 @@ virtual public /*implements*/ scsi_device { public: + enum sat_scsi_mode { + sat_always, + sat_auto, + scsi_always + }; + sat_device(smart_interface * intf, scsi_device * scsidev, - const char * req_type, int passthrulen = 0, bool enable_auto = false); + const char * req_type, sat_scsi_mode mode = sat_always, int passthrulen = 0); virtual ~sat_device() throw(); @@ -125,19 +131,20 @@ private: int m_passthrulen; - bool m_enable_auto; + sat_scsi_mode m_mode; }; sat_device::sat_device(smart_interface * intf, scsi_device * scsidev, - const char * req_type, int passthrulen /* = 0 */, bool enable_auto /* = false */) + const char * req_type, sat_scsi_mode mode /* = sat_always */, + int passthrulen /* = 0 */) : smart_device(intf, scsidev->get_dev_name(), - (enable_auto ? "sat,auto" : "sat"), req_type), + (mode == sat_always ? "sat" : mode == sat_auto ? "sat,auto" : "scsi"), req_type), tunnelled_device<ata_device, scsi_device>(scsidev), m_passthrulen(passthrulen), - m_enable_auto(enable_auto) + m_mode(mode) { - if (enable_auto) + if (mode != sat_always) hide_ata(); // Start as SCSI, switch to ATA in autodetect_open() else hide_scsi(); // ATA always @@ -144,8 +151,8 @@ if (strcmp(scsidev->get_dev_type(), "scsi")) set_info().dev_type += strprintf("+%s", scsidev->get_dev_type()); - set_info().info_name = strprintf("%s [%sSAT]", scsidev->get_info_name(), - (enable_auto ? "SCSI/" : "")); + set_info().info_name = strprintf("%s [%s]", scsidev->get_info_name(), + (mode == sat_always ? "SAT" : mode == sat_auto ? "SCSI/SAT" : "SCSI")); } sat_device::~sat_device() throw() @@ -509,7 +516,7 @@ smart_device * sat_device::autodetect_open() { - if (!open() || !m_enable_auto) + if (!open() || m_mode != sat_auto) return this; scsi_device * scsidev = get_tunnel_dev(); @@ -1494,10 +1501,10 @@ if (!strncmp(type, "sat", 3)) { const char * t = type + 3; - bool enable_auto = false; + sat_device::sat_scsi_mode mode = sat_device::sat_always; if (!strncmp(t, ",auto", 5)) { t += 5; - enable_auto = true; + mode = sat_device::sat_auto; } int ptlen = 0, n = -1; if (*t && !(sscanf(t, ",%d%n", &ptlen, &n) == 1 && n == (int)strlen(t) @@ -1505,9 +1512,13 @@ set_err(EINVAL, "Option '-d sat[,auto][,N]' requires N to be 0, 12 or 16"); return 0; } - satdev = new sat_device(this, scsidev, type, ptlen, enable_auto); + satdev = new sat_device(this, scsidev, type, mode, ptlen); } + else if (!strcmp(type, "scsi")) { + satdev = new sat_device(this, scsidev, type, sat_device::scsi_always); + } + else if (!strncmp(type, "usbcypress", 10)) { unsigned signature = 0x24; int n1 = -1, n2 = -1; if (!(((sscanf(type, "usbcypress%n,0x%x%n", &n1, &signature, &n2) == 1 && n2 == (int)strlen(type)) || n1 == (int)strlen(type)) ++++++ smartmontools.keyring ++++++ --- /var/tmp/diff_new_pack.qM6ABb/_old 2018-02-10 17:53:28.270331961 +0100 +++ /var/tmp/diff_new_pack.qM6ABb/_new 2018-02-10 17:53:28.274331816 +0100 @@ -1,31 +1,32 @@ +pub rsa2048 2016-12-31 [SC] [expires: 2018-12-31] + 887B8C6321104CA84A8EF91B18ECDA46CBF6BAC6 +uid [ unknown] Smartmontools Signing Key (through 2018) <[email protected]> +uid [ unknown] Smartmontools Signing Key (through 2018) <[email protected]> + -----BEGIN PGP PUBLIC KEY BLOCK----- -mQENBFSkITsBCADgmG6B4Pj9ihLdcRwVjvQbbUId32X6znN5LDNF6mEa5BZRrJC5 -JsKeiFyLHzpFxuhfj9KxRhRxgZyTWLQge5E9FKZL6SHsYHaRrekDqRD61O/eGxeK -1DO/qJogDn0vG9Pm2FXe4bR2lrjEV4BEDweIBHqCvSA0rPnV2X8x4nnXBoLuGw3g -IlgYu6TZdfKlu22kKoUgcmqrtHH5zeuRoxDpInsD1l7hXkQnhMgxBsN9dANNvron -Dfxg9o3+bLE8JbvI24RiY/hrdhtavd7DZ0zUj+zDZx7Di/Li4GpLIsEZ68hQzH92 -dvv/+Taa5GWgEUm2ZsO4Nv8devXNDB7Zo49FABEBAAG0VlNtYXJ0bW9udG9vbHMg -U2lnbmluZyBLZXkgKHRocm91Z2ggMjAxNikgPHNtYXJ0bW9udG9vbHMtc3VwcG9y -dEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQ+iQE+BBMBAgAoBQJUpCE7AhsDBQkDw7iA -BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDfDxpJxKSQOkb6B/9ACI12l2/2 -YU6/BxJKaG1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