summaryrefslogtreecommitdiff
path: root/community-testing/vhba-module
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-25 00:01:50 +0000
committerroot <root@rshg054.dnsready.net>2012-07-25 00:01:50 +0000
commit3083719ddb24bbb452e7ddba34bec067ea249056 (patch)
treea58a0e0514c39ae78d2647423b3d54a9ab411bbb /community-testing/vhba-module
parent7edfd82786e7d1efd8d39d2e5bbcaddeb2d665e1 (diff)
Wed Jul 25 00:01:50 UTC 2012
Diffstat (limited to 'community-testing/vhba-module')
-rw-r--r--community-testing/vhba-module/PKGBUILD13
-rw-r--r--community-testing/vhba-module/vhba-module.install2
2 files changed, 8 insertions, 7 deletions
diff --git a/community-testing/vhba-module/PKGBUILD b/community-testing/vhba-module/PKGBUILD
index 2384a2c8a..cc8d2ef4d 100644
--- a/community-testing/vhba-module/PKGBUILD
+++ b/community-testing/vhba-module/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 73232 2012-07-04 01:02:29Z dreisner $
+# $Id: PKGBUILD 74284 2012-07-23 12:36:47Z tpowa $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=vhba-module
pkgver=20120422
-_extramodules=extramodules-3.4-ARCH
-pkgrel=3
+_extramodules=extramodules-3.5-ARCH
+pkgrel=5
pkgdesc="Kernel module that emulates SCSI devices"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
license=('GPL')
-depends=('linux>=3.4' 'linux<3.5')
-makedepends=('linux-headers>=3.4')
+depends=('linux>=3.5' 'linux<3.6')
+makedepends=('linux-headers')
options=(!makeflags)
install=$pkgname.install
source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2"
@@ -31,7 +31,8 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- install -D vhba.ko "$pkgdir/usr/lib/modules/$_extramodules/vhba.ko"
+ install -Dm644 vhba.ko \
+ "$pkgdir/usr/lib/modules/$_extramodules/vhba.ko"
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extramodules'/" \
"$startdir/vhba-module.install"
diff --git a/community-testing/vhba-module/vhba-module.install b/community-testing/vhba-module/vhba-module.install
index 8458b2ae7..86ad03a5e 100644
--- a/community-testing/vhba-module/vhba-module.install
+++ b/community-testing/vhba-module/vhba-module.install
@@ -1,7 +1,7 @@
post_upgrade() {
! grep -q 'cdemu' /etc/group && groupadd cdemu
echo " > Updating module dependencies..."
- EXTRAMODULES='extramodules-3.4-ARCH'
+ EXTRAMODULES='extramodules-3.5-ARCH'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}