summaryrefslogtreecommitdiffstats
path: root/vhba-module
diff options
context:
space:
mode:
Diffstat (limited to 'vhba-module')
-rw-r--r--vhba-module/PKGBUILD24
-rw-r--r--vhba-module/vhba-module.install16
2 files changed, 0 insertions, 40 deletions
diff --git a/vhba-module/PKGBUILD b/vhba-module/PKGBUILD
deleted file mode 100644
index 58842cc..0000000
--- a/vhba-module/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 6790 2009-12-22 18:03:34Z ibiru $
-# Maintainer: Mateusz Herych <heniekk@gmail.com>
-# Contributor: Charles Lindsay <charles@chaoslizard.org>
-
-pkgname=vhba-module
-pkgver=1.2.1
-_kernver='2.6.34-ARCH'
-pkgrel=6
-pkgdesc="Kernel module that emulates SCSI devices"
-arch=('i686' 'x86_64')
-url="http://cdemu.sourceforge.net/"
-license=('GPL2')
-depends=('kernel26>=2.6.34' 'kernel26<2.6.35')
-makedepends=('kernel26-headers>=2.6.32.2')
-install=vhba-module.install
-source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2)
-md5sums=('a3b6ad798f2b72ef599df797ef79e5ec')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- make KDIR=/usr/src/linux-${_kernver} || return 1
- install -D vhba.ko "$pkgdir/lib/modules/${_kernver}/extra/vhba.ko" || return 1
- sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/vhba-module.install"
-}
diff --git a/vhba-module/vhba-module.install b/vhba-module/vhba-module.install
deleted file mode 100644
index 422ff82..0000000
--- a/vhba-module/vhba-module.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- echo ">> Place 'vhba' in MODULES= in /etc/rc.conf to enable vhba on system boot."
- echo ">> This module needs to be recompiled for every kernel version upgrade."
- KERNEL_VERSION='2.6.32-ARCH'
- depmod $KERNEL_VERSION > /dev/null 2>&1
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- KERNEL_VERSION='2.6.32-ARCH'
- depmod $KERNEL_VERSION > /dev/null 2>&1
-}
-