smartmontools: update to 6.6.
This commit is contained in:
parent
e449420477
commit
240a325ef1
2 changed files with 20 additions and 3 deletions
13
srcpkgs/smartmontools/patches/0001-fix-musl.patch
Normal file
13
srcpkgs/smartmontools/patches/0001-fix-musl.patch
Normal 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;
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue