From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 7 01:10:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF58416A4D8 for ; Tue, 7 Dec 2004 01:10:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A04C943D5C for ; Tue, 7 Dec 2004 01:10:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB71AOsJ036188 for ; Tue, 7 Dec 2004 01:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB71AOks036187; Tue, 7 Dec 2004 01:10:24 GMT (envelope-from gnats) Resent-Date: Tue, 7 Dec 2004 01:10:24 GMT Resent-Message-Id: <200412070110.iB71AOks036187@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Colin Percival Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB7C916A4CE for ; Tue, 7 Dec 2004 01:03:48 +0000 (GMT) Received: from hexahedron.daemonology.net (S0106006067227a4a.vc.shawcable.net [24.87.233.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 57D9643D1F for ; Tue, 7 Dec 2004 01:03:47 +0000 (GMT) (envelope-from cperciva@hexahedron.daemonology.net) Received: (qmail 12479 invoked by uid 1001); 7 Dec 2004 01:03:44 -0000 Message-Id: <20041207010344.12478.qmail@hexahedron.daemonology.net> Date: 7 Dec 2004 01:03:44 -0000 From: Colin Percival To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/74795: [MAINTAINER UPDATE] sysutils/estctrl 0.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Colin Percival List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 01:10:24 -0000 >Number: 74795 >Category: ports >Synopsis: [MAINTAINER UPDATE] sysutils/estctrl 0.8 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Dec 07 01:10:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 5.2.1-SECURITY i386 >Organization: >Environment: System: FreeBSD hexahedron.daemonology.net 5.2.1-SECURITY FreeBSD 5.2.1-SECURITY #0: Tue Sep 28 17:27:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: >Fix: Update sysutils/estctrl to version 0.8. This adds support for using APM to determine the power status[1] and a default behaviour if the power status cannot be determined[2]. [1] Submitted by Casey Ransom [2] Submitted by Guido Berhoerster Note to committer: files/estctrl.c.diff.fbsd4 no longer exists after this patch. --- estctrl.diff begins here --- diff -ruN sysutils/estctrl/Makefile sysutils/estctrl.new/Makefile --- sysutils/estctrl/Makefile Tue Oct 12 10:48:58 2004 +++ sysutils/estctrl.new/Makefile Thu Nov 11 23:39:32 2004 @@ -6,8 +6,7 @@ # PORTNAME= estctrl -PORTVERSION= 0.7 -PORTREVISION= 1 +PORTVERSION= 0.8 CATEGORIES= sysutils MASTER_SITES= http://www.daemonology.net/freebsd-est/ @@ -26,12 +25,6 @@ MAKE_ENV= BINDIR=${PREFIX}/sbin -.include - -.if ${OSVERSION} < 500101 -EXTRA_PATCHES= ${FILESDIR}/estctrl.c.diff.fbsd4 -.endif - post-extract: ${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${FILESDIR}/estctrl.sh > ${WRKDIR}/estctrl.sh @@ -40,4 +33,4 @@ ${INSTALL_SCRIPT} ${WRKDIR}/estctrl.sh ${PREFIX}/etc/rc.d/estctrl.sh ${CAT} ${PKGMESSAGE} -.include +.include diff -ruN sysutils/estctrl/distinfo sysutils/estctrl.new/distinfo --- sysutils/estctrl/distinfo Wed Sep 1 21:16:40 2004 +++ sysutils/estctrl.new/distinfo Mon Dec 6 16:25:01 2004 @@ -1,2 +1,2 @@ -MD5 (estctrl-0.7.tar.gz) = 03dc1b69dd2ee37638eaba85d04655ba -SIZE (estctrl-0.7.tar.gz) = 2547 +MD5 (estctrl-0.8.tar.gz) = e177322556aa0a2302d8f3294947c71f +SIZE (estctrl-0.8.tar.gz) = 2994 diff -ruN sysutils/estctrl/files/estctrl.c.diff.fbsd4 sysutils/estctrl.new/files/estctrl.c.diff.fbsd4 --- sysutils/estctrl/files/estctrl.c.diff.fbsd4 Tue Oct 12 10:48:58 2004 +++ sysutils/estctrl.new/files/estctrl.c.diff.fbsd4 Wed Dec 31 16:00:00 1969 @@ -1,11 +0,0 @@ ---- estctrl.c.orig Tue Oct 12 17:46:13 2004 -+++ estctrl.c Tue Oct 12 17:46:21 2004 -@@ -28,7 +28,7 @@ - */ - - #include --#include -+#include - #include - - #include diff -ruN sysutils/estctrl/files/estctrl.sh sysutils/estctrl.new/files/estctrl.sh --- sysutils/estctrl/files/estctrl.sh Wed Sep 1 21:16:40 2004 +++ sysutils/estctrl.new/files/estctrl.sh Mon Dec 6 16:26:24 2004 @@ -17,6 +17,7 @@ estctrl_enable="NO" estctrl_speed_ac="adaptive" estctrl_speed_battery="adaptive" +estctrl_speed_default="adaptive" . %%RC_SUBR%% @@ -26,6 +27,9 @@ load_rc_config $name command="%%PREFIX%%/sbin/estctrl" -command_args="-a ${estctrl_speed_ac} -b ${estctrl_speed_battery} &" +command_args="-a ${estctrl_speed_ac}" +command_args="${command_args} -b ${estctrl_speed_battery}" +command_args="${command_args} -d ${estctrl_speed_default}" +command_args="${command_args &" run_rc_command "$1" --- estctrl.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: