From 4f39ba443f22fc38f7c15543d7b2cd9cc2414759 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 1 Jan 2019 03:51:45 -0200 Subject: [PATCH] smartmontools: update to 7.0. --- srcpkgs/smartmontools/patches/0001-fix-musl.patch | 13 ------------- srcpkgs/smartmontools/template | 6 +++--- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 srcpkgs/smartmontools/patches/0001-fix-musl.patch diff --git a/srcpkgs/smartmontools/patches/0001-fix-musl.patch b/srcpkgs/smartmontools/patches/0001-fix-musl.patch deleted file mode 100644 index 6594787b1d5..00000000000 --- a/srcpkgs/smartmontools/patches/0001-fix-musl.patch +++ /dev/null @@ -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; - diff --git a/srcpkgs/smartmontools/template b/srcpkgs/smartmontools/template index df7da63dba6..533d89f12cc 100644 --- a/srcpkgs/smartmontools/template +++ b/srcpkgs/smartmontools/template @@ -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 " license="GPL-2" homepage="http://smartmontools.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054 +checksum=e5e1ac2786bc87fdbd6f92d0ee751b799fbb3e1a09c0a6a379f9eb64b3e8f61c post_install() {