[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: eb440daa4d39018f4c655dfdfcdcf9462a985c32 Author: Vitaly Zdanevich ya ru> AuthorDate: Sat Mar 2 23:01:36 2024 + Commit: Vitaly Zdanevich ya ru> CommitDate: Sat Mar 2 23:01:36 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb440daa sys-apps/corefreq: add QA_PREBUILT/usr/bin/${PN}-cli" Closes: https://bugs.gentoo.org/show_bug.cgi?id=926028 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.3.ebuild | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/corefreq/corefreq-1.96.3.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild index abbc008175..0253f17fd7 100644 --- a/sys-apps/corefreq/corefreq-1.96.3.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.3.ebuild @@ -39,7 +39,10 @@ pkg_setup() { linux-mod_pkg_setup } -QA_PREBUILT="usr/bin/${PN}d" +QA_PREBUILT=" + usr/bin/${PN}d + /usr/bin/${PN}-cli +" src_install() { linux-mod_src_install
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: a4c8910d88983ee218e2fc2c45e49daf9211baa6 Author: Vitaly Zdanevich ya ru> AuthorDate: Sat Mar 2 01:14:25 2024 + Commit: Vitaly Zdanevich ya ru> CommitDate: Sat Mar 2 01:14:25 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4c8910d sys-apps/corefreq: add QA_PREBUILT="usr/bin/${PN}d" Closes: https://bugs.gentoo.org/show_bug.cgi?id=914219 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/corefreq-1.96.3.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild index 31c1e8fc85..abbc008175 100644 --- a/sys-apps/corefreq/corefreq-1.96.3.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.3.ebuild @@ -39,7 +39,7 @@ pkg_setup() { linux-mod_pkg_setup } -QA_FLAGS_IGNORED="usr/bin/.*" +QA_PREBUILT="usr/bin/${PN}d" src_install() { linux-mod_src_install
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 14ad6bc2d263c8477a16039d7a823e72f5ecf209 Author: Vitaly Zdanevich ya ru> AuthorDate: Tue Feb 27 20:28:01 2024 + Commit: Vitaly Zdanevich ya ru> CommitDate: Tue Feb 27 20:28:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14ad6bc2 sys-apps/corefreq: ebuild code format Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.3.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-apps/corefreq/corefreq-1.96.3.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild index 37656cc430..31c1e8fc85 100644 --- a/sys-apps/corefreq/corefreq-1.96.3.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.3.ebuild @@ -33,10 +33,10 @@ MODULE_NAMES="corefreqk(misc:${S})" MODULESD_COREFREQK_ENABLED="yes" pkg_setup() { - get_version - require_configured_kernel - BUILD_PARAMS="KERNELDIR=/lib/modules/${KV_FULL}/build" - linux-mod_pkg_setup + get_version + require_configured_kernel + BUILD_PARAMS="KERNELDIR=/lib/modules/${KV_FULL}/build" + linux-mod_pkg_setup } QA_FLAGS_IGNORED="usr/bin/.*"
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 7da437f9c58f9aab56d4b1392032001088bf18c7 Author: Vitaly Zdanevich ya ru> AuthorDate: Tue Feb 27 20:26:09 2024 + Commit: Vitaly Zdanevich ya ru> CommitDate: Tue Feb 27 20:26:09 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7da437f9 sys-apps/corefreq: fix installing of systemd service Closes: https://bugs.gentoo.org/show_bug.cgi?id=908110 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/corefreq-1.96.3.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild index 0bb409675f..37656cc430 100644 --- a/sys-apps/corefreq/corefreq-1.96.3.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.3.ebuild @@ -46,7 +46,7 @@ src_install() { dobin corefreqd corefreq-cli newconfd "${FILESDIR}/${PN}.conf" "${PN}" doinitd "${FILESDIR}/${PN}" - use systemd && systemd_dounit ${PN}.service + use systemd && systemd_dounit ${PN}d.service use doc && dodoc README.md }
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: eb3465bca3725d9a2b103d58a586b3d030150aac Author: Vitaly Zdanevich ya ru> AuthorDate: Fri Sep 15 09:32:54 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Fri Sep 15 09:32:54 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb3465bc sys-apps/corefreq: QA_FLAGS_IGNORED fix Closes: https://bugs.gentoo.org/914218 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/corefreq-1.96.3.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild index 85824cd3bd..efd0c27d61 100644 --- a/sys-apps/corefreq/corefreq-1.96.3.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.3.ebuild @@ -39,7 +39,7 @@ pkg_setup() { linux-mod_pkg_setup } -QA_FLAGS_IGNORED="usr/bin/${PN}-cli" +QA_FLAGS_IGNORED="usr/bin/.*" src_install() { linux-mod_src_install
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 53e4e406fca4bdc680fe78edbe5165d6e6bef757 Author: Vitaly Zdanevich ya ru> AuthorDate: Thu Sep 14 05:53:11 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Thu Sep 14 05:53:11 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53e4e406 sys-apps/corefreq: add QA_FLAGS_IGNORED Closes: https://bugs.gentoo.org/907875 Closes: https://bugs.gentoo.org/show_bug.cgi?id=907874 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.3.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-apps/corefreq/corefreq-1.96.3.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild index 7ad0cf0d0e..85824cd3bd 100644 --- a/sys-apps/corefreq/corefreq-1.96.3.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.3.ebuild @@ -39,6 +39,8 @@ pkg_setup() { linux-mod_pkg_setup } +QA_FLAGS_IGNORED="usr/bin/${PN}-cli" + src_install() { linux-mod_src_install dobin corefreqd corefreq-cli
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 32d5f0cc900d42a2aeab62676092ce3e82b1a480 Author: Vitaly Zdanevich ya ru> AuthorDate: Wed Jun 7 05:40:17 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Wed Jun 7 05:40:17 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32d5f0cc sys-apps/corefreq: 1.96.2 -> 1.96.3 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/Manifest | 2 +- sys-apps/corefreq/{corefreq-1.96.2.ebuild => corefreq-1.96.3.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/Manifest b/sys-apps/corefreq/Manifest index 2550c0740..7de80ae12 100644 --- a/sys-apps/corefreq/Manifest +++ b/sys-apps/corefreq/Manifest @@ -1 +1 @@ -DIST corefreq-1.96.2.tar.gz 462030 BLAKE2B 86d8fc7763ac94aa1b0499ba734db97c0433e58f559b52fb50628aa8d96eeba6574ff0b9c0cc7c8138997edd92cbf9554fdc55cbdecfbd8cdf58d076a523a424 SHA512 2383e08e0e48f81ea384439556d97b573128fbeeb98a85ec53909a4e9250a8d1925f4137ee8cf1ea70240a171be654f759243aad87f4ca2c024b27fa34910c6e +DIST corefreq-1.96.3.tar.gz 462294 BLAKE2B 0abf0f4228ec15344af41763e43cb315305e8ab26b87950a11275be7a0841de798052f743af3c0dd9c972fb0355a027f4df57a84b13d3ee956c5d72e529a8604 SHA512 d232a32e6bcf9b951b499defcc294eb714efcaf820ebf25c9f4404947ef1544777829c332e6b9419796d4e053645bc683e7afc1b1d2cf8f204048ff09816ab21 diff --git a/sys-apps/corefreq/corefreq-1.96.2.ebuild b/sys-apps/corefreq/corefreq-1.96.3.ebuild similarity index 100% rename from sys-apps/corefreq/corefreq-1.96.2.ebuild rename to sys-apps/corefreq/corefreq-1.96.3.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 7a0864d7cdd49d0f9ab45248bfd28af2518551b9 Author: Vitaly Zdanevich ya ru> AuthorDate: Fri Jun 2 05:14:53 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Fri Jun 2 05:14:53 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a0864d7 sys-apps/corefreq: longdescription add Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/metadata.xml | 21 + 1 file changed, 21 insertions(+) diff --git a/sys-apps/corefreq/metadata.xml b/sys-apps/corefreq/metadata.xml index 1184002b6..e0411fbbb 100644 --- a/sys-apps/corefreq/metadata.xml +++ b/sys-apps/corefreq/metadata.xml @@ -6,4 +6,25 @@ zdanevich.vit...@ya.ru Vitaly Zdanevich + +CoreFreq provides a framework to retrieve CPU data with a high degree of precision: + +* Core frequencies and ratios; SpeedStep (EIST), Turbo Boost, Hyper-Threading (HTT) and Base Clock +* Performance counters including Time Stamp Counter (TSC), Unhalted Core Cycles (UCC), Unhalted Reference Cycles (URC) +* Number of instructions per cycle or second, IPS, IPC, or CPI +* CPU C-States C0 C1 C3 C6 C7 - C1E - Auto/UnDemotion of C1 C3 +* DTS Temperature and Tjunction Max, Thermal Monitoring TM1 TM2 state, Vcore +* Topology map including Caches for boostrap and application CPU +* Processor features, brand and architecture strings +* In progress: Uncore, Memory Controller channels and geometry, DIMM timings, +* Stress tools, Power and Energy (RAPL, P-State, HWP, TDP), Overclocking, cpuidle and cpufreq driver, ClockSource, Mitigation Mechanisms + +To reach this goal, CoreFreq implements a Linux Kernel module which employs the followings: + +* asm code to keep as near as possible the readings of the performance counters; +* per-CPU, implements slab data memory and high-resolution timer; +* compliant with suspend / resume and CPU Hot-Plug; +* a shared memory to protect kernel from the user-space part of the software; +* atomic synchronization of threads to avoid mutexes and deadlock +
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/files/
commit: 323c1dad35c811320c3e40d3bb7aeb0fa20a6717 Author: Vitaly Zdanevich ya ru> AuthorDate: Thu Jun 1 05:34:32 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Thu Jun 1 05:34:32 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=323c1dad sys-apps/corefreq: files/corefreq (daemon) improve Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/files/corefreq | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/corefreq/files/corefreq b/sys-apps/corefreq/files/corefreq index 05409182c..2f4a95398 100644 --- a/sys-apps/corefreq/files/corefreq +++ b/sys-apps/corefreq/files/corefreq @@ -1,6 +1,9 @@ #!/sbin/openrc-run +# Copyright 1999-2023 Gentoo Authors +## Distributed under the terms of the GNU General Public License v2 +description="CoreFreq daemon" name=corefreq command=/usr/bin/corefreqd command_args=${COREFREQD_ARGS} -command_background=1 +command_background=true pidfile=/run/corefreqd.pid
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 1fa037edbb2af48521b32683ed8fb2b1942092c1 Author: Vitaly Zdanevich ya ru> AuthorDate: Thu Jun 1 05:33:28 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Thu Jun 1 05:33:28 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1fa037ed sys-apps/corefreq: einfo improve Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.2.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-apps/corefreq/corefreq-1.96.2.ebuild b/sys-apps/corefreq/corefreq-1.96.2.ebuild index 1edd33f32..7ad0cf0d0 100644 --- a/sys-apps/corefreq/corefreq-1.96.2.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.2.ebuild @@ -52,5 +52,6 @@ pkg_postinst() { einfo "To be able to use corefreq, you need to load kernel module:" einfo "modprobe corefreqk" einfo "After that - start daemon with corefreqd" + einfo "or by `rc-service corefreq start`" einfo "And only after that you can start corefreq-cli" }
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: d6cf3f305f618565038c417f287c8748db66752f Author: Vitaly Zdanevich ya ru> AuthorDate: Thu Jun 1 05:22:28 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Thu Jun 1 05:22:28 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6cf3f30 sys-apps/corefreq: add einfo Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.2.ebuild | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sys-apps/corefreq/corefreq-1.96.2.ebuild b/sys-apps/corefreq/corefreq-1.96.2.ebuild index a0d04c326..1edd33f32 100644 --- a/sys-apps/corefreq/corefreq-1.96.2.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.2.ebuild @@ -47,3 +47,10 @@ src_install() { use systemd && systemd_dounit ${PN}.service use doc && dodoc README.md } + +pkg_postinst() { + einfo "To be able to use corefreq, you need to load kernel module:" + einfo "modprobe corefreqk" + einfo "After that - start daemon with corefreqd" + einfo "And only after that you can start corefreq-cli" +}
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/, sys-apps/corefreq/files/
commit: d6fabbc14eb274f541b6593d6d3b848b8a02a7d1 Author: Vitaly Zdanevich ya ru> AuthorDate: Wed May 31 18:41:03 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Wed May 31 18:41:03 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6fabbc1 sys-apps/corefreq: fix compilation By adapting ebuild from https://bugs.gentoo.org/828443#c9 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.2.ebuild | 46 sys-apps/corefreq/files/corefreq | 6 + sys-apps/corefreq/files/corefreq.conf| 4 +++ 3 files changed, 33 insertions(+), 23 deletions(-) diff --git a/sys-apps/corefreq/corefreq-1.96.2.ebuild b/sys-apps/corefreq/corefreq-1.96.2.ebuild index 98e78dedd..a0d04c326 100644 --- a/sys-apps/corefreq/corefreq-1.96.2.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.2.ebuild @@ -3,47 +3,47 @@ EAPI=8 -inherit linux-mod +inherit linux-mod systemd DESCRIPTION="CPU monitoring software designed for the 64-bits Processors, like top" HOMEPAGE="https://www.cyring.fr/; -SRC_URI="https://github.com/cyring/CoreFreq/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/cyring/$PN/archive/$PV.tar.gz -> $P.tar.gz" +S="${WORKDIR}/CoreFreq-${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~amd64" +IUSE="doc systemd" + +DEPEND="sys-devel/make + kernel_linux? ( virtual/linux-sources )" + BDEPEND="sys-devel/gcc - sys-devel/make - dev-vcs/git" + sys-devel/make + dev-vcs/git" + RDEPEND="sys-libs/glibc" CONFIG_CHECK="SMP X86_MSR ~HOTPLUG_CPU ~CPU_IDLE ~CPU_FREQ ~PM_SLEEP ~DMI ~XEN ~AMD_NB ~HAVE_PERF_EVENTS ~SCHED_MUQSS ~SCHED_BMQ ~SCHED_PDS" -MODULE_NAMES="corefreqk()" BUILD_TARGETS="clean all" -pkg_setup() { - if kernel_is -lt 3 3 ; then - die "kernels < 3.3 are not supported" - fi - - elog "Checking for kernel configurations..." - elog "Enable optional configurations only as you see fit." - elog "Not all optional configurations will be suitable for your system." - elog "Build will fail for required configs." - elog "The other configs are all optional configs." - - linux-mod_pkg_setup -} +MODULE_NAMES="corefreqk(misc:${S})" +MODULESD_COREFREQK_ENABLED="yes" -src_unpack() { - default - mv CoreFreq-${PV} ${P} +pkg_setup() { + get_version + require_configured_kernel + BUILD_PARAMS="KERNELDIR=/lib/modules/${KV_FULL}/build" + linux-mod_pkg_setup } src_install() { linux-mod_src_install - emake -j1 PREFIX="${D}/usr" install - newinitd "${FILESDIR}/corefreqd corefreqd" + dobin corefreqd corefreq-cli + newconfd "${FILESDIR}/${PN}.conf" "${PN}" + doinitd "${FILESDIR}/${PN}" + use systemd && systemd_dounit ${PN}.service + use doc && dodoc README.md } diff --git a/sys-apps/corefreq/files/corefreq b/sys-apps/corefreq/files/corefreq new file mode 100644 index 0..05409182c --- /dev/null +++ b/sys-apps/corefreq/files/corefreq @@ -0,0 +1,6 @@ +#!/sbin/openrc-run +name=corefreq +command=/usr/bin/corefreqd +command_args=${COREFREQD_ARGS} +command_background=1 +pidfile=/run/corefreqd.pid diff --git a/sys-apps/corefreq/files/corefreq.conf b/sys-apps/corefreq/files/corefreq.conf new file mode 100644 index 0..9cb090cc6 --- /dev/null +++ b/sys-apps/corefreq/files/corefreq.conf @@ -0,0 +1,4 @@ +# Default settings for /etc/init.d/corefreq. + +# Options to pass to corefreqd +COREFREQD_ARGS="-q"
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: c05f91dc3a531f949ff7ae5ae92e0acd06d6bc8a Author: Vitaly Zdanevich ya ru> AuthorDate: Wed May 31 05:58:35 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Wed May 31 05:58:35 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c05f91dc sys-apps/corefreq: HOMEPAGE replace Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/corefreq-1.96.2.ebuild b/sys-apps/corefreq/corefreq-1.96.2.ebuild index 622678871..98e78dedd 100644 --- a/sys-apps/corefreq/corefreq-1.96.2.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit linux-mod DESCRIPTION="CPU monitoring software designed for the 64-bits Processors, like top" -HOMEPAGE="https://github.com/cyring/CoreFreq; +HOMEPAGE="https://www.cyring.fr/; SRC_URI="https://github.com/cyring/CoreFreq/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2"
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 53b56ba8e24df7b1fb3a450fd46c13d021e20a61 Author: Vitaly Zdanevich ya ru> AuthorDate: Wed May 31 05:57:10 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Wed May 31 05:57:10 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53b56ba8 sys-apps/corefreq: description improve, for SEO/grep Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/corefreq-1.96.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/corefreq-1.96.2.ebuild b/sys-apps/corefreq/corefreq-1.96.2.ebuild index e3cc328ce..622678871 100644 --- a/sys-apps/corefreq/corefreq-1.96.2.ebuild +++ b/sys-apps/corefreq/corefreq-1.96.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit linux-mod -DESCRIPTION="CPU monitoring software designed for the 64-bits Processors" +DESCRIPTION="CPU monitoring software designed for the 64-bits Processors, like top" HOMEPAGE="https://github.com/cyring/CoreFreq; SRC_URI="https://github.com/cyring/CoreFreq/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 66899e1adf815882aa376583c98f660dc8268acd Author: Vitaly Zdanevich ya ru> AuthorDate: Wed May 31 05:31:47 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Wed May 31 05:31:47 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66899e1a sys-apps/corefreq: bump to 1.96.2 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/Manifest | 2 +- sys-apps/corefreq/{corefreq-1.96.1.ebuild => corefreq-1.96.2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/corefreq/Manifest b/sys-apps/corefreq/Manifest index 65782ec39..2550c0740 100644 --- a/sys-apps/corefreq/Manifest +++ b/sys-apps/corefreq/Manifest @@ -1 +1 @@ -DIST corefreq-1.96.1.tar.gz 461602 BLAKE2B 14a2734f1d77fecda0c817e6477049b36a78ddff976e7984028f6563a179b59d5e41b4215a75199e309081456939902934e6a38d2a14b701f411d4da809e9421 SHA512 4b273a132f85472fb992dd688762758c4726222af8a1f8728f60c0b40cb2dfeb142d1af39efbf903a4087818038b8ac9eb4a5b8967fc06fa3a695f6824a6861e +DIST corefreq-1.96.2.tar.gz 462030 BLAKE2B 86d8fc7763ac94aa1b0499ba734db97c0433e58f559b52fb50628aa8d96eeba6574ff0b9c0cc7c8138997edd92cbf9554fdc55cbdecfbd8cdf58d076a523a424 SHA512 2383e08e0e48f81ea384439556d97b573128fbeeb98a85ec53909a4e9250a8d1925f4137ee8cf1ea70240a171be654f759243aad87f4ca2c024b27fa34910c6e diff --git a/sys-apps/corefreq/corefreq-1.96.1.ebuild b/sys-apps/corefreq/corefreq-1.96.2.ebuild similarity index 100% rename from sys-apps/corefreq/corefreq-1.96.1.ebuild rename to sys-apps/corefreq/corefreq-1.96.2.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/
commit: 11a9dd7c240a290cb026a4190555939db337f88e Author: Vitaly Zdanevich ya ru> AuthorDate: Tue May 30 12:53:33 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Tue May 30 12:53:33 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11a9dd7c sys-apps/corefreq: new package, add 1.96.1 Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/Manifest | 1 + sys-apps/corefreq/corefreq-1.96.1.ebuild | 49 sys-apps/corefreq/metadata.xml | 9 ++ 3 files changed, 59 insertions(+) diff --git a/sys-apps/corefreq/Manifest b/sys-apps/corefreq/Manifest new file mode 100644 index 0..65782ec39 --- /dev/null +++ b/sys-apps/corefreq/Manifest @@ -0,0 +1 @@ +DIST corefreq-1.96.1.tar.gz 461602 BLAKE2B 14a2734f1d77fecda0c817e6477049b36a78ddff976e7984028f6563a179b59d5e41b4215a75199e309081456939902934e6a38d2a14b701f411d4da809e9421 SHA512 4b273a132f85472fb992dd688762758c4726222af8a1f8728f60c0b40cb2dfeb142d1af39efbf903a4087818038b8ac9eb4a5b8967fc06fa3a695f6824a6861e diff --git a/sys-apps/corefreq/corefreq-1.96.1.ebuild b/sys-apps/corefreq/corefreq-1.96.1.ebuild new file mode 100644 index 0..e3cc328ce --- /dev/null +++ b/sys-apps/corefreq/corefreq-1.96.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod + +DESCRIPTION="CPU monitoring software designed for the 64-bits Processors" +HOMEPAGE="https://github.com/cyring/CoreFreq; +SRC_URI="https://github.com/cyring/CoreFreq/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64" + +BDEPEND="sys-devel/gcc + sys-devel/make + dev-vcs/git" +RDEPEND="sys-libs/glibc" + +CONFIG_CHECK="SMP X86_MSR ~HOTPLUG_CPU ~CPU_IDLE ~CPU_FREQ ~PM_SLEEP ~DMI ~XEN ~AMD_NB ~HAVE_PERF_EVENTS ~SCHED_MUQSS ~SCHED_BMQ ~SCHED_PDS" + +MODULE_NAMES="corefreqk()" +BUILD_TARGETS="clean all" + +pkg_setup() { + if kernel_is -lt 3 3 ; then + die "kernels < 3.3 are not supported" + fi + + elog "Checking for kernel configurations..." + elog "Enable optional configurations only as you see fit." + elog "Not all optional configurations will be suitable for your system." + elog "Build will fail for required configs." + elog "The other configs are all optional configs." + + linux-mod_pkg_setup +} + +src_unpack() { + default + mv CoreFreq-${PV} ${P} +} + +src_install() { + linux-mod_src_install + emake -j1 PREFIX="${D}/usr" install + newinitd "${FILESDIR}/corefreqd corefreqd" +} diff --git a/sys-apps/corefreq/metadata.xml b/sys-apps/corefreq/metadata.xml new file mode 100644 index 0..1184002b6 --- /dev/null +++ b/sys-apps/corefreq/metadata.xml @@ -0,0 +1,9 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + cyring/CoreFreq + + zdanevich.vit...@ya.ru + Vitaly Zdanevich + +