Date: Wed, 5 Nov 2008 22:08:56 +0100 From: Bernhard Froehlich <decke@bluelife.at> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/128617: [NEW PORT] sysutils/cpupowerd: A CPU over- and undervolting daemon Message-ID: <20081105220856.1e51be84@chii.bluelife.at> Resent-Message-ID: <200811052110.mA5LA6sZ093789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128617 >Category: ports >Synopsis: [NEW PORT] sysutils/cpupowerd: A CPU over- and undervolting daemon >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 05 21:10:06 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Bernhard Fr__hlich >Release: FreeBSD 7.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD chii.bluelife.at 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Sat Oct 18 10:09:35 CEST 2008 >Description: A daemon which controls the frequency and voltage of CPUs. This userland program adjusts the frequency and voltage according to the CPUs load. Its capabilities include overvolting as well as undervolting. WWW: http://cpupowerd.sourceforge.net/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- cpupowerd-0.2.0.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: # # cpupowerd # cpupowerd/pkg-plist # cpupowerd/pkg-message # cpupowerd/pkg-descr # cpupowerd/distinfo # cpupowerd/Makefile # cpupowerd/files # cpupowerd/files/cpupowerd.in # echo c - cpupowerd mkdir -p cpupowerd > /dev/null 2>&1 echo x - cpupowerd/pkg-plist sed 's/^X//' >cpupowerd/pkg-plist << 'cac3a85f5dc7ad9dc9b2266798d9aaba' X@comment $FreeBSD$ Xsbin/cpupowerd X%%CREATELOAD%%bin/createload.sh X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/TODO X%%PORTDOCS%%@dirrm %%DOCSDIR%% cac3a85f5dc7ad9dc9b2266798d9aaba echo x - cpupowerd/pkg-message sed 's/^X//' >cpupowerd/pkg-message << '62df98ca9e4ae54e091898fb7b2da0f1' X============================================================================= X Xcpupowerd was installed. X XTo generate a safe dafault config for you cpu you can use the "-a" or X"--autoconfig" switch. X Xcpupowerd -a /usr/local/etc/cpupowerd.conf X XPlease follow the README to customize this values for your CPU but be Xcarefully because you can REALLY DAMAGE YOUR CPU with that! X XPlease, report any problems to maintainer. Thanks! X X============================================================================= 62df98ca9e4ae54e091898fb7b2da0f1 echo x - cpupowerd/pkg-descr sed 's/^X//' >cpupowerd/pkg-descr << 'c1b25771e88966b6988a23a5e79d32cd' XA daemon which controls the frequency and voltage of CPUs. X XThis userland program adjusts the frequency and voltage Xaccording to the CPUs load. Its capabilities include Xovervolting as well as undervolting. X XWWW: http://cpupowerd.sourceforge.net/ c1b25771e88966b6988a23a5e79d32cd echo x - cpupowerd/distinfo sed 's/^X//' >cpupowerd/distinfo << '985c0aff67774d3c7a7d49f689a58c83' XMD5 (cpupowerd-0.2.0.tar.gz) = 008eaf562f59c9d0fcf79de231948e4f XSHA256 (cpupowerd-0.2.0.tar.gz) = 86ad76e9611bd60ac6e9ee3a800ec72cc9d129b5b61750e07a9e015f89d1e849 XSIZE (cpupowerd-0.2.0.tar.gz) = 42794 985c0aff67774d3c7a7d49f689a58c83 echo x - cpupowerd/Makefile sed 's/^X//' >cpupowerd/Makefile << '29aea8387c8618c0e83e514cc1e54413' X# New ports collection makefile for: cpupowerd X# Date created: 2008-06-01 X# Whom: Bernhard Fr__hlich <decke@bluelife.at> X# X# $FreeBSD$ X# X XPORTNAME= cpupowerd XPORTVERSION= 0.2.0 XCATEGORIES= sysutils XMASTER_SITES= SF X XMAINTAINER= decke@bluelife.at XCOMMENT= A CPU over- and undervolting daemon X XUSE_RC_SUBR= cpupowerd XONLY_FOR_ARCHS= i386 amd64 XWRKSRC= ${WRKDIR}/${DISTNAME}/src XMAKE_ENV+= GROUP=wheel \ X RIGHTS=555 X XOPTIONS= CREATELOAD "Install createload.sh for stability testing" Off X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 800042 XBUILD_DEPENDS+= ${LOCALBASE}/include/cpu.h:${PORTSDIR}/sysutils/devcpu X.endif X X.if defined(WITH_CREATELOAD) XRUN_DEPENDS+= burnMMX:${PORTSDIR}/sysutils/cpuburn XPLIST_SUB+= CREATELOAD="" X.else XPLIST_SUB+= CREATELOAD="@comment " X.endif X Xpost-install: X.if defined(WITH_CREATELOAD) X ${INSTALL_SCRIPT} ${WRKSRC}/../tools/createload.sh ${PREFIX}/bin/createload.sh X.endif X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/../CHANGELOG ${DOCSDIR}/CHANGELOG X ${INSTALL_DATA} ${WRKSRC}/../COPYING ${DOCSDIR}/COPYING X ${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}/README X ${INSTALL_DATA} ${WRKSRC}/../TODO ${DOCSDIR}/TODO X.endif X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> 29aea8387c8618c0e83e514cc1e54413 echo c - cpupowerd/files mkdir -p cpupowerd/files > /dev/null 2>&1 echo x - cpupowerd/files/cpupowerd.in sed 's/^X//' >cpupowerd/files/cpupowerd.in << '4d7bef7b94e73476e4545fbdc0abef5f' X#!/bin/sh X X# PROVIDE: cpupowerd X# REQUIRE: DAEMON X# BEFORE: LOGIN X# KEYWORD: nojail X# X# Add the following line to /etc/rc.conf[.local] to enable cpupowerd X# X# cpupowerd_enable (bool): Set to "NO" by default. X# Set it to "YES" to enable cpupowerd. X# cpupowerd_config (str): Custom config file for cpupowerd. X# (default /usr/local/etc/cpupowerd.conf) X# cpupowerd_flags (str): Custom additional arguments to be passed X# to cpupowerd (default -d -c cpupowerd.conf). X# X X. %%RC_SUBR%% X Xname="cpupowerd" Xrcvar=`set_rcvar` Xcommand=%%PREFIX%%/sbin/${name} X Xload_rc_config $name X Xif [ ! -c "/dev/cpu0" -a ! -c "/dev/cpuctl0" ]; then X kldload cpu Xfi X X# set default X: ${cpupowerd_enable="NO"} X: ${cpupowerd_config="%%PREFIX%%/etc/cpupowerd.conf"} X: ${cpupowerd_flags=""} X Xcommand_args="-d -c ${cpupowerd_config} ${cpupowerd_flags}" X Xrun_rc_command "$1" 4d7bef7b94e73476e4545fbdc0abef5f exit --- cpupowerd-0.2.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081105220856.1e51be84>