1 |
billie 11/02/01 19:24:19 |
2 |
|
3 |
Modified: hplip-3.11.1-udev-attrs.patch |
4 |
Log: |
5 |
Revision bump. Remove old. Fixes bug #353330. Thanks to Ben Sagal for reporting. |
6 |
|
7 |
(Portage version: 2.1.9.35/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-print/hplip/files/hplip-3.11.1-udev-attrs.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/hplip/files/hplip-3.11.1-udev-attrs.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/hplip/files/hplip-3.11.1-udev-attrs.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/hplip/files/hplip-3.11.1-udev-attrs.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: hplip-3.11.1-udev-attrs.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-print/hplip/files/hplip-3.11.1-udev-attrs.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- hplip-3.11.1-udev-attrs.patch 24 Jan 2011 20:51:55 -0000 1.1 |
23 |
+++ hplip-3.11.1-udev-attrs.patch 1 Feb 2011 19:24:19 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
diff -Naur hplip-3.11.1-old/data/rules/55-hpmud.rules hplip-3.11.1/data/rules/55-hpmud.rules |
26 |
---- hplip-3.11.1-old/data/rules/55-hpmud.rules 2011-01-24 21:01:48.803135668 +0100 |
27 |
-+++ hplip-3.11.1/data/rules/55-hpmud.rules 2011-01-24 21:03:47.279802334 +0100 |
28 |
+--- hplip-3.11.1-old/data/rules/55-hpmud.rules 2011-02-01 20:01:44.004639335 +0100 |
29 |
++++ hplip-3.11.1/data/rules/55-hpmud.rules 2011-02-01 20:04:12.654639335 +0100 |
30 |
@@ -21,128 +21,128 @@ |
31 |
LABEL="hplip_pid_test" |
32 |
|
33 |
@@ -191,15 +191,16 @@ |
34 |
# Removed the following rule because FHS states that /etc should be reserved for static files only. This |
35 |
# functionality should be done in a deb/rpm post install script. 2/11/2009, D Suffield |
36 |
diff -Naur hplip-3.11.1-old/data/rules/56-hpmud_support.rules hplip-3.11.1/data/rules/56-hpmud_support.rules |
37 |
---- hplip-3.11.1-old/data/rules/56-hpmud_support.rules 2011-01-24 21:01:48.803135668 +0100 |
38 |
-+++ hplip-3.11.1/data/rules/56-hpmud_support.rules 2011-01-24 21:02:52.919802334 +0100 |
39 |
-@@ -8,8 +8,10 @@ |
40 |
+--- hplip-3.11.1-old/data/rules/56-hpmud_support.rules 2011-02-01 20:01:44.004639335 +0100 |
41 |
++++ hplip-3.11.1/data/rules/56-hpmud_support.rules 2011-02-01 20:05:47.421306000 +0100 |
42 |
+@@ -7,9 +7,9 @@ |
43 |
+ LABEL="pid_test" |
44 |
|
45 |
# Check for LaserJet products (0x03f0xx17). |
46 |
- SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes" |
47 |
+-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes" |
48 |
+ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", RUN+="/bin/sh -c 'hp_model=%E{ID_MODEL} /usr/bin/hp-mkuri -c &'" |
49 |
# Check for LaserJet products (0x03f0xx2a). |
50 |
- SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes" |
51 |
+-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes" |
52 |
+ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", RUN+="/bin/sh -c 'hp_model=%E{ID_MODEL} /usr/bin/hp-mkuri -c &'" |
53 |
ENV{hp_test}=="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'" |