Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2012 19:55:47 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305739 - in head/sysutils/smartmontools: . files
Message-ID:  <201210111955.q9BJtl2N076791@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Thu Oct 11 19:55:47 2012
New Revision: 305739
URL: http://svn.freebsd.org/changeset/ports/305739

Log:
  - Fix AUTO in daily_status_smart_devices parameter (skip arX devices).
  - Bump PORTREVISION.
  
  PR:		ports/172480
  Submitted by:	Leonid Nevecherya <nlv@imbera.ru>
  Approved by:	samm@os2.kiev.ua (maintainer)
  Feature safe:	yes

Modified:
  head/sysutils/smartmontools/Makefile   (contents, props changed)
  head/sysutils/smartmontools/files/smart.in   (contents, props changed)

Modified: head/sysutils/smartmontools/Makefile
==============================================================================
--- head/sysutils/smartmontools/Makefile	Thu Oct 11 19:32:15 2012	(r305738)
+++ head/sysutils/smartmontools/Makefile	Thu Oct 11 19:55:47 2012	(r305739)
@@ -7,6 +7,7 @@
 
 PORTNAME=	smartmontools
 PORTVERSION=	5.43
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 

Modified: head/sysutils/smartmontools/files/smart.in
==============================================================================
--- head/sysutils/smartmontools/files/smart.in	Thu Oct 11 19:32:15 2012	(r305738)
+++ head/sysutils/smartmontools/files/smart.in	Thu Oct 11 19:55:47 2012	(r305739)
@@ -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[0-9]+//g')"
+		daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g')"
 		;;
 	*)	;;
 esac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210111955.q9BJtl2N076791>