Date: Tue, 2 Nov 2010 20:58:17 +0000 From: Bruce Cran <bruce@cran.org.uk> To: freebsd-ports-bugs@freebsd.org Cc: freebsd-gnats-submit@freebsd.org, Bruce Cran <brucec@freebsd.org> Subject: Re: ports/151902: sysutils/ataidle: update to 2.5 Message-ID: <201011022058.17273.bruce@cran.org.uk> In-Reply-To: <201011022043.oA2Khxnk064193@www.freebsd.org> References: <201011022043.oA2Khxnk064193@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_ptH0MqPevdnbivd Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Tuesday 02 November 2010 20:43:59 Bruce Cran wrote: > Update ataidle to 2.5. The previous patch broke installation due to the removal of the rc script from the files subdirectory. Please us the attached patch instead (it can also be found at http://www.cran.org.uk/~brucec/freebsd/ataidle.diff.txt in case GNATS mangles it). Only pkg-message should be removed. -- Bruce Cran --Boundary-00=_ptH0MqPevdnbivd Content-Type: text/plain; charset="ISO-8859-1"; name="ataidle.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ataidle.diff.txt" diff -r -U3 /usr/ports/sysutils/ataidle/Makefile ataidle_2.5/Makefile --- /usr/ports/sysutils/ataidle/Makefile 2009-01-06 17:59:22.000000000 +0000 +++ ataidle_2.5/Makefile 2010-11-02 20:31:24.000000000 +0000 @@ -6,7 +6,7 @@ # PORTNAME= ataidle -PORTVERSION= 2.4 +PORTVERSION= 2.5 CATEGORIES= sysutils MASTER_SITES= http://www.cran.org.uk/bruce/software/ @@ -26,7 +26,4 @@ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -post-install: - @${CAT} ${PKGMESSAGE} - .include <bsd.port.mk> diff -r -U3 /usr/ports/sysutils/ataidle/distinfo ataidle_2.5/distinfo --- /usr/ports/sysutils/ataidle/distinfo 2008-09-02 09:09:19.000000000 +0100 +++ ataidle_2.5/distinfo 2010-11-02 20:31:03.000000000 +0000 @@ -1,3 +1,2 @@ -MD5 (ataidle-2.4.tar.gz) = 3ee04fd939d134c8ab0e72b8848722d4 -SHA256 (ataidle-2.4.tar.gz) = 58c651eeea1fd9053fefcca5ebef53ddb4af7ad72f68873ca012d033e71fef48 -SIZE (ataidle-2.4.tar.gz) = 11863 +SHA256 (ataidle-2.5.tar.gz) = 7d1803687041a97b26f1a2a5724813e0dd238c2b2594f52be76623822bca447a +SIZE (ataidle-2.5.tar.gz) = 18985 diff -r -U3 /usr/ports/sysutils/ataidle/files/ataidle.in ataidle_2.5/files/ataidle.in --- /usr/ports/sysutils/ataidle/files/ataidle.in 2010-03-27 00:14:52.000000000 +0000 +++ ataidle_2.5/files/ataidle.in 2010-11-02 20:51:27.000000000 +0000 @@ -9,18 +9,15 @@ # ataidle_enable (bool): set to NO by default. # Set to YES to enable ataidle. # ataidle_devices: list of devices on which to run ataidle -# ataidle_adX: parameters to pass to ataidle(8) +# ataidle_adaX: parameters to pass to ataidle(8) # Example: -# Put the disks ad0, ad1 and ad2 into Idle mode after 60 -# minutes and Standby mode after 120 minutes. Also, set the -# AAM and APM values to their maximum so the drives run at -# their maximum performance. +# Put the disks ada0, ada1 and ada2 into Standby mode after 60 minutes: # -# ataidle_devices="ad0 ad1 ad2" -# ataidle_ad0="-I 60 -S 120 -A 127 -P 254" -# ataidle_ad1="-I 60 -S 120 -A 127 -P 254" -# ataidle_ad2="-I 60 -S 120 -A 127 -P 254" +# ataidle_devices="ada0 ada1 ada2" +# ataidle_ada0="-S 60" +# ataidle_ada1="-S 60" +# ataidle_ada2="-S 60" # . /etc/rc.subr @@ -28,8 +25,8 @@ name="ataidle" rcvar=${name}_enable -command="%%PREFIX%%/sbin/${name}" -start_cmd="ataidle_start" +command=%%PREFIX%%/sbin/${name} +start_cmd=ataidle_start load_rc_config $name @@ -45,7 +42,7 @@ if [ -n "${ataidle_devices}" ]; then for i in ${ataidle_devices}; do eval ataidle_args=\$ataidle_${i} - echo "ATAidle: configuring device /dev/${i}" + echo "ataidle: configuring device /dev/${i}" ${command} ${ataidle_args} /dev/${i} done fi diff -r -U3 /usr/ports/sysutils/ataidle/pkg-descr ataidle_2.5/pkg-descr --- /usr/ports/sysutils/ataidle/pkg-descr 2005-01-13 22:25:08.000000000 +0000 +++ ataidle_2.5/pkg-descr 2010-11-02 20:29:42.000000000 +0000 @@ -1,6 +1,6 @@ ATAidle is a utility to set the power management features -of ata hard drives. This includes idle and standby timeouts, -APM and acoustic level settings, and it can show details about +of ata hard drives. This includes standby timeouts, power (APM) +and acoustic (AAM) level settings, and it can show details about the installed devices. Author: Bruce Cran <bruce@cran.org.uk> Only in /usr/ports/sysutils/ataidle: pkg-message --Boundary-00=_ptH0MqPevdnbivd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011022058.17273.bruce>