aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-05-14 09:35:09 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-05-14 09:36:05 +0000
commit3ebd91d5127e1d92d79a45337058b6a5df7ca306 (patch)
tree4b6a3e34a4f18f56fb4dda31e3ebb5fffaa47e41
parentbd36a10c4b580e084e8ab303810a92172b198cc0 (diff)
downloadaports-3ebd91d5127e1d92d79a45337058b6a5df7ca306.tar.bz2
aports-3ebd91d5127e1d92d79a45337058b6a5df7ca306.tar.xz
testing/irqbalance: new aport
A daemon that distributes interrupts across CPUs
-rw-r--r--testing/irqbalance/APKBUILD44
-rw-r--r--testing/irqbalance/irqbalance.confd261
-rw-r--r--testing/irqbalance/irqbalance.initd12
3 files changed, 317 insertions, 0 deletions
diff --git a/testing/irqbalance/APKBUILD b/testing/irqbalance/APKBUILD
new file mode 100644
index 0000000000..10c93306c1
--- /dev/null
+++ b/testing/irqbalance/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=irqbalance
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="Daemon that distributes interrupts over the processors"
+url="http://code.google.com/p/irqbalance/"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev glib-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://irqbalance.googlecode.com/files/$pkgname-$pkgver.tar.gz
+ irqbalance.confd
+ irqbalance.initd"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/irqbalanced
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/irqbalanced
+}
+
+md5sums="6f246481d6295bcb9a79751c03207c96 irqbalance-1.0.3.tar.gz
+28bf0fc27fac03780629c750aa56c193 irqbalance.confd
+dff518700052556165969764843770bd irqbalance.initd"
diff --git a/testing/irqbalance/irqbalance.confd b/testing/irqbalance/irqbalance.confd
new file mode 100644
index 0000000000..e95a8339ba
--- /dev/null
+++ b/testing/irqbalance/irqbalance.confd
@@ -0,0 +1,261 @@
+
+
+
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!-- ViewVC :: http://www.viewvc.org/ -->
+<head>
+<title>[gentoo-x86] Log of /sys-apps/irqbalance/files/irqbalance.confd-1</title>
+<meta name="generator" content="ViewVC 1.1.12" />
+<link rel="shortcut icon" href="/static/images/favicon.ico" type="image/x-icon" />
+<link rel="stylesheet" href="/static/styles.css" type="text/css" />
+
+</head>
+<body>
+<div class="vc_navheader">
+<table><tr>
+<td><strong><a href="/cgi-bin/viewvc.cgi"><span class="pathdiv">/</span></a><a href="/cgi-bin/viewvc.cgi/gentoo-x86/">[gentoo-x86]</a><span class="pathdiv">/</span><a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/">sys-apps</a><span class="pathdiv">/</span><a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/">irqbalance</a><span class="pathdiv">/</span><a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/">files</a><span class="pathdiv">/</span>irqbalance.confd-1</strong></td>
+<td style="text-align: right;">
+</td>
+</tr></table>
+</form>
+</div>
+<div style="float: right; padding: 5px;"><a href="http://www.gentoo.org/" title="Gentoo Linux"><img src="/static/images/gentoo-new.gif" alt="Gentoo" width="182" height="59" /></a></div>
+<h1>Log of /sys-apps/irqbalance/files/irqbalance.confd-1</h1>
+
+<p style="margin:0;">
+
+<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/"><img src="/static/images/back_small.png" class="vc_icon" alt="Parent Directory" /> Parent Directory</a>
+
+| <a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?view=log"><img src="/static/images/log.png" class="vc_icon" alt="Revision Log" /> Revision Log</a>
+
+
+
+
+</p>
+
+<hr />
+<table class="auto">
+
+
+
+<tr>
+<td>Links to HEAD:</td>
+<td>
+(<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?view=markup">view</a>)
+(<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1">download</a>)
+
+(<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?view=annotate">annotate</a>)
+</td>
+</tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+
+<div>
+<hr />
+
+<a name="rev1.1"></a>
+<a name="HEAD"></a>
+
+
+Revision <strong>1.1</strong> -
+
+
+(<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?revision=1.1&amp;view=markup">view</a>)
+
+
+(<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?revision=1.1">download</a>)
+
+(<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?annotate=1.1">annotate</a>)
+
+
+
+- <a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?r1=1.1&amp;view=log">[select for diffs]</a>
+
+
+
+
+<br />
+
+<em>Sat Nov 5 17:59:25 2011 UTC</em>
+(6 months, 1 week ago)
+by <em>vapier</em>
+
+
+<br />Branch:
+
+<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?view=log&amp;pathrev=MAIN"><strong>MAIN</strong></a>
+
+
+
+<br />CVS Tags:
+
+<a href="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1?view=log&amp;pathrev=HEAD"><strong>HEAD</strong></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<pre class="vc_log">Version bump, and improve init.d #383955 by Pacho Ramos.
+
+(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
+
+</pre>
+</div>
+
+
+
+
+ <hr />
+<p><a name="diff"></a>
+This form allows you to request diffs between any two revisions of this file.
+For each of the two "sides" of the diff,
+
+select a symbolic revision name using the selection box, or choose
+'Use Text Field' and enter a numeric revision.
+
+</p>
+<form method="get" action="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1" id="diff_select">
+<table cellpadding="2" cellspacing="0" class="auto">
+<tr>
+<td>&nbsp;</td>
+<td>
+<input type="hidden" name="view" value="diff"/>
+Diffs between
+
+<select name="r1">
+<option value="text" selected="selected">Use Text Field</option>
+
+<option value="1.1:MAIN">MAIN</option>
+
+<option value="1.1:HEAD">HEAD</option>
+
+</select>
+<input type="text" size="12" name="tr1"
+value="1.1"
+onchange="document.getElementById('diff_select').r1.selectedIndex=0" />
+
+and
+
+<select name="r2">
+<option value="text" selected="selected">Use Text Field</option>
+
+<option value="1.1:MAIN">MAIN</option>
+
+<option value="1.1:HEAD">HEAD</option>
+
+</select>
+<input type="text" size="12" name="tr2"
+value="1.1"
+onchange="document.getElementById('diff_select').r2.selectedIndex=0" />
+
+</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>
+Type of Diff should be a
+<select name="diff_format" onchange="submit()">
+<option value="h" selected="selected">Colored Diff</option>
+<option value="l" >Long Colored Diff</option>
+<option value="f" >Full Colored Diff</option>
+<option value="u" >Unidiff</option>
+<option value="c" >Context Diff</option>
+<option value="s" >Side by Side</option>
+</select>
+<input type="submit" value=" Get Diffs " />
+</td>
+</tr>
+</table>
+</form>
+
+
+
+<form method="get" action="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1">
+<div>
+<hr />
+<a name="logsort"></a>
+<input type="hidden" name="view" value="log"/>
+Sort log by:
+<select name="logsort" onchange="submit()">
+<option value="cvs" >Not sorted</option>
+<option value="date" selected="selected">Commit date</option>
+<option value="rev" >Revision</option>
+</select>
+<input type="submit" value=" Sort " />
+</div>
+</form>
+
+<br>
+<tr>
+<td>Sticky Tag:</td>
+<td><form method="get" action="/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/irqbalance/files/irqbalance.confd-1" style="display: inline">
+<div style="display: inline">
+<input type="hidden" name="view" value="log"/>
+
+
+<select name="pathrev" onchange="submit()">
+<option value=""></option>
+
+<optgroup label="Branches">
+
+
+<option>MAIN</option>
+
+
+</optgroup>
+
+<optgroup label="Non-branch tags">
+
+
+<option>HEAD</option>
+
+
+</optgroup>
+
+</select>
+
+<input type="submit" value="Set" />
+</div>
+</form>
+
+</td>
+</tr>
+
+<hr />
+<table>
+<tr>
+<td>&nbsp;</td>
+<td style="text-align: right;"><strong><a href="/static/help_log.html">ViewVC Help</a></strong></td>
+</tr>
+<tr>
+<td>Powered by <a href="http://viewvc.tigris.org/">ViewVC 1.1.12</a></td>
+<td style="text-align: right;">&nbsp;</td>
+</tr>
+</table>
+</body>
+</html>
+
+
diff --git a/testing/irqbalance/irqbalance.initd b/testing/irqbalance/irqbalance.initd
new file mode 100644
index 0000000000..c27a32f27f
--- /dev/null
+++ b/testing/irqbalance/irqbalance.initd
@@ -0,0 +1,12 @@
+#!/sbin/runscript
+# Copyright 1999-2012 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.2,v 1.1 2012/04/06 18:03:29 flameeyes Exp $
+
+depend() {
+ need localmount
+ after bootmisc
+}
+
+command="/usr/sbin/irqbalance"
+command_args="${IRQBALANCE_OPTS}"