summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-10 06:23:19 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-10 06:23:19 +0000
commit5428deb4616141d676538dd193ab630cfe44f629 (patch)
tree4a7576b29b648d8e540bc5a1369386751268718f /sys-apps/cpudyn
parentstabilize for #65512 (Manifest recommit) (diff)
downloadgentoo-2-5428deb4616141d676538dd193ab630cfe44f629.tar.gz
gentoo-2-5428deb4616141d676538dd193ab630cfe44f629.tar.bz2
gentoo-2-5428deb4616141d676538dd193ab630cfe44f629.zip
prune the old
Diffstat (limited to 'sys-apps/cpudyn')
-rw-r--r--sys-apps/cpudyn/cpudyn-0.4.6.ebuild35
-rw-r--r--sys-apps/cpudyn/cpudyn-0.4.7-r1.ebuild35
-rw-r--r--sys-apps/cpudyn/cpudyn-0.4.7.ebuild35
-rw-r--r--sys-apps/cpudyn/cpudyn-0.5.0.ebuild45
-rw-r--r--sys-apps/cpudyn/cpudyn-0.6.1.ebuild45
-rw-r--r--sys-apps/cpudyn/files/cpudyn-0.5.0-init_conf_updates.patch40
-rw-r--r--sys-apps/cpudyn/files/cpudyn.conf.extra11
-rw-r--r--sys-apps/cpudyn/files/cpudyn.init-0.99.093
-rw-r--r--sys-apps/cpudyn/files/digest-cpudyn-0.4.61
-rw-r--r--sys-apps/cpudyn/files/digest-cpudyn-0.4.71
-rw-r--r--sys-apps/cpudyn/files/digest-cpudyn-0.4.7-r11
-rw-r--r--sys-apps/cpudyn/files/digest-cpudyn-0.5.01
-rw-r--r--sys-apps/cpudyn/files/digest-cpudyn-0.6.11
13 files changed, 0 insertions, 344 deletions
diff --git a/sys-apps/cpudyn/cpudyn-0.4.6.ebuild b/sys-apps/cpudyn/cpudyn-0.4.6.ebuild
deleted file mode 100644
index c15d15dffe93..000000000000
--- a/sys-apps/cpudyn/cpudyn-0.4.6.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpudyn/cpudyn-0.4.6.ebuild,v 1.4 2004/06/24 22:01:04 agriffis Exp $
-
-DESCRIPTION="A daemon to control laptop power consumption via cpufreq and disk standby"
-HOMEPAGE="http://mnm.uib.es/~gallir/${PN}/"
-SRC_URI="http://mnm.uib.es/~gallir/${PN}/download/${P}.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-S=${WORKDIR}/${PN}
-
-src_compile() {
- emake cpudynd || die "Compilation failed."
-}
-
-src_install() {
- into /
- exeinto /etc/init.d
- newexe ${FILESDIR}/cpudyn.init cpudyn
- insinto /etc/conf.d
- cat ${FILESDIR}/cpudyn.conf.extra >>debian/cpudyn.conf
- newins debian/cpudyn.conf cpudyn
-
- into /usr
- doman cpudynd.8
- dosbin cpudynd
- dodoc INSTALL README VERSION changelog COPYING
- dohtml *.html
-}
-
-pkg_postinst() {
- einfo "Configuration file is /etc/conf.d/cpudyn."
-}
diff --git a/sys-apps/cpudyn/cpudyn-0.4.7-r1.ebuild b/sys-apps/cpudyn/cpudyn-0.4.7-r1.ebuild
deleted file mode 100644
index 4a2a59ee67ea..000000000000
--- a/sys-apps/cpudyn/cpudyn-0.4.7-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpudyn/cpudyn-0.4.7-r1.ebuild,v 1.4 2004/09/03 21:03:23 pvdabeel Exp $
-
-DESCRIPTION="A daemon to control laptop power consumption via cpufreq and disk standby"
-HOMEPAGE="http://mnm.uib.es/~gallir/${PN}/"
-SRC_URI="http://mnm.uib.es/~gallir/${PN}/download/${P}.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE=""
-S=${WORKDIR}/${PN}
-
-src_compile() {
- emake cpudynd || die "Compilation failed."
-}
-
-src_install() {
- into /
- exeinto /etc/init.d
- newexe ${FILESDIR}/cpudyn.init cpudyn
- insinto /etc/conf.d
- cat ${FILESDIR}/cpudyn.conf.extra >>debian/cpudyn.conf
- newins debian/cpudyn.conf cpudyn
-
- into /usr
- doman cpudynd.8
- dosbin cpudynd
- dodoc INSTALL README VERSION changelog COPYING
- dohtml *.html
-}
-
-pkg_postinst() {
- einfo "Configuration file is /etc/conf.d/cpudyn."
-}
diff --git a/sys-apps/cpudyn/cpudyn-0.4.7.ebuild b/sys-apps/cpudyn/cpudyn-0.4.7.ebuild
deleted file mode 100644
index d4afe493797e..000000000000
--- a/sys-apps/cpudyn/cpudyn-0.4.7.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpudyn/cpudyn-0.4.7.ebuild,v 1.6 2004/06/24 22:01:04 agriffis Exp $
-
-DESCRIPTION="A daemon to control laptop power consumption via cpufreq and disk standby"
-HOMEPAGE="http://mnm.uib.es/~gallir/${PN}/"
-SRC_URI="http://mnm.uib.es/~gallir/${PN}/download/${P}.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ppc"
-IUSE=""
-S=${WORKDIR}/${PN}
-
-src_compile() {
- emake cpudynd || die "Compilation failed."
-}
-
-src_install() {
- into /
- exeinto /etc/init.d
- newexe ${FILESDIR}/cpudyn.init cpudyn
- insinto /etc/conf.d
- cat ${FILESDIR}/cpudyn.conf.extra >>debian/cpudyn.conf
- newins debian/cpudyn.conf cpudyn
-
- into /usr
- doman cpudynd.8
- dosbin cpudynd
- dodoc INSTALL README VERSION changelog COPYING
- dohtml *.html
-}
-
-pkg_postinst() {
- einfo "Configuration file is /etc/conf.d/cpudyn."
-}
diff --git a/sys-apps/cpudyn/cpudyn-0.5.0.ebuild b/sys-apps/cpudyn/cpudyn-0.5.0.ebuild
deleted file mode 100644
index 6411ec47006b..000000000000
--- a/sys-apps/cpudyn/cpudyn-0.5.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpudyn/cpudyn-0.5.0.ebuild,v 1.4 2004/09/03 21:03:23 pvdabeel Exp $
-
-inherit eutils
-
-DESCRIPTION="A daemon to control laptop power consumption via cpufreq and disk standby"
-HOMEPAGE="http://mnm.uib.es/~gallir/${PN}/"
-SRC_URI="http://mnm.uib.es/~gallir/${PN}/download/${P}.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ppc"
-IUSE=""
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- mkdir gentoo
- cp debian/cpudyn.conf gentoo
- cp ${FILESDIR}/cpudyn.init gentoo
- epatch ${FILESDIR}/${P}-init_conf_updates.patch
-}
-
-src_compile() {
- emake cpudynd || die "Compilation failed."
-}
-
-src_install() {
- into /
- exeinto /etc/init.d
- newexe gentoo/cpudyn.init cpudyn
- insinto /etc/conf.d
- newins gentoo/cpudyn.conf cpudyn
-
- into /usr
- doman cpudynd.8
- dosbin cpudynd
- dodoc INSTALL README VERSION changelog COPYING
- dohtml *.html
-}
-
-pkg_postinst() {
- einfo "Configuration file is /etc/conf.d/cpudyn."
-}
diff --git a/sys-apps/cpudyn/cpudyn-0.6.1.ebuild b/sys-apps/cpudyn/cpudyn-0.6.1.ebuild
deleted file mode 100644
index 5720b744b82d..000000000000
--- a/sys-apps/cpudyn/cpudyn-0.6.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpudyn/cpudyn-0.6.1.ebuild,v 1.5 2004/09/03 21:03:23 pvdabeel Exp $
-
-inherit eutils
-
-DESCRIPTION="A daemon to control laptop power consumption via cpufreq and disk standby"
-HOMEPAGE="http://mnm.uib.es/~gallir/${PN}/"
-SRC_URI="http://mnm.uib.es/~gallir/${PN}/download/${P}.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ppc ~amd64"
-IUSE=""
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- mkdir gentoo
- cp debian/cpudyn.conf gentoo
- cp ${FILESDIR}/cpudyn.init gentoo
- epatch ${FILESDIR}/${PN}-0.5.0-init_conf_updates.patch
-}
-
-src_compile() {
- emake cpudynd || die "Compilation failed."
-}
-
-src_install() {
- into /
- exeinto /etc/init.d
- newexe gentoo/cpudyn.init cpudyn
- insinto /etc/conf.d
- newins gentoo/cpudyn.conf cpudyn
-
- into /usr
- doman cpudynd.8
- dosbin cpudynd
- dodoc INSTALL README VERSION changelog COPYING
- dohtml *.html
-}
-
-pkg_postinst() {
- einfo "Configuration file is /etc/conf.d/cpudyn."
-}
diff --git a/sys-apps/cpudyn/files/cpudyn-0.5.0-init_conf_updates.patch b/sys-apps/cpudyn/files/cpudyn-0.5.0-init_conf_updates.patch
deleted file mode 100644
index 08d1f5e725d0..000000000000
--- a/sys-apps/cpudyn/files/cpudyn-0.5.0-init_conf_updates.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- gentoo/cpudyn.conf.orig 2004-01-08 17:20:39.575230665 +0100
-+++ gentoo/cpudyn.conf 2004-01-08 17:20:37.450290151 +0100
-@@ -32,6 +32,12 @@
-
- THROTTLING_LOW=7
-
-+#
-+# Count also niced process in CPU usage. Default is no.
-+#
-+
-+#NICE=yes
-+
- ################################################
- # DISK OPTIONS
- # (disabled by default)
-@@ -51,4 +57,14 @@
- # DISKS=/dev/hda,/dev/hdb
-
-
-+################################################
-+# Special Startup Options
-+# (you shouldn't need to change these)
-+################################################
-+# cpufreq sources for 2.4 kernels
-+CPUFREQ_24="/proc/cpufreq"
-+# cpufreq sources for 2.5/2.6 kernels
-+CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq"
-+# pure acpi cpufreq
-+CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling"
-
---- gentoo/cpudyn.init.orig 2004-01-08 17:15:08.404162507 +0100
-+++ gentoo/cpudyn.init 2004-01-08 17:17:06.697265020 +0100
-@@ -51,6 +51,7 @@
- if [ -n "$THROTTLING_LOW" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -l $THROTTLING_LOW"; fi
- if [ -n "$TIMEOUT" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -t $TIMEOUT"; fi
- if [ -n "$DISKS" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -h $DISKS"; fi
-+ if [ "$NICE" == "yes" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -nice"; fi
-
- ebegin "Starting cpudynd"
- if checkconfig; then
diff --git a/sys-apps/cpudyn/files/cpudyn.conf.extra b/sys-apps/cpudyn/files/cpudyn.conf.extra
deleted file mode 100644
index 0298d000d530..000000000000
--- a/sys-apps/cpudyn/files/cpudyn.conf.extra
+++ /dev/null
@@ -1,11 +0,0 @@
-
-################################################
-# Special Startup Options
-# (you shouldn't need to change these)
-################################################
-# cpufreq sources for 2.4 kernels
-CPUFREQ_24="/proc/cpufreq"
-# cpufreq sources for 2.5/2.6 kernels
-CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq"
-# pure acpi cpufreq
-CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling"
diff --git a/sys-apps/cpudyn/files/cpudyn.init-0.99.0 b/sys-apps/cpudyn/files/cpudyn.init-0.99.0
deleted file mode 100644
index a0a39c0f9d9f..000000000000
--- a/sys-apps/cpudyn/files/cpudyn.init-0.99.0
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpudyn/files/cpudyn.init-0.99.0,v 1.2 2004/07/15 00:38:51 agriffis Exp $
-#
-# Based on the Debian init script written by Celso Gonzalez <celso@bulma.net>,
-# and on the cpufreqd Gentoo init script written by Robert Gogolok <robertgogolok@web.de>.
-# Heavily modified by Robin H. Johnson <robbat2@gentoo.org> to ensure correct
-# start only under support conditions
-# More preconditions by Karl Trygve Kalleberg <karltk@gentoo.org>
-#
-
-DAEMON=/usr/sbin/cpudynd
-PIDFILE=/var/run/cpudynd.pid
-
-depend() {
- need localmount
-}
-
-checkconfig() {
- local CPUFREQ_FILES="${CPUFREQ_24} ${CPUFREQ_25} ${CPUFREQ_ACPI}"
- local CPUFREQ_FILE=""
- for i in ${CPUFREQ_FILES}; do [ -e ${i} ] && CPUFREQ_FILE="${i}" && break ; done
- if [ -z "${CPUFREQ_FILE}" ]; then
- eerror "Neither CPUFreq nor ACPI throttling support were found"
- return 1
- fi
- if [ "${CPUFREQ_FILE}" = "${CPUFREQ_ACPI}" ]; then
- # see if the file says we are supported or not
- grep 'not supported' ${CPUFREQ_ACPI} 2>&1 >/dev/null
- retval="$?"
- if [ $retval -eq 0 ]; then
- eerror "ACPI throttling support found, but hardware doesn't support it"
- return 1
- fi
- # now check that we can write to the file
- local acpistate=`grep 'active state' ${CPUFREQ_ACPI} | cut -dT -f2-`
- echo $acpistate > ${CPUFREQ_ACPI}
- retval="$?"
- if [ $retval -ne 0 ]; then
- eerror "Writing to ACPI throttling file failed"
- return 1
- fi
- fi
- # CPUFREQ_25 has more than one entry, hence the grep -- karltk
- if [ ! -z "$(echo ${CPUFREQ_25} | grep ${CPUFREQ_FILE})" ]; then
- # Silently try to load the governors; shouldn't hurt if they're already there
- modprobe -q cpufreq_performance
- modprobe -q cpufreq_powersave
- # Check that all governors required are actually present
- missing=""
- for x in userspace performance powersave ; do
- if [ -z "$(grep ${x} ${CPUFREQ_FILE}/scaling_available_governors)" ]; then
- missing="${missing} ${x}"
- fi
- done
- # If some are missing, report which, then bail
- if [ ! -z "${missing}" ]; then
- eerror "2.5/2.6 CPUfreq support needs userspace, performance and powersave governors"
- eerror "Missing${missing}"
- return 1
- fi
- fi
-}
-
-
-start() {
- local CPUDYN_OPTS=""
- if [ -n "$INTERVAL" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -i $INTERVAL"; fi
- if [ -n "$CPU_UP" -a -n "$CPU_DOWN" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -p $CPU_UP $CPU_DOWN"; fi
- if [ -n "$THROTTLING_LOW" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -l $THROTTLING_LOW"; fi
- if [ -n "$TIMEOUT" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -t $TIMEOUT"; fi
- if [ -n "$DISKS" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -h $DISKS"; fi
- if [ "$NICE" == "yes" ]; then CPUDYN_OPTS="$CPUDYN_OPTS -nice"; fi
-
- ebegin "Starting cpudynd"
- if checkconfig; then
- start-stop-daemon --start --quiet --pidfile $PIDFILE \
- --background --make-pidfile --exec $DAEMON -- $CPUDYN_OPTS
- eend $?
- else
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping cpudynd"
- start-stop-daemon --stop --quiet --pidfile $PIDFILE \
- --exec $DAEMON && rm -f $PIDFILE
- eend $?
-}
-
-# vim:ts=4 noexpandtab:
diff --git a/sys-apps/cpudyn/files/digest-cpudyn-0.4.6 b/sys-apps/cpudyn/files/digest-cpudyn-0.4.6
deleted file mode 100644
index 4695693ad932..000000000000
--- a/sys-apps/cpudyn/files/digest-cpudyn-0.4.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3b40552655f14b8f6975d074cef362f6 cpudyn-0.4.6.tgz 26602
diff --git a/sys-apps/cpudyn/files/digest-cpudyn-0.4.7 b/sys-apps/cpudyn/files/digest-cpudyn-0.4.7
deleted file mode 100644
index 7a1a82332e38..000000000000
--- a/sys-apps/cpudyn/files/digest-cpudyn-0.4.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2550bf84873f78425c40dadae1000cad cpudyn-0.4.7.tgz 27327
diff --git a/sys-apps/cpudyn/files/digest-cpudyn-0.4.7-r1 b/sys-apps/cpudyn/files/digest-cpudyn-0.4.7-r1
deleted file mode 100644
index 7a1a82332e38..000000000000
--- a/sys-apps/cpudyn/files/digest-cpudyn-0.4.7-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2550bf84873f78425c40dadae1000cad cpudyn-0.4.7.tgz 27327
diff --git a/sys-apps/cpudyn/files/digest-cpudyn-0.5.0 b/sys-apps/cpudyn/files/digest-cpudyn-0.5.0
deleted file mode 100644
index 950feb8b1e41..000000000000
--- a/sys-apps/cpudyn/files/digest-cpudyn-0.5.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 33db9d7547f72e8ddad3d3316a23b828 cpudyn-0.5.0.tgz 28627
diff --git a/sys-apps/cpudyn/files/digest-cpudyn-0.6.1 b/sys-apps/cpudyn/files/digest-cpudyn-0.6.1
deleted file mode 100644
index 221e9a531372..000000000000
--- a/sys-apps/cpudyn/files/digest-cpudyn-0.6.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 879e95eb14ebcd53fbb8f79262ab4a52 cpudyn-0.6.1.tgz 29637