smartmontools: update to 7.0.
This commit is contained in:
parent
970acbfa91
commit
4f39ba443f
2 changed files with 3 additions and 16 deletions
|
@ -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;
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'smartmontools'
|
# Template file for 'smartmontools'
|
||||||
pkgname=smartmontools
|
pkgname=smartmontools
|
||||||
version=6.6
|
version=7.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sysconfdir=/etc/smartd --with-libcap-ng=yes"
|
configure_args="--sysconfdir=/etc/smartd --with-libcap-ng=yes"
|
||||||
makedepends="libcap-ng-devel"
|
makedepends="libcap-ng-devel"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://smartmontools.sourceforge.net"
|
homepage="http://smartmontools.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054
|
checksum=e5e1ac2786bc87fdbd6f92d0ee751b799fbb3e1a09c0a6a379f9eb64b3e8f61c
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue