pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/smartmontools Updated smartmontools to 6.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7766c0c83be
branches:  trunk
changeset: 372739:e7766c0c83be
user:      nonaka <nonaka%pkgsrc.org@localhost>
date:      Fri Dec 15 03:02:10 2017 +0000

description:
Updated smartmontools to 6.6.

Date 2017-11-05
Summary: smartmontools release 6.6
-----------------------------------------------------------
- smartctl '-i' and '--identify': ATA ACS-4 and SATA 3.3 enhancements.
- smartctl: Control ATA write cache through SCT Feature Control
  with '-s wcache-sct,ata|on|off[,p]' and '-g wcache-sct'.
- smartctl: Print ATA Pending Defects log with '-l defects'.
- smartctl '-s wcreorder,on|off': New persistent flag ',p'.
- smartctl '-s standby': Prevent temporary drive spinup.
- smartctl '-n POWERMODE': New parameter to set exit status.
- smartctl '-g security': ATA Security Level check fixed.
- smartctl '-l scttemp*': Print minimum supported ERC Time Limit.
- smartctl '-q noserial': Now also suppresses "SAS address" output.
- smartctl '-i': Print IEEE EUI-64 of NVMe namespace.
- smartctl '-c': Print NVMe 1.3 feature flags.
- smartctl '-A': Print NVMe 1.3 thermal temperature transition
  statistic.
- smartctl '-g/s dsn': Get/set ATA DSN.
- smartd: Uses also device identify information to detect for duplicate
  devices.
- smartd '-e dsn' directive: Set ATA DSN.
- smartd: Improved SCSI/SAS temperature logging.
- smartd: Silence emails and log messages on open errors of
  '-d removable' devices.
- smartd: 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.
- Linux: 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.
- FreeBSD: Improve ATA SMART STATUS check for legacy controllers.
- FreeBSD: Compile fix for FreeBSD-11 and newer.
- NetBSD: NVMe support.
- NetBSD: Full 28-bit ATA support.
- NetBSD: Compile fix.
- NetBSD: 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: Support for Windows 10 NVMe driver (stornvme.sys).
- Windows: Fix CSMI access for IRST driver 15.2.
- Windows smartd: Ability to run PowerShell scripts with '-M exec'.
- Windows smartd: New PowerShell script to send smartd warning emails
  without external tools.
- Windows package: Now provides PDF man pages.

diffstat:

 sysutils/smartmontools/Makefile                           |   4 +-
 sysutils/smartmontools/distinfo                           |  13 +++-----
 sysutils/smartmontools/patches/patch-atacmds.h            |  17 ----------
 sysutils/smartmontools/patches/patch-freebsd_nvme_ioctl.h |  22 -------------
 sysutils/smartmontools/patches/patch-os__netbsd.cpp       |  24 ---------------
 5 files changed, 7 insertions(+), 73 deletions(-)

diffs (107 lines):

diff -r b80dfc5fdf59 -r e7766c0c83be sysutils/smartmontools/Makefile
--- a/sysutils/smartmontools/Makefile   Thu Dec 14 22:14:18 2017 +0000
+++ b/sysutils/smartmontools/Makefile   Fri Dec 15 03:02:10 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2016/05/08 11:23:15 nonaka Exp $
+# $NetBSD: Makefile,v 1.30 2017/12/15 03:02:10 nonaka Exp $
 
-DISTNAME=              smartmontools-6.5
+DISTNAME=              smartmontools-6.6
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
 
diff -r b80dfc5fdf59 -r e7766c0c83be sysutils/smartmontools/distinfo
--- a/sysutils/smartmontools/distinfo   Thu Dec 14 22:14:18 2017 +0000
+++ b/sysutils/smartmontools/distinfo   Fri Dec 15 03:02:10 2017 +0000
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.28 2016/11/04 17:55:37 maya Exp $
+$NetBSD: distinfo,v 1.29 2017/12/15 03:02:10 nonaka Exp $
 
-SHA1 (smartmontools-6.5.tar.gz) = 7e788b429534a4ae627858fbcc826b93402cee7e
-RMD160 (smartmontools-6.5.tar.gz) = e62d15d406a92b75fa239603180c6b587f9d2aa8
-SHA512 (smartmontools-6.5.tar.gz) = dca7a6363ab7280ee4197155025f624c978886dcc94fc47b524f6f849138b62c471e966c0d4bf59c7bba50519dc122264618e5ded80a406863ddd10b43d928d3
-Size (smartmontools-6.5.tar.gz) = 855642 bytes
+SHA1 (smartmontools-6.6.tar.gz) = 8946f6350d6df9341d571381d66ffbb7d83b8af2
+RMD160 (smartmontools-6.6.tar.gz) = 8504a7a04e99d26acb3662ae5e0e8e6d38a52b5d
+SHA512 (smartmontools-6.6.tar.gz) = 64bb533dac29f62ddd662a16a12c97df1af9cbac9ac526ce7af0b3bff9da49cf265a2030d91a7160452b56a67e80d7f34c9b4e45bbb320114f55695e2cb5cfaf
+Size (smartmontools-6.6.tar.gz) = 903847 bytes
 SHA1 (patch-aa) = bd08aff267f0e9e9307ebc57858e61e35144bf16
 SHA1 (patch-ag) = 01b0b35d89d6d6a11b13b3c05a141c46a0c1590b
