public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2018-10-24 11:58 Michał Górny
  0 siblings, 0 replies; 12+ messages in thread
From: Michał Górny @ 2018-10-24 11:58 UTC (permalink / raw
  To: gentoo-commits

commit:     2cfc06b5af03ba8fc3369dfa013cdf7e60cbcb76
Author:     Karl Linden <karl.j.linden <AT> gmail <DOT> com>
AuthorDate: Sat Oct 13 15:32:42 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 11:56:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cfc06b5

sys-process/rtirq: version bump to 20180209

- Install systemd service file.
- Bump to EAPI 7.
- Drop explicit RDEPEND on sys-apps/util-linux.
- Group variables as in skel.ebuild.
- Update LICENSE to GPL-2+ in accordance with rtirq.sh.
- Do not use PN variable in src_install.
- Remove OpenRC specific code that was not very useful anyway.
- Use KV_LOCAL from linux-info to detect if the current kernel is
  realtime or not.
- Avoid using grep unnecessarily.

Closes: https://bugs.gentoo.org/653732
Signed-off-by: Karl Linden <karl.j.linden <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10135
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 +
 sys-process/rtirq/rtirq-20180209.ebuild | 38 +++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index 57ca7c2065b..4c95062e111 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1 +1,2 @@
 DIST rtirq-20150216.tar.gz 12249 BLAKE2B b138c3b274e7d0875fc18d21ff77291975f86d841cfd06d704b428bcf7e106fb06b4738a4d8dd88ca2e58fa719b8232ef8a61df0bd088c9a368497e27095bd39 SHA512 4cb4e3a8e314cec238c2a21c975bec258f229b660e0994893b73aa0b16f6041179ff4e220532fde237d70e15fd5420e22ee5dbf84168148060e760d76617b59c
+DIST rtirq-20180209.tar.gz 12290 BLAKE2B 432bf6c931b753d4d9a5d7c50a35b0fb9b2161d09c9f762b97a5aae88152de1f3d14a2a4ccc46d8607d7379e4a7a659d603cc09ee20017923b176359eb4b9133 SHA512 9de924e627b91d6df162b6c8c0c3421fbab11f08162abe98b0fac8742ea924a7e0a18aab23d828e19fe81dfdb70f2f6814c7195acbcbc93af9a339dc549190b2

diff --git a/sys-process/rtirq/rtirq-20180209.ebuild b/sys-process/rtirq/rtirq-20180209.ebuild
new file mode 100644
index 00000000000..5186ad22dd4
--- /dev/null
+++ b/sys-process/rtirq/rtirq-20180209.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit linux-info systemd
+
+DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
+HOMEPAGE="http://www.rncbc.org/archive/#rtirq"
+SRC_URI="http://www.rncbc.org/archive/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+	get_version
+
+	# Correct config file path.
+	sed -i -e "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" ${PN}.sh || die
+	sed -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" ${PN}.conf || die
+
+	default
+}
+
+src_install() {
+	dosbin rtirq.sh
+	doinitd "${FILESDIR}"/rtirq
+	newconfd rtirq.conf rtirq
+	systemd_dounit rtirq.service
+}
+
+pkg_postinst() {
+	if [[ ${KV_LOCAL} != *rt* ]] ; then
+		elog "To use rtirq you need a realtime kernel."
+		elog "Realtime kernel sources are supplied in sys-kernel/rt-sources."
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2018-10-24 11:58 Michał Górny
  0 siblings, 0 replies; 12+ messages in thread
From: Michał Górny @ 2018-10-24 11:58 UTC (permalink / raw
  To: gentoo-commits

commit:     3f368aed96405b63a317916a559da07155cc7232
Author:     Karl Linden <karl.j.linden <AT> gmail <DOT> com>
AuthorDate: Sat Oct 13 15:05:30 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 11:56:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f368aed

sys-process/rtirq: correct HOMEPAGE and SRC_URI

Signed-off-by: Karl Linden <karl.j.linden <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-process/rtirq/rtirq-20150216.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-process/rtirq/rtirq-20150216.ebuild b/sys-process/rtirq/rtirq-20150216.ebuild
index 25ac445e402..91f6fe3f344 100644
--- a/sys-process/rtirq/rtirq-20150216.ebuild
+++ b/sys-process/rtirq/rtirq-20150216.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
 DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="http://www.rncbc.org/jack/"
+HOMEPAGE="http://www.rncbc.org/archive/#rtirq"
 
-SRC_URI="http://www.rncbc.org/jack/${P}.tar.gz"
+SRC_URI="http://www.rncbc.org/archive/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2019-04-04 21:16 Aaron Bauman
  0 siblings, 0 replies; 12+ messages in thread
From: Aaron Bauman @ 2019-04-04 21:16 UTC (permalink / raw
  To: gentoo-commits

commit:     774b0f8ea37c3c2846f14671e12fcdd808611a6b
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Apr  2 17:09:10 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 21:16:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774b0f8e

sys-process/rtirq: use HTTPS, fix SRC_URI

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11572
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sys-process/rtirq/rtirq-20150216.ebuild | 6 +++---
 sys-process/rtirq/rtirq-20180209.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-process/rtirq/rtirq-20150216.ebuild b/sys-process/rtirq/rtirq-20150216.ebuild
index 91f6fe3f344..5bd86fb047b 100644
--- a/sys-process/rtirq/rtirq-20150216.ebuild
+++ b/sys-process/rtirq/rtirq-20150216.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
 DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="http://www.rncbc.org/archive/#rtirq"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
 
-SRC_URI="http://www.rncbc.org/archive/${P}.tar.gz"
+SRC_URI="https://www.rncbc.org/archive/old/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"

diff --git a/sys-process/rtirq/rtirq-20180209.ebuild b/sys-process/rtirq/rtirq-20180209.ebuild
index 5186ad22dd4..f51c09b0917 100644
--- a/sys-process/rtirq/rtirq-20180209.ebuild
+++ b/sys-process/rtirq/rtirq-20180209.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -6,8 +6,8 @@ EAPI="7"
 inherit linux-info systemd
 
 DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="http://www.rncbc.org/archive/#rtirq"
-SRC_URI="http://www.rncbc.org/archive/${P}.tar.gz"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+SRC_URI="https://www.rncbc.org/archive/old/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2019-09-11 16:21 Michał Górny
  0 siblings, 0 replies; 12+ messages in thread
From: Michał Górny @ 2019-09-11 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     5ee9f144844414a4e9ec9af3eeac4b58f9894a81
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 11:27:16 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 16:20:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee9f144

sys-process/rtirq: Drop old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 -
 sys-process/rtirq/rtirq-20150216.ebuild | 41 ---------------------------------
 2 files changed, 42 deletions(-)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index 4c95062e111..9f56d4da7c5 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,2 +1 @@
-DIST rtirq-20150216.tar.gz 12249 BLAKE2B b138c3b274e7d0875fc18d21ff77291975f86d841cfd06d704b428bcf7e106fb06b4738a4d8dd88ca2e58fa719b8232ef8a61df0bd088c9a368497e27095bd39 SHA512 4cb4e3a8e314cec238c2a21c975bec258f229b660e0994893b73aa0b16f6041179ff4e220532fde237d70e15fd5420e22ee5dbf84168148060e760d76617b59c
 DIST rtirq-20180209.tar.gz 12290 BLAKE2B 432bf6c931b753d4d9a5d7c50a35b0fb9b2161d09c9f762b97a5aae88152de1f3d14a2a4ccc46d8607d7379e4a7a659d603cc09ee20017923b176359eb4b9133 SHA512 9de924e627b91d6df162b6c8c0c3421fbab11f08162abe98b0fac8742ea924a7e0a18aab23d828e19fe81dfdb70f2f6814c7195acbcbc93af9a339dc549190b2

diff --git a/sys-process/rtirq/rtirq-20150216.ebuild b/sys-process/rtirq/rtirq-20150216.ebuild
deleted file mode 100644
index 5bd86fb047b..00000000000
--- a/sys-process/rtirq/rtirq-20150216.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
-
-SRC_URI="https://www.rncbc.org/archive/old/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=">=sys-apps/util-linux-2.13"
-
-src_prepare() {
-	# Correct config file path.
-	sed -i -e "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" ${PN}.sh || die
-	sed -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" ${PN}.conf || die
-
-	default
-}
-
-src_install(){
-	dosbin ${PN}.sh
-	doinitd "${FILESDIR}"/${PN}
-	newconfd ${PN}.conf ${PN}
-}
-
-pkg_postinst(){
-	if [[ "$(rc-config list default | grep rtirq)" = "" ]] ; then
-		elog "You probably want to add rtirq to the default runlevel, i.e."
-		elog "  rc-update add rtirq default"
-	fi
-	if [[ "$(uname -r | grep rt)" = "" ]] ; then
-		elog "To use rtirq you need a realtime kernel."
-		elog "Realtime kernel sources are supplied in sys-kernel/rt-sources."
-	fi
-	elog "To display the rtirq status issue:"
-	elog "  /etc/init.d/rtirq status"
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2020-05-17 16:42 Joonas Niilola
  0 siblings, 0 replies; 12+ messages in thread
From: Joonas Niilola @ 2020-05-17 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     f7b8111f1b73214af5da4e4976d4cf91a139664e
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sun May 17 14:20:04 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun May 17 16:41:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b8111f

sys-process/rtirq: Add myself as maintainer

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/14800
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/rtirq/metadata.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sys-process/rtirq/metadata.xml b/sys-process/rtirq/metadata.xml
index 1b2becffa26..039cf44c703 100644
--- a/sys-process/rtirq/metadata.xml
+++ b/sys-process/rtirq/metadata.xml
@@ -1,5 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>alexander@tsoy.me</email>
+		<name>Alexander Tsoy</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2022-04-23  5:44 Joonas Niilola
  0 siblings, 0 replies; 12+ messages in thread
From: Joonas Niilola @ 2022-04-23  5:44 UTC (permalink / raw
  To: gentoo-commits

commit:     0a8ca88b368c413288d453a5e9f98acc24ad1392
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sat Apr 16 23:43:27 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 05:31:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8ca88b

sys-process/rtirq: Version bump to 20210329

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 +
 sys-process/rtirq/rtirq-20210329.ebuild | 60 +++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index d5352d4ebc0d..09df64b10c4a 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,2 +1,3 @@
 DIST rtirq-20180209.tar.gz 12290 BLAKE2B 432bf6c931b753d4d9a5d7c50a35b0fb9b2161d09c9f762b97a5aae88152de1f3d14a2a4ccc46d8607d7379e4a7a659d603cc09ee20017923b176359eb4b9133 SHA512 9de924e627b91d6df162b6c8c0c3421fbab11f08162abe98b0fac8742ea924a7e0a18aab23d828e19fe81dfdb70f2f6814c7195acbcbc93af9a339dc549190b2
 DIST rtirq-20191121.tar.gz 12755 BLAKE2B 040e1b39b83dc27e542093a12830fa51c9786c2747962740c31e684235acab33275a40761fd87cd1307284c2b8e49362d4acb216000338bc0744dd0ca6b0144c SHA512 bb1ae0099e37220b13f91303e56e8ae7892964638c1000fd66b6ceb23925c8aa2ac0c629bbb799a59c1a8adb035c34c4b0bee31afe05fcc9f80cd94d5a84ddc1
+DIST rtirq-20210329.tar.gz 15360 BLAKE2B 278868817b349d0fd8bc70f0fb0374016d9117b593ed2fe710300fe194e7f8e640f4071f30e73688cca11d6da79fd93624a5e5e5246bfc2f9cd367397c00cadd SHA512 e08ee7768c93dd4e7244b61629272c4a4482d63b1fe37b7972a27703cd0a55cc12449589a781b33e9c92f5dd664c1a4ceba65caadb09c676deea86c161cc3d37

diff --git a/sys-process/rtirq/rtirq-20210329.ebuild b/sys-process/rtirq/rtirq-20210329.ebuild
new file mode 100644
index 000000000000..56edc30f9a09
--- /dev/null
+++ b/sys-process/rtirq/rtirq-20210329.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit linux-info systemd
+
+DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
+	https://www.rncbc.org/archive/old/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+	# We install into bin
+	sed -i -e "s:/usr/sbin/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
+
+	default
+}
+
+src_install() {
+	newbin rtirq.sh rtirq
+	newinitd "${FILESDIR}"/rtirq.initd rtirq
+	insinto /etc/
+	doins rtirq.conf
+	systemd_dounit rtirq{,-resume}.service
+}
+
+pkg_postinst() {
+	local kconfig_warn=1
+	local cmdline
+	local ver
+
+	if linux-info_get_any_version && linux_config_exists; then
+		if linux_chkconfig_present PREEMPT_RT; then
+			kconfig_warn=0
+		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
+			cmdline=$(< /proc/cmdline) || die
+			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
+		fi
+	fi
+
+	if (( ${kconfig_warn} )); then
+		ewarn "To use rtirq, you need one of the following kernel configurations:"
+		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
+		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
+		ewarn "   added to the kernel cmdline."
+	fi
+
+	for ver in ${REPLACING_VERSIONS}; do
+		if ver_test ${ver} -lt "20210329"; then
+			elog "Starting with 20210329 version the config has been moved to '${EROOT}/etc/rtirq.conf'"
+			elog "Please migrate all you setting from '${EROOT}/etc/conf.d/rtirq'"
+			break
+		fi
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2023-04-03  6:42 Viorel Munteanu
  0 siblings, 0 replies; 12+ messages in thread
From: Viorel Munteanu @ 2023-04-03  6:42 UTC (permalink / raw
  To: gentoo-commits

commit:     1c5e448a50947decc35d083dedcd5419715fa8b2
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sun Mar  5 20:55:18 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 06:42:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c5e448a

sys-process/rtirq: version bump to 20220923

In this version egrep has been replaced by grep -E

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 +
 sys-process/rtirq/rtirq-20220923.ebuild | 64 +++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index 63a37811d892..c469baca6e83 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,2 +1,3 @@
 DIST rtirq-20191121.tar.gz 12755 BLAKE2B 040e1b39b83dc27e542093a12830fa51c9786c2747962740c31e684235acab33275a40761fd87cd1307284c2b8e49362d4acb216000338bc0744dd0ca6b0144c SHA512 bb1ae0099e37220b13f91303e56e8ae7892964638c1000fd66b6ceb23925c8aa2ac0c629bbb799a59c1a8adb035c34c4b0bee31afe05fcc9f80cd94d5a84ddc1
 DIST rtirq-20210329.tar.gz 15360 BLAKE2B 278868817b349d0fd8bc70f0fb0374016d9117b593ed2fe710300fe194e7f8e640f4071f30e73688cca11d6da79fd93624a5e5e5246bfc2f9cd367397c00cadd SHA512 e08ee7768c93dd4e7244b61629272c4a4482d63b1fe37b7972a27703cd0a55cc12449589a781b33e9c92f5dd664c1a4ceba65caadb09c676deea86c161cc3d37
+DIST rtirq-20220923.tar.gz 15522 BLAKE2B ea7248afa665c2c8bfb99c42ff18d7d585f4a337c8850f5343b610a131face8b8eec4ef19901f59685793662e0e0ac95dfdddffea9951f47910dbc12bb47a459 SHA512 6846075e8196220aabb68250f0284b77f21b5c9bfd6dd9bbea59307679111c122d2091acefa38048f96166ae903b3ed46cbba4242afabc9a18bfa97467200386

diff --git a/sys-process/rtirq/rtirq-20220923.ebuild b/sys-process/rtirq/rtirq-20220923.ebuild
new file mode 100644
index 000000000000..6b890d40b8ae
--- /dev/null
+++ b/sys-process/rtirq/rtirq-20220923.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit linux-info systemd
+
+DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
+	https://www.rncbc.org/archive/old/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	sys-apps/util-linux
+"
+
+src_prepare() {
+	# We install into bin
+	sed -i -e "s:/usr/sbin/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
+
+	default
+}
+
+src_install() {
+	newbin rtirq.sh rtirq
+	newinitd "${FILESDIR}"/rtirq.initd rtirq
+	insinto /etc/
+	doins rtirq.conf
+	systemd_dounit rtirq{,-resume}.service
+}
+
+pkg_postinst() {
+	local kconfig_warn=1
+	local cmdline
+	local ver
+
+	if linux-info_get_any_version && linux_config_exists; then
+		if linux_chkconfig_present PREEMPT_RT; then
+			kconfig_warn=0
+		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
+			cmdline=$(< /proc/cmdline) || die
+			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
+		fi
+	fi
+
+	if (( ${kconfig_warn} )); then
+		ewarn "To use rtirq, you need one of the following kernel configurations:"
+		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
+		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
+		ewarn "   added to the kernel cmdline."
+	fi
+
+	for ver in ${REPLACING_VERSIONS}; do
+		if ver_test ${ver} -lt "20210329"; then
+			elog "Starting with 20210329 version the config has been moved to '${EROOT}/etc/rtirq.conf'"
+			elog "Please migrate all you setting from '${EROOT}/etc/conf.d/rtirq'"
+			break
+		fi
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2023-04-03  6:42 Viorel Munteanu
  0 siblings, 0 replies; 12+ messages in thread
From: Viorel Munteanu @ 2023-04-03  6:42 UTC (permalink / raw
  To: gentoo-commits

commit:     8784b332f30f254e88bb8b30933184d1a72d68c7
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sun Mar  5 21:05:00 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 06:42:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8784b332

sys-process/rtirq: remove old

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/29947
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  2 --
 sys-process/rtirq/rtirq-20191121.ebuild | 52 ----------------------------
 sys-process/rtirq/rtirq-20210329.ebuild | 60 ---------------------------------
 3 files changed, 114 deletions(-)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index c469baca6e83..4f9ca2a71ef8 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,3 +1 @@
-DIST rtirq-20191121.tar.gz 12755 BLAKE2B 040e1b39b83dc27e542093a12830fa51c9786c2747962740c31e684235acab33275a40761fd87cd1307284c2b8e49362d4acb216000338bc0744dd0ca6b0144c SHA512 bb1ae0099e37220b13f91303e56e8ae7892964638c1000fd66b6ceb23925c8aa2ac0c629bbb799a59c1a8adb035c34c4b0bee31afe05fcc9f80cd94d5a84ddc1
-DIST rtirq-20210329.tar.gz 15360 BLAKE2B 278868817b349d0fd8bc70f0fb0374016d9117b593ed2fe710300fe194e7f8e640f4071f30e73688cca11d6da79fd93624a5e5e5246bfc2f9cd367397c00cadd SHA512 e08ee7768c93dd4e7244b61629272c4a4482d63b1fe37b7972a27703cd0a55cc12449589a781b33e9c92f5dd664c1a4ceba65caadb09c676deea86c161cc3d37
 DIST rtirq-20220923.tar.gz 15522 BLAKE2B ea7248afa665c2c8bfb99c42ff18d7d585f4a337c8850f5343b610a131face8b8eec4ef19901f59685793662e0e0ac95dfdddffea9951f47910dbc12bb47a459 SHA512 6846075e8196220aabb68250f0284b77f21b5c9bfd6dd9bbea59307679111c122d2091acefa38048f96166ae903b3ed46cbba4242afabc9a18bfa97467200386

diff --git a/sys-process/rtirq/rtirq-20191121.ebuild b/sys-process/rtirq/rtirq-20191121.ebuild
deleted file mode 100644
index f936e02182f4..000000000000
--- a/sys-process/rtirq/rtirq-20191121.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit linux-info systemd
-
-DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
-SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
-	https://www.rncbc.org/archive/old/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_prepare() {
-	# Correct config file path.
-	sed -i -e "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" ${PN}.sh || die
-	sed -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" ${PN}.conf || die
-	sed -i -e "s:/etc/init.d/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
-
-	default
-}
-
-src_install() {
-	newbin rtirq.sh rtirq
-	newinitd "${FILESDIR}"/rtirq.initd rtirq
-	newconfd rtirq.conf rtirq
-	systemd_dounit rtirq{,-resume}.service
-}
-
-pkg_postinst() {
-	local kconfig_warn=1
-	local cmdline
-
-	if linux-info_get_any_version && linux_config_exists; then
-		if linux_chkconfig_present PREEMPT_RT; then
-			kconfig_warn=0
-		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
-			cmdline=$(< /proc/cmdline) || die
-			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
-		fi
-	fi
-
-	if (( ${kconfig_warn} )); then
-		ewarn "To use rtirq, you need one of the following kernel configurations:"
-		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
-		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
-		ewarn "   added to the kernel cmdline."
-	fi
-}

diff --git a/sys-process/rtirq/rtirq-20210329.ebuild b/sys-process/rtirq/rtirq-20210329.ebuild
deleted file mode 100644
index 56edc30f9a09..000000000000
--- a/sys-process/rtirq/rtirq-20210329.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit linux-info systemd
-
-DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
-SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
-	https://www.rncbc.org/archive/old/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_prepare() {
-	# We install into bin
-	sed -i -e "s:/usr/sbin/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
-
-	default
-}
-
-src_install() {
-	newbin rtirq.sh rtirq
-	newinitd "${FILESDIR}"/rtirq.initd rtirq
-	insinto /etc/
-	doins rtirq.conf
-	systemd_dounit rtirq{,-resume}.service
-}
-
-pkg_postinst() {
-	local kconfig_warn=1
-	local cmdline
-	local ver
-
-	if linux-info_get_any_version && linux_config_exists; then
-		if linux_chkconfig_present PREEMPT_RT; then
-			kconfig_warn=0
-		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
-			cmdline=$(< /proc/cmdline) || die
-			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
-		fi
-	fi
-
-	if (( ${kconfig_warn} )); then
-		ewarn "To use rtirq, you need one of the following kernel configurations:"
-		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
-		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
-		ewarn "   added to the kernel cmdline."
-	fi
-
-	for ver in ${REPLACING_VERSIONS}; do
-		if ver_test ${ver} -lt "20210329"; then
-			elog "Starting with 20210329 version the config has been moved to '${EROOT}/etc/rtirq.conf'"
-			elog "Please migrate all you setting from '${EROOT}/etc/conf.d/rtirq'"
-			break
-		fi
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2024-02-29 13:48 Joonas Niilola
  0 siblings, 0 replies; 12+ messages in thread
From: Joonas Niilola @ 2024-02-29 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     32450ec6bcc8b16471c80b9b0d4a3c99dbe280f6
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sun Feb  4 23:29:52 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 13:48:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32450ec6

sys-process/rtirq: Version bump to 20240120

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/35186
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 +
 sys-process/rtirq/rtirq-20240120.ebuild | 56 +++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index 4f9ca2a71ef8..69c0c2b9ae7d 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1 +1,2 @@
 DIST rtirq-20220923.tar.gz 15522 BLAKE2B ea7248afa665c2c8bfb99c42ff18d7d585f4a337c8850f5343b610a131face8b8eec4ef19901f59685793662e0e0ac95dfdddffea9951f47910dbc12bb47a459 SHA512 6846075e8196220aabb68250f0284b77f21b5c9bfd6dd9bbea59307679111c122d2091acefa38048f96166ae903b3ed46cbba4242afabc9a18bfa97467200386
+DIST rtirq-20240120.tar.gz 16077 BLAKE2B 2c1ab9f1824d861e13e49667a35fc048e931afb18084de756dcbabde0d4cdd21e78afc9733eb364cd826d4ffd29a89db862033c9539b7cfe7a7b22f7cb353864 SHA512 b945bdb29ef3ef551c19edc9d947a7ed50ecd756dec5a3b02a0cd519a0f506e3ca212b1cb629386dd525d565cc6e2d868c558934c59b8d0bc02573a9589deb86

diff --git a/sys-process/rtirq/rtirq-20240120.ebuild b/sys-process/rtirq/rtirq-20240120.ebuild
new file mode 100644
index 000000000000..a98fe254b6af
--- /dev/null
+++ b/sys-process/rtirq/rtirq-20240120.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit linux-info systemd
+
+DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
+	https://www.rncbc.org/archive/old/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	sys-apps/util-linux
+"
+
+src_prepare() {
+	# We install into bin
+	sed -i -e "s:/usr/sbin/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
+
+	default
+}
+
+src_install() {
+	newbin rtirq.sh rtirq
+	newinitd "${FILESDIR}"/rtirq.initd rtirq
+	insinto /etc/
+	doins rtirq.conf
+	systemd_dounit rtirq{,-resume}.service
+}
+
+pkg_postinst() {
+	local kconfig_warn=1
+	local cmdline
+	local ver
+
+	if linux-info_get_any_version && linux_config_exists; then
+		if linux_chkconfig_present PREEMPT_RT; then
+			kconfig_warn=0
+		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
+			cmdline=$(< /proc/cmdline) || die
+			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
+		fi
+	fi
+
+	if (( ${kconfig_warn} )); then
+		ewarn "To use rtirq, you need one of the following kernel configurations:"
+		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
+		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
+		ewarn "   added to the kernel cmdline."
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2024-04-18 12:08 Yixun Lan
  0 siblings, 0 replies; 12+ messages in thread
From: Yixun Lan @ 2024-04-18 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     3adaf221eb489e50ab880e4874be7ab471f0f162
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Thu Apr 18 06:48:29 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 12:07:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3adaf221

sys-process/rtirq: add 20240220

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 +
 sys-process/rtirq/rtirq-20240220.ebuild | 56 +++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index 69c0c2b9ae7d..e52b717fd951 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,2 +1,3 @@
 DIST rtirq-20220923.tar.gz 15522 BLAKE2B ea7248afa665c2c8bfb99c42ff18d7d585f4a337c8850f5343b610a131face8b8eec4ef19901f59685793662e0e0ac95dfdddffea9951f47910dbc12bb47a459 SHA512 6846075e8196220aabb68250f0284b77f21b5c9bfd6dd9bbea59307679111c122d2091acefa38048f96166ae903b3ed46cbba4242afabc9a18bfa97467200386
 DIST rtirq-20240120.tar.gz 16077 BLAKE2B 2c1ab9f1824d861e13e49667a35fc048e931afb18084de756dcbabde0d4cdd21e78afc9733eb364cd826d4ffd29a89db862033c9539b7cfe7a7b22f7cb353864 SHA512 b945bdb29ef3ef551c19edc9d947a7ed50ecd756dec5a3b02a0cd519a0f506e3ca212b1cb629386dd525d565cc6e2d868c558934c59b8d0bc02573a9589deb86
+DIST rtirq-20240220.tar.gz 16273 BLAKE2B 08af8d371e4ace57dc18276748b00328e7ca1476ae46226ea85ba0c345c7f15b81e412bed8ac30768c5bedffc87887f60d647cd0ec2e82d3751654030c7937f1 SHA512 a6b44f09e158e71bc5697b313d2c7b75097b6f669be4bd7c5c3cee2e59ab38c5751dbd222a28fe7e1bd340d2b7ce5dc7277559c41ad25f9d7b19f180ce337978

diff --git a/sys-process/rtirq/rtirq-20240220.ebuild b/sys-process/rtirq/rtirq-20240220.ebuild
new file mode 100644
index 000000000000..a98fe254b6af
--- /dev/null
+++ b/sys-process/rtirq/rtirq-20240220.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit linux-info systemd
+
+DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
+HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
+	https://www.rncbc.org/archive/old/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	sys-apps/util-linux
+"
+
+src_prepare() {
+	# We install into bin
+	sed -i -e "s:/usr/sbin/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
+
+	default
+}
+
+src_install() {
+	newbin rtirq.sh rtirq
+	newinitd "${FILESDIR}"/rtirq.initd rtirq
+	insinto /etc/
+	doins rtirq.conf
+	systemd_dounit rtirq{,-resume}.service
+}
+
+pkg_postinst() {
+	local kconfig_warn=1
+	local cmdline
+	local ver
+
+	if linux-info_get_any_version && linux_config_exists; then
+		if linux_chkconfig_present PREEMPT_RT; then
+			kconfig_warn=0
+		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
+			cmdline=$(< /proc/cmdline) || die
+			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
+		fi
+	fi
+
+	if (( ${kconfig_warn} )); then
+		ewarn "To use rtirq, you need one of the following kernel configurations:"
+		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
+		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
+		ewarn "   added to the kernel cmdline."
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2024-04-18 12:08 Yixun Lan
  0 siblings, 0 replies; 12+ messages in thread
From: Yixun Lan @ 2024-04-18 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5ab3094e57a098f8d625ff5c7be9baacaa4159c0
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Thu Apr 18 06:49:41 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 12:07:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab3094e

sys-process/rtirq: drop 20220923

Closes: https://github.com/gentoo/gentoo/pull/36307
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-process/rtirq/Manifest              |  1 -
 sys-process/rtirq/rtirq-20220923.ebuild | 64 ---------------------------------
 2 files changed, 65 deletions(-)

diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest
index e52b717fd951..34f363bbeda4 100644
--- a/sys-process/rtirq/Manifest
+++ b/sys-process/rtirq/Manifest
@@ -1,3 +1,2 @@
-DIST rtirq-20220923.tar.gz 15522 BLAKE2B ea7248afa665c2c8bfb99c42ff18d7d585f4a337c8850f5343b610a131face8b8eec4ef19901f59685793662e0e0ac95dfdddffea9951f47910dbc12bb47a459 SHA512 6846075e8196220aabb68250f0284b77f21b5c9bfd6dd9bbea59307679111c122d2091acefa38048f96166ae903b3ed46cbba4242afabc9a18bfa97467200386
 DIST rtirq-20240120.tar.gz 16077 BLAKE2B 2c1ab9f1824d861e13e49667a35fc048e931afb18084de756dcbabde0d4cdd21e78afc9733eb364cd826d4ffd29a89db862033c9539b7cfe7a7b22f7cb353864 SHA512 b945bdb29ef3ef551c19edc9d947a7ed50ecd756dec5a3b02a0cd519a0f506e3ca212b1cb629386dd525d565cc6e2d868c558934c59b8d0bc02573a9589deb86
 DIST rtirq-20240220.tar.gz 16273 BLAKE2B 08af8d371e4ace57dc18276748b00328e7ca1476ae46226ea85ba0c345c7f15b81e412bed8ac30768c5bedffc87887f60d647cd0ec2e82d3751654030c7937f1 SHA512 a6b44f09e158e71bc5697b313d2c7b75097b6f669be4bd7c5c3cee2e59ab38c5751dbd222a28fe7e1bd340d2b7ce5dc7277559c41ad25f9d7b19f180ce337978

diff --git a/sys-process/rtirq/rtirq-20220923.ebuild b/sys-process/rtirq/rtirq-20220923.ebuild
deleted file mode 100644
index 6b890d40b8ae..000000000000
--- a/sys-process/rtirq/rtirq-20220923.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit linux-info systemd
-
-DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
-SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
-	https://www.rncbc.org/archive/old/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	sys-apps/util-linux
-"
-
-src_prepare() {
-	# We install into bin
-	sed -i -e "s:/usr/sbin/rtirq:/usr/bin/rtirq:" ${PN}{,-resume}.service || die
-
-	default
-}
-
-src_install() {
-	newbin rtirq.sh rtirq
-	newinitd "${FILESDIR}"/rtirq.initd rtirq
-	insinto /etc/
-	doins rtirq.conf
-	systemd_dounit rtirq{,-resume}.service
-}
-
-pkg_postinst() {
-	local kconfig_warn=1
-	local cmdline
-	local ver
-
-	if linux-info_get_any_version && linux_config_exists; then
-		if linux_chkconfig_present PREEMPT_RT; then
-			kconfig_warn=0
-		elif linux_chkconfig_present IRQ_FORCED_THREADING; then
-			cmdline=$(< /proc/cmdline) || die
-			[[ ${cmdline} == *threadirqs* ]] && kconfig_warn=0
-		fi
-	fi
-
-	if (( ${kconfig_warn} )); then
-		ewarn "To use rtirq, you need one of the following kernel configurations:"
-		ewarn " - PREEMPT_RT config option enabled (e.g. with sys-kernel/rt-sources);"
-		ewarn " - IRQ_FORCED_THREADING config option enabled and 'threadirqs' option"
-		ewarn "   added to the kernel cmdline."
-	fi
-
-	for ver in ${REPLACING_VERSIONS}; do
-		if ver_test ${ver} -lt "20210329"; then
-			elog "Starting with 20210329 version the config has been moved to '${EROOT}/etc/rtirq.conf'"
-			elog "Please migrate all you setting from '${EROOT}/etc/conf.d/rtirq'"
-			break
-		fi
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
@ 2024-04-24 12:51 Conrad Kostecki
  0 siblings, 0 replies; 12+ messages in thread
From: Conrad Kostecki @ 2024-04-24 12:51 UTC (permalink / raw
  To: gentoo-commits

commit:     136c61532637a563b6199fd85018e8979938d22a
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Wed Apr 24 11:30:57 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 12:50:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136c6153

sys-process/rtirq: change homepage and add remote-id

rncbc.org does not contain any information about rtirq. Lets change
homepage to github repo.

Closes: https://bugs.gentoo.org/930201
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/36401
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-process/rtirq/metadata.xml          | 3 +++
 sys-process/rtirq/rtirq-20240120.ebuild | 2 +-
 sys-process/rtirq/rtirq-20240220.ebuild | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-process/rtirq/metadata.xml b/sys-process/rtirq/metadata.xml
index e546f23de8cf..be6a900e5709 100644
--- a/sys-process/rtirq/metadata.xml
+++ b/sys-process/rtirq/metadata.xml
@@ -9,4 +9,7 @@
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">rncbc/rtirq</remote-id>
+	</upstream>
 </pkgmetadata>

diff --git a/sys-process/rtirq/rtirq-20240120.ebuild b/sys-process/rtirq/rtirq-20240120.ebuild
index a98fe254b6af..d4e3da7ca102 100644
--- a/sys-process/rtirq/rtirq-20240120.ebuild
+++ b/sys-process/rtirq/rtirq-20240120.ebuild
@@ -6,7 +6,7 @@ EAPI="8"
 inherit linux-info systemd
 
 DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+HOMEPAGE="https://github.com/rncbc/rtirq"
 SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
 	https://www.rncbc.org/archive/old/${P}.tar.gz"
 

diff --git a/sys-process/rtirq/rtirq-20240220.ebuild b/sys-process/rtirq/rtirq-20240220.ebuild
index a98fe254b6af..d4e3da7ca102 100644
--- a/sys-process/rtirq/rtirq-20240220.ebuild
+++ b/sys-process/rtirq/rtirq-20240220.ebuild
@@ -6,7 +6,7 @@ EAPI="8"
 inherit linux-info systemd
 
 DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
-HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
+HOMEPAGE="https://github.com/rncbc/rtirq"
 SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
 	https://www.rncbc.org/archive/old/${P}.tar.gz"
 


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

end of thread, other threads:[~2024-04-24 12:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-24 11:58 [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2018-10-24 11:58 Michał Górny
2019-04-04 21:16 Aaron Bauman
2019-09-11 16:21 Michał Górny
2020-05-17 16:42 Joonas Niilola
2022-04-23  5:44 Joonas Niilola
2023-04-03  6:42 Viorel Munteanu
2023-04-03  6:42 Viorel Munteanu
2024-02-29 13:48 Joonas Niilola
2024-04-18 12:08 Yixun Lan
2024-04-18 12:08 Yixun Lan
2024-04-24 12:51 Conrad Kostecki

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