summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/cpufreqd/ChangeLog7
-rw-r--r--sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild (renamed from sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild)31
-rw-r--r--sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r11
-rw-r--r--sys-apps/cpufreqd/files/digest-cpufreqd-1.1.11
-rw-r--r--sys-apps/cpufreqd/files/sysfs.diff11
5 files changed, 21 insertions, 30 deletions
diff --git a/sys-apps/cpufreqd/ChangeLog b/sys-apps/cpufreqd/ChangeLog
index e9ab26fc6cd7..9855f1d16f47 100644
--- a/sys-apps/cpufreqd/ChangeLog
+++ b/sys-apps/cpufreqd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/cpufreqd
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/ChangeLog,v 1.8 2004/01/27 03:32:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/ChangeLog,v 1.9 2004/02/08 19:09:07 vapier Exp $
+
+*cpufreqd-1.1.1 (08 Feb 2004)
+
+ 08 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #40823 by plasmagunman.
*cpufreqd-1.1 (26 Jan 2004)
diff --git a/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild b/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild
index c00a0c6ea66e..4805b16820bd 100644
--- a/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild
+++ b/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild
@@ -1,23 +1,21 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild,v 1.2 2004/01/05 08:55:29 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild,v 1.1 2004/02/08 19:09:07 vapier Exp $
-DESCRIPTION="Daemon to adjust CPU speed for kernel using the cpufreq patch."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+inherit eutils
+
+DESCRIPTION="Daemon to adjust CPU speed for power saving"
HOMEPAGE="http://sourceforge.net/projects/cpufreqd/"
-KEYWORDS="x86"
-LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/cpufreqd/${P}.tar.gz"
+
+LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="~x86 ~ppc"
-src_compile() {
- epatch ${FILESDIR}/sysfs.diff || die
- ./configure \
- --host=${CHOST} \
- --prefix=/ \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --sysconfdir=/etc
- make || die "compile of cpufreqd failed"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i '/^DAEMON=/s:/sbin/:/usr/sbin/:' scripts/gentoo/cpufreqd
}
src_install() {
@@ -27,15 +25,14 @@ src_install() {
exeinto /etc/init.d
newexe ${S}/scripts/gentoo/cpufreqd cpufreqd
}
-pkg_postinst() {
+pkg_postinst() {
echo
- einfo "A default config file is copied to /etc/cpufreqd.conf"
+ einfo "A default config file has been copied to /etc/cpufreqd.conf"
echo
einfo "CPUFreqd does not support using percentage frequencies on"
einfo "2.6 kernels where sysfs is used instead - please manually"
einfo "edit the config file to use an absolute value instead, if"
einfo "you are using a 2.6 series kernel."
echo
-
}
diff --git a/sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1 b/sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1
deleted file mode 100644
index 823cbe01ce8c..000000000000
--- a/sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 954b8c4f9b825e1ed8401849ed9efadc cpufreqd-1.0.1.tar.gz 196745
diff --git a/sys-apps/cpufreqd/files/digest-cpufreqd-1.1.1 b/sys-apps/cpufreqd/files/digest-cpufreqd-1.1.1
new file mode 100644
index 000000000000..72b63563f96e
--- /dev/null
+++ b/sys-apps/cpufreqd/files/digest-cpufreqd-1.1.1
@@ -0,0 +1 @@
+MD5 e95631963743b6ba8aa442cac502cbbd cpufreqd-1.1.1.tar.gz 216165
diff --git a/sys-apps/cpufreqd/files/sysfs.diff b/sys-apps/cpufreqd/files/sysfs.diff
deleted file mode 100644
index ac4e7a7a8266..000000000000
--- a/sys-apps/cpufreqd/files/sysfs.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- cpufreqd-1.0.1/scripts/gentoo/cpufreqd.original 2003-10-06 18:33:04.906986952 +0200
-+++ cpufreqd-1.0.1/scripts/gentoo/cpufreqd 2003-10-06 18:34:06.010697776 +0200
-@@ -11,7 +11,7 @@
- }
-
- checkconfig() {
-- if [ ! -e /proc/cpufreq ] ; then
-+ if [ ! -e /proc/cpufreq -a ! -e /sys/devices/system/cpu/cpu0/cpufreq ] ; then
-
- eerror "CPUFreq support has not been compiled into the kernel"
- return 1