smartmontools: update to 7.2

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak 2021-01-01 23:54:39 +02:00
parent 7ce3b159e3
commit dc32fc0e47
4 changed files with 12 additions and 7 deletions

View File

@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/uclibc++.mk
PKG_NAME:=smartmontools
PKG_VERSION:=7.1
PKG_RELEASE:=3
PKG_VERSION:=7.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/smartmontools
PKG_HASH:=3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846
PKG_HASH:=5cd98a27e6393168bc6aaea070d9e1cd551b0f898c52f66b2ff2e5d274118cd6
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=GPL-2.0-or-later

View File

@ -70,7 +70,7 @@ index 072160a..d57417b 100644
+ "-v 228,raw48,Power-off_Retract_Count "
+ // 229 Unknown_Attribute
+ "-v 230,raw48,Head_Amplitude,HDD "
+ "-v 231,raw48,Temperature_Celsius "
+ "-v 231,raw48,Temperature_Celsius,HDD "
+ "-v 232,raw48,Available_Reservd_Space "
+ "-v 233,raw48,Media_Wearout_Indicator,SSD "
+ // 234-239 Unknown_Attribute

View File

@ -1,13 +1,13 @@
diff --git a/configure b/configure
index 6f442b3..5803c83 100755
index 88928cf..736fabd 100755
--- a/configure
+++ b/configure
@@ -6988,7 +6988,7 @@ releaseversion='${PACKAGE}-${VERSION}'
@@ -6964,7 +6964,7 @@ releaseversion='${PACKAGE}-${VERSION}'
# Set platform-specific modules and symbols
os_libs=
os_dltools='curl wget lynx svn'
-os_mailer=mail
+os_mailer=mailx
os_hostname="'hostname'"
os_hostname="'hostname' 'uname -n'"
os_dnsdomainname=
os_nisdomainname="'domainname'"

View File

@ -0,0 +1,5 @@
#!/bin/sh
case "$1" in
smartctl|smartd) "$1" -V | head -n 1 | grep "$2" ;;
esac