From nobody@FreeBSD.org  Tue Nov  2 20:43:59 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E03D1065679
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Nov 2010 20:43:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 7336E8FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Nov 2010 20:43:59 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oA2KhxnP064194
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Nov 2010 20:43:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id oA2Khxnk064193;
	Tue, 2 Nov 2010 20:43:59 GMT
	(envelope-from nobody)
Message-Id: <201011022043.oA2Khxnk064193@www.freebsd.org>
Date: Tue, 2 Nov 2010 20:43:59 GMT
From: Bruce Cran <brucec@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysutils/ataidle: update to 2.5
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: bruce@cran.org.uk

>Number:         151902
>Category:       ports
>Synopsis:       sysutils/ataidle: update to 2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brucec
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 02 20:50:12 UTC 2010
>Closed-Date:    Wed Nov 03 16:11:51 UTC 2010
>Last-Modified:  Wed Nov 03 16:11:51 UTC 2010
>Originator:     Bruce Cran
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD core.nessbank 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r214509: Fri Oct 29 13:26:38 BST 2010     brucec@core.nessbank:/usr/obj/usr/src/head/sys/CORE  amd64
>Description:
Update ataidle to 2.5.

This release adds support for disks using ahci(4) and ATA_CAM.
>How-To-Repeat:

>Fix:
Apply the patch.
Please remove the files subdirectory and pkg-message.

Patch attached with submission follows:

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
Only in /usr/ports/sysutils/ataidle: files
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


>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Tue Nov 2 20:50:18 UTC 2010 
Class-Changed-Why:  
Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151902 
Responsible-Changed-From-To: freebsd-ports-bugs->brucec 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Nov 2 20:50:23 UTC 2010 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151902 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 2 20:50:27 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151902 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: bruce@cran.org.uk
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/151902: sysutils/ataidle: update to 2.5
Date: Tue, 2 Nov 2010 20:50:25 UT

 Maintainer of sysutils/ataidle,
 
 Please note that PR ports/151902 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151902
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Bruce Cran <bruce@cran.org.uk>
To: freebsd-ports-bugs@freebsd.org
Cc: Bruce Cran <brucec@freebsd.org>,
 freebsd-gnats-submit@freebsd.org
Subject: Re: ports/151902: sysutils/ataidle: update to 2.5
Date: Tue, 2 Nov 2010 20:58:17 +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 <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--

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@freebsd.org,
 brucec@freebsd.org
Cc:  
Subject: Re: ports/151902: sysutils/ataidle: update to 2.5
Date: Tue, 2 Nov 2010 21:00:55 +0000

 Please commit the update to ataidle.
 
 -- 
 Bruce

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/151902: commit references a PR
Date: Wed,  3 Nov 2010 15:53:49 +0000 (UTC)

 brucec      2010-11-03 15:53:44 UTC
 
   FreeBSD ports repository (src committer)
 
   Modified files:
     sysutils/ataidle     Makefile distinfo pkg-descr 
     sysutils/ataidle/files ataidle.in 
   Removed files:
     sysutils/ataidle     pkg-message 
   Log:
   Update to 2.5.
   
   PR:             ports/151902
   Submitted by:   brucec
   
   Revision  Changes    Path
   1.15      +1 -4      ports/sysutils/ataidle/Makefile
   1.10      +2 -3      ports/sysutils/ataidle/distinfo
   1.7       +9 -12     ports/sysutils/ataidle/files/ataidle.in
   1.4       +2 -2      ports/sysutils/ataidle/pkg-descr
   1.2       +0 -14     ports/sysutils/ataidle/pkg-message (dead)
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed  
State-Changed-By: brucec 
State-Changed-When: Wed Nov 3 16:11:26 UTC 2010 
State-Changed-Why:  
Update has been committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151902 
>Unformatted:
