From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 2 20:58:20 2010 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A8EA1065670; Tue, 2 Nov 2010 20:58:20 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 94D548FC13; Tue, 2 Nov 2010 20:58:19 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id ED281E7209; Tue, 2 Nov 2010 20:58:18 +0000 (GMT) Received: from core.nessbank (client-81-107-141-216.midd.adsl.virginmedia.com [81.107.141.216]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Tue, 2 Nov 2010 20:58:18 +0000 (GMT) From: Bruce Cran To: freebsd-ports-bugs@freebsd.org Date: Tue, 2 Nov 2010 20:58:17 +0000 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.5.2; amd64; ; ) References: <201011022043.oA2Khxnk064193@www.freebsd.org> In-Reply-To: <201011022043.oA2Khxnk064193@www.freebsd.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_ptH0MqPevdnbivd" Message-Id: <201011022058.17273.bruce@cran.org.uk> Cc: freebsd-gnats-submit@freebsd.org, Bruce Cran Subject: Re: ports/151902: sysutils/ataidle: update to 2.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 20:58:20 -0000 --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 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 Only in /usr/ports/sysutils/ataidle: pkg-message --Boundary-00=_ptH0MqPevdnbivd--