From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 2 02:00:47 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 8F6D216A4CE for ; Thu, 2 Sep 2004 02:00:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EBAF43D1D for ; Thu, 2 Sep 2004 02:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8220lU8039658 for ; Thu, 2 Sep 2004 02:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8220lVe039657; Thu, 2 Sep 2004 02:00:47 GMT (envelope-from gnats) Resent-Date: Thu, 2 Sep 2004 02:00:47 GMT Resent-Message-Id: <200409020200.i8220lVe039657@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 BFC5A16A4F2 for ; Thu, 2 Sep 2004 01:55:37 +0000 (GMT) Received: from hexahedron.daemonology.net (S0106006067227a4a.vc.shawcable.net [24.87.233.42]) by mx1.FreeBSD.org (Postfix) with SMTP id DC91743D4C for ; Thu, 2 Sep 2004 01:55:18 +0000 (GMT) (envelope-from cperciva@hexahedron.daemonology.net) Received: (qmail 887 invoked by uid 1001); 2 Sep 2004 01:55:18 -0000 Message-Id: <20040902015518.886.qmail@hexahedron.daemonology.net> Date: 2 Sep 2004 01:55:18 -0000 From: Colin Percival To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71270: [NEW PORT] sysutils/estctrl 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: Thu, 02 Sep 2004 02:00:47 -0000 >Number: 71270 >Category: ports >Synopsis: [NEW PORT] sysutils/estctrl >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 02 02:00:47 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: Wed May 26 04:19:54 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: This port provides a daemon for adjusting the cpu frequency (using the Enhanced Speedstep module in sysutils/est) based on the current cpu load and power source. >How-To-Repeat: >Fix: --- estctrl.shar begins here --- # 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: # # sysutils/estctrl # sysutils/estctrl/files # sysutils/estctrl/files/estctrl.sh # sysutils/estctrl/Makefile # sysutils/estctrl/distinfo # sysutils/estctrl/pkg-descr # sysutils/estctrl/pkg-message # echo c - sysutils/estctrl mkdir -p sysutils/estctrl > /dev/null 2>&1 echo c - sysutils/estctrl/files mkdir -p sysutils/estctrl/files > /dev/null 2>&1 echo x - sysutils/estctrl/files/estctrl.sh sed 's/^X//' >sysutils/estctrl/files/estctrl.sh << 'END-of-sysutils/estctrl/files/estctrl.sh' X#!/bin/sh X# X# $FreeBSD$ X# X X# PROVIDE: estctrl X# REQUIRE: est X# KEYWORD: FreeBSD X X# Define estctrl_* variables in one of these files: X# /etc/rc.conf X# /etc/rc.conf.local X# /etc/rc.conf.d/est X# X# DO NOT CHANGE THESE DEFAULT VALUES HERE X# Xestctrl_enable="NO" Xestctrl_speed_ac="adaptive" Xestctrl_speed_battery="adaptive" X X. %%RC_SUBR%% X Xname="estctrl" Xrcvar=`set_rcvar` X Xload_rc_config $name X Xcommand="%%PREFIX%%/sbin/estctrl" Xcommand_args="-a ${estctrl_speed_ac} -b ${estctrl_speed_battery} &" X Xrun_rc_command "$1" END-of-sysutils/estctrl/files/estctrl.sh echo x - sysutils/estctrl/Makefile sed 's/^X//' >sysutils/estctrl/Makefile << 'END-of-sysutils/estctrl/Makefile' X# New ports collection makefile for: Enhanced SpeedStep control daemon X# Date created: 1 September 2004 X# Whom: cperciva@daemonology.net X# X# $FreeBSD$ X# X XPORTNAME= estctrl XPORTVERSION= 0.7 XCATEGORIES= sysutils XMASTER_SITES= http://www.daemonology.net/freebsd-est/ X XMAINTAINER= cperciva@daemonology.net XCOMMENT= Enhanced SpeedStep control daemon X XRUN_DEPENDS= ${PREFIX}/modules/est.ko:${PORTSDIR}/sysutils/est X XONLY_FOR_ARCHS= i386 X XUSE_RC_SUBR= yes XRC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} X XPLIST_FILES= sbin/estctrl \ X etc/rc.d/estctrl.sh X XMAKE_ENV= BINDIR=${PREFIX}/sbin X Xpost-extract: X ${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ X ${FILESDIR}/estctrl.sh > ${WRKDIR}/estctrl.sh X Xpost-install: X ${INSTALL_SCRIPT} ${WRKDIR}/estctrl.sh ${PREFIX}/etc/rc.d/estctrl.sh X ${CAT} ${PKGMESSAGE} X X.include END-of-sysutils/estctrl/Makefile echo x - sysutils/estctrl/distinfo sed 's/^X//' >sysutils/estctrl/distinfo << 'END-of-sysutils/estctrl/distinfo' XMD5 (estctrl-0.7.tar.gz) = 03dc1b69dd2ee37638eaba85d04655ba XSIZE (estctrl-0.7.tar.gz) = 2547 END-of-sysutils/estctrl/distinfo echo x - sysutils/estctrl/pkg-descr sed 's/^X//' >sysutils/estctrl/pkg-descr << 'END-of-sysutils/estctrl/pkg-descr' XThis is a daemon for controlling the CPU speed via Enhanced Speedstep on XIntel Pentium M processors based on the current cpu load and power source. X XWWW: http://www.daemonology.net/freebsd-est/ X X- Colin Percival Xcperciva@daemonology.net END-of-sysutils/estctrl/pkg-descr echo x - sysutils/estctrl/pkg-message sed 's/^X//' >sysutils/estctrl/pkg-message << 'END-of-sysutils/estctrl/pkg-message' XTo start the Enhanced Speedstep daemon at boot: X echo 'estctrl_enable="YES"' >> /etc/rc.conf X XTo run the processor at minimum or maximum frequency when on AC or Xbattery power, set the est_speed_ac or est_speed_battery variables Xto "min" or "max". X END-of-sysutils/estctrl/pkg-message exit --- estctrl.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: