Bug 128581 - [new port] sysutils/spindown: SCSI/firewire harddrive spindown daemon
Summary: [new port] sysutils/spindown: SCSI/firewire harddrive spindown daemon
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 12:40 UTC by Arjan van der Velde
Modified: 2008-11-21 21:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arjan van der Velde 2008-11-04 12:40:04 UTC
Hi,

I'd like to submit a port. The port (Makefile and stuff) can be downloaded from http://www.noresult.net/freebsd/spindown/port.tar.gz. Please let me know if you require anything.

Thanks.

Regards,

Arjan

Fix: 

-
How-To-Repeat: -
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-04 15:49:55 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-11-05 05:34:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-11-09 16:49:55 UTC
State Changed
From-To: open->feedback


Hi, 


I think this port need a bit rework, - WWW is missing - COMMENT exceeds 
70 characters limit 

You should check this port with portlint -AC Please look at the Porters 
Handbook for instructions.  Please followup this pr with a new patch. 

Thanks.
Comment 4 noresult 2008-11-09 22:04:30 UTC
Thanks. I updated the file.

Regards,

Arjan.
Comment 5 noresult 2008-11-10 11:30:42 UTC
# 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
#	pkg-descr
#	distinfo
#
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.1a
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.noresult.net/freebsd/spindown/
X
XMAINTAINER=	noresult@noresult.net
XCOMMENT=	SCSI/firewire harddrive spindown daemon
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
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
X.include <bsd.port.mk>
END-of-Makefile
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@noresult.net)
XWWW: http://www.noresult.net/freebsd/spindown/
END-of-pkg-descr
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (spindown-0.1a.tar.gz) = 6e4ac88f0b330f8d64eaf3024eb0ca54
XSHA256 (spindown-0.1a.tar.gz) =  
db5d2e33d57d92a294eff0f24acde0e565e37a7c86b3a1af8ebda391a2b93c27
XSIZE (spindown-0.1a.tar.gz) = 7470
END-of-distinfo
exit
Comment 6 noresult 2008-11-13 16:09:06 UTC
# 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.2a
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.noresult.net/freebsd/spindown/
X
XMAINTAINER=	noresult@noresult.net
XCOMMENT=	SCSI/firewire harddrive spindown daemon
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
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
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (spindown-0.2a.tar.gz) = 7a26e5f532a4afa9e599e7973c5f80eb
XSHA256 (spindown-0.2a.tar.gz) =  
8720031437610f10bdf3da4ab7b7d07161639ac0896261881e94be1eeb0ff9d3
XSIZE (spindown-0.2a.tar.gz) = 7584
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@noresult.net)
XWWW: http://www.noresult.net/freebsd/spindown/
END-of-pkg-descr
exit
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2008-11-21 21:15:35 UTC
State Changed
From-To: feedback->closed

New port added. Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2008-11-21 21:16:03 UTC
miwi        2008-11-21 21:15:49 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/spindown    Makefile distinfo pkg-descr 
  Log:
  SCSI / firewire harddrive spindown daemon
  
  This is a small program for handling automated spinning down of
  SCSI harddrives. With SCSI devices it is not as common to spindown
  for power management purposes as for ATA however it might be required
  to spin down a disk contained in a firewire enclosure for instance.
  
  WWW: http://www.noresult.net/freebsd/spindown/
  
  PR:             ports/128581
  Submitted by:   Arjan van der Velde <noresult at xs4all.nl>
  
  Revision  Changes    Path
  1.1045    +1 -0      ports/sysutils/Makefile
  1.1       +24 -0     ports/sysutils/spindown/Makefile (new)
  1.1       +3 -0      ports/sysutils/spindown/distinfo (new)
  1.1       +8 -0      ports/sysutils/spindown/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"