Date: Wed, 15 Oct 2003 13:13:32 -0400 (EDT) From: martines@rochester.rr.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/58085: New Port: S.M.A.R.T. disk monitoring tools Message-ID: <20031015171332.7BE2F3FC5@domain.crafts4life.com> Resent-Message-ID: <200310151720.h9FHKT1K096615@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031015171332.7BE2F3FC5>