smartmontools: update to 6.6.

This commit is contained in:
maxice8 2017-11-11 15:11:01 -02:00 committed by Leаh Neukirchen
parent e449420477
commit 240a325ef1
2 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,13 @@
Remove this on 6.7 release as this https://www.smartmontools.org/ticket/921 was accepted
--- os_linux.cpp
+++ os_linux.cpp
@@ -3176,7 +3176,7 @@ static bool is_hpsa(const char * name)
{
char path[128];
snprintf(path, sizeof(path), "/sys/block/%s/device", name);
- char * syshostpath = canonicalize_file_name(path);
+ char * syshostpath = realpath(path, NULL);
if (!syshostpath)
return false;

View File

@ -1,9 +1,9 @@
# Template file for 'smartmontools'
pkgname=smartmontools
version=6.5
version=6.6
revision=1
build_style=gnu-configure
configure_args="--sysconfdir=/etc/smartd --with-libcap-ng=yes --without-drivedbdir"
configure_args="--sysconfdir=/etc/smartd --with-libcap-ng=yes"
makedepends="libcap-ng-devel"
conf_files="/etc/smartd/*"
short_desc="S.M.A.R.T Monitoring Tools"
@ -11,7 +11,11 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://smartmontools.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc
checksum=51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054
do_check() {
make check
}
post_install() {
vsv smartd