diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/rtirq |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/rtirq')
-rw-r--r-- | sys-process/rtirq/Manifest | 5 | ||||
-rw-r--r-- | sys-process/rtirq/files/rtirq | 28 | ||||
-rw-r--r-- | sys-process/rtirq/metadata.xml | 12 | ||||
-rw-r--r-- | sys-process/rtirq/rtirq-20150216.ebuild | 41 |
4 files changed, 86 insertions, 0 deletions
diff --git a/sys-process/rtirq/Manifest b/sys-process/rtirq/Manifest new file mode 100644 index 000000000000..10fd91fa40a4 --- /dev/null +++ b/sys-process/rtirq/Manifest @@ -0,0 +1,5 @@ +AUX rtirq 435 SHA256 0aa717b88482a110c9d1a1844ffd810e7c9eff0217494c982e862ff0d271cbbd SHA512 9b7ef8e58098032f68210b64ae604558fed58a66b8d86ec9198dcf2f4b020582d8c4983d95f60e048bc97c0ef19b4b31cdc615635b4f57902362843a11a5fc6f WHIRLPOOL 0a01b4b4c452dd526dd34892fabee05f379b4dc02751b970a0de0eae16df337cd69f2dbd0fe647321c8a9280bd6d377960f5f0a3c8422e2bcd4043f0c42fcc89 +DIST rtirq-20150216.tar.gz 12249 SHA256 2b44133cefe1527c9f3eecaa59f167f314286cdff10d55301dd6d2cb794e9b93 SHA512 4cb4e3a8e314cec238c2a21c975bec258f229b660e0994893b73aa0b16f6041179ff4e220532fde237d70e15fd5420e22ee5dbf84168148060e760d76617b59c WHIRLPOOL 4f1441532ef75b78f5a17b78a325d86d767960923094b2ba8dbdff21b12102fb70a20c56cfa7f325703ff84a1bf50396c7e761f84ea01a4952970172919fa324 +EBUILD rtirq-20150216.ebuild 1113 SHA256 0e1edd09e3d0ca40b46deed4994580b24aaead7c5526aa7610694ee9ea557b3c SHA512 9f8c0149ad69ca3fdcfeb73090f283409671c5d365baf10899a3e2144dda1e7859484486ed379ff5a09108aa7ec73210562eb31fbe6c374cd5efc00a89f18c80 WHIRLPOOL e515b7b909b0527f52d774476ded215369fc9ef14efcbe1b43dbde861b81fa700e704822eb06e620aeea08a94bd2907a4b8f6250ab63e47c27107ab75ab045c1 +MISC ChangeLog 808 SHA256 61b32333ddb933bbed918c90db31fbe6b6e9eeb1933cfb55820bd93c7ffc47ad SHA512 f79c3765ae34fbe5e5a23b99ab84abaf238fc6f5c5e4dcb259a0d2c69fc0969bef549af21d86cc67f043c5f53cbea15a3f7093db8b061631ec89b564688dbef3 WHIRLPOOL 8a9f04e9a7792038b5aa90b1dd9c60af9bc388870dd0347c12a715a5ee8bb9466ded5f66a87a357a84d1cb5acee669c66195ed68db35f1a8d622ef3433870200 +MISC metadata.xml 366 SHA256 a445257df154dc3e497780ca46f9d404fc2717fdb226f577c5bb4b594cb9cce9 SHA512 2bf60d72d132d726e404dbb65ab389fe4845521e24e4bb4eded5605a33ddb798cca921c91b1916292e0beed9506b8138b4dd1847bea53d39aba23367223764be WHIRLPOOL 55701385db1dc6a1561d368dd7723bc3605b7d5509af651d26274fce6dfadf6c734c77b28dfc31336f8d7d53017f911dbc6c01771e3c55269f5e2fb0769be03c diff --git a/sys-process/rtirq/files/rtirq b/sys-process/rtirq/files/rtirq new file mode 100644 index 000000000000..988337fbf1eb --- /dev/null +++ b/sys-process/rtirq/files/rtirq @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later + +command="/usr/sbin/rtirq.sh" + +extra_commands="status" + +depend() { + need localmount + after alsasound logger +} + +start() { + ebegin "Starting rtirq" + ${command} start + eend $? +} + +stop() { + ebegin "Stopping rtirq" + ${command} reset + eend $? +} + +status() { + ${command} status +} diff --git a/sys-process/rtirq/metadata.xml b/sys-process/rtirq/metadata.xml new file mode 100644 index 000000000000..d2a8f1079999 --- /dev/null +++ b/sys-process/rtirq/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>karl.j.linden@gmail.com</email> + <name>Karl Linden</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/sys-process/rtirq/rtirq-20150216.ebuild b/sys-process/rtirq/rtirq-20150216.ebuild new file mode 100644 index 000000000000..25ac445e4028 --- /dev/null +++ b/sys-process/rtirq/rtirq-20150216.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# 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/" + +SRC_URI="http://www.rncbc.org/jack/${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" +} |