summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/irqbalance
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/irqbalance')
-rw-r--r--abs/extra-testing/irqbalance/Makefile.irqbalance13
-rw-r--r--abs/extra-testing/irqbalance/PKGBUILD39
-rw-r--r--abs/extra-testing/irqbalance/finish15
-rw-r--r--abs/extra-testing/irqbalance/irqbalance.conf.d6
-rw-r--r--abs/extra-testing/irqbalance/irqbalance.install10
-rw-r--r--abs/extra-testing/irqbalance/run25
6 files changed, 0 insertions, 108 deletions
diff --git a/abs/extra-testing/irqbalance/Makefile.irqbalance b/abs/extra-testing/irqbalance/Makefile.irqbalance
deleted file mode 100644
index fe08dc0..0000000
--- a/abs/extra-testing/irqbalance/Makefile.irqbalance
+++ /dev/null
@@ -1,13 +0,0 @@
-CFLAGS := $(CFLAGS) -D_FORTIFY_SOURCE=2 -Wall -W $(shell pkg-config --cflags glib-2.0)
-LDFLAGS := $(shell pkg-config --libs glib-2.0)
-
-OBJS = bitmap.o irqbalance.o cputree.o procinterrupts.o irqlist.o \
- placement.o activate.o network.o powermode.o numa.o classify.o
-
-all: irqbalance
-
-irqbalance: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
-
-clean:
- rm -f irqbalance *~ *.o
diff --git a/abs/extra-testing/irqbalance/PKGBUILD b/abs/extra-testing/irqbalance/PKGBUILD
deleted file mode 100644
index a21cda2..0000000
--- a/abs/extra-testing/irqbalance/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer: Dan McGee <dan@archlinux.org>
-# Contributor: Martin Striz <ms@poruba.net>
-
-pkgname=irqbalance
-pkgver=0.55
-pkgrel=4
-pkgdesc="IRQ balancing daemon for SMP systems"
-arch=('i686' 'x86_64')
-url="http://www.irqbalance.org/"
-license=('GPL')
-depends=(glib2)
-makedepends=(pkgconfig)
-backup=(etc/conf.d/irqbalance)
-install=($pkgname.install)
-source=(http://www.irqbalance.org/releases/$pkgname-$pkgver.tar.gz
- Makefile.irqbalance
- irqbalance.conf.d
- run
- finish
- irqbalance.install)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- # use our Makefile instead of one provided which is not quite right
- cp ../Makefile.irqbalance Makefile
- make || return 1
-
- install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance || return 1
- mkdir -p $pkgdir/etc/sv/irqbalance || return 1
- install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance || return 1
- install -D -m755 ../run $pkgdir/etc/sv/irqbalance || return 1
- install -D -m755 ../finish $pkgdir/etc/sv/irqbalance || return 1
-}
-md5sums=('9f6b314ff1fdc14173abeb40592d4edf'
- '45bc9e1d041d8547f2dbf12f887216df'
- '336c1ee99818f9ecda1687e34c69fd6b'
- '7f3ee7fb2fccb619f7c66668b6d96d35'
- 'ebb35e88267f4c2e6f68e675c81b2a34'
- '5f5e96d2fbf35e85d4a8004a3d6b73fc')
diff --git a/abs/extra-testing/irqbalance/finish b/abs/extra-testing/irqbalance/finish
deleted file mode 100644
index ccd9278..0000000
--- a/abs/extra-testing/irqbalance/finish
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/irqbalance`
-
- stat_runit "Stopping IRQ balancing"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon irqbalance
- stat_done
- fi
diff --git a/abs/extra-testing/irqbalance/irqbalance.conf.d b/abs/extra-testing/irqbalance/irqbalance.conf.d
deleted file mode 100644
index ef1bdfd..0000000
--- a/abs/extra-testing/irqbalance/irqbalance.conf.d
+++ /dev/null
@@ -1,6 +0,0 @@
-#
-# Settings for irqbalance daemon
-#
-
-# one shot mode - set to 1 if you have Pentium 4 with HT
-ONESHOT=0
diff --git a/abs/extra-testing/irqbalance/irqbalance.install b/abs/extra-testing/irqbalance/irqbalance.install
deleted file mode 100644
index d4e15f1..0000000
--- a/abs/extra-testing/irqbalance/irqbalance.install
+++ /dev/null
@@ -1,10 +0,0 @@
-post_install () {
- add_service.sh irqbalance
-
-}
-
-pre_remove () {
- remove_service.sh irqbalance
-
-}
-
diff --git a/abs/extra-testing/irqbalance/run b/abs/extra-testing/irqbalance/run
deleted file mode 100644
index f0d18f7..0000000
--- a/abs/extra-testing/irqbalance/run
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-ONESHOT=0
-[ -f /etc/conf.d/irqbalance ] && . /etc/conf.d/irqbalance
-
-if [ "$ONESHOT" -ne 0 ]; then
- ONESHOT_CMD="oneshot"
-fi
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/irqbalance`
-
- stat_runit "Starting IRQ balancing"
- [ -z "$PID" ] && /usr/sbin/irqbalance --debug $ONESHOT_CMD >/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- if [ "$ONESHOT" -eq 0 ]; then
- add_daemon irqbalance
- fi
- stat_done
- fi