smartmontools: update to 7.0.

This commit is contained in:
maxice8 2019-01-01 03:51:45 -02:00 committed by maxice8
parent 970acbfa91
commit 4f39ba443f
2 changed files with 3 additions and 16 deletions

View file

@ -1,13 +0,0 @@
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,7 +1,7 @@
# Template file for 'smartmontools'
pkgname=smartmontools
version=6.6
revision=2
version=7.0
revision=1
build_style=gnu-configure
configure_args="--sysconfdir=/etc/smartd --with-libcap-ng=yes"
makedepends="libcap-ng-devel"
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://smartmontools.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054
checksum=e5e1ac2786bc87fdbd6f92d0ee751b799fbb3e1a09c0a6a379f9eb64b3e8f61c
post_install() {