summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-08-26 10:18:20 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-08-26 10:18:20 +0000
commit5117d26cce8bc311a7636de8f4ac6dde4b1408ed (patch)
treed75a0fad8f3f5eb03cd2090f7324823c17fc7d9e /sys-power
parentVersion bump - does no longer need unsermake, depends on arts if arts in USE (diff)
downloadgentoo-2-5117d26cce8bc311a7636de8f4ac6dde4b1408ed.tar.gz
gentoo-2-5117d26cce8bc311a7636de8f4ac6dde4b1408ed.tar.bz2
gentoo-2-5117d26cce8bc311a7636de8f4ac6dde4b1408ed.zip
Pruned old versions.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/cpufreqd/ChangeLog7
-rw-r--r--sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild49
-rw-r--r--sys-power/cpufreqd/cpufreqd-1.2.2-r1.ebuild38
-rw-r--r--sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch32
-rw-r--r--sys-power/cpufreqd/files/cpufreqd-1.2.2-memleaks.patch28
-rw-r--r--sys-power/cpufreqd/files/digest-cpufreqd-1.1.2-r11
-rw-r--r--sys-power/cpufreqd/files/digest-cpufreqd-1.2.2-r11
7 files changed, 6 insertions, 150 deletions
diff --git a/sys-power/cpufreqd/ChangeLog b/sys-power/cpufreqd/ChangeLog
index 73e6d9cfd000..333fcaf2b023 100644
--- a/sys-power/cpufreqd/ChangeLog
+++ b/sys-power/cpufreqd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/cpufreqd
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/ChangeLog,v 1.8 2005/07/01 22:19:27 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/ChangeLog,v 1.9 2005/08/26 10:14:06 brix Exp $
+
+ 26 Aug 2005; Henrik Brix Andersen <brix@gentoo.org>
+ -files/1.1.2-prefer-sysfs.patch, -files/cpufreqd-1.2.2-memleaks.patch,
+ -cpufreqd-1.1.2-r1.ebuild, -cpufreqd-1.2.2-r1.ebuild:
+ Pruned old versions.
01 Jul 2005; Joseph Jezak <josejx@gentoo.org> cpufreqd-1.2.3.ebuild:
Marked ppc stable.
diff --git a/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild b/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild
deleted file mode 100644
index d64144ad9454..000000000000
--- a/sys-power/cpufreqd/cpufreqd-1.1.2-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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-r1.ebuild b/sys-power/cpufreqd/cpufreqd-1.2.2-r1.ebuild
deleted file mode 100644
index 66ca69ccd441..000000000000
--- a/sys-power/cpufreqd/cpufreqd-1.2.2-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# 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-r1.ebuild,v 1.2 2005/05/26 12:45:04 brix Exp $
-
-inherit flag-o-matic eutils
-
-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_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${P}-memleaks.patch
-}
-
-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
deleted file mode 100644
index 0c715b89406b..000000000000
--- a/sys-power/cpufreqd/files/1.1.2-prefer-sysfs.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- 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/cpufreqd-1.2.2-memleaks.patch b/sys-power/cpufreqd/files/cpufreqd-1.2.2-memleaks.patch
deleted file mode 100644
index 99ccd9e89a9d..000000000000
--- a/sys-power/cpufreqd/files/cpufreqd-1.2.2-memleaks.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nud cpufreqd-1.2.2/main.c nvfreqd/main.c
---- cpufreqd-1.2.2/main.c 2004-10-25 13:04:27.000000000 +0200
-+++ nvfreqd/main.c 2005-05-13 12:12:59.066964000 +0200
-@@ -153,6 +172,7 @@
-
- /* free configuration */
- free_config(configuration);
-+ free(configuration);
-
- /* TODO: this call to close log shound not sit here... */
- closelog();
-@@ -423,6 +443,7 @@
- sleep(configuration->poll_interval);
- } /* end loop */
-
-+ free(_system);
- return 0;
- }
-
-@@ -506,7 +527,7 @@
- */
- int set_policy(profile *prof) {
- FILE *fp;
-- char *path = (char *)malloc(256);
-+ char path[256];
-
- if (!prof)
- 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
deleted file mode 100644
index be0abf1f0108..000000000000
--- a/sys-power/cpufreqd/files/digest-cpufreqd-1.1.2-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d06dcf3e3b2f8eb25216431ec055aa4b cpufreqd-1.1.2.tar.gz 216245
diff --git a/sys-power/cpufreqd/files/digest-cpufreqd-1.2.2-r1 b/sys-power/cpufreqd/files/digest-cpufreqd-1.2.2-r1
deleted file mode 100644
index 85a6708f9d4b..000000000000
--- a/sys-power/cpufreqd/files/digest-cpufreqd-1.2.2-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e26bd0a1566aae79398c92be155c0367 cpufreqd-1.2.2.tar.gz 330959