summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-14 22:06:09 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-14 22:06:09 +0000
commit534c57236d0f52db7c2010eab0c934d5965becd0 (patch)
treeecf7cc59ddf235a89bc37503cb42ed316fc7bdb2 /sys-power
parentFixed bug #82628. Removed older versions to favor a better 1.5.9. Because o... (diff)
downloadhistorical-534c57236d0f52db7c2010eab0c934d5965becd0.tar.gz
historical-534c57236d0f52db7c2010eab0c934d5965becd0.tar.bz2
historical-534c57236d0f52db7c2010eab0c934d5965becd0.zip
Moved from sys-apps/powernowd to sys-power/powernowd.
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powernowd/ChangeLog23
-rw-r--r--sys-power/powernowd/Manifest6
-rw-r--r--sys-power/powernowd/files/digest-powernowd-0.901
-rw-r--r--sys-power/powernowd/files/powernowd.confd6
-rwxr-xr-xsys-power/powernowd/files/powernowd.rc21
-rw-r--r--sys-power/powernowd/metadata.xml5
-rw-r--r--sys-power/powernowd/powernowd-0.90.ebuild37
7 files changed, 99 insertions, 0 deletions
diff --git a/sys-power/powernowd/ChangeLog b/sys-power/powernowd/ChangeLog
new file mode 100644
index 000000000000..c2336017410b
--- /dev/null
+++ b/sys-power/powernowd/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for sys-apps/powernowd
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/ChangeLog,v 1.1 2005/03/14 22:06:09 ciaranm Exp $
+
+*powernowd-0.90 (14 Mar 2005)
+
+ 14 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +files/powernowd.confd,
+ +files/powernowd.rc, +metadata.xml, +powernowd-0.90.ebuild:
+ Moved from sys-apps/powernowd to sys-power/powernowd.
+
+ 17 May 2004; David Holm <dholm@gentoo.org> powernowd-0.90.ebuild:
+ Stable on ~ppc.
+
+ 09 May 2004; David Holm <dholm@gentoo.org> powernowd-0.90.ebuild:
+ Added to ~ppc.
+
+ 21 Apr 2004; Travis Tilley <lv@gentoo.org> powernowd-0.90.ebuild:
+ added ~amd64 keyword
+
+*powernowd-0.90 (05 Apr 2004)
+
+ 05 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Kai Groner #43390.
diff --git a/sys-power/powernowd/Manifest b/sys-power/powernowd/Manifest
new file mode 100644
index 000000000000..837d35ff1171
--- /dev/null
+++ b/sys-power/powernowd/Manifest
@@ -0,0 +1,6 @@
+MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
+MD5 b37d71cdb57b6acc47dfafd9907a7082 ChangeLog 617
+MD5 c8fecdfe675d6743cb93aa6385739f16 powernowd-0.90.ebuild 925
+MD5 d40f461cccd3d7b56d395fc6cca0a5b3 files/digest-powernowd-0.90 69
+MD5 77728341ddaaf37d218efa900e8782de files/powernowd.rc 478
+MD5 599114a307cac2652bb7c6d83cd9d442 files/powernowd.confd 278
diff --git a/sys-power/powernowd/files/digest-powernowd-0.90 b/sys-power/powernowd/files/digest-powernowd-0.90
new file mode 100644
index 000000000000..da9a6538a26b
--- /dev/null
+++ b/sys-power/powernowd/files/digest-powernowd-0.90
@@ -0,0 +1 @@
+MD5 7631c0fb0218ba26428df62a47259819 powernowd-0.90hun6.tar.gz 27251
diff --git a/sys-power/powernowd/files/powernowd.confd b/sys-power/powernowd/files/powernowd.confd
new file mode 100644
index 000000000000..851ed8b72aae
--- /dev/null
+++ b/sys-power/powernowd/files/powernowd.confd
@@ -0,0 +1,6 @@
+# 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 $
+
+# For more info see `powernowd -h`
+POWERNOWD_OPTS=""
diff --git a/sys-power/powernowd/files/powernowd.rc b/sys-power/powernowd/files/powernowd.rc
new file mode 100755
index 000000000000..bc0d215b4bea
--- /dev/null
+++ b/sys-power/powernowd/files/powernowd.rc
@@ -0,0 +1,21 @@
+#!/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
+ use logger
+}
+
+start() {
+ ebegin "Starting powernowd"
+ /usr/sbin/powernowd -q ${POWERNOWD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping powernowd"
+ start-stop-daemon --stop --exec /usr/sbin/powernowd
+ eend $?
+}
diff --git a/sys-power/powernowd/metadata.xml b/sys-power/powernowd/metadata.xml
new file mode 100644
index 000000000000..b27ff8eb4ed6
--- /dev/null
+++ b/sys-power/powernowd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+</pkgmetadata>
diff --git a/sys-power/powernowd/powernowd-0.90.ebuild b/sys-power/powernowd/powernowd-0.90.ebuild
new file mode 100644
index 000000000000..be500d7a7940
--- /dev/null
+++ b/sys-power/powernowd/powernowd-0.90.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/powernowd-0.90.ebuild,v 1.1 2005/03/14 22:06:09 ciaranm Exp $
+
+EV=hun6
+DESCRIPTION="Daemon to control the speed and voltage of CPUs"
+HOMEPAGE="http://www.deater.net/john/powernowd.html http://n-dimensional.de/projects/cpufreq/"
+SRC_URI="http://n-dimensional.de/projects/cpufreq/${P}${EV}.tar.gz"
+#http://www.deater.net/john/${P}.tar.gz
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ppc"
+IUSE=""
+
+S="${WORKDIR}/${P}${EV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dosbin powernowd || die
+ doman debian/powernowd.1
+ dodoc README
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/powernowd.confd powernowd
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/powernowd.rc powernowd
+}