ports/129313: Update spindown

Arjan van der Velde noresult at noresult.net
Sun Nov 30 21:50:01 UTC 2008


>Number:         129313
>Category:       ports
>Synopsis:       Update spindown
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 30 21:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van der Velde
>Release:        7.0
>Organization:
>Environment:
FreeBSD soekris.mohja-home 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #5: Sun Nov 23 20:53:28 CET 2008     root at freebsd7.mohja-home:/usr/obj/usr/src/sys/soekris  i386


>Description:
Added a man page.


# 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:
#
#	Makefile
#	distinfo
#	pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:  spindown
X# Date created:        4 november 2008
X# Whom:                noresult
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spindown
XPORTVERSION=	0.3a
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.noresult.net/freebsd/spindown/
X
XMAINTAINER=	noresult at noresult.net
XCOMMENT=	SCSI/firewire harddrive spindown daemon
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XMAN1=		spindown.1
XPLIST_FILES=	sbin/spindown etc/rc.d/spindown
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/spindown ${PREFIX}/sbin
X	${INSTALL_SCRIPT} ${WRKSRC}/rc.d/spindown ${PREFIX}/etc/rc.d
X	${INSTALL_MAN} ${WRKSRC}/spindown.1 ${MANPREFIX}/man/man1/spindown.1
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (spindown-0.3a.tar.gz) = 762aec6ea4dd87d3af6aa89b7960e620
XSHA256 (spindown-0.3a.tar.gz) = b98d24c0a97e9d83a46e3fce711fd95e23ffd2e59b295d74b03c2daf7498c78d
XSIZE (spindown-0.3a.tar.gz) = 7395
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XSCSI / firewire harddrive spindown daemon
X
XThis is a small program for handling automated spinning down of
XSCSI harddrives. With SCSI devices it is not as common to spindown
Xfor power management purposes as for ATA however it might be required
Xto spin down a disk contained in a firewire enclosure for instance.
X
XThe program can be started using the appropriate rc.d(8) script. The
Xfollowing configuration parameters in rc.conf(5) are supported:
X
Xspindown_enable	(YES or NO)
Xspindown_flags (see below)
Xspindown_pidfile (defaults to /var/run/spindown.pid)
X
XUsage:
X
Xspindown [ -D ] [ -b ] [ -p pidfile ] [ -d device ] [ -t seconds ]
X         [ -i seconds ]
X
X	-D runs spindown in debug mode, preventing it from daemonizing
X	-b makes spindown run in the background
X	-p pidfile
X	-d a device to be monitored (multiple devices may be specified)
X	   The idle time at which the drive will spin down is the time
X	   specified by the last -t parameter before this -d option. This
X	   way idle times can be set independently for each device.
X	-t idle time at which a device will spin down (defaults to 600
X	   seconds) this option can be specified more than one. -d options
X	   specified will use the last -t option encountered before the
X	   -d option itself.
X	-i check interval. This is the interval between device activity
X	   checks (defaults to 60 seconds)
X
XIf a running daemon is sent a SIGHUP, it will report up-to-date
Xinformation on activity of the devices monitored
X
XAuthor: Arjan van der Velde (noresult at noresult.net)
XWWW: http://www.noresult.net/freebsd/spindown/
END-of-pkg-descr
exit



>How-To-Repeat:
-
>Fix:
-

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list