From 7837a76c344b64e925519dd5e26233bb3b648beb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Apr 2023 11:20:10 +0100 Subject: gentoo auto-resync : 03:04:2023 - 11:20:10 --- sys-process/Manifest.gz | Bin 9976 -> 9982 bytes sys-process/rtirq/Manifest | 6 +-- sys-process/rtirq/rtirq-20191121.ebuild | 52 -------------------------- sys-process/rtirq/rtirq-20210329.ebuild | 60 ------------------------------ sys-process/rtirq/rtirq-20220923.ebuild | 64 ++++++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+), 116 deletions(-) delete mode 100644 sys-process/rtirq/rtirq-20191121.ebuild delete mode 100644 sys-process/rtirq/rtirq-20210329.ebuild create mode 100644 sys-process/rtirq/rtirq-20220923.ebuild (limited to 'sys-process') diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz index fb4409f1ae86..0107455a6d9a 100644 Binary files a/sys-process/Manifest.gz and b/sys-process/Manifest.gz differ diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest index ebc106a8d264..ef05221ffb61 100644 --- a/sys-process/rtirq/Manifest +++ b/sys-process/rtirq/Manifest @@ -1,6 +1,4 @@ AUX rtirq.initd 431 BLAKE2B 7b3846513cb389fa05e31cf556d5a668969d227a5d47c6d75c94bb152d97ae23550bc34b1e19b9b72a3a03a0ffae23f66ec9378af09831e8dc394c5d7c6b412b SHA512 3bf69aa9b78e2c0093226b2e8cd495157b54482ca72fe79c70d52b3adc2bd59a1027157b79f558e5fa546c7f70973aa9bcbb8ab1e7e52d82970b6367951c4e1e -DIST rtirq-20191121.tar.gz 12755 BLAKE2B 040e1b39b83dc27e542093a12830fa51c9786c2747962740c31e684235acab33275a40761fd87cd1307284c2b8e49362d4acb216000338bc0744dd0ca6b0144c SHA512 bb1ae0099e37220b13f91303e56e8ae7892964638c1000fd66b6ceb23925c8aa2ac0c629bbb799a59c1a8adb035c34c4b0bee31afe05fcc9f80cd94d5a84ddc1 -DIST rtirq-20210329.tar.gz 15360 BLAKE2B 278868817b349d0fd8bc70f0fb0374016d9117b593ed2fe710300fe194e7f8e640f4071f30e73688cca11d6da79fd93624a5e5e5246bfc2f9cd367397c00cadd SHA512 e08ee7768c93dd4e7244b61629272c4a4482d63b1fe37b7972a27703cd0a55cc12449589a781b33e9c92f5dd664c1a4ceba65caadb09c676deea86c161cc3d37 -EBUILD rtirq-20191121.ebuild 1514 BLAKE2B dfbe4a08e1b0498fcf85b6e83632217c2e7b72bb9c849cd4f042651a6e5e7c5d53ea0200d8e767d280219e15070e0f5cc4bc0f688f57f0ef52b999432e4210be SHA512 144245e13c0fd540f40fb95e80d99cfb2e0c95e6e77eebd23881fa834fe9738eb0a47a8cf1f2e50f3578342a080605e86a290508565aa8f9532bcccf08176d03 -EBUILD rtirq-20210329.ebuild 1643 BLAKE2B 59724231938f9d168efde313b79e10e8ac9341cc8eab4ada781605622a4fcc2d3b8707863e6d3c313246f8db925b7bc13bd20a832b54c776a7f8b4e394e1ef74 SHA512 89ca414a2442135abc02a5c07f77634da0f1f6b5cf39c07f285c6bcc35cea56598eec9b20a6c3807420f0a73a745937ac243c2c6a320fadd9e6c0aa527016280 +DIST rtirq-20220923.tar.gz 15522 BLAKE2B ea7248afa665c2c8bfb99c42ff18d7d585f4a337c8850f5343b610a131face8b8eec4ef19901f59685793662e0e0ac95dfdddffea9951f47910dbc12bb47a459 SHA512 6846075e8196220aabb68250f0284b77f21b5c9bfd6dd9bbea59307679111c122d2091acefa38048f96166ae903b3ed46cbba4242afabc9a18bfa97467200386 +EBUILD rtirq-20220923.ebuild 1677 BLAKE2B 4b13760bc10c33c2378715312170d664c36b08ed6c63cd0d71402a548a57aa4ac119c4f72f0d22d63f2451052c7de266756ad93a7c5b5aaa940eed811e2d9d37 SHA512 36da5165d32e0af6c853d632029f9f58291521699a27ebcece40fec462216006709d156154fb79dc68e47844a9d23ce42317da8076532c653c0749afb9c7b91e MISC metadata.xml 395 BLAKE2B 676ceaef4b63cc5fd7c0ad8b28065738adf013fa4f85cb2fa70bd1cafa8ea6b76fc6ca81e36e91c839bcc55c55a8bf24b4a325e44b0830f653adc89ee09dbfc4 SHA512 30eec216eef39513374c06cc1b0be994f53deb7054f7241a55b1ccc73d58ab0b578b92096eb56daef0e7f8d1377480a00a6bbb6e0bcbffb19d53a48f081170f3 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 -} 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 +} -- cgit v1.2.3