public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2023-05-30 21:58 Haelwenn Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2023-05-30 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     11a9dd7c240a290cb026a4190555939db337f88e
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue May 30 12:53:33 2023 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue May 30 12:53:33 2023 +0000
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 <zdanevich.vitaly <AT> 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 000000000..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 000000000..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 000000000..1184002b6
--- /dev/null
+++ b/sys-apps/corefreq/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream><remote-id type="github">cyring/CoreFreq</remote-id></upstream>
+	<maintainer type="person">
+		<email>zdanevich.vitaly@ya.ru</email>
+		<name>Vitaly Zdanevich</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2023-06-07  7:04 Viorel Munteanu
  0 siblings, 0 replies; 7+ messages in thread
From: Viorel Munteanu @ 2023-06-07  7:04 UTC (permalink / raw
  To: gentoo-commits

commit:     32d5f0cc900d42a2aeab62676092ce3e82b1a480
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Wed Jun  7 05:40:17 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 05:40:17 2023 +0000
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 <zdanevich.vitaly <AT> 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2023-09-14 13:22 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2023-09-14 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     53e4e406fca4bdc680fe78edbe5165d6e6bef757
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Sep 14 05:53:11 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep 14 05:53:11 2023 +0000
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 <zdanevich.vitaly <AT> 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2024-02-28  7:19 Florian Schmaus
  0 siblings, 0 replies; 7+ messages in thread
From: Florian Schmaus @ 2024-02-28  7:19 UTC (permalink / raw
  To: gentoo-commits

commit:     14ad6bc2d263c8477a16039d7a823e72f5ecf209
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue Feb 27 20:28:01 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 20:28:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14ad6bc2

sys-apps/corefreq: ebuild code format

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> 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/.*"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2024-02-28  7:19 Florian Schmaus
  0 siblings, 0 replies; 7+ messages in thread
From: Florian Schmaus @ 2024-02-28  7:19 UTC (permalink / raw
  To: gentoo-commits

commit:     7da437f9c58f9aab56d4b1392032001088bf18c7
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue Feb 27 20:26:09 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 20:26:09 2024 +0000
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 <zdanevich.vitaly <AT> 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
 }
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2024-03-02  7:10 Arthur Zamarin
  0 siblings, 0 replies; 7+ messages in thread
From: Arthur Zamarin @ 2024-03-02  7:10 UTC (permalink / raw
  To: gentoo-commits

commit:     a4c8910d88983ee218e2fc2c45e49daf9211baa6
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sat Mar  2 01:14:25 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 01:14:25 2024 +0000
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 <zdanevich.vitaly <AT> 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/
@ 2024-03-03 10:07 Haelwenn Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2024-03-03 10:07 UTC (permalink / raw
  To: gentoo-commits

commit:     eb440daa4d39018f4c655dfdfcdcf9462a985c32
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sat Mar  2 23:01:36 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat Mar  2 23:01:36 2024 +0000
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 <zdanevich.vitaly <AT> 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-03 10:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-28  7:19 [gentoo-commits] repo/proj/guru:master commit in: sys-apps/corefreq/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2024-03-03 10:07 Haelwenn Monnier
2024-03-02  7:10 Arthur Zamarin
2024-02-28  7:19 Florian Schmaus
2023-09-14 13:22 David Roman
2023-06-07  7:04 Viorel Munteanu
2023-05-30 21:58 Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox