diff --git a/utils/smartmontools/Makefile b/utils/smartmontools/Makefile index 5d9797699d..bd1b97473d 100644 --- a/utils/smartmontools/Makefile +++ b/utils/smartmontools/Makefile @@ -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 PKG_LICENSE:=GPL-2.0-or-later diff --git a/utils/smartmontools/patches/001-use-external-drivedb.patch b/utils/smartmontools/patches/001-use-external-drivedb.patch index 69007d1f8c..ba7bf16c55 100644 --- a/utils/smartmontools/patches/001-use-external-drivedb.patch +++ b/utils/smartmontools/patches/001-use-external-drivedb.patch @@ -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 diff --git a/utils/smartmontools/patches/002-os_mailer-is-mailx.patch b/utils/smartmontools/patches/002-os_mailer-is-mailx.patch index 2c07edc016..a80e7c9b8b 100644 --- a/utils/smartmontools/patches/002-os_mailer-is-mailx.patch +++ b/utils/smartmontools/patches/002-os_mailer-is-mailx.patch @@ -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'" diff --git a/utils/smartmontools/test.sh b/utils/smartmontools/test.sh new file mode 100644 index 0000000000..e4f6091062 --- /dev/null +++ b/utils/smartmontools/test.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +case "$1" in + smartctl|smartd) "$1" -V | head -n 1 | grep "$2" ;; +esac