updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ctapi-cyberjack / cyberjack-3.3.5-udev.patch
blob984f838a1e02eb999c37ad0fad6e4f893edf738f
1 diff -Naur ctapi-cyberjack-3.3.5.orig/etc/udev/Makefile.am ctapi-cyberjack-3.3.5/etc/udev/Makefile.am
2 --- ctapi-cyberjack-3.3.5.orig/etc/udev/Makefile.am 2008-05-27 19:24:05.000000000 +0200
3 +++ ctapi-cyberjack-3.3.5/etc/udev/Makefile.am 2011-01-06 15:22:45.540001455 +0100
4 @@ -2,8 +2,8 @@
6 udevdir=/etc/udev/rules.d
8 -udscriptdir=/sbin
9 -udscript_SCRIPTS=udev.cyberjack.sh
10 +udscriptdir=/lib/udev
11 +udscript_SCRIPTS=cyberjack.sh
13 install-data-local:
14 test -z "$(udevdir)" || $(mkdir_p) "$(DESTDIR)$(udevdir)"
15 @@ -18,5 +18,5 @@
16 EXTRA_DIST=\
17 rules.fc5 \
18 rules.new \
19 - udev.cyberjack.sh
20 + cyberjack.sh
22 diff -Naur ctapi-cyberjack-3.3.5.orig/etc/udev/Makefile.in ctapi-cyberjack-3.3.5/etc/udev/Makefile.in
23 --- ctapi-cyberjack-3.3.5.orig/etc/udev/Makefile.in 2010-02-24 12:28:08.000000000 +0100
24 +++ ctapi-cyberjack-3.3.5/etc/udev/Makefile.in 2011-01-06 15:23:12.946667499 +0100
25 @@ -269,12 +269,12 @@
26 usbdropdir = @usbdropdir@
27 visibility_cflags = @visibility_cflags@
28 udevdir = /etc/udev/rules.d
29 -udscriptdir = /sbin
30 -udscript_SCRIPTS = udev.cyberjack.sh
31 +udscriptdir = /lib/udev
32 +udscript_SCRIPTS = cyberjack.sh
33 EXTRA_DIST = \
34 rules.fc5 \
35 rules.new \
36 - udev.cyberjack.sh
37 + cyberjack.sh
39 all: all-am
41 diff -Naur ctapi-cyberjack-3.3.5.orig/etc/udev/rules.new ctapi-cyberjack-3.3.5/etc/udev/rules.new
42 --- ctapi-cyberjack-3.3.5.orig/etc/udev/rules.new 2008-05-27 19:24:05.000000000 +0200
43 +++ ctapi-cyberjack-3.3.5/etc/udev/rules.new 2011-01-06 15:28:30.006668707 +0100
44 @@ -1,7 +1,7 @@
45 ACTION=="add", BUS=="usb", SYSFS{idVendor}=="0c4b", GROUP="cyberjack", MODE="660"
46 -ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/100/*", RUN+="/sbin/udev.cyberjack.sh"
47 -ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/300/*", RUN+="/sbin/udev.cyberjack.sh"
48 -ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/400/*", RUN+="/sbin/udev.cyberjack.sh"
49 -ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/401/*", RUN+="/sbin/udev.cyberjack.sh"
50 +ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/100/*", RUN+="cyberjack.sh"
51 +ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/300/*", RUN+="cyberjack.sh"
52 +ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/400/*", RUN+="cyberjack.sh"
53 +ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/401/*", RUN+="cyberjack.sh"
54 # not for FC6
55 -ACTION=="add", SUBSYSTEM=="tty", DRIVERS=="cyberjack", RUN+="/sbin/udev.cyberjack.sh"
56 +ACTION=="add", SUBSYSTEM=="tty", DRIVERS=="cyberjack", RUN+="cyberjack.sh"