From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 15 10:20:41 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0182716A4B3 for ; Wed, 15 Oct 2003 10:20:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9BE643FD7 for ; Wed, 15 Oct 2003 10:20:34 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9FHKTFY096619 for ; Wed, 15 Oct 2003 10:20:29 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9FHKT1K096615; Wed, 15 Oct 2003 10:20:29 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 15 Oct 2003 10:20:29 -0700 (PDT) Resent-Message-Id: <200310151720.h9FHKT1K096615@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, martines@rochester.rr.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE2FD16A4B3 for ; Wed, 15 Oct 2003 10:13:36 -0700 (PDT) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01.nyroc.rr.com [24.92.226.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id D026143FEA for ; Wed, 15 Oct 2003 10:13:33 -0700 (PDT) (envelope-from root@rochester.rr.com) Received: from domain.crafts4life.com (roc-66-66-65-30.rochester.rr.com [66.66.65.30])h9FHDX9s013573 for ; Wed, 15 Oct 2003 13:13:33 -0400 (EDT) Received: from localhost.crafts4life.com (localhost [127.0.0.1]) by domain.crafts4life.com (Postfix) with ESMTP id ED6D04002 for ; Wed, 15 Oct 2003 13:13:32 -0400 (EDT) Received: from domain.crafts4life.com (localhost.crafts4life.com [127.0.0.1]) by localhost.crafts4life.com (AvMailGate-2.0.1.16) id 11224-65B90259; Wed, 15 Oct 2003 13:13:32 -0400 Received: by domain.crafts4life.com (Postfix, from userid 0) id 7BE2F3FC5; Wed, 15 Oct 2003 13:13:32 -0400 (EDT) Message-Id: <20031015171332.7BE2F3FC5@domain.crafts4life.com> Date: Wed, 15 Oct 2003 13:13:32 -0400 (EDT) From: martines@rochester.rr.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/58085: New Port: S.M.A.R.T. disk monitoring tools X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: martines@rochester.rr.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 17:20:41 -0000 >Number: 58085 >Category: ports >Synopsis: New Port: S.M.A.R.T. disk monitoring tools >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 15 10:20:19 PDT 2003 >Closed-Date: >Last-Modified: >Originator: & >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD domain.crafts4life.com 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Mon Sep 29 19:28:33 EDT 2003 root@domain.crafts4life.com:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI hard disks. It is derived from the smartsuite package, and includes support for ATA/ATAPI-5 disks. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # smartmontools # smartmontools/Makefile # smartmontools/pkg-plist # smartmontools/pkg-descr # smartmontools/pkg-message # smartmontools/distinfo # echo c - smartmontools mkdir -p smartmontools > /dev/null 2>&1 echo x - smartmontools/Makefile sed 's/^X//' >smartmontools/Makefile << 'END-of-smartmontools/Makefile' X# New ports collection makefile for: smartmontools X# Date created: 12 October 2003 X# Whom: Eduard Martinescu X# X# $FreeBSD$ X# X XPORTNAME= smartmontools XPORTVERSION= 5.21 XCATEGORIES= sysutils XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= smartmontools X XMAINTAINER= martines@rochester.rr.com XCOMMENT= S.M.A.R.T. disk monitoring tools X XMAN8= smartd.8 smartctl.8 XMAN5= smartd.conf.5 X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+= --with-initscriptdir=${PREFIX}/etc/rc.d --with-docdir=${PREFIX}/share/doc/smartmontools --enable-sample XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X Xpost-install: X ${CAT} pkg-message X X.include END-of-smartmontools/Makefile echo x - smartmontools/pkg-plist sed 's/^X//' >smartmontools/pkg-plist << 'END-of-smartmontools/pkg-plist' X@unexec /bin/echo "===>" Stopping smartd ... X@unexec /usr/bin/killall smartd 2>/dev/null || true Xetc/smartd.conf.sample Xetc/rc.d/smartd.sample Xsbin/smartctl Xsbin/smartd Xshare/doc/smartmontools/AUTHORS Xshare/doc/smartmontools/CHANGELOG Xshare/doc/smartmontools/COPYING Xshare/doc/smartmontools/INSTALL Xshare/doc/smartmontools/NEWS Xshare/doc/smartmontools/README Xshare/doc/smartmontools/TODO Xshare/doc/smartmontools/WARNINGS Xshare/doc/smartmontools/examplescripts/Example1 Xshare/doc/smartmontools/examplescripts/Example2 Xshare/doc/smartmontools/examplescripts/Example3 Xshare/doc/smartmontools/examplescripts/README Xshare/doc/smartmontools/smartd.conf X@dirrm share/doc/smartmontools/examplescripts X@dirrm share/doc/smartmontools END-of-smartmontools/pkg-plist echo x - smartmontools/pkg-descr sed 's/^X//' >smartmontools/pkg-descr << 'END-of-smartmontools/pkg-descr' XThe smartmontools package contains two utility programs (smartctl and smartd) Xto control and monitor storage systems using the Self-Monitoring, Analysis Xand Reporting Technology System (S.M.A.R.T.) built into most modern ATA and XSCSI hard disks. It is derived from the smartsuite package, and includes Xsupport for ATA/ATAPI-5 disks. X XWWW: http://smartmontools.sourceforge.net X X-- Eduard Martinescu Xmartines@rochester.rr.com END-of-smartmontools/pkg-descr echo x - smartmontools/pkg-message sed 's/^X//' >smartmontools/pkg-message << 'END-of-smartmontools/pkg-message' Xsmartmontools has been installed X XTo check the status of drives, use the following: X X ${PREFIX}/sbin/smartctl -a ad0 for first ATA drive X ${PREFIX}/sbin/smartctl -a da0 for first SCSI drive X XTo enable monitor of drives, you can use ${PREFIX}/sbin/smartd XA sample configuration file has been installed as ${PREFIX}/etc/smartd.conf.sample XCopy this file to ${PREFIX}/etc/smartd.conf and edit appropriately X XTo have smartd start at boot X cp ${PREFIX}/etc/rc.d/smartd.sample ${PREFIX}/etc/rc.d/smartd.sh X chmod 555 ${PREFIX}/etc/rc.d/smartd.sh X END-of-smartmontools/pkg-message echo x - smartmontools/distinfo sed 's/^X//' >smartmontools/distinfo << 'END-of-smartmontools/distinfo' XMD5 (smartmontools-5.21.tar.gz) = 64878e77158000d7be2e0c0cbae24cb9 END-of-smartmontools/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: