Date: Wed, 2 Oct 2019 17:46:41 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513591 - in head/sysutils/smartmontools: . files Message-ID: <201910021746.x92Hkf01003392@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed Oct 2 17:46:41 2019 New Revision: 513591 URL: https://svnweb.freebsd.org/changeset/ports/513591 Log: sysutils/smartmontools: support areca controllers and nvme While here, ensure mail starts before smartd PR: 240519 Submitted by: VVD <vvd@unislabs.com> Approved by: samm@os2.kiev.ua (maintianer) Modified: head/sysutils/smartmontools/Makefile (contents, props changed) head/sysutils/smartmontools/files/smart.in head/sysutils/smartmontools/files/smartd.in Modified: head/sysutils/smartmontools/Makefile ============================================================================== --- head/sysutils/smartmontools/Makefile Wed Oct 2 16:20:16 2019 (r513590) +++ head/sysutils/smartmontools/Makefile Wed Oct 2 17:46:41 2019 (r513591) @@ -3,7 +3,7 @@ PORTNAME= smartmontools PORTVERSION= 7.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF Modified: head/sysutils/smartmontools/files/smart.in ============================================================================== --- head/sysutils/smartmontools/files/smart.in Wed Oct 2 16:20:16 2019 (r513590) +++ head/sysutils/smartmontools/files/smart.in Wed Oct 2 17:46:41 2019 (r513591) @@ -16,7 +16,7 @@ smartctl=%%PREFIX%%/sbin/smartctl case "${daily_status_smart_devices}" in # XXX AUTO mode selects only regular ad/da disks [Aa][Uu][Tt][Oo]) - daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g')" + daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g; s/nvd/nvme/g')" ;; *) ;; esac @@ -46,6 +46,9 @@ case "${daily_status_smart_enable}" in device="/dev/${device%,[0-9]*}" ;; ciss*) devflags="-dcciss,${device##ciss[0-9]*,}" + device="/dev/${device%,[0-9]*}" + ;; + arcmsr*) devflags="-dareca,${device##arcmsr[0-9]*,}" device="/dev/${device%,[0-9]*}" ;; /*) ;; Modified: head/sysutils/smartmontools/files/smartd.in ============================================================================== --- head/sysutils/smartmontools/files/smartd.in Wed Oct 2 16:20:16 2019 (r513590) +++ head/sysutils/smartmontools/files/smartd.in Wed Oct 2 17:46:41 2019 (r513591) @@ -3,7 +3,7 @@ # $FreeBSD$ # # PROVIDE: smartd -# REQUIRE: LOGIN +# REQUIRE: root ldconfig devfs syslogd mail # KEYWORD: shutdown nojail # # Define these smartd_* variables in one of these files:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910021746.x92Hkf01003392>