From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 4 11:10:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA7A1065696 for ; Thu, 4 Feb 2010 11:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 874BD8FC48 for ; Thu, 4 Feb 2010 11:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o14BA2hx051953 for ; Thu, 4 Feb 2010 11:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o14BA268051952; Thu, 4 Feb 2010 11:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 4 Feb 2010 11:10:02 GMT Resent-Message-Id: <201002041110.o14BA268051952@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Morozovsky Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C0EB10656C3 for ; Thu, 4 Feb 2010 11:00:25 +0000 (UTC) (envelope-from marck@woozle.rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 898298FC1A for ; Thu, 4 Feb 2010 11:00:23 +0000 (UTC) Received: from woozle.rinet.ru (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.3/8.14.3) with ESMTP id o14B0MOo002323 for ; Thu, 4 Feb 2010 14:00:22 +0300 (MSK) (envelope-from marck@woozle.rinet.ru) Received: (from marck@localhost) by woozle.rinet.ru (8.14.3/8.14.3/Submit) id o14B0MX7002322; Thu, 4 Feb 2010 14:00:22 +0300 (MSK) (envelope-from marck) Message-Id: <201002041100.o14B0MX7002322@woozle.rinet.ru> Date: Thu, 4 Feb 2010 14:00:22 +0300 (MSK) From: Dmitry Morozovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143551: sysutils/smartmontools: fix daily periodic script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Morozovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2010 11:10:02 -0000 >Number: 143551 >Category: ports >Synopsis: sysutils/smartmontools: fix daily periodic script >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Feb 04 11:10:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dmitry Morozovsky >Release: FreeBSD 7-STABLE i386 >Organization: Cronyx Plus LLC (RiNet ISP) >Environment: System: FreeBSD 7-STABLE >Description: smartmontools' smartctl no more works with device name without full path, hence FreeBSD periodic script is non-workable. >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/smartmontools/Makefile,v retrieving revision 1.45 diff -u -r1.45 Makefile --- Makefile 23 Dec 2009 18:55:52 -0000 1.45 +++ Makefile 4 Feb 2010 10:58:07 -0000 @@ -7,6 +7,7 @@ PORTNAME= smartmontools PORTVERSION= 5.39 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF Index: files/smart.in =================================================================== RCS file: /home/ncvs/ports/sysutils/smartmontools/files/smart.in,v retrieving revision 1.5 diff -u -r1.5 smart.in --- files/smart.in 3 Jun 2009 18:12:30 -0000 1.5 +++ files/smart.in 4 Feb 2010 10:58:07 -0000 @@ -41,7 +41,7 @@ echo echo "Checking health of ${device}:" echo - ${smartctl} ${daily_status_smartctl_flags} ${device} > "${tmpfile}" + ${smartctl} ${daily_status_smartctl_flags} /dev/${device} > "${tmpfile}" status=$? if [ $((status & 3)) -ne 0 ]; then rc=2 >Release-Note: >Audit-Trail: >Unformatted: