public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/rtirq/
Date: Mon,  3 Apr 2023 06:42:20 +0000 (UTC)	[thread overview]
Message-ID: <1680504125.8784b332f30f254e88bb8b30933184d1a72d68c7.ceamac@gentoo> (raw)

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
-}


             reply	other threads:[~2023-04-03  6:42 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1680504125.8784b332f30f254e88bb8b30933184d1a72d68c7.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox