From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] smartmontools: update to 7.1 Date: Sun, 22 Mar 2020 09:24:01 +0000 Message-ID: <9D899064-7E56-48BD-9079-4853F449C2D5@ipfire.org> In-Reply-To: <38c2605f-2781-d3e4-1949-14c82eb261da@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7926703541670941738==" List-Id: --===============7926703541670941738== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 21 Mar 2020, at 19:59, Peter M=C3=BCller wr= ote: >=20 > Summary: smartmontools release 7.1 > ----------------------------------------------------------- > - smartctl: Fixed bogus exception on unknown form factor value (regression). > - smartctl '--json=3Dcg': 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. > - configure: Defines '_FORTIFY_SOURCE=3D2' if supported and not defined. > - Linux/FreeBSD: Fixed segfault on CCISS transfer sizes > 512 bytes. > - Linux: Fixed smartd.service 'Type' if libsystemd-dev is not available. > - Linux: Fixed '/dev/megaraid_sas_ioctl_node' fd leak. > - Linux: Fixed GPL licensing problem of 'linux_nvme_ioctl.h'. > - FreeBSD update-smart-drivedb: Now uses 'fetch' as default download tool. > - FreeBSD big endian: Fixed NVMe access. > - FreeBSD: Compile fix for FreeBSD 12. > - NetBSD: Fixed device scan crash on empty name list. > - NetBSD: Fixed memory leak in device scan. > - Windows: Fixed log page access via Windows 10 NVMe driver for NVMe 1.2.1+. > - Windows: Allow drive letters as device names for Windows 10 NVMe driver. > - Windows: Workround to allow CSMI access to devices behind AMD RAID driver= s. > - Windows: Fixed MinGW options to add relocation info if ASLR is enabled. > - Windows wtssendmsg: No longer writes '\n' line endings to event log. > - Windows wtssendmsg: New options '-t' and '-w'. >=20 > Signed-off-by: Peter M=C3=BCller > --- > lfs/smartmontools | 7 +++---- > src/patches/smartmontools-6.5-exit_segfault.patch | 16 ---------------- > 2 files changed, 3 insertions(+), 20 deletions(-) > delete mode 100644 src/patches/smartmontools-6.5-exit_segfault.patch >=20 > diff --git a/lfs/smartmontools b/lfs/smartmontools > index 2c3fd39d8..98f6a5eca 100644 > --- a/lfs/smartmontools > +++ b/lfs/smartmontools > @@ -1,7 +1,7 @@ > ###########################################################################= #### > # = # > # IPFire.org - A linux based firewall = # > -# Copyright (C) 2007-2018 IPFire Team = # > +# Copyright (C) 2007-2020 IPFire Team = # > # = # > # 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 = # > @@ -24,7 +24,7 @@ >=20 > include Config >=20 > -VER =3D 6.6 > +VER =3D 7.1 >=20 > THISAPP =3D smartmontools-$(VER) > DL_FILE =3D $(THISAPP).tar.gz > @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) >=20 > $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >=20 > -$(DL_FILE)_MD5 =3D 9ae2c6e7131cd2813edcc65cbe5f223f > +$(DL_FILE)_MD5 =3D 430cd5f64caa4524018b536e5ecd9c29 >=20 > install : $(TARGET) >=20 > @@ -70,7 +70,6 @@ $(subst %,%_MD5,$(objects)) : > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/smartmontools-6.5-ex= it_segfault.patch > cd $(DIR_APP) && autoreconf > cd $(DIR_APP) && ./configure --prefix=3D/usr > cd $(DIR_APP) && make BUILD_INFO=3D'"($(NAME) $(VERSION))"' $(MAKETUNING) > diff --git a/src/patches/smartmontools-6.5-exit_segfault.patch b/src/patche= s/smartmontools-6.5-exit_segfault.patch > deleted file mode 100644 > index 6c5df8aac..000000000 > --- a/src/patches/smartmontools-6.5-exit_segfault.patch > +++ /dev/null > @@ -1,16 +0,0 @@ > ---- a/utility.h Sun Apr 24 16:59:15 2016 > -+++ b/utility.h Sat Aug 20 22:40:33 2016 > -@@ -97,7 +97,11 @@ > -=20 > - // Replacement for exit(status) > - // (exit is not compatible with C++ destructors) > --#define EXIT(status) { throw (int)(status); } > -+ > -+//This doesn't work on IPFire. > -+//#define EXIT(status) { throw (int)(status); } > -+//tried to use exit and found no problems yet > -+#define EXIT(status) { exit ((int)(status)); } > -=20 > - // Compile time check of byte ordering > - // (inline const function allows compiler to remove dead code) > - > --=20 > 2.16.4 --===============7926703541670941738==--