Mailinglist Archive: opensuse-commit (640 mails)
| < Previous | Next > |
commit sane-backends for openSUSE:11.4
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Wed, 06 Apr 2011 13:36:09 +0200
- Message-id: <20110406113609.83BEC202A4@hilbert.suse.de>
Hello community,
here is the log from the commit of package sane-backends for openSUSE:11.4
checked in at Wed Apr 6 13:36:09 CEST 2011.
--------
--- old-versions/11.4/all/sane-backends/sane-backends.changes 2011-02-20
11:43:27.000000000 +0100
+++ 11.4/sane-backends/sane-backends.changes 2011-04-05 12:24:31.000000000
+0200
@@ -1,0 +2,12 @@
+Tue Apr 5 12:05:34 CEST 2011 - jsmeix@xxxxxxx
+
+- Fixed udev rules for SCSI scanners:
+ Because of openSUSE/Novell Bugzilla bnc#436085
+ (see the entry below dated "Tue Oct 21 13:12:42 CEST 2008")
+ "ATTRS" (formerly "SYSFS") were replaced by "ATTR" everywhere
+ in libsane.rules but for SCSI scanners "ATTRS" is mandatory for
+ all sysfs attributes (ATTRS{type}, ATTRS{vendor}, ATTRS{model})
+ so that now "ATTRS" is replaced by "ATTR" only for USB scanners
+ (see openSUSE/Novell Bugzilla bnc#681146).
+
+-------------------------------------------------------------------
Package does not exist at destination yet. Using Fallback
old-versions/11.4/all/sane-backends
Destination is old-versions/11.4/UPDATES/all/sane-backends
calling whatdependson for 11.4-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sane-backends.spec ++++++
--- /var/tmp/diff_new_pack.Ng8Rxm/_old 2011-04-06 13:34:49.000000000 +0200
+++ /var/tmp/diff_new_pack.Ng8Rxm/_new 2011-04-06 13:34:49.000000000 +0200
@@ -30,7 +30,7 @@
AutoReqProv: on
Summary: SANE (Scanner Access Now Easy) Scanner Drivers
Version: 1.0.22
-Release: 1.<RELEASE3>
+Release: 1.<RELEASE5>
Url: http://www.sane-project.org/
# URL for Source0:
https://alioth.debian.org/frs/download.php/3258/sane-backends-1.0.21.tar.gz
# MD5 sum for upstream sane-backends-1.0.21.tar.gz (not our .bz2):
be586a23633949cf2ecf0c9c6d769130
@@ -522,10 +522,7 @@
# Also the evil-hack init-script "sane-dev" is no longer provided.
# Regarding udev:
# Modify the generated tools/udev/libsane.rules file as follows:
-# All GROUP="scanner" are replaced by GROUP="lp" and
-# SUBSYSTEM=="usb" is added before the SUBSYSTEM=="usb_device" test
-# but the latter is kept for backward compatibility.
-# The reasons are:
+# All GROUP="scanner" are replaced by GROUP="lp".
# There is no group "scanner" in /etc/group for openSUSE.
# For all-in-one devices (i.e. printer + scanner, e.g. "EPSON Stylus" devices)
# the group must be "lp" so that the CUPS usb backend which runs
@@ -538,13 +535,15 @@
# should usually require the same kind of security.
# Regarding SUBSYSTEM=="usb" see the Novell/Suse Bugzilla bug
# https://bugzilla.novell.com/show_bug.cgi?id=294161#c11
-# Regarding SYSFS{} or ATTRS{} versus ATTR{} see the Novell/Suse Bugzilla bug
+# Regarding ATTRS{} (formerly SYSFS{}) versus ATTR{} see the Novell/Suse
Bugzilla bug
# https://bugzilla.novell.com/show_bug.cgi?id=436085#c0
+# but for SCSI scanners "ATTRS" is mandatory see the Novell/Suse Bugzilla bug
+# https://bugzilla.novell.com/show_bug.cgi?id=681146#c20
+# so that "ATTRS" is replaced by "ATTR" only for USB scanners.
# Disable all ENV{DEVTYPE} lines because we (Suse/Novell) do not need them.
sed -i -e 's/GROUP="scanner"/GROUP="lp"/' tools/udev/libsane.rules
sed -i -e '/^SUBSYSTEM/s/"usb_device"/"usb"/' tools/udev/libsane.rules
-sed -i -e 's/SYSFS/ATTR/g' tools/udev/libsane.rules
-sed -i -e 's/ATTRS/ATTR/g' tools/udev/libsane.rules
+sed -i -e
'/^LABEL="libsane_usb_rules_begin"/,/^LABEL="libsane_usb_rules_end"/s/ATTRS/ATTR/g'
tools/udev/libsane.rules
sed -i -e 's/^ENV{DEVTYPE}/# ENV{DEVTYPE}/' tools/udev/libsane.rules
# Disable entries for USB scanners which are "unsupported"
# but keep the entries for models for which the support status
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |