summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-09-27 11:34:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-09-27 11:34:01 +0000
commit8361f0d59bc47b6e118daf3583b2431a1c0e8a55 (patch)
treec9982f5bd540fa513ff2d708b3940f077b6c9b84 /sys-power
parentVersion bump to cpupower from Linux 3.11 source tree as well as update conf.d... (diff)
downloadhistorical-8361f0d59bc47b6e118daf3583b2431a1c0e8a55.tar.gz
historical-8361f0d59bc47b6e118daf3583b2431a1c0e8a55.tar.bz2
historical-8361f0d59bc47b6e118daf3583b2431a1c0e8a55.zip
old
Package-Manager: portage-2.2.6/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/cpupower/ChangeLog9
-rw-r--r--sys-power/cpupower/Manifest24
-rw-r--r--sys-power/cpupower/cpupower-3.8-r1.ebuild70
-rw-r--r--sys-power/cpupower/cpupower-3.8.ebuild70
-rw-r--r--sys-power/cpupower/files/conf.d7
-rw-r--r--sys-power/cpupower/files/conf.d-r124
-rw-r--r--sys-power/cpupower/files/init.d39
-rw-r--r--sys-power/cpupower/files/init.d-r139
-rw-r--r--sys-power/cpupower/files/init.d-r2.orig39
9 files changed, 15 insertions, 306 deletions
diff --git a/sys-power/cpupower/ChangeLog b/sys-power/cpupower/ChangeLog
index 5c2d4be5e6e6..0c4f97270cad 100644
--- a/sys-power/cpupower/ChangeLog
+++ b/sys-power/cpupower/ChangeLog
@@ -1,11 +1,16 @@
# ChangeLog for sys-power/cpupower
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.8 2013/09/27 11:31:48 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.9 2013/09/27 11:33:57 ssuominen Exp $
+
+ 27 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> -cpupower-3.8.ebuild,
+ -cpupower-3.8-r1.ebuild, -files/conf.d, -files/conf.d-r1, -files/init.d,
+ -files/init.d-r1:
+ old
*cpupower-3.11 (27 Sep 2013)
27 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> +cpupower-3.11.ebuild,
- +files/conf.d-r2, +files/init.d-r2, +files/init.d-r2.orig:
+ +files/conf.d-r2, +files/init.d-r2:
Version bump to cpupower from Linux 3.11 source tree as well as update
conf.d/init.d wrt #453794 by "Khayyam"
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index bd6768e5458f..831084bcc85f 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -1,28 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX conf.d 224 SHA256 da344b9c7373bfc9a12011caffe2d5a51327a9b0655588d09cc4cae35b5ed2e8 SHA512 552d650fb7dcc5d32a10315639d37eca5bc03318d9d67d1b57def263eff527d5b50d9b4bce039b7851c64f6bc0be82b83edd4da440fca4190a25a37074bbeebe WHIRLPOOL dbb9da5681a07dddb736d25c87efa081517d70fe20904d801f68313fc7d7146369d379ad8f0d7cfcd2d84e4b29351ca6276a3dd1d2d5e313114d4d21ab41ce10
-AUX conf.d-r1 1013 SHA256 44acd2dcd2193a160e0f4e05b571ba51215f60d8efa9ef801661ef2ba23a2e97 SHA512 d499855915b5884f93786258f7abd28aad001102d36d77bc2e7f3312c8e2ae71648b1742fef5bd4a922f27fd0794a4f89755ce829f51805c7261ad75941a4b51 WHIRLPOOL 705a65f70fd52ec8a754ca79bf0a3d32cb58964ce8260e44e580c72cfcfe14b97aba3d60ab4b72c5ce2af0f388ce15af4eb65f485cef5c53602121f4444bd138
AUX conf.d-r2 1616 SHA256 9ab6f022d2b2948660decf5e383984e6ddb9e9e5e6e2761c3031378ddd87e947 SHA512 63cd12a4d8782198c71662e9205e346e064b65bae5e3e175b5bc43bdf7ec6ddf675b60349750afe3c37c8a925f9ae9a93530671821342581bd282a69e0773b8c WHIRLPOOL 6e122d40525b2860b50b3933c6aab8c7fcc602a71faf7f6fb912db538bc58b21c2bee23f60c1801f5fe05dbfe434ce2432483a2e3bf1de4f75e0cce588fbb34c
-AUX init.d 778 SHA256 950c0971d16665fbfbe6427224bd432b720dbcb56fbbed63ba36532043405340 SHA512 0cbbddebbf7132ba9debdad4953dc012bae854031406e9506a394bc3fcc35b056524071c89a0fd394070e23f02abd1ee5dce0a29a61a108ce3d9a8f86ce9cf41 WHIRLPOOL 828b9805e82c47133ecc8635640b98a4097647a9f08194fd358068db0ffa89e5dddf4fa1d2bb6f8a5b697c946801771f79f3d8af9cf181f6fa3b63b4322f9542
-AUX init.d-r1 798 SHA256 dd96e2a69a0f702f7fecf8c2d83c73060822b65387589d370efcd86871d70c74 SHA512 780451853e47dbd742575a488ee41eafc787fd86db4fa68284543e30ecabfda9a00d454200b3ebcf58da2b20c9c6b6d6387d789c6a48d06eb14f7286a4cc1475 WHIRLPOOL 619e39107d40bc46a0b6a355904a4a6e4a28e8d2f23b22eff6bd1d6988455d8df9d5671b2f2d6efb68a74c54b1840f6cc0dac5d933817732fb32134a8fdc260c
AUX init.d-r2 847 SHA256 8d8e45f112ea86fb686f66ca16c25f6d1b0e06c62b0fd2ce2ed39b455a1d8a3c SHA512 bdc9b48c0a987d7d86f4126ae614de485792770ae8a2fec3bd739a192d76c494a4634b15b910bfe4fea5eacbc67af9d0231c7dc2916f6693fe60b92be620d068 WHIRLPOOL 60c8e652f4d7ca6470ee400b2362efaf93f6a74966694da4174f0a5b0541c555d651ad1ebb1474770b83e68ab579be34c602aab163fcfbeea830c04f64ad17ec
-AUX init.d-r2.orig 803 SHA256 7bf6f575db0bc7b3c5b6d0f38b0abd3c4344190609a9bc12fdb9f78ec8c8f144 SHA512 edbc90fc0578e0b4642bf2fb0339aee7a37082b1ff7b5a3546be6121989a99d5a8a9e193a5ced58996798092967288321687827f9e049d8cfb0fe4e347866767 WHIRLPOOL f6f19e1544a3dbd52ccf13c1400e174d92b5d88a8af4f7d4c91218be4eb32ce9a9cab989379dc158225a0e929441d7d87da59a768a0e5225039e498ae5c882b4
DIST linux-3.11.tar.xz 75082460 SHA256 803ec8f0ad4b2ddedcb0332a590cd2b5e10dfc57c3b1c95bc9c46af81d51d7f9 SHA512 b3680d3a45a7308383cf8634a7f1908e94f6e1c6d1cb587332a9418a95fb93bd3c73ab70c6976c7330508d7c8c6b0f43c2a9a2efde5fe1f76e9bfffb1de5686c WHIRLPOOL 96c9c27ffe155fe2c1760b53d87ef981943d58ab2dcf1ed6bd2c1e762e18bceec81d85d49c523947ec6fe52e41f25c4a86310347705c8d4b80a1748cec5b90d3
-DIST linux-3.8.tar.xz 70989468 SHA256 e070d1bdfbded5676a4f374721c63565f1c969466c5a3e214004a136b583184b SHA512 10a7983391af907d8aec72bdb096d1cabd4911985715e9ea13d35ff09095c035db15d4ab08b92eda7c10026cc27348cb9728c212335f7fcdcda7c610856ec30f WHIRLPOOL 0c633854ad9c06df1b1d832aea9bbef76144ba88c8fccf6a3f8729101dc36838bcda6ccd444451cab19177608e7f7866f4f79cff1a8ef2bd0c893933d7f1f44c
EBUILD cpupower-3.11.ebuild 1832 SHA256 8198767c4c83d2c25c52091acfa49bac9e37ae0b1daca6d0c9ed923a4d6a5c92 SHA512 a85a4a11c7a2a5c90f8e1d199e9efe032ad2b63d9f0c95ee5cda4e5a59f5b94b7b2f1ecde1fcbe9bed03c473f6c4b2559e3402adf42b7754c999e0c2867785ad WHIRLPOOL 64e5ea6ea7b5e7694bfd384ad2a5d69ea4f33bb403de8f862fcdcb2b1519a2d11c357f0d79aeb838bbb4b19a5e1896d81bfef56af206828dc09c708c48c83810
-EBUILD cpupower-3.8-r1.ebuild 1777 SHA256 fc5e9657099413de8b260c205e1197b2946568eb75eed19ba62ecf7132effa78 SHA512 559dadd0cdaf27f1bdc8ce811cd5c172d9d5f7e085c31c9bc8385f3ec76422b2f368828f0aec5659a53bfc9334888349266f7dfb1f65ab702b52b684ab796983 WHIRLPOOL a5f458f66b6b334e12194e4fd78679b46fd4738a5a9a8b30243eae10dd02dc4b8e8ac250c671e91bd45c678dc4565aa4e11a2f823e0dc7e782d6f49f96aa73aa
-EBUILD cpupower-3.8.ebuild 1766 SHA256 4bf5fe84229c1cc5100bce9a6bf6d6543e52628d120859c640a0bf2bf50cd601 SHA512 66425f0eccfc01f5da795e403097470ad6646b12dc9c12afc580c6bfcfa596ace376d282a06fd9914dd1d187f567151d4877af74b15e39f039e29a748d87ee7f WHIRLPOOL 479363678fd97cbefbc534dcc40b182d0388110f0a3d6c1fa969bd69e5619573b0db02f92e4a8d0fd2e91d8f06b240172e8fa3b88cd553e0a521329353573efc
-MISC ChangeLog 1730 SHA256 a8c8df3144d8cce77ba98f55e3de99381a1f1b2c76c323b4a55cf55e89650946 SHA512 12a3fe29a8d3f8d871f18c6b4fd8050efe684f36acf35f8ae729f740042d3c84b8205f6ddfc7a2b02c94f9cceb09ce43a107614baa5c3781ac4c3d277f5d04e1 WHIRLPOOL c900eb8f3bcab5672de8de9f5c3265f5408c50b2efc68f88b8ff818f4cf9e983aaf265b875e1097ea6094a8edc6c5b3210189df779d5f4353d5610c8cc3a8c4c
+MISC ChangeLog 1885 SHA256 906d872aca8ef03e2172390352861cb2db4d6c63cf4bb110c56041fdb064b78e SHA512 a78593085da5058dbb680047b6689fc9f9450ee54901870133d2c53528a97b6ecaa86f9792f0026dfa28d94324b976750c29f1df787215303095f3c3949d1d96 WHIRLPOOL 6c7388b21ec447e18e0b2716cc963994f6690a1ff8406f684d7dbb54c7f166b3364dc71ad98b92bc2e23a8274ccce5655a391ef21a3e989b3d5665ede9b0a06b
MISC metadata.xml 357 SHA256 be84e27d1bacf98a571c56fea8cd368b79b5304b2f9928516f690f1902a4b535 SHA512 b143b9edb70a97d4c584f771aeb73b5f6895e007c9e4bffdf358f9646ad9520f2e14ca623ea5dd9e4b7bc1b1c5f50e5735c435e9907b43566a1a5f12354f4a1a WHIRLPOOL 5a6fa0c613489f062710fc6ec2633e56e7e7274d962620f1113425544402012459634e223d1e2bc8920acafff46b800a10b4a5422ec8c1a77363c5ab6d61398d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
-iQEcBAEBCAAGBQJSRWxPAAoJEEdUh39IaPFNTOEH/A8M3UBFf21wbcdvLpfvaa5N
-9zBEPu/exG7tTRUDOaDe3YmI2loEsesqjBw+lzzabx5LN52u7d++XjqFtKaccIV/
-PYHEGeNMw3tgVFSGDUNB2Bv65PEuDimkT7af0nVIVImMcyUrHMFU/EvPFvowpCLh
-RMX6qMmYE2c5enHpIZXe4gDUDXwThMAtMS+nBGt6dIaYVLz94Km22MhR+JVLM1ah
-XsNglA8xJcziJRonR1tgThT80q6AAT+aq8qUDzdmeH2W/mqtsyC8dR+m3X/wi6wH
-bDci49T4X+KaZ4vrvPXUpMP6JNkWTQ5ZFSOIBOO2VlWmoGS2IMsQ6TQzg8K5uqM=
-=NB2i
+iQEcBAEBCAAGBQJSRWzQAAoJEEdUh39IaPFNvu4H/RG58nEJ+v8ITyv2RVyQwYFD
+DnP28FY3/Bc/ZubLP7sMF75bi4osB8OJ0CNijSOx3RucVhC/UCJW6t9lYKXIbbTW
+k3vY8RSl5ay6Hm5fP1Uu7TdIPcWnBe+aLwSA3bE0r2j1o3YJ6yPIp2NoMbH0XcpK
+w+45gcsvQfLgcO8NAqRF5iUbgDdxSLMnKykzT/Bdo7tyntnE80QnbM6sTCtn++Qy
+9+Y1jn3aQuZOXeVdYfqc1vQFtAnTaFIhScnkiCxpayGSN4SfBxyryAMyVmyT9qSw
+rNBCNz8koNM46EMJKHmChPPAwMHwkbdkU3Udjef3YDepeW3YUOooQa8kdrsKimE=
+=kHg+
-----END PGP SIGNATURE-----
diff --git a/sys-power/cpupower/cpupower-3.8-r1.ebuild b/sys-power/cpupower/cpupower-3.8-r1.ebuild
deleted file mode 100644
index 7db5f5087fa8..000000000000
--- a/sys-power/cpupower/cpupower-3.8-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/cpupower-3.8-r1.ebuild,v 1.1 2013/04/24 09:44:05 ssuominen Exp $
-
-EAPI=5
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Shows and sets processor power related values"
-HOMEPAGE="http://www.kernel.org/"
-SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpufreq_bench debug nls"
-
-# cpupower should be a USE flag in linux-misc-apps (ditto for usbip!)
-# but only if the maintainer doesn't agree to drop it completely from
-# there in favour of this one which i'll push to users are replacement
-# for the dead cpufreq tools in tree
-# !sys-apps/linux-misc-apps[cpupower]
-
-# header collision with cpufrequtils
-RDEPEND="sys-apps/pciutils
- !sys-apps/linux-misc-apps
- !sys-power/cpufrequtils"
-DEPEND="${RDEPEND}
- virtual/os-headers
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/linux-${PV}/tools/power/${PN}
-
-pkg_setup() {
- myemakeargs=(
- DEBUG=$(usex debug true false)
- V=1
- CPUFREQ_BENCH=$(usex cpufreq_bench true false)
- NLS=$(usex nls true false)
- docdir=/usr/share/doc/${PF}/${PN}
- mandir=/usr/share/man
- libdir=/usr/$(get_libdir)
- AR="$(tc-getAR)"
- CC="$(tc-getCC)"
- LD="$(tc-getCC)"
- STRIP=true
- LDFLAGS="${LDFLAGS}"
- OPTIMIZATION="${CFLAGS}"
- )
-}
-
-src_prepare() {
- # -Wl,--as-needed compat
- local libs="-lcpupower -lrt -lpci"
- sed -i \
- -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
- -e "s:-O1 -g::" \
- Makefile || die
-}
-
-src_compile() {
- emake "${myemakeargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" "${myemakeargs[@]}" install
- dodoc README ToDo
-
- newconfd "${FILESDIR}"/conf.d-r1 ${PN}
- newinitd "${FILESDIR}"/init.d-r1 ${PN}
-}
diff --git a/sys-power/cpupower/cpupower-3.8.ebuild b/sys-power/cpupower/cpupower-3.8.ebuild
deleted file mode 100644
index 96d21f5f1136..000000000000
--- a/sys-power/cpupower/cpupower-3.8.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/cpupower-3.8.ebuild,v 1.3 2013/04/23 03:23:12 patrick Exp $
-
-EAPI=5
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Shows and sets processor power related values"
-HOMEPAGE="http://www.kernel.org/"
-SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpufreq_bench debug nls"
-
-# cpupower should be a USE flag in linux-misc-apps (ditto for usbip!)
-# but only if the maintainer doesn't agree to drop it completely from
-# there in favour of this one which i'll push to users are replacement
-# for the dead cpufreq tools in tree
-# !sys-apps/linux-misc-apps[cpupower]
-
-# header collision with cpufrequtils
-RDEPEND="sys-apps/pciutils
- !sys-apps/linux-misc-apps
- !sys-power/cpufrequtils"
-DEPEND="${RDEPEND}
- virtual/os-headers
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/linux-${PV}/tools/power/${PN}
-
-pkg_setup() {
- myemakeargs=(
- DEBUG=$(usex debug true false)
- V=1
- CPUFREQ_BENCH=$(usex cpufreq_bench true false)
- NLS=$(usex nls true false)
- docdir=/usr/share/doc/${PF}/${PN}
- mandir=/usr/share/man
- libdir=/usr/$(get_libdir)
- AR="$(tc-getAR)"
- CC="$(tc-getCC)"
- LD="$(tc-getCC)"
- STRIP=true
- LDFLAGS="${LDFLAGS}"
- OPTIMIZATION="${CFLAGS}"
- )
-}
-
-src_prepare() {
- # -Wl,--as-needed compat
- local libs="-lcpupower -lrt -lpci"
- sed -i \
- -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
- -e "s:-O1 -g::" \
- Makefile || die
-}
-
-src_compile() {
- emake "${myemakeargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" "${myemakeargs[@]}" install
- dodoc README ToDo
-
- newconfd "${FILESDIR}"/conf.d ${PN}
- newinitd "${FILESDIR}"/init.d ${PN}
-}
diff --git a/sys-power/cpupower/files/conf.d b/sys-power/cpupower/files/conf.d
deleted file mode 100644
index ee10216ec13f..000000000000
--- a/sys-power/cpupower/files/conf.d
+++ /dev/null
@@ -1,7 +0,0 @@
-# /etc/conf.d/cpupower: config file for /etc/init.d/cpupower
-
-# Options when starting cpufreq (given to the `cpupower` program)
-#START_OPTS=""
-
-# Options when stopping cpufreq (given to the `cpupower` program)
-#STOP_OPTS=""
diff --git a/sys-power/cpupower/files/conf.d-r1 b/sys-power/cpupower/files/conf.d-r1
deleted file mode 100644
index cf686d5182a5..000000000000
--- a/sys-power/cpupower/files/conf.d-r1
+++ /dev/null
@@ -1,24 +0,0 @@
-# /etc/conf.d/cpupower: config file for /etc/init.d/cpupower
-
-# Options when starting cpufreq (given to the `cpupower` program)
-START_OPTS="--governor ondemand"
-
-# Options when stopping cpufreq (given to the `cpupower` program)
-STOP_OPTS="--governor performance"
-
-# Extra settings to write to sysfs cpufreq values.
-#
-# up_threshold: threshold for stepping up frequency, where the value represents
-# the percentage of cpu load.
-#
-# down_threshold: threshold for stepping down frequency, where the value
-# represents the percentage of cpu load.
-#
-# sampling_down_factor: determines how frequently the governor polls the cpu, a
-# value greater than 1 improves performance by reducing the polling when the
-# load is high. This tunable has no effect on behavior at lower CPU frequencies
-#
-# ignore_nice_load: when set to '1' the processes that are run with a 'nice'
-# value will not count in the usage calculation.
-
-#SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=15 ondemand/sampling_down_factor=10"
diff --git a/sys-power/cpupower/files/init.d b/sys-power/cpupower/files/init.d
deleted file mode 100644
index 01ef556bb71e..000000000000
--- a/sys-power/cpupower/files/init.d
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/files/init.d,v 1.1 2013/04/23 01:48:26 ssuominen Exp $
-
-change() {
- local c ret=0 opts="$1"
- shift
- ebegin "Running cpupower -c all frequency-set ${opts}"
- cpupower -c all frequency-set ${opts} >/dev/null 2>&1
- : $(( ret += $? ))
- eend ${ret}
-
- if [ $# -gt 0 ] ; then
- c=1
- einfo "Setting extra options: $*"
- if cd /sys/devices/system/cpu/cpufreq ; then
- local o v
- for o in "$@" ; do
- v=${o#*=}
- o=${o%%=*}
- echo ${v} > ${o} || break
- done
- c=0
- fi
- eend ${c}
- : $(( ret += c ))
- fi
-
- return ${ret}
-}
-
-start() {
- change "${START_OPTS}"
-}
-
-stop() {
- change "${STOP_OPTS}"
-}
diff --git a/sys-power/cpupower/files/init.d-r1 b/sys-power/cpupower/files/init.d-r1
deleted file mode 100644
index 2cfa66ac7e50..000000000000
--- a/sys-power/cpupower/files/init.d-r1
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/files/init.d-r1,v 1.1 2013/04/24 09:44:06 ssuominen Exp $
-
-change() {
- local c ret=0 opts="$1"
- shift
- ebegin "Running cpupower -c all frequency-set ${opts}"
- cpupower -c all frequency-set ${opts} >/dev/null 2>&1
- : $(( ret += $? ))
- eend ${ret}
-
- if [ $# -gt 0 ] ; then
- c=1
- einfo "Setting extra options: $*"
- if cd /sys/devices/system/cpu/cpufreq ; then
- local o v
- for o in "$@" ; do
- v=${o#*=}
- o=${o%%=*}
- echo ${v} > ${o} || break
- done
- c=0
- fi
- eend ${c}
- : $(( ret += c ))
- fi
-
- return ${ret}
-}
-
-start() {
- change "${START_OPTS}" "${SYSFS_EXTRA}"
-}
-
-stop() {
- change "${STOP_OPTS}"
-}
diff --git a/sys-power/cpupower/files/init.d-r2.orig b/sys-power/cpupower/files/init.d-r2.orig
deleted file mode 100644
index 3780ab679643..000000000000
--- a/sys-power/cpupower/files/init.d-r2.orig
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/files/init.d-r2.orig,v 1.1 2013/09/27 11:31:48 ssuominen Exp $
-
-change() {
- local c ret=0 opts="$1"
- shift
- ebegin "Running cpupower -c all frequency-set ${opts}"
- cpupower -c all frequency-set ${opts} >/dev/null 2>&1
- : $(( ret += $? ))
- eend ${ret}
-
- if [ $# -gt 0 ] ; then
- c=1
- einfo "Setting extra options: $*"
- if cd /sys/devices/system/cpu/cpufreq ; then
- local o v
- for o in "$@" ; do
- v=${o#*=}
- o=${o%%=*}
- echo ${v} > ${o} || break
- done
- c=0
- fi
- eend ${c}
- : $(( ret += c ))
- fi
-
- return ${ret}
-}
-
-start() {
- change "${START_OPTS}" "${SYSFS_EXTRA}"
-}
-
-stop() {
- change "${STOP_OPTS}"
-}