-SHA1 (patch-atacmds.h) = be9973be0245de7ac526b0018e7bbca28c6fa529
-SHA1 (patch-freebsd_nvme_ioctl.h) = 2cb97cb4000624d8d121f8406b79d481751a5b77
-SHA1 (patch-os__netbsd.cpp) = 28f78c08d7c7287165cfa38f8ee3467b3b03cb44
diff -r b80dfc5fdf59 -r e7766c0c83be sysutils/smartmontools/patches/patch-atacmds.h
--- a/sysutils/smartmontools/patches/patch-atacmds.h    Thu Dec 14 22:14:18 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-atacmds.h,v 1.1 2016/11/04 17:55:37 maya Exp $
-
-don't redefine ATA_SET_FEATURES if it's already defined
-build fix for FreeBSD-11
-
---- atacmds.h.orig     2015-10-31 09:36:16.000000000 -0700
-+++ atacmds.h  2016-06-15 19:39:43.425233000 -0700
-@@ -74,7 +74,9 @@
- #define ATA_IDLE                        0xe3
- #define ATA_SMART_CMD                   0xb0
- #define ATA_SECURITY_FREEZE_LOCK        0xf5
-+#ifndef ATA_SET_FEATURES
- #define ATA_SET_FEATURES                0xef
-+#endif
- #define ATA_STANDBY_IMMEDIATE           0xe0
- 
- // SET_FEATURES subcommands
diff -r b80dfc5fdf59 -r e7766c0c83be sysutils/smartmontools/patches/patch-freebsd_nvme_ioctl.h
--- a/sysutils/smartmontools/patches/patch-freebsd_nvme_ioctl.h Thu Dec 14 22:14:18 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-freebsd_nvme_ioctl.h,v 1.1 2016/11/04 17:55:37 maya Exp $
-
-Don't redefine nvme_command on newer FreeBSD
-
---- freebsd_nvme_ioctl.h.orig  2016-03-28 09:25:56.000000000 -0700
-+++ freebsd_nvme_ioctl.h       2016-06-15 20:43:22.389493000 -0700
-@@ -31,6 +31,7 @@
- 
- #define       NVME_PASSTHROUGH_CMD    _IOWR('n', 0, struct nvme_pt_command)
- 
-+#if __FreeBSD_version < 1100110
- struct nvme_command
- {
-       /* dword 0 */
-@@ -143,6 +144,7 @@
-        */
-       struct mtx *            driver_lock;
- };
-+#endif
- 
- #define nvme_completion_is_error(cpl)                                 \
-       ((cpl)->status.sc != 0 || (cpl)->status.sct != 0)
diff -r b80dfc5fdf59 -r e7766c0c83be sysutils/smartmontools/patches/patch-os__netbsd.cpp
--- a/sysutils/smartmontools/patches/patch-os__netbsd.cpp       Thu Dec 14 22:14:18 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-os__netbsd.cpp,v 1.3 2016/05/08 11:23:15 nonaka Exp $
-
-Use a raw disk device file on NetBSD.
-
---- os_netbsd.cpp.orig 2016-03-26 19:47:47.000000000 +0000
-+++ os_netbsd.cpp      2016-05-08 06:45:25.000000000 +0000
-@@ -54,7 +54,7 @@ printwarning(int msgNo, const char *extr
-   return;
- }
- 
--static const char *net_dev_prefix = "/dev/";
-+static const char *net_dev_prefix = "/dev/r";
- static const char *net_dev_ata_disk = "wd";
- static const char *net_dev_scsi_disk = "sd";
- static const char *net_dev_scsi_tape = "enrst";
-@@ -128,7 +128,7 @@ get_dev_names(char ***names, const char 
-     n++;
-   }
- 
--  void * tmp = (char **)realloc(mp, n * (sizeof(char *)));
-+  char ** tmp = (char **)realloc(mp, n * (sizeof(char *)));
-   if (NULL == tmp) {
-     pout("Out of memory constructing scan device list\n");
-     free(mp);



Home | Main Index | Thread Index | Old Index