diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-07-08 11:39:18 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-07-08 11:41:22 +0200 |
commit | 6822fce9c46bc1ef91b1438ccd100f436a64531a (patch) | |
tree | 71e5df505e00078ac199a0bc27c2faa727db7289 /sys-power | |
parent | sys-firmware/sof-firmware: Stabilize 2024.03 amd64, #935735 (diff) | |
download | gentoo-6822fce9c46bc1ef91b1438ccd100f436a64531a.tar.gz gentoo-6822fce9c46bc1ef91b1438ccd100f436a64531a.tar.bz2 gentoo-6822fce9c46bc1ef91b1438ccd100f436a64531a.zip |
sys-power/powernowd: treeclean
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powernowd/Manifest | 1 | ||||
-rw-r--r-- | sys-power/powernowd/files/powernowd-1.00-buf.patch | 11 | ||||
-rw-r--r-- | sys-power/powernowd/files/powernowd-1.00-inline.patch | 11 | ||||
-rw-r--r-- | sys-power/powernowd/files/powernowd.confd | 24 | ||||
-rw-r--r-- | sys-power/powernowd/files/powernowd.initd | 20 | ||||
-rw-r--r-- | sys-power/powernowd/files/powernowd.service | 8 | ||||
-rw-r--r-- | sys-power/powernowd/metadata.xml | 8 | ||||
-rw-r--r-- | sys-power/powernowd/powernowd-1.00-r5.ebuild | 42 |
8 files changed, 0 insertions, 125 deletions
diff --git a/sys-power/powernowd/Manifest b/sys-power/powernowd/Manifest deleted file mode 100644 index 6807130a1ac3..000000000000 --- a/sys-power/powernowd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST powernowd-1.00.tar.gz 19651 BLAKE2B b3fb1b9adab694edd56fa9140b72203a9b87c2ade9be040f3b4f5e33573ec525367bfc3c86028f22644ad805622be58ea2300820405d408854305c05c350f9f3 SHA512 b4285de6b330927568ac44789ae4fda0cb431fc5f15abc5d275c03b5bfaec8627f453abbe78561971cce1eba895f73ed6f382be8a034fc2cf5d1a55010d30cf3 diff --git a/sys-power/powernowd/files/powernowd-1.00-buf.patch b/sys-power/powernowd/files/powernowd-1.00-buf.patch deleted file mode 100644 index 56f048296ec7..000000000000 --- a/sys-power/powernowd/files/powernowd-1.00-buf.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/powernowd.c -+++ b/powernowd.c -@@ -107,7 +107,7 @@ typedef struct cpuinfo { - cpuinfo_t **all_cpus; - - /* idea stolen from procps */ --static char buf[1024]; -+static char buf[2048]; - - enum function { - SINE, diff --git a/sys-power/powernowd/files/powernowd-1.00-inline.patch b/sys-power/powernowd/files/powernowd-1.00-inline.patch deleted file mode 100644 index 6c7346d0162e..000000000000 --- a/sys-power/powernowd/files/powernowd-1.00-inline.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/powernowd.c -+++ b/powernowd.c -@@ -322,7 +322,7 @@ - /* - * The heart of the program... decide to raise or lower the speed. - */ --enum modes inline decide_speed(cpuinfo_t *cpu) -+enum modes decide_speed(cpuinfo_t *cpu) - { - int err; - float pct; diff --git a/sys-power/powernowd/files/powernowd.confd b/sys-power/powernowd/files/powernowd.confd deleted file mode 100644 index e374a59777bc..000000000000 --- a/sys-power/powernowd/files/powernowd.confd +++ /dev/null @@ -1,24 +0,0 @@ -#PowerNow Daemon v0.97, (c) 2003-2005 John Clemens -#Daemon to control the speed and voltage of cpus. -# -#This is a simple client to the CPUFreq driver, and uses -#linux kernel v2.5 sysfs interface. You need a supported -#cpu, and a kernel that supports sysfs to run this daemon. -# -#Available Options: -# -h Print this help message -# -d Don't detach from terminal (default is to -# detach and run in the background) -# -v Increase output verbosity, can be used more than once. -# -q Quiet mode, only emergency output. -# -n Include 'nice'd processes in calculations -# -m # Modes of operation, can be 0, 1, 2, or 3: -# 0 = SINE, 1 = AGGRESSIVE (default), -# 2 = PASSIVE, 3 = LEAPS -# -s # Frequency step in kHz (default = 100000) -# -p # Polling frequency in msecs (default = 1000) -# -c # Specify number of threads per power-managed core -# -u # CPU usage upper limit percentage [0 .. 100, default 80] -# -l # CPU usage lower limit percentage [0 .. 100, default 20] - -POWERNOWD_OPTS="" diff --git a/sys-power/powernowd/files/powernowd.initd b/sys-power/powernowd/files/powernowd.initd deleted file mode 100644 index 73f44c1048a7..000000000000 --- a/sys-power/powernowd/files/powernowd.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount - use logger -} - -start() { - ebegin "Starting powernowd" - start-stop-daemon --start --exec /usr/sbin/powernowd -- ${POWERNOWD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping powernowd" - start-stop-daemon --stop --exec /usr/sbin/powernowd - eend $? -} diff --git a/sys-power/powernowd/files/powernowd.service b/sys-power/powernowd/files/powernowd.service deleted file mode 100644 index 326e6fd28581..000000000000 --- a/sys-power/powernowd/files/powernowd.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=PowerNow! Daemon - -[Service] -ExecStart=/usr/sbin/powernowd -d -q - -[Install] -WantedBy=multi-user.target diff --git a/sys-power/powernowd/metadata.xml b/sys-power/powernowd/metadata.xml deleted file mode 100644 index 353f9d7da81a..000000000000 --- a/sys-power/powernowd/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">clemej/powernowd</remote-id> - </upstream> -</pkgmetadata> diff --git a/sys-power/powernowd/powernowd-1.00-r5.ebuild b/sys-power/powernowd/powernowd-1.00-r5.ebuild deleted file mode 100644 index f3b9a9e654ef..000000000000 --- a/sys-power/powernowd/powernowd-1.00-r5.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit linux-info systemd toolchain-funcs - -DESCRIPTION="Daemon to control the speed and voltage of CPUs" -HOMEPAGE="http://www.deater.net/john/powernowd.html https://github.com/clemej/powernowd" -SRC_URI="http://www.deater.net/john/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -PATCHES=( - "${FILESDIR}"/${P}-buf.patch - "${FILESDIR}"/${P}-inline.patch -) - -pkg_setup() { - CONFIG_CHECK="~CPU_FREQ" - WARNING_CPU_FREQ="Powernowd needs CPU_FREQ turned on!" - linux-info_pkg_setup -} - -src_prepare() { - default - rm -f Makefile - tc-export CC -} - -src_compile() { - emake powernowd -} - -src_install() { - dosbin powernowd - dodoc README - - newconfd "${FILESDIR}"/powernowd.confd powernowd - newinitd "${FILESDIR}"/powernowd.initd powernowd - systemd_dounit "${FILESDIR}"/${PN}.service -} |