diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-08-22 15:03:47 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-08-22 15:03:47 +0000 |
commit | fe89f5eb33c3e0c11feefd041575b2a5e1894d2a (patch) | |
tree | 6499494b67eb5ecbe5fa5563599775af7d8978ae /sys-apps | |
parent | Stable on alpha wrt Bug #142936. (diff) | |
download | gentoo-2-fe89f5eb33c3e0c11feefd041575b2a5e1894d2a.tar.gz gentoo-2-fe89f5eb33c3e0c11feefd041575b2a5e1894d2a.tar.bz2 gentoo-2-fe89f5eb33c3e0c11feefd041575b2a5e1894d2a.zip |
Give irqbalance an init script as baselayout no longer starts it
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/irqbalance/ChangeLog | 13 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/digest-irqbalance-0.08 | 2 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/digest-irqbalance-0.08-r1 | 3 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/digest-irqbalance-0.09 | 2 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/digest-irqbalance-0.12 | 2 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/digest-irqbalance-0.12-r1 | 3 | ||||
-rwxr-xr-x | sys-apps/irqbalance/files/irqbalance-nopid.init | 21 | ||||
-rwxr-xr-x | sys-apps/irqbalance/files/irqbalance.init | 23 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-0.08-r1.ebuild | 35 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-0.12-r1.ebuild | 35 |
10 files changed, 137 insertions, 2 deletions
diff --git a/sys-apps/irqbalance/ChangeLog b/sys-apps/irqbalance/ChangeLog index fe2496a13bce..8c2b17f1321b 100644 --- a/sys-apps/irqbalance/ChangeLog +++ b/sys-apps/irqbalance/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sys-apps/irqbalance -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/ChangeLog,v 1.7 2005/01/16 22:02:55 robbat2 Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/ChangeLog,v 1.8 2006/08/22 15:03:47 uberlord Exp $ + +*irqbalance-0.12-r1 (22 Aug 2006) +*irqbalance-0.08-r1 (22 Aug 2006) + + 22 Aug 2006; Roy Marples <uberlord@gentoo.org> +files/irqbalance.init, + +files/irqbalance-nopid.init, +irqbalance-0.08-r1.ebuild, + +irqbalance-0.12-r1.ebuild: + Give irqbalance an init script as baselayout no longer starts it + automatically. *irqbalance-0.12 (16 Jan 2005) diff --git a/sys-apps/irqbalance/files/digest-irqbalance-0.08 b/sys-apps/irqbalance/files/digest-irqbalance-0.08 index d7ee7915a639..a91dcfc15733 100644 --- a/sys-apps/irqbalance/files/digest-irqbalance-0.08 +++ b/sys-apps/irqbalance/files/digest-irqbalance-0.08 @@ -1 +1,3 @@ MD5 da39e9ff770b01329796ad8258e972d6 irqbalance-0.08.tar.gz 11007 +RMD160 e3281a757412955bd3de560c0a960a8a2ae1c36c irqbalance-0.08.tar.gz 11007 +SHA256 f1fdfff2281d4a28a147c2015ca1ba009024508c26bed8a66da0bac1447bf067 irqbalance-0.08.tar.gz 11007 diff --git a/sys-apps/irqbalance/files/digest-irqbalance-0.08-r1 b/sys-apps/irqbalance/files/digest-irqbalance-0.08-r1 new file mode 100644 index 000000000000..a91dcfc15733 --- /dev/null +++ b/sys-apps/irqbalance/files/digest-irqbalance-0.08-r1 @@ -0,0 +1,3 @@ +MD5 da39e9ff770b01329796ad8258e972d6 irqbalance-0.08.tar.gz 11007 +RMD160 e3281a757412955bd3de560c0a960a8a2ae1c36c irqbalance-0.08.tar.gz 11007 +SHA256 f1fdfff2281d4a28a147c2015ca1ba009024508c26bed8a66da0bac1447bf067 irqbalance-0.08.tar.gz 11007 diff --git a/sys-apps/irqbalance/files/digest-irqbalance-0.09 b/sys-apps/irqbalance/files/digest-irqbalance-0.09 index a35617cfea22..2f9b9810b6cb 100644 --- a/sys-apps/irqbalance/files/digest-irqbalance-0.09 +++ b/sys-apps/irqbalance/files/digest-irqbalance-0.09 @@ -1 +1,3 @@ MD5 93fafbf2283b1a61c55a089033f1fb90 irqbalance-0.09.tar.gz 10523 +RMD160 da6320addd4547c7465d18456a571bf099be5ef0 irqbalance-0.09.tar.gz 10523 +SHA256 dd6cfe439c7e347ae60e0b950402cb4434f39b7e01261900b6daddcf21522112 irqbalance-0.09.tar.gz 10523 diff --git a/sys-apps/irqbalance/files/digest-irqbalance-0.12 b/sys-apps/irqbalance/files/digest-irqbalance-0.12 index e81dddb626ef..58b247f3c432 100644 --- a/sys-apps/irqbalance/files/digest-irqbalance-0.12 +++ b/sys-apps/irqbalance/files/digest-irqbalance-0.12 @@ -1 +1,3 @@ MD5 1f225b73a01380955231b77d9be60c7a irqbalance-0.12.tar.gz 10899 +RMD160 d3ad35fb10cde5687577a23f7df85a92afabee64 irqbalance-0.12.tar.gz 10899 +SHA256 a718012d43de9b635289b13482621919411a3f5e0decfb8b02124c064734f225 irqbalance-0.12.tar.gz 10899 diff --git a/sys-apps/irqbalance/files/digest-irqbalance-0.12-r1 b/sys-apps/irqbalance/files/digest-irqbalance-0.12-r1 new file mode 100644 index 000000000000..58b247f3c432 --- /dev/null +++ b/sys-apps/irqbalance/files/digest-irqbalance-0.12-r1 @@ -0,0 +1,3 @@ +MD5 1f225b73a01380955231b77d9be60c7a irqbalance-0.12.tar.gz 10899 +RMD160 d3ad35fb10cde5687577a23f7df85a92afabee64 irqbalance-0.12.tar.gz 10899 +SHA256 a718012d43de9b635289b13482621919411a3f5e0decfb8b02124c064734f225 irqbalance-0.12.tar.gz 10899 diff --git a/sys-apps/irqbalance/files/irqbalance-nopid.init b/sys-apps/irqbalance/files/irqbalance-nopid.init new file mode 100755 index 000000000000..84c569a788ff --- /dev/null +++ b/sys-apps/irqbalance/files/irqbalance-nopid.init @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/files/irqbalance-nopid.init,v 1.1 2006/08/22 15:03:47 uberlord Exp $ + +depend() { + need localmount + after bootmisc +} + +start() { + ebegin "Starting irqbalance" + start-stop-daemon --start --exec /sbin/irqbalance + eend $? +} + +stop() { + ebegin "Stopping irqbalance" + start-stop-daemon --stop --exec /sbin/irqbalance + eend $? +} diff --git a/sys-apps/irqbalance/files/irqbalance.init b/sys-apps/irqbalance/files/irqbalance.init new file mode 100755 index 000000000000..1a9eb1900efc --- /dev/null +++ b/sys-apps/irqbalance/files/irqbalance.init @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/files/irqbalance.init,v 1.1 2006/08/22 15:03:47 uberlord Exp $ + +depend() { + need localmount + after bootmisc +} + +start() { + ebegin "Starting irqbalance" + start-stop-daemon --start --exec /sbin/irqbalance \ + --pidfile /var/run/irqbalance.pid + eend $? +} + +stop() { + ebegin "Stopping irqbalance" + start-stop-daemon --stop --exec /sbin/irqbalance \ + --pidfile /var/run/irqbalance.pid + eend $? +} diff --git a/sys-apps/irqbalance/irqbalance-0.08-r1.ebuild b/sys-apps/irqbalance/irqbalance-0.08-r1.ebuild new file mode 100644 index 000000000000..57aa21096f81 --- /dev/null +++ b/sys-apps/irqbalance/irqbalance-0.08-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-0.08-r1.ebuild,v 1.1 2006/08/22 15:03:47 uberlord Exp $ + +DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" +HOMEPAGE="http://people.redhat.com/arjanv/irqbalance/" +SRC_URI="http://people.redhat.com/arjanv/irqbalance/${P}.tar.gz" + +LICENSE="OSL-1.1" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="virtual/libc" + +S="${WORKDIR}/irqbalance" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + into / + dosbin irqbalance || die "dosbin failed" + doman irqbalance.1 + dodoc Changelog TODO + + # Give irqbalance an init script + newinitd "${FILESDIR}/irqbalance-nopid.init" irqbalance +} + +pkg_postinst() { + einfo "irqbalance now has an init script" + einfo " rc-update add irqbalance default" +} diff --git a/sys-apps/irqbalance/irqbalance-0.12-r1.ebuild b/sys-apps/irqbalance/irqbalance-0.12-r1.ebuild new file mode 100644 index 000000000000..ea74098dcffc --- /dev/null +++ b/sys-apps/irqbalance/irqbalance-0.12-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-0.12-r1.ebuild,v 1.1 2006/08/22 15:03:47 uberlord Exp $ + +DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" +HOMEPAGE="http://people.redhat.com/arjanv/irqbalance/" +SRC_URI="http://people.redhat.com/arjanv/irqbalance/${P}.tar.gz" + +LICENSE="OSL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="" + +DEPEND="virtual/libc" + +S="${WORKDIR}/${PN}" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + into / + dosbin irqbalance || die "dosbin failed" + doman irqbalance.1 + dodoc Changelog TODO + + # Give irqbalance an init script + newinitd "${FILESDIR}/irqbalance.init" irqbalance +} + +pkg_postinst() { + einfo "irqbalance now has an init script" + einfo " rc-update add irqbalance default" +} |