summaryrefslogtreecommitdiff
path: root/sys-power/cpupower
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-16 12:22:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-16 12:22:56 +0100
commit2ca31eebd5b7496656193e0aa6ae39200d69a017 (patch)
tree6cf0c8f4ce90a3960c27acf45011134fb674dd62 /sys-power/cpupower
parent3ad1879f00b279af69d6b9cd3ef97a2a7496d734 (diff)
gentoo auto-resync : 16:08:2024 - 12:22:56
Diffstat (limited to 'sys-power/cpupower')
-rw-r--r--sys-power/cpupower/Manifest4
-rw-r--r--sys-power/cpupower/cpupower-6.10.ebuild (renamed from sys-power/cpupower/cpupower-5.18.ebuild)12
2 files changed, 9 insertions, 7 deletions
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index 343a6bd6e319..2b73d0b599e2 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -3,8 +3,8 @@ AUX cpupower-5.4-cflags.patch 900 BLAKE2B 6ee752113b03bcd9665937eaf1270337baaef7
AUX cpupower-frequency-set.service 151 BLAKE2B ff5a2460bf2080868157ea2b975b9d401f2b47e2c8e77d29ac1528f6b85246394e72d57a88dfacb0242fc1e563eefd0a102d2d6dae877c6e779383a0b163a8f3 SHA512 dcd6bb5dee338113683c2e222df23195857f44f5430569b3c454078d0650c15fa2fa3876dccd6ee4652d0fd409f925205d0d3e57344487a64945c67a3b0dee67
AUX cpupower-frequency-set.service.conf 41 BLAKE2B b1349f0dc39ee39e7c1442374bd92e069509f106c80206c4a606d732acd2cc6205e2032eb98e4890ef006a8bda5fd65d18b83881aa55008a55375d0bc170efe2 SHA512 d99b78a5ab4f7b4e8fe92bc0b2cd722cd55e97e234027a0eba37eb39739e2a470bfc369efa9cf7846bf1a6d588d9d5d5d9efbb90a68aac2f687ddeb833e291f1
AUX init.d-r4 804 BLAKE2B b143305b3f117afa49967de098f54419d5f57b86dee7e7153b7adb02331a88d3b90a0a085ee189c0b6de70050de4a1249d481d23816764aad34d416f041f78b3 SHA512 7f6992b17376c0bedb403586e123200272d293b15819260cacd182c19ecdb2da635b177fe3d621ad8605a4ff046fd23669e67ea0bd8f00c9e4339d3ac72d2ddf
+DIST cpupower-6.10.tar.xz 96672 BLAKE2B 379e1ce6a098fcbb8a16e1388a096e19503eda83babb0179cf056adadf655ad67ddb5bb2c702f4e8b929301c4cdc60690ed10c1823faed048f2d2b4449fadeaa SHA512 58734cead2a0366e08edff5864b1d28b4af1473c860d7b032a880279a792c3d545f97a9349fb00bbd90fbaced817e31b5e4a8ea5d2c4d0bc9a40e51df4fca0e6
DIST cpupower-6.2.tar.xz 97292 BLAKE2B 08812ff41bb488d72fb9686e1d40bd369669832f5e23c13b06d14a418209c5db57ebed10a3e17ffd7102d20c0905a72c166dd0cfc4af999aba9d4a1aa38c14c5 SHA512 e7d910865da3cb3a1ff1595f67271e586b40244567226f8aa84b744a57add7e582e7d0ec0709ca31e7ec49a46d48d21957763f9d4fc7cd892fe014da86ee6cb0
-DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab3020496eecde7d8352ecda0eb71a25b21becf7ce93fc593507dce7d1cd61b94ddcdf82b3094d79c0d3d48508eeb SHA512 dbbc9d1395898a498fa4947fceda1781344fa5d360240f753810daa4fa88e519833e2186c4e582a8f1836e6413e9e85f6563c7770523b704e8702d67622f98b5
-EBUILD cpupower-5.18.ebuild 1664 BLAKE2B 82e2172e4709b382e52d2b3b2795a408e831af505ef90ce8b53b68d3d789d0b5ed607a1ac03ff2d9861f897527d11e9fe798976c2e09eb9f27d5f799d15de34f SHA512 e81d2b712a6142d22483a86c5e56dfb40a893515a57affc4be40fc8f08fa38d5085bf6f1533af9c84d5561ef85ede4527184b49998f21a8095cd24cd6aac25f2
+EBUILD cpupower-6.10.ebuild 1827 BLAKE2B 831e960af8ecbe75cb70ff3709a7acaec74d9cbec7ee10e5c3384bf10e2fdf74db990f5f1334730dcc9a35fca4f681be9c716ba88c36b554eb3e83fc45c14b24 SHA512 d99c1a8574d4b0a08a876ab9a832439f1e8c38b7bcabda8758a00117dae110770b851c01e2b1aa1b1ed4592ead16639d794fbf3f4075591a70694ea671f08ab7
EBUILD cpupower-6.2.ebuild 1603 BLAKE2B 1a13b73e010e5f2fad699c64f4ee13b5d8ffd9bab80cfcacb16936bea77b2add335380e1006a7aeb72b2899e8c721ea6e04522a4a41bbe2b4731b144bcb2ef64 SHA512 6664d978efce35e1357711425efec5335a495b5aeb67d2c9c6c66b7393eb3119aba6d47d3f40876c8927878ac4306806650c632a217989161bbbab2c41e70bad
MISC metadata.xml 341 BLAKE2B ca3076a5e7ee2e834df8f12474fc7bf22bfdbcc8b2734760d2dc30977157dc97e4a0201a6946051fb487833d8891085682d3432c4e941f5ba0241b6fc49232f4 SHA512 a5db2151ec0dd4c0d084f64455406b27387058d61efe53d32718072dac198c0a877618b17350e95a4ae31fa65b672cd4b2f6a966ebe61ec5ec9fe2f6677a0311
diff --git a/sys-power/cpupower/cpupower-5.18.ebuild b/sys-power/cpupower/cpupower-6.10.ebuild
index 22fc954d4b41..1f0e7e8a85fd 100644
--- a/sys-power/cpupower/cpupower-5.18.ebuild
+++ b/sys-power/cpupower/cpupower-6.10.ebuild
@@ -7,11 +7,16 @@ inherit systemd toolchain-funcs
DESCRIPTION="Shows and sets processor power related values"
HOMEPAGE="https://www.kernel.org/"
-SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v${PV%%.*}.x/linux-${PV}.tar.xz"
+SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz"
+
+# Run from a kernel git repo to generate a tarball for version x.y:
+# PV=x.y
+# git archive --prefix=cpupower-${PV}/ v{PV} Makefile tools/scripts/Makefile.arch \
+# tools/power/cpupower | xz > /tmp/cpupower-${PV}.tar.xz
LICENSE="GPL-2"
SLOT="0/0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="nls"
# File collision w/ headers of the deprecated cpufrequtils
@@ -24,8 +29,6 @@ PATCHES=(
"${FILESDIR}/cpupower-5.4-cflags.patch"
)
-S="${WORKDIR}/linux-${PV}"
-
src_configure() {
export bindir="${EPREFIX}/usr/bin"
export sbindir="${EPREFIX}/usr/sbin"
@@ -45,7 +48,6 @@ src_compile() {
AR="$(tc-getAR)"
CC="$(tc-getCC)"
LD="$(tc-getCC)"
- VERSION=${PV}
)
emake -C tools/power/cpupower "${myemakeargs[@]}"
}