summaryrefslogtreecommitdiff
path: root/community/cdemu-daemon
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-29 03:34:34 +0000
committerroot <root@rshg054.dnsready.net>2012-02-29 03:34:34 +0000
commit32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (patch)
tree60ba7e9c94b5ea69643a2022cd2ff890958da0f9 /community/cdemu-daemon
parent1f567a9d58d16b76320168f0624aa55bd6320284 (diff)
Wed Feb 29 03:34:34 UTC 2012
Diffstat (limited to 'community/cdemu-daemon')
-rw-r--r--community/cdemu-daemon/60-vhba.rules2
-rw-r--r--community/cdemu-daemon/PKGBUILD20
2 files changed, 11 insertions, 11 deletions
diff --git a/community/cdemu-daemon/60-vhba.rules b/community/cdemu-daemon/60-vhba.rules
index 0a80d63e0..5ee03c807 100644
--- a/community/cdemu-daemon/60-vhba.rules
+++ b/community/cdemu-daemon/60-vhba.rules
@@ -1 +1 @@
-KERNEL=="vhba_ctl", NAME="%k", MODE="0660", OWNER="root", GROUP="cdemu"
+KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu"
diff --git a/community/cdemu-daemon/PKGBUILD b/community/cdemu-daemon/PKGBUILD
index dd47d1248..e70da39d3 100644
--- a/community/cdemu-daemon/PKGBUILD
+++ b/community/cdemu-daemon/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 57021 2011-10-18 18:14:16Z bpiotrowski $
+# $Id: PKGBUILD 66730 2012-02-27 20:43:21Z heftig $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=cdemu-daemon
-pkgver=1.4.0
+pkgver=1.5.0
pkgrel=1
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=('i686' 'x86_64')
@@ -13,18 +13,16 @@ url="http://cdemu.sourceforge.net/"
license=('GPL')
depends=('glib2' 'dbus' 'dbus-glib' 'libdaemon' 'vhba-module' "libmirage=$pkgver" 'libao')
install=cdemud.install
-source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz
- cdemud.conf
- cdemud.rc
- 60-vhba.rules)
-md5sums=('f7ccc0abc33057d552ec7b0925fce63a'
+source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2
+ cdemud.conf cdemud.rc 60-vhba.rules)
+md5sums=('5ba780caa26d855942512b5b3c22405a'
'2b94bd399873e585e40b2bfd8634f322'
'340a30ab2c42162b3bd042c74a399219'
- '93324b320e7b68d01ad9a0b548018ed5')
+ 'f551504552d7693ac79e8e0d302f62b9')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname
make
}
@@ -35,6 +33,8 @@ package() {
install -m 755 -D ../cdemud.rc $pkgdir/etc/rc.d/cdemud
# Install udev rule for non-root mounting of iso's
- install -D -m 755 "${srcdir}/60-vhba.rules" "$pkgdir/lib/udev/rules.d/60-vhba.rules"
+ install -D -m 644 "${srcdir}/60-vhba.rules" "$pkgdir/lib/udev/rules.d/60-vhba.rules"
+ install -d "$pkgdir/usr/lib/modules-load.d"
+ echo "vhba" > "$pkgdir/usr/lib/modules-load.d/cdemu.conf"
}