Merge pull request #14407 from mstorchak/smartmontools
smartmontools: update to 7.2
This commit is contained in:
commit
0047a4a191
4 changed files with 12 additions and 7 deletions
|
@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/uclibc++.mk
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
|
|
||||||
PKG_NAME:=smartmontools
|
PKG_NAME:=smartmontools
|
||||||
PKG_VERSION:=7.1
|
PKG_VERSION:=7.2
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/smartmontools
|
PKG_SOURCE_URL:=@SF/smartmontools
|
||||||
PKG_HASH:=3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846
|
PKG_HASH:=5cd98a27e6393168bc6aaea070d9e1cd551b0f898c52f66b2ff2e5d274118cd6
|
||||||
|
|
||||||
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
||||||
PKG_LICENSE:=GPL-2.0-or-later
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
|
|
|
@ -70,7 +70,7 @@ index 072160a..d57417b 100644
|
||||||
+ "-v 228,raw48,Power-off_Retract_Count "
|
+ "-v 228,raw48,Power-off_Retract_Count "
|
||||||
+ // 229 Unknown_Attribute
|
+ // 229 Unknown_Attribute
|
||||||
+ "-v 230,raw48,Head_Amplitude,HDD "
|
+ "-v 230,raw48,Head_Amplitude,HDD "
|
||||||
+ "-v 231,raw48,Temperature_Celsius "
|
+ "-v 231,raw48,Temperature_Celsius,HDD "
|
||||||
+ "-v 232,raw48,Available_Reservd_Space "
|
+ "-v 232,raw48,Available_Reservd_Space "
|
||||||
+ "-v 233,raw48,Media_Wearout_Indicator,SSD "
|
+ "-v 233,raw48,Media_Wearout_Indicator,SSD "
|
||||||
+ // 234-239 Unknown_Attribute
|
+ // 234-239 Unknown_Attribute
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
diff --git a/configure b/configure
|
diff --git a/configure b/configure
|
||||||
index 6f442b3..5803c83 100755
|
index 88928cf..736fabd 100755
|
||||||
--- a/configure
|
--- a/configure
|
||||||
+++ b/configure
|
+++ b/configure
|
||||||
@@ -6988,7 +6988,7 @@ releaseversion='${PACKAGE}-${VERSION}'
|
@@ -6964,7 +6964,7 @@ releaseversion='${PACKAGE}-${VERSION}'
|
||||||
# Set platform-specific modules and symbols
|
# Set platform-specific modules and symbols
|
||||||
os_libs=
|
os_libs=
|
||||||
os_dltools='curl wget lynx svn'
|
os_dltools='curl wget lynx svn'
|
||||||
-os_mailer=mail
|
-os_mailer=mail
|
||||||
+os_mailer=mailx
|
+os_mailer=mailx
|
||||||
os_hostname="'hostname'"
|
os_hostname="'hostname' 'uname -n'"
|
||||||
os_dnsdomainname=
|
os_dnsdomainname=
|
||||||
os_nisdomainname="'domainname'"
|
os_nisdomainname="'domainname'"
|
||||||
|
|
5
utils/smartmontools/test.sh
Normal file
5
utils/smartmontools/test.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
smartctl|smartd) "$1" -V | head -n 1 | grep "$2" ;;
|
||||||
|
esac
|
Loading…
Reference in a new issue