diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-10-06 22:26:57 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-10-06 22:26:57 +0000 |
commit | ced98b597e588d6d7b321fdccbaa4648d4528ac8 (patch) | |
tree | 8121001a5843fc2cf530e79dfb8debe24cb7c8db /sys-apps/cpufreqd | |
parent | Version bumped. Should close #25665. (diff) | |
download | gentoo-2-ced98b597e588d6d7b321fdccbaa4648d4528ac8.tar.gz gentoo-2-ced98b597e588d6d7b321fdccbaa4648d4528ac8.tar.bz2 gentoo-2-ced98b597e588d6d7b321fdccbaa4648d4528ac8.zip |
Version bumped. Should close #25665.
Diffstat (limited to 'sys-apps/cpufreqd')
-rw-r--r-- | sys-apps/cpufreqd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/cpufreqd/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild | 32 | ||||
-rw-r--r-- | sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1 | 1 | ||||
-rw-r--r-- | sys-apps/cpufreqd/files/sysfs.diff | 11 |
5 files changed, 53 insertions, 3 deletions
diff --git a/sys-apps/cpufreqd/ChangeLog b/sys-apps/cpufreqd/ChangeLog index 674d2cc57b2d..755e12d5cd0e 100644 --- a/sys-apps/cpufreqd/ChangeLog +++ b/sys-apps/cpufreqd/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2003/08/01 23:32:05 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/ChangeLog,v 1.5 2003/10/06 22:26:48 tantive Exp $ + + +*cpufreqd-1.0.1-r1 (07 Oct 2003) + + 02 Aug 2003; Michael Imhof <tantive@gentoo.org> cpufreqd-1.0.1-r1.ebuild: + Version bumped. Should close #25665. *cpufreqd-1.0.1 (02 Aug 2003) diff --git a/sys-apps/cpufreqd/Manifest b/sys-apps/cpufreqd/Manifest index 41fca20d8164..0913b6fc7aaf 100644 --- a/sys-apps/cpufreqd/Manifest +++ b/sys-apps/cpufreqd/Manifest @@ -1,7 +1,7 @@ MD5 b3bdb5c51c0d63dc4eb017fed17697ff cpufreqd-1.0.ebuild 868 -MD5 81ffc58c7545c1648305f1df727c6895 ChangeLog 509 +MD5 b917561bdee45f56eb32fa501f923284 ChangeLog 660 MD5 efb5d6b77b31eb9863bfebd816453138 cpufreqd-1.0.1.ebuild 870 -MD5 3d408991f66e9b7b8ce858e30e970b54 cpufreqd-1.0.1-r1.ebuild 909 +MD5 33c3e248d1ab83a99fc4e21b55b789ac cpufreqd-1.0.1-r1.ebuild 912 MD5 38564e062a23f984a5b70fee3c2f27c3 files/digest-cpufreqd-1.0 64 MD5 ff050e12cd3641d6e967eeb8fd472865 files/digest-cpufreqd-1.0.1 66 MD5 823074606ab9025af1210226fd2a626a files/sysfs.diff 403 diff --git a/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild b/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild new file mode 100644 index 000000000000..850e3c672175 --- /dev/null +++ b/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2003 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.1 2003/10/06 22:26:48 tantive Exp $ + +DESCRIPTION="Daemon to adjust cpu speed for kernel using the cpufreq patch." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/cpufreqd/" +KEYWORDS="x86" +LICENSE="GPL-1" +SLOT="0" + +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_install() { + make DESTDIR=${D} install || die + dodoc README Authors TODO + + exeinto /etc/init.d + newexe ${S}/scripts/gentoo/cpufreqd cpufreqd +} +pkg_postinst() { + einfo "A default config file is copied to /etc/cpufreqd.conf" +} diff --git a/sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1 b/sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1 new file mode 100644 index 000000000000..823cbe01ce8c --- /dev/null +++ b/sys-apps/cpufreqd/files/digest-cpufreqd-1.0.1-r1 @@ -0,0 +1 @@ +MD5 954b8c4f9b825e1ed8401849ed9efadc cpufreqd-1.0.1.tar.gz 196745 diff --git a/sys-apps/cpufreqd/files/sysfs.diff b/sys-apps/cpufreqd/files/sysfs.diff new file mode 100644 index 000000000000..ac4e7a7a8266 --- /dev/null +++ b/sys-apps/cpufreqd/files/sysfs.diff @@ -0,0 +1,11 @@ +--- 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 |