summaryrefslogtreecommitdiff
path: root/sys-power
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/Manifest.gzbin5741 -> 5574 bytes
-rw-r--r--sys-power/powernowd/Manifest8
-rw-r--r--sys-power/powernowd/files/powernowd-1.00-buf.patch11
-rw-r--r--sys-power/powernowd/files/powernowd-1.00-inline.patch11
-rw-r--r--sys-power/powernowd/files/powernowd.confd24
-rw-r--r--sys-power/powernowd/files/powernowd.initd20
-rw-r--r--sys-power/powernowd/files/powernowd.service8
-rw-r--r--sys-power/powernowd/metadata.xml8
-rw-r--r--sys-power/powernowd/powernowd-1.00-r5.ebuild42
9 files changed, 0 insertions, 132 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz
index 33fbf28adc46..d7e35c99c4ce 100644
--- a/sys-power/Manifest.gz
+++ b/sys-power/Manifest.gz
Binary files differ
diff --git a/sys-power/powernowd/Manifest b/sys-power/powernowd/Manifest
deleted file mode 100644
index 7df94dfc2031..000000000000
--- a/sys-power/powernowd/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX powernowd-1.00-buf.patch 212 BLAKE2B 9e45b06406ba4eaa90ccf3b286f84d8ea2c59dc2891556595f3c9734184d1f6e51bec14878f11feb8f5bf412b215454dc543b6c26a1497b666e8a3d5e0faf397 SHA512 bc1dda6c31bbfd6e10b1790ca2e483ad065cb3626d6a95e1ce041349268b73cd2c58cc2d54556be1fc0e22e38c97ad032d5af129e2527808bfde14a179470fc5
-AUX powernowd-1.00-inline.patch 249 BLAKE2B bbfc242871e852b94c6fede28f088b7631867199bb851c11a461402e8639d613f484888dcfbc13fcd3de96b062a2d53821a1d8439077050a39bd619400613e70 SHA512 0896c6cb784be057cd6f7b8196aaef1f35bc82353062c12024a7a4c0eccefa0c23925436f6b10ea1d14238a3c47be2a5cac5b461f65668cda10644c2b5940388
-AUX powernowd.confd 977 BLAKE2B ec8dd344e91888e1352f763d0ffb6b60833cadbfef3a9a4bee40b38d50825f2b420e17472e325f86474a5e6479c38f3cf3f1b7857909d30a6623e67c6aee11d0 SHA512 60acec973b04cc1701ef15149eac6d7cef0c7d0e8f8467a165313b23f7f697090357a954ecda2efcefcfae88b119c3fe60751018f5aa6e35213c46789c226083
-AUX powernowd.initd 398 BLAKE2B a4189e244274abc2bcde4a9d0618931cf64e5ead0d8875e04512f7eedc40421f1bda266c98cbf79cdf6a1696a473d271affc47b362f2ed6bc6278d5f692b6e52 SHA512 b50273414b5804ac9a16016f76d7f66f6cfc39034da01ef5a43fe3584b8d0c03990f091f46097ae84ad0485444521fe07ebe469c502588af90bbbf2780e1e23b
-AUX powernowd.service 121 BLAKE2B db680c4f8cc22822396d5afb483a93adb45bb3bba5a4b817f2a2bd0c86e5f622650e470a628e09cc043ef319db0292b45621df43abf5916bb0095634260a6511 SHA512 c6593dbf90c9174c62eff6a19ed24885f7c190a51c4812f6988b51de6512d4d9728be3d2ae576f13fff42f3b90853750c8805a9ee6a28677a9f7508e0cca1886
-DIST powernowd-1.00.tar.gz 19651 BLAKE2B b3fb1b9adab694edd56fa9140b72203a9b87c2ade9be040f3b4f5e33573ec525367bfc3c86028f22644ad805622be58ea2300820405d408854305c05c350f9f3 SHA512 b4285de6b330927568ac44789ae4fda0cb431fc5f15abc5d275c03b5bfaec8627f453abbe78561971cce1eba895f73ed6f382be8a034fc2cf5d1a55010d30cf3
-EBUILD powernowd-1.00-r5.ebuild 899 BLAKE2B 2d1ea8ddb38cb22ebb728f53198553f8831c2b745793c34ac59b3f14459f68096d951d003574513a5eeeca29bbba3d6fcfb2ad12ec4fe29e8857ee66c0226dc7 SHA512 c50f39830bd95d6cfa906f4bd6439456249f93927f67eebf0ecf4d7dd21dd1d5967c780a260f4becdc7abd6f5be50ff19e86196bce6022ebb28bff54291b6395
-MISC metadata.xml 249 BLAKE2B 4800855a6d75b4991bfd0b7ce16e2a929c96e006151da2e8581682102412e3a6bad1f481d7c681db5dfb2841d01a71c5ec6003838bb48f610a3eb4c6537ce151 SHA512 f480018b140cdd5ef644de002a6e9e7a02d6c3b7bd8cd7e21a649dd67ad4f3c20517e0baccc8cf58028302362c646c765f951371c4e139d6daadee5038e8f5c6
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
-}