From 9f322d80b846d0000268f94422b74c28979e4adf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jun 2023 09:30:56 +0100 Subject: gentoo auto-resync : 03:06:2023 - 09:30:55 --- sys-power/Manifest.gz | Bin 5065 -> 5062 bytes sys-power/cpupower/Manifest | 4 +- sys-power/cpupower/cpupower-5.12.ebuild | 66 -------------------------------- sys-power/cpupower/cpupower-6.2.ebuild | 61 +++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+), 68 deletions(-) delete mode 100644 sys-power/cpupower/cpupower-5.12.ebuild create mode 100644 sys-power/cpupower/cpupower-6.2.ebuild (limited to 'sys-power') diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz index 8e71ddcdd457..7a76a808143d 100644 Binary files a/sys-power/Manifest.gz and b/sys-power/Manifest.gz differ diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest index e39648dd0359..309064adb325 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 linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d +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.12.ebuild 1667 BLAKE2B 224f33c75a713c6ba64e75c58ebbeb61c76ea939ab3866f33924f7cb566f72aad23d95867d608d479f8d77202672b9e3818b39f28e284aa5c34f99715d590df3 SHA512 be528414367bcf6a3d38edd2b1df17bb637a03af03fd56b708961c3c013ecebcfeab327eb96cd36dccbb4892975f9b206a242d47a7caeaac9501b0c0f1492617 EBUILD cpupower-5.18.ebuild 1665 BLAKE2B 1173e6d5bf55144679de1b233548ba9ea1e39bab286992b8eada058516d9d41a44afae25e52db16056fa4a2456458e9fceb6886773c510ba3dcee7ee411a618a SHA512 39bb75d682b8339809d58a6e8ea1aa64a885b24e93a20e6ae311680bdd34b127af7bb33d90d692372dc56215b29b17071dd3ed0cc10623984ac1280d55f97ca1 +EBUILD cpupower-6.2.ebuild 1602 BLAKE2B 6eb3163a87d8178869e7d3f9a86b9d52e57808c415271a996cb9804fa6d0d80aef265582244cead3fe032cfa774ff70497022970343ce19d21ee8d9bfcd174f9 SHA512 a8180f484c7de477ffb7a9a3c450870b09daf4f1e9e45dbf717ddc4f6511d95234761f13b842c72bd33817589c10c2a99a664faaed32699e92a96800147a6226 MISC metadata.xml 341 BLAKE2B ca3076a5e7ee2e834df8f12474fc7bf22bfdbcc8b2734760d2dc30977157dc97e4a0201a6946051fb487833d8891085682d3432c4e941f5ba0241b6fc49232f4 SHA512 a5db2151ec0dd4c0d084f64455406b27387058d61efe53d32718072dac198c0a877618b17350e95a4ae31fa65b672cd4b2f6a966ebe61ec5ec9fe2f6677a0311 diff --git a/sys-power/cpupower/cpupower-5.12.ebuild b/sys-power/cpupower/cpupower-5.12.ebuild deleted file mode 100644 index 42004483e47a..000000000000 --- a/sys-power/cpupower/cpupower-5.12.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2013-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -LICENSE="GPL-2" -SLOT="0/0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="nls" - -# File collision w/ headers of the deprecated cpufrequtils -RDEPEND="sys-apps/pciutils" -DEPEND="${RDEPEND} - virtual/os-headers - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}/cpupower-5.4-cflags.patch" -) - -S="${WORKDIR}/linux-${PV}" - -src_configure() { - export bindir="${EPREFIX}/usr/bin" - export sbindir="${EPREFIX}/usr/sbin" - export mandir="${EPREFIX}/usr/share/man" - export includedir="${EPREFIX}/usr/include" - export libdir="${EPREFIX}/usr/$(get_libdir)" - export localedir="${EPREFIX}/usr/share/locale" - export docdir="${EPREFIX}/usr/share/doc/${PF}" - export confdir="${EPREFIX}/etc" - export bash_completion_dir="${EPREFIX}/usr/share/bash-completion/completions" - export V=1 - export NLS=$(usex nls true false) -} - -src_compile() { - myemakeargs=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - LD="$(tc-getCC)" - VERSION=${PV} - ) - - cd tools/power/cpupower || die - emake "${myemakeargs[@]}" -} - -src_install() { - cd tools/power/cpupower || die - emake "${myemakeargs[@]}" DESTDIR="${D}" install - doheader lib/cpupower.h - einstalldocs - - newconfd "${FILESDIR}"/conf.d-r2 cpupower - newinitd "${FILESDIR}"/init.d-r4 cpupower - - systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service - systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf -} diff --git a/sys-power/cpupower/cpupower-6.2.ebuild b/sys-power/cpupower/cpupower-6.2.ebuild new file mode 100644 index 000000000000..370de8201794 --- /dev/null +++ b/sys-power/cpupower/cpupower-6.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 2013-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd toolchain-funcs + +DESCRIPTION="Shows and sets processor power related values" +HOMEPAGE="https://www.kernel.org/" +SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="nls" + +# File collision w/ headers of the deprecated cpufrequtils +RDEPEND="sys-apps/pciutils" +DEPEND="${RDEPEND} + virtual/os-headers + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}/cpupower-5.4-cflags.patch" +) + +src_configure() { + export bindir="${EPREFIX}/usr/bin" + export sbindir="${EPREFIX}/usr/sbin" + export mandir="${EPREFIX}/usr/share/man" + export includedir="${EPREFIX}/usr/include" + export libdir="${EPREFIX}/usr/$(get_libdir)" + export localedir="${EPREFIX}/usr/share/locale" + export docdir="${EPREFIX}/usr/share/doc/${PF}" + export confdir="${EPREFIX}/etc" + export bash_completion_dir="${EPREFIX}/usr/share/bash-completion/completions" + export V=1 + export NLS=$(usex nls true false) +} + +src_compile() { + myemakeargs=( + AR="$(tc-getAR)" + CC="$(tc-getCC)" + LD="$(tc-getCC)" + ) + emake -C tools/power/cpupower "${myemakeargs[@]}" +} + +src_install() { + cd tools/power/cpupower || die + emake "${myemakeargs[@]}" DESTDIR="${D}" install + doheader lib/cpupower.h + einstalldocs + + newconfd "${FILESDIR}"/conf.d-r2 cpupower + newinitd "${FILESDIR}"/init.d-r4 cpupower + + systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service + systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf +} -- cgit v1.2.3