diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-07-14 09:57:17 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-07-14 09:57:17 +0000 |
commit | 3a769677c995c526564e60d85c1c9f93d477807c (patch) | |
tree | ddce151dee6f5ae190a16366b9109f36981fbc58 /sys-power | |
parent | Punt old versions (diff) | |
download | gentoo-2-3a769677c995c526564e60d85c1c9f93d477807c.tar.gz gentoo-2-3a769677c995c526564e60d85c1c9f93d477807c.tar.bz2 gentoo-2-3a769677c995c526564e60d85c1c9f93d477807c.zip |
Version bump thanks to Brian S. Stephan <bssteph@incorporeal.org>, Armando Di Cianno <armando@goodship.net> and Christian Faulhammer <gentoo.bugs@faulhammer.org> in bug 135935
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powernowd/ChangeLog | 12 | ||||
-rw-r--r-- | sys-power/powernowd/files/digest-powernowd-0.97 | 3 | ||||
-rw-r--r-- | sys-power/powernowd/files/powernowd.confd | 26 | ||||
-rwxr-xr-x | sys-power/powernowd/files/powernowd.rc | 5 | ||||
-rw-r--r-- | sys-power/powernowd/powernowd-0.97.ebuild | 29 |
5 files changed, 65 insertions, 10 deletions
diff --git a/sys-power/powernowd/ChangeLog b/sys-power/powernowd/ChangeLog index 55b761373201..1330061f369e 100644 --- a/sys-power/powernowd/ChangeLog +++ b/sys-power/powernowd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-power/powernowd -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/ChangeLog,v 1.3 2005/06/26 06:13:25 vapier Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/ChangeLog,v 1.4 2006/07/14 09:57:17 genstef Exp $ + +*powernowd-0.97 (14 Jul 2006) + + 14 Jul 2006; Stefan Schweizer <genstef@gentoo.org> files/powernowd.confd, + files/powernowd.rc, +powernowd-0.97.ebuild: + Version bump thanks to Brian S. Stephan <bssteph@incorporeal.org>, Armando + Di Cianno <armando@goodship.net> and Christian Faulhammer + <gentoo.bugs@faulhammer.org> in bug 135935 *powernowd-0.96 (26 Jun 2005) diff --git a/sys-power/powernowd/files/digest-powernowd-0.97 b/sys-power/powernowd/files/digest-powernowd-0.97 new file mode 100644 index 000000000000..e2f13f2525d4 --- /dev/null +++ b/sys-power/powernowd/files/digest-powernowd-0.97 @@ -0,0 +1,3 @@ +MD5 cc6f567e30c3797c17593fdc707f8a67 powernowd-0.97.tar.gz 19818 +RMD160 bb3f43aa59dec5bb664e041d66acdbe89535b3a7 powernowd-0.97.tar.gz 19818 +SHA256 e0e1c56312dcd2c829fc7ec57def1c678e143cbb9b5245cc713d4a69cb51bcd6 powernowd-0.97.tar.gz 19818 diff --git a/sys-power/powernowd/files/powernowd.confd b/sys-power/powernowd/files/powernowd.confd index 851ed8b72aae..e374a59777bc 100644 --- a/sys-power/powernowd/files/powernowd.confd +++ b/sys-power/powernowd/files/powernowd.confd @@ -1,6 +1,24 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/files/powernowd.confd,v 1.1 2005/03/14 22:06:09 ciaranm Exp $ +#PowerNow Daemon v0.97, (c) 2003-2005 John Clemens +#Daemon to control the speed and voltage of cpus. +# +#This is a simple client to the CPUFreq driver, and uses +#linux kernel v2.5 sysfs interface. You need a supported +#cpu, and a kernel that supports sysfs to run this daemon. +# +#Available Options: +# -h Print this help message +# -d Don't detach from terminal (default is to +# detach and run in the background) +# -v Increase output verbosity, can be used more than once. +# -q Quiet mode, only emergency output. +# -n Include 'nice'd processes in calculations +# -m # Modes of operation, can be 0, 1, 2, or 3: +# 0 = SINE, 1 = AGGRESSIVE (default), +# 2 = PASSIVE, 3 = LEAPS +# -s # Frequency step in kHz (default = 100000) +# -p # Polling frequency in msecs (default = 1000) +# -c # Specify number of threads per power-managed core +# -u # CPU usage upper limit percentage [0 .. 100, default 80] +# -l # CPU usage lower limit percentage [0 .. 100, default 20] -# For more info see `powernowd -h` POWERNOWD_OPTS="" diff --git a/sys-power/powernowd/files/powernowd.rc b/sys-power/powernowd/files/powernowd.rc index bc0d215b4bea..58e6db93a6be 100755 --- a/sys-power/powernowd/files/powernowd.rc +++ b/sys-power/powernowd/files/powernowd.rc @@ -1,7 +1,4 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/files/powernowd.rc,v 1.1 2005/03/14 22:06:09 ciaranm Exp $ depend() { need localmount @@ -10,7 +7,7 @@ depend() { start() { ebegin "Starting powernowd" - /usr/sbin/powernowd -q ${POWERNOWD_OPTS} + /usr/sbin/powernowd -q ${POWERNOWD_OPTS} eend $? } diff --git a/sys-power/powernowd/powernowd-0.97.ebuild b/sys-power/powernowd/powernowd-0.97.ebuild new file mode 100644 index 000000000000..8310625ce363 --- /dev/null +++ b/sys-power/powernowd/powernowd-0.97.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/powernowd-0.97.ebuild,v 1.1 2006/07/14 09:57:17 genstef Exp $ + +DESCRIPTION="Daemon to control the speed and voltage of CPUs" +HOMEPAGE="http://www.deater.net/john/powernowd.html" +SRC_URI="http://www.deater.net/john/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + rm -f "${S}"/Makefile +} + +src_compile() { + emake powernowd || die "emake failed" +} + +src_install() { + dosbin powernowd || die + dodoc README + + newconfd "${FILESDIR}"/powernowd.confd powernowd + newinitd "${FILESDIR}"/powernowd.rc powernowd +} |