diff options
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/cpufreqd/ChangeLog | 82 | ||||
-rw-r--r-- | sys-power/cpufreqd/Manifest | 7 | ||||
-rw-r--r-- | sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild | 49 | ||||
-rw-r--r-- | sys-power/cpufreqd/cpufreqd-1.2.2.ebuild | 32 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch | 32 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/digest-cpufreqd-1.1.2-r1 | 1 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/digest-cpufreqd-1.2.2 | 1 | ||||
-rw-r--r-- | sys-power/cpufreqd/metadata.xml | 9 |
8 files changed, 213 insertions, 0 deletions
diff --git a/sys-power/cpufreqd/ChangeLog b/sys-power/cpufreqd/ChangeLog new file mode 100644 index 000000000000..963a8cc06ed8 --- /dev/null +++ b/sys-power/cpufreqd/ChangeLog @@ -0,0 +1,82 @@ +# ChangeLog for sys-apps/cpufreqd +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/ChangeLog,v 1.1 2005/03/14 22:48:38 ciaranm Exp $ + +*cpufreqd-1.2.2 (14 Mar 2005) +*cpufreqd-1.1.2-r1 (14 Mar 2005) + + 14 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> + +files/1.1.2-prefer-sysfs.patch, +metadata.xml, +cpufreqd-1.1.2-r1.ebuild, + +cpufreqd-1.2.2.ebuild: + Moved from sys-apps/cpufreqd to sys-power/cpufreqd. + + 02 Mar 2005; Henrik Brix Andersen <brix@gentoo.org> cpufreqd-1.2.2.ebuild: + Stable on x86. + +*cpufreqd-1.2.2 (29 Jan 2005) + + 29 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +cpufreqd-1.2.2.ebuild: + Version bump, fixing bug #61368. This version allows using percentages under + kernel 2.6.x. Transfering ownership to the mobile herd. + +*cpufreqd-1.1.2-r1 (27 Jul 2004) + + 27 Jul 2004; Mike Frysinger <vapier@gentoo.org> + +files/1.1.2-prefer-sysfs.patch, -cpufreqd-1.1.1.ebuild, + +cpufreqd-1.1.2-r1.ebuild, -cpufreqd-1.1.2.ebuild, -cpufreqd-1.1.ebuild: + Verison bump to fix init.d script bug #46959 et al, add patch to use sysfs + over procfs #43567 by Dennis Nienhüser, and add amd64 #58127 by James Couzens. + + 23 Jul 2004; Alexander Gabert <pappy@gentoo.org> cpufreqd-1.1.1.ebuild, + cpufreqd-1.1.2.ebuild, cpufreqd-1.1.ebuild: + changed logic for filtering/suppressing PIE building, thanks to solar + + 22 Jul 2004; Alexander Gabert <pappy@gentoo.org> cpufreqd-1.1.1.ebuild, + cpufreqd-1.1.2.ebuild, cpufreqd-1.1.ebuild: + library load errors and segfaults when built as automatic PIE, disabling PIE + support for all packages + +*cpufreqd-1.1.2 (20 Jul 2004) + + 20 Jul 2004; <solar@gentoo.org> cpufreqd-1.1.2.ebuild: + version bump and added logic to disable the building of PIE by default for + this package. Some code in it seems to use abolute memory locations + + 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> cpufreqd-1.1.1.ebuild, + cpufreqd-1.1.ebuild: + sync IUSE (missing), add sed-4 dep + +*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) + + 26 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Version bump #39483 by heiko hübscher. + +*cpufreqd-1.1_rc1-r1 (21 Nov 2003) + + 21 Nov 2003; Michael Imhof <tantive@gentoo.org> cpufreqd-1.1_rc1-r1.ebuild: + Had to correct the included init-script. Closes #33968. + +*cpufreqd-1.1_rc1 (19 Nov 2003) + + 19 Nov 2003; Michael Imhof <tantive@gentoo.org> cpufreqd-1.1_rc1.ebuild: + Version bumped. Closes #33793. + +*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) + + 02 Aug 2003; Michael Imhof <tantive@gentoo.org> cpufreqd-1.0.1.ebuild: + Version bumped. Should close #25665. + +*cpufreqd-1.0 (23 Jul 2003) + + 23 Jul 2003; Michael Imhof <tantive@gentoo.org> cpufreqd-1.0.ebuild : + Initial release. Taken from cpufreqd.sf.net. diff --git a/sys-power/cpufreqd/Manifest b/sys-power/cpufreqd/Manifest new file mode 100644 index 000000000000..eae282311379 --- /dev/null +++ b/sys-power/cpufreqd/Manifest @@ -0,0 +1,7 @@ +MD5 1b73edfbb3acdc214df196b96283cac6 cpufreqd-1.2.2.ebuild 767 +MD5 6c49d51a07631c499f8cee617b131b47 ChangeLog 2718 +MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 +MD5 cc6e6f72ccd258c507269d0549adaee1 cpufreqd-1.1.2-r1.ebuild 1241 +MD5 d80d3c22801187272f72a7de7fbd1bb1 files/digest-cpufreqd-1.1.2-r1 66 +MD5 67d3999fd7d01ffce53d07c879735c6e files/digest-cpufreqd-1.2.2 66 +MD5 1ecbd62bec29d7ef35701b3c71ffdc94 files/1.1.2-prefer-sysfs.patch 921 diff --git a/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild b/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild new file mode 100644 index 000000000000..d64144ad9454 --- /dev/null +++ b/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild,v 1.1 2005/03/14 22:48:38 ciaranm Exp $ + +inherit eutils flag-o-matic eutils + +DESCRIPTION="Daemon to adjust CPU speed for power saving" +HOMEPAGE="http://sourceforge.net/projects/cpufreqd/" +SRC_URI="mirror://sourceforge/cpufreqd/${P}.tar.gz" +DEPEND=">=sys-apps/sed-4" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64" +IUSE="" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-prefer-sysfs.patch +} + +src_compile() { + cd ${S} + + # cpufreqd segfaults when built as PIE + filter-flags "-fpie" "-fPIE" "-Wl,-pie" + + econf || die "econf failed for ${P}" +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README Authors TODO + + exeinto /etc/init.d + newexe ${S}/scripts/gentoo/cpufreqd cpufreqd +} + +pkg_postinst() { + echo + 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-power/cpufreqd/cpufreqd-1.2.2.ebuild b/sys-power/cpufreqd/cpufreqd-1.2.2.ebuild new file mode 100644 index 000000000000..9ce8bd70bed4 --- /dev/null +++ b/sys-power/cpufreqd/cpufreqd-1.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/cpufreqd-1.2.2.ebuild,v 1.1 2005/03/14 22:48:38 ciaranm Exp $ + +inherit flag-o-matic + +DESCRIPTION="Daemon to adjust CPU frequency for power saving" + +HOMEPAGE="http://cpufreqd.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~amd64" + +IUSE="" + +src_compile() { + # cpufreqd segfaults when built as PIE + filter-flags "-fpie" "-fPIE" "-Wl,-pie" + + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR=${D} install || die "emake install failed" + + doinitd scripts/gentoo/cpufreqd + + dodoc AUTHORS ChangeLog README TODO +} diff --git a/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch b/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch new file mode 100644 index 000000000000..0c715b89406b --- /dev/null +++ b/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch @@ -0,0 +1,32 @@ +--- cpufreqd-1.1.1/sys_check.c 2004-01-27 12:22:13.000000000 +0100 ++++ sys_check.c 2004-03-02 23:13:13.158613312 +0100 +@@ -40,14 +40,6 @@ + struct stat sb; + int rc; + +- /* try fisrt with the 2.4 series */ +- rc = stat(CPUFREQ_PROC_INTERFACE, &sb); +- if (rc == 0) { +- cp_log(LOG_DEBUG, "find_cpufreq_interface(): found %s interface.\n", CPUFREQ_PROC_INTERFACE); +- configuration->has_sysfs = 0; +- return 0; +- } +- + /* try with the 2.5 series */ + rc = stat(CPUFREQ_SYSFS_INTERFACE, &sb); + if (rc == 0) { +@@ -56,6 +48,14 @@ + return 0; + } + ++ /* try fisrt with the 2.4 series */ ++ rc = stat(CPUFREQ_PROC_INTERFACE, &sb); ++ if (rc == 0) { ++ cp_log(LOG_DEBUG, "find_cpufreq_interface(): found %s interface.\n", CPUFREQ_PROC_INTERFACE); ++ configuration->has_sysfs = 0; ++ return 0; ++ } ++ + cp_log(LOG_ERR, "find_cpufreq_interface(): no cpufreq interface found.\n"); + return -1; + diff --git a/sys-power/cpufreqd/files/digest-cpufreqd-1.1.2-r1 b/sys-power/cpufreqd/files/digest-cpufreqd-1.1.2-r1 new file mode 100644 index 000000000000..be0abf1f0108 --- /dev/null +++ b/sys-power/cpufreqd/files/digest-cpufreqd-1.1.2-r1 @@ -0,0 +1 @@ +MD5 d06dcf3e3b2f8eb25216431ec055aa4b cpufreqd-1.1.2.tar.gz 216245 diff --git a/sys-power/cpufreqd/files/digest-cpufreqd-1.2.2 b/sys-power/cpufreqd/files/digest-cpufreqd-1.2.2 new file mode 100644 index 000000000000..85a6708f9d4b --- /dev/null +++ b/sys-power/cpufreqd/files/digest-cpufreqd-1.2.2 @@ -0,0 +1 @@ +MD5 e26bd0a1566aae79398c92be155c0367 cpufreqd-1.2.2.tar.gz 330959 diff --git a/sys-power/cpufreqd/metadata.xml b/sys-power/cpufreqd/metadata.xml new file mode 100644 index 000000000000..cfbdff13bd61 --- /dev/null +++ b/sys-power/cpufreqd/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile</herd> +<maintainer> + <email>brix@gentoo.org</email> + <name>Henrik Brix Andersen</name> +</maintainer> +</pkgmetadata> |