[arch-commits] Commit in capi4hylafax/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon Jun 28 10:07:58 EDT 2010


    Date: Monday, June 28, 2010 @ 10:07:57
  Author: tpowa
Revision: 84286

upgpkg: capi4hylafax 010300-4
fix udev rule

Modified:
  capi4hylafax/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-28 13:44:55 UTC (rev 84285)
+++ PKGBUILD	2010-06-28 14:07:57 UTC (rev 84286)
@@ -3,7 +3,7 @@
 
 pkgname=capi4hylafax
 pkgver=010300
-pkgrel=3
+pkgrel=4
 pkgdesc="capi plugin for hylafax to enable isdn faxing"
 arch=(i686 x86_64)
 url="ftp://ftp.avm.de/tools"
@@ -11,8 +11,6 @@
 depends=('glibc' 'capi4k-utils' 'hylafax' 'gcc-libs' 'libtiff')
 source=(ftp://ftp.avm.de/tools/capi4hylafax.linux/capi4hylafax-01.03.00.tar.gz
 	config.faxCAPI capi4hylafax.rc)
-md5sums=('d37dc652ac80d1525ef8693be55ee67f' '653b60695d21c128f020a86274ca9192'\
-         '1fe40c58289fa3ba625ce6fe2fdb3d07')
 install=capi4hylafax.install
 backup=(var/spool/hylafax/etc/config.faxCAPI)
 build() {
@@ -38,10 +36,14 @@
   mkdir -p $pkgdir/lib/udev/rules.d
 cat << EOF >> $pkgdir/lib/udev/rules.d/53-capi4hylafax.rules
 # CAPI devices
-KERNEL="capi",		NAME="capi20", SYMLINK+="isdn/capi20", GROUP="uucp"
-KERNEL="capi*",		NAME="capi/%n", GROUP="uucp"
+SUBSYSTEM=="capi", KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20", GROUP="uucp"
+SUBSYSTEM=="tty" KERNEL=="capi[0-9]*", NAME="capi/%n", GROUP="uucp"
+
 EOF
 # fix c2faxadd
   sed -i -e 's#/etc/config.faxCAPI#/var/spool/hylafax/etc/config.faxCAPI#g' $pkgdir/usr/bin/c2faxaddmodem || return 1
   echo "main_config_dialog" >>  $pkgdir/usr/bin/c2faxaddmodem
 }
+md5sums=('d37dc652ac80d1525ef8693be55ee67f'
+         '653b60695d21c128f020a86274ca9192'
+         '1fe40c58289fa3ba625ce6fe2fdb3d07')



More information about the arch-commits mailing list