From patchwork Tue Jun 3 12:18:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8807 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 (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4bBVB21DDRz3x60 for ; Tue, 3 Jun 2025 12:18:50 +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 RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bBV9x17f2z769 for ; Tue, 3 Jun 2025 12:18:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bBV9v47GRz34C2 for ; Tue, 3 Jun 2025 12:18:43 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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 (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bBV9r4lfpz33j0 for ; Tue, 3 Jun 2025 12:18:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4bBV9r3CVQz12m; Tue, 3 Jun 2025 12:18:40 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1748953120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fuoetepgP5En7k2XQJ8N+QUgnALVKRCco9WD4UqOL5Q=; b=0PlDnzl4EwbbzU+nzJftWDLvaZWuMVHwPbVGXjKM9X2rF4pWPclJ8hFub0Ik0WBd0opSyn gPwFR21h9FlqXIAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1748953120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fuoetepgP5En7k2XQJ8N+QUgnALVKRCco9WD4UqOL5Q=; b=SokHu8f1xdKujy40OtIKP/lBtmModqerKeNIRP40VbFbRWGnzNUis1lBNAzPK4LRKsiiEq VCziwDH5ce1KGiWE3lm43lUQG2zKaIq/ZWbFYaYwGtRTmvhWyyco2igjAkNOetLBxRlCVO ATOnsQcxrRYShg1s0/Q5UxxSIf4Ozle1h2WwvdFVVwVrLRclIiWUBDa0WaJraLI2r61ugj yV2FqBwvymH0+RyPgsy0VFh6eH/0snvjLjyOhH03fIjtQXkIJUaAFaFeYGVZFfZy/T4MxB ebS8WibFhenwHFOA9t5zI5SKrceWlIqVCG6cNlS3B+Agm7Wzh2yoGrRabTn3Xg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] smartmontools: Update to version 7.5 Date: Tue, 3 Jun 2025 14:18:34 +0200 Message-ID: <20250603121835.3299551-4-adolf.belka@ipfire.org> In-Reply-To: <20250603121835.3299551-1-adolf.belka@ipfire.org> References: <20250603121835.3299551-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 7.4 to 7.5 - Update of rootfile not required - Changelog 7.5 - CI and release builds are now reproducible if same SOURCE_DATE_EPOCH, build recipes and toolchains are used. - smartctl '-j -A': New JSON value 'endurance_used' (ATA/SCSI/NVMe). - smartctl '-j -A': New JSON value 'spare_available' (ATA/NVMe). - smartctl '-j -i': Re-added the JSON value 'model_name' also for SCSI devices (regression). - smartctl '-j -c': NVMe support. - smartctl '-j -n ...': New JSON values 'power_mode.*' (ATA only). - smartctl '-H -A': Support for NVMe SMART/Health Information per namespace. - smartctl '-i': ATA ACS-6 updates. - smartctl '-x': No longer includes '-g wcreorder'. - smartctl '-x', '-l scterc': No longer returns exit status 4 if SCT ERC is not supported by the device. - smartctl '-l error': No longer prints bogus ATA error log entries if the error index is nonzero but the error count is zero. - smartctl '-l ssd': Fixed corruption of the output of the SCSI Format Status log page. - smartctl '-l ssd': Now detects 'no format since manufacture' from the SCSI Format Status log page. - smartctl '-l farm': Fixed the unit of 'Write Power On' time. - smartctl '-l farm': Fixed the byte order of ATA 'Assembly Date'. - smartctl '-l farm': Fixed a possible segfault. - smartctl '-l farm -q noserial': Suppresses serial and WWN also from FARM. - smartctl '-l farm -T permissive': Overrides false negative FARM support check for rebranded drives. - smartctl '-t TEST': Fixed self-tests of single namespace NVMe devices. - smartd '-A': NVMe attribute log support. - smartd: Ignores NSID in duplicate check of single namespace devices. - smartd: No longer issues LOG_CRIT warnings for 'Set Feature' related NVMe error information log entries. - smartd: No longer hangs on systems with large file descriptor limits. - smartd: No longer logs invalid "old test ... not run" messages if staggered self-tests are used. - smartd.conf '-l selftest[sts] -s ...': NVMe self-test support. - smartd.conf '-H MASK': Ability to ignore specific bits of NVMe SMART/Health value 'Critical Warning'. - smartd.conf '-p': Checks NVMe SMART/Health value 'Available Spare'. - smartd.conf '-u [-f]': Checks NVMe SMART/Health values 'Percentage Used' and 'Media and Data Integrity Errors'. - smartd.conf '-W ...': No longer includes individual sensors in NVMe temperature check as some devices report other values there. - ATA: Device type '-d jmb39x-q2,N' for another JMB39x protocol variant used by QNAP-TR002 NAS devices. - SCSI: Fixed range checks of mode page offset and VPD inquiry. - SCSI: Fixed buffer overflow parsing of VPD page. - SCSI: Fixed handling of multiple designators in VPD page. - USB/NVMe: '-d sntjmicron' no longer triggers USB resets on queries of the self-test log. - USB/NVMe: '-d sntasmedia' now supports log pages > 512 bytes. - USB/NVMe/SAT: New experimental NVMe/SAT autodetection options '-d snt*/sat'. - Fixed segfault on missing option argument on systems using musl libc. - HDD, SSD and USB additions to drive database. - automake < 1.13 are no longer supported. - Custom make rules are now silenced if 'make V=0' is used. - Enhanced makefile targets 'dist-*' to create reproducible source tarballs if SOURCE_DATE_EPOCH is set. - The makefile no longer uses GNU make specific syntax elements (exception: reproducible builds for macOS). - Dropped support for platforms without 'sigaction()'. - configure: Now also detects MidnightBSD. - configure: Dropped option '--with-signal-func'. - configure: Default for '--with-nvme-devicescan' is now 'yes' also on NetBSD. - Version information is now also set if build from GH R/O mirror. - Linux: 'smartd.service' now avoids a warning about an unset environment variable. - Linux: Dropped autodetection of deprecated device type '-d marvell'. - macOS: Support for reproducible builds of the DMG image. - OpenBSD: NVMe support. - Windows: Increased WMI timeout. - Windows: Support for reproducible builds of the installer. - Windows: Uninstaller is no longer damaged if the installer is signed. - Windows 'update-smartd-drivedb.ps1': Fixed call of 'gpg.exe' if it appears more than once in the PATH. - Windows 'update-smartd-drivedb.ps1 -Verbose': Now also prints the download command. Signed-off-by: Adolf Belka --- lfs/smartmontools | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lfs/smartmontools b/lfs/smartmontools index 61a5ea881..669667854 100644 --- a/lfs/smartmontools +++ b/lfs/smartmontools @@ -24,7 +24,7 @@ include Config -VER = 7.4 +VER = 7.5 THISAPP = smartmontools-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = fbf7888b92b6be4892a206e1c0fae1cb7c45fe0d62270c5fe713a540616e3599c67dd3297ad8c1cd344987e1fe95ae7c5e92db8e13ef622b3316b3780fbb4052 +$(DL_FILE)_BLAKE2 = c6dfbdec8c25490925d8afdfd6eb3ce631f7a70447c8a3b54a4a16faafbf69da7bf4638eba7398265b952ed0dc2ef71dfe2c5188026a5c0542b4f7fd6d116cf7 install : $(TARGET) @@ -71,10 +71,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && autoreconf - cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && ./configure \ + --prefix=/usr cd $(DIR_APP) && make BUILD_INFO='"($(NAME) $(VERSION))"' $(MAKETUNING) cd $(DIR_APP) && make install - + # Install cron job. install -m 754 -v $(DIR_CONF)/smartmontools/fcron.monthly \ /etc/fcron.monthly/smart-drivedb