From patchwork Sat Mar 21 19:59:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 2848 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 48lBM65Q8qz3yBb for ; Sat, 21 Mar 2020 20:00:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 48lBM42ZLYzvx; Sat, 21 Mar 2020 20:00:00 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 48lBM40JX7z2y4F; Sat, 21 Mar 2020 20:00:00 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 48lBM23BmFz2y4F for ; Sat, 21 Mar 2020 19:59:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 48lBM05pB6zvx for ; Sat, 21 Mar 2020 19:59:56 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1584820797; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gB/Qda95iX8PDKjCo9KOBOTxew8c+JaytqXaG3t//y4=; b=3xVt7yRrXrDL+aSxRujm1XioUdNmSg0MRm8ab8mjWbU7PKrbmZyNmEBB52wwzzHX51pgVt haig1zsHYOfZfNDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1584820797; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gB/Qda95iX8PDKjCo9KOBOTxew8c+JaytqXaG3t//y4=; b=kBEjlLbZ8g41n+znZk2I02wVoOePSFPNUG+F34GxSmmUr26/0lR5WNR2iOAR/2mKJ9ZTAl JCPmbTEtStkvh7D5dv1tgfiy/3cS1FvRjQ63rUoJnxsUHVm8WP0QtBfPmvqdqTO6L6O1yz QpM/38nynOcPv9lsfBXlpazRmEdvkJDsI0E+0i3vVFWaooRCiH5HTcl9pxnto9wWYruPzB ZziYjzhTkwxoV1tRou2jekZzD1yHB8Ms5pPISewk2L/v9eIRcVeoFdP0MpqRmeRFr+B+CQ kp0Xg3HriZ1ZS6QJPPOSA0Alx2690ffD0Hg0muOcKihHwj8VkkmFCFdMwMedSg== To: "IPFire: Development-List" From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] smartmontools: update to 7.1 Message-ID: <38c2605f-2781-d3e4-1949-14c82eb261da@ipfire.org> Date: Sat, 21 Mar 2020 19:59:00 +0000 MIME-Version: 1.0 Content-Language: en-US Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=peter.mueller@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Summary: smartmontools release 7.1 ----------------------------------------------------------- - smartctl: Fixed bogus exception on unknown form factor value (regression). - 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. - configure: Defines '_FORTIFY_SOURCE=2' 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 drivers. - 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'. Signed-off-by: Peter Müller Reviewed-by: Michael Tremer --- 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 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 @@ include Config -VER = 6.6 +VER = 7.1 THISAPP = smartmontools-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 9ae2c6e7131cd2813edcc65cbe5f223f +$(DL_FILE)_MD5 = 430cd5f64caa4524018b536e5ecd9c29 install : $(TARGET) @@ -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-exit_segfault.patch cd $(DIR_APP) && autoreconf cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make BUILD_INFO='"($(NAME) $(VERSION))"' $(MAKETUNING) diff --git a/src/patches/smartmontools-6.5-exit_segfault.patch b/src/patches/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 @@ - - // 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)); } - - // Compile time check of byte ordering - // (inline const function allows compiler to remove dead code) -