Hello community,

here is the log from the commit of package hplip.2124 for openSUSE:12.2:Update 
checked in at 2013-10-31 15:52:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/hplip.2124 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.hplip.2124.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hplip.2124"

Changes:
--------
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ /work/SRC/openSUSE:12.2:Update/.hplip.2124.new/hplip.changes        
2013-10-31 15:52:47.000000000 +0100
@@ -0,0 +1,1260 @@
+-------------------------------------------------------------------
+Wed Oct 23 12:49:31 CEST 2013 - [email protected]
+
+- fix-CVE-2013-4325.diff is a security fix from HPLIP 3.13.10
+  that fixes the usage of an insecure polkit DBUS API
+  (fix for bnc#836937 and CVE-2013-4325 that are
+   related to CVE-2013-4288 and bnc#835827).
+
+-------------------------------------------------------------------
+Tue Apr 24 13:51:03 CEST 2012 - [email protected]
+
+-  hplip.SuSEfirewall2 is no longer provided
+   (see SUSE Bugzilla bnc#757354 comment #10).
+
+-------------------------------------------------------------------
+Thu Apr 12 15:14:18 CEST 2012 - [email protected]
+
+- Upgraded to version 3.12.4:
+  Uninstall Support: User can uninstall complete HPLIP package
+  by running "hp-uninstall" command.
+  Upgrade Support: Settings can be configured using
+  "hp-systray -> settings -> Update settings" for notification
+  of newer version of HPLIP release. User can also upgrade to
+  latest version by running "hp-upgrade" command.
+  Queue Analyzer: Print/Fax queues can be analyzed by
+  running "hp-diagnose-queues" command or by clicking
+  on "Diagnose Queues" from toolbox.
+  Several more supported printers and all-in-one devices.
+  Several bug fixes.
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+- Removed hp-toolbox.wrapper because the reason for it
+  is no longer valid (see SUSE Bugzilla bnc#755820).
+- Added "BuildRequires: python-cups" to get special
+  RPM Provides tags for the printers supported by
+  this package (see SUSE Bugzilla bnc#735865).
+
+-------------------------------------------------------------------
+Wed Feb  8 10:22:30 CET 2012 - [email protected]
+
+- Upgraded to version 3.12.2:
+  Fixed digital signature mismatch issue for plugin download.
+  Removed unsupported features (Water Mark overlay, Job Storage,
+  PIN 2 Print) from the PS PPDs.
+  Several more supported printers and all-in-one devices.
+  A few bug fixes.
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+
+-------------------------------------------------------------------
+Thu Jan 12 17:24:22 CET 2012 - [email protected]
+
+- Upgraded to version 3.11.12:
+  Auto-detection and installation of missing plug-ins.
+  Designed tool to detect the missing plugin files and intimate
+  user about it and giving the path forward to install it.
+  SYSFS is replaced by ATTRS in udev rules.
+  Uses D-Bus from separate threads without locking.
+  Several more supported printers and all-in-one devices.
+  Several bug fixes.
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+- change-udev-rules.diff changes ATTRS to ATTR (bnc#436085).
+- no-chgrp_lp_hplip_Logdir.diff deactivates
+  the "chgrp lp -R /var/log/hp" in Makefile.am because
+  during install this results "Operation not permitted".
+  This is done in the files section via attr(0774,root,lp)
+  where mode 0774 matches to what is set in Makefile.am.
+
+-------------------------------------------------------------------
+Fri Oct 28 06:08:53 UTC 2011 - [email protected]
+
+- Install icons of various sizes in hicolor icon directory for
+  better appearance in gnome-shell (bnc#713902).
+- Add hicolor-icon-theme BuildRequires to own the hicolor icon
+  directory correctly and install icons in there
+- Use appropriate icon theme macros in post scripts
+- Modified hplip.desktop to use these hicolor icons
+- In hplip.desktop replace the category "Settings" by "System" to
+  make it appear under the correct group "System Tools" rather
+  than "Others" in desktop menus.
+
+-------------------------------------------------------------------
+Sat Oct 15 04:47:01 UTC 2011 - [email protected]
+
+- add libtool as buildrequire to make the spec file more reliable
+
+-------------------------------------------------------------------
+Thu Oct 13 13:57:46 UTC 2011 - [email protected]
+
+- Split the sane driver in a hplip-sane subpackage, so that it's
+  not necessary to install the full hplip tools to use an
+  all-in-one HP printer. See bnc#723870.
+
+-------------------------------------------------------------------
+Tue Oct  4 12:44:11 CEST 2011 - [email protected]
+
+- Upgraded to version 3.11.10:
+  Fixed insecure tmp file handling in hpcupsfax.cpp CVE-2011-2722
+  see https://bugs.launchpad.net/hplip/+bug/809904 (bnc#704608).
+  New tech classes for HP OfficeJet Pro 8100,
+  HP Deskjet 3070 B611 series and HP Photosmart 7510 e-All-in-One.
+  Added new subtech class for HP Photosmart 6510 e-All-in-one.
+  Modified the error message which was displayed in case
+  of missing .asc file for manual plug-in install.
+  Several more supported printers and all-in-one devices.
+  Several bug fixes.
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+
+-------------------------------------------------------------------
+Fri Aug 12 10:36:13 CEST 2011 - [email protected]
+
+- Upgraded to version 3.11.7:
+  A few more supported printers and all-in-one devices.
+  Several bug fixes.
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+- Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451)
+  plus a leftover in CVE-2004-0801 (bnc#59233)
+  foomatic-rip-hplip is no longer installed and foomatic-rip
+  from the foomatic-filters RPM is used instead and the
+  "cupsFilter" entries in the PPDs are changed accordingly.
+  To be backward compatible with PPDs in /etc/cups/ppd/
+  for existing print queues a compatibility link
+  /usr/lib/cups/filter/foomatic-rip-hplip
+  which points to foomatic-rip is installed.
+- The DefaultPageSize in the PPDs is no longer set to A4
+  if A4 is an available PageSize choice but left "as is"
+  because the DefaultPageSize in the PPD templates in
+  /usr/share/cups/model/ does not matter because the cupsd
+  sets the DefaultPageSize for PPDs in /etc/cups/ppd/
+  by default according to the locale that the cupsd runs in or
+  according to a DefaultPaperSize entry in /etc/cups/cupsd.conf.
+- No longer "Correcting or removing non-working PPDs..."
+  because none of those cases which were fixed still exist
+  (i.e. all those cases are meanwhile fixed upstream).
+
+-------------------------------------------------------------------
+Fri May 13 12:20:10 CEST 2011 - [email protected]
+
+- Upgraded to version 3.11.5:
+  Added LEDM ADF Scan support.
+  Added LEDM Wireless support.
+  Some more supported printers and all-in-one devices.
+  It may fix the inverted/wrong color problem in HPCUPS
+  (see Novell/openSUSE Bugzilla bnc #692905).
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+
+-------------------------------------------------------------------
+Tue Mar 29 16:24:36 CEST 2011 - [email protected]
+
+- Upgraded to version 3.11.3a:
+  Fixed hp-plugin plugin download error (no Suse bug), see
+  http://hplipopensource.com/hplip-web/release_notes.html
+
+-------------------------------------------------------------------
+Fri Mar 18 11:29:09 CET 2011 - [email protected]
+
+- Upgraded to version 3.11.3:
+  New device class StingrayOJ for HP OfficeJet 100 Mobile L411.
+  New filter hpps (HP PS filter for PostScript printers) currently
+  only used via hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz
+  Some more supported printers and all-in-one devices.
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+
+-------------------------------------------------------------------
+Tue Feb  1 16:19:21 CET 2011 - [email protected]
+
+- Updated to version 3.11.1:
+  New encapsulation format for LJZJStream class.
+  Alignment of cartridges over LEDM (Low End Data Model).
+  LEDM dynamic scan resolution.
+  New fax protocol (Low End Data Model) support.
+  ADF and color scan for some HP LaserJet Pro and MFP devices.
+  Some more supported all-in-one devices.
+  Many bug fixes (no Suse bugs).
+  For details see
+  http://hplipopensource.com/hplip-web/release_notes.html
+- Adapted change-udev-rules.diff for version 3.11.1
+  because the "DesignJet product (0x03f0xx14)" was added.
+
+-------------------------------------------------------------------
+Thu Jan 13 16:29:01 CET 2011 - [email protected]
+
+-  hplip-3.9.8-CVE-2010-4267.patch fixes a remote buffer overflow
+   (CVE-2010-4267 and Novell/Suse Bugzilla bnc#336658).
+
+-------------------------------------------------------------------
+Wed Dec 29 15:52:56 UTC 2010 - [email protected]
+
+- Use more appropriate categories for hplip.desktop
+  'Settings HardwareSettings Printing' instead of 'System Monitor'
+
+-------------------------------------------------------------------
++++ 1063 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2:Update/.hplip.2124.new/hplip.changes

New:
----
  change-udev-rules.diff
  fix-CVE-2013-4325.diff
  fix-uninitialized-variables.diff
  hp-systray.wrapper
  hpijs.1.gz
  hplip-3.12.4.tar.gz
  hplip-3.9.8-CVE-2010-4267.patch
  hplip.changes
  hplip.desktop
  hplip.spec
  no-chgrp_lp_hplip_Logdir.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hplip.spec ++++++
++++ 646 lines (skipped)

++++++ change-udev-rules.diff ++++++
--- data/rules/55-hpmud.rules.orig      2011-12-09 12:19:54.000000000 +0100
+++ data/rules/55-hpmud.rules   2012-01-12 16:20:57.000000000 +0100
@@ -12,142 +12,186 @@
 #   3. This rules file is an attempt at being compatable with all distros. 
Feel free to make your own changes and if you feel your
 #      changes are not distro specific please send your patch to us. 
2/11/2009, D Suffield
 #
+# SUSE changed:
+#
+# ATTRS{idVendor} to ATTR{idVendor} and
+# ATTRS{idProduct to ATTR{idProduct}
+# because ATTRS search all parents which wastes resources
+# while ATTR is sufficient here,
+# see https://bugzilla.novell.com/show_bug.cgi?id=436085
+#
+# MODE="660" to MODE="0664"
+# because it is sufficiently secure to let any user read the device nodes
+# because HPLIP opens the device nodes exclusively so that sniffing
+# of print jobs or scanner image data should not be possible and
+# read permissions for any user is required in particular for USB devices
+# so that any user can see the USB devices when he runs the command "lsusb".
+#
+# Added ENV{sane_hpaio}="yes" to all entries for USB devices
+# to get the SANE driver "hpaio" automatically activated in any case
+# (only scanners in HP parallel port all-in-one devices are ignored)
+# because not only "AiO products (0x03f0xx11)" can have scanner units
+# but also Photosmart products, inkjet printers, and laser printers
+# (e.g. the LaserJet 1220 03f0:0417 has a scanner unit).
+# An activated SANE driver does not cause continuous system load because
+# it is only run when the user launches a scanning frontend (e.g. xsane)
+# and then all what the driver does is to scan the USB device information
+# to find devices which belong to the driver and if nothing found it exits.
+# Additionally see https://bugzilla.novell.com/show_bug.cgi?id=469721#c9
+#
+# Added ENV{libsane_matched}="yes" to all entries for USB devices
+# to get normal user access permissions via udev, see
+# https://bugzilla.novell.com/show_bug.cgi?id=542473#c14
+#
+# Added same rule to disable USB autosuspend
+# as in /etc/udev/rules.d/55-libsane.rules
+#
 
 ACTION!="add", GOTO="hpmud_rules_end"
-SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0660"
+SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0664"
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hplip_pid_test"
 SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
 
 LABEL="hplip_pid_test"
 
 # Check for AiO products (0x03f0xx11).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??11", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??11", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 
 # Check for Photosmart products without wildcard since cameras and scanners 
also used (0x03f0xx02). 
 # The xx02 pid has been retired so this explicit list should not change.
 # photosmart_d2300_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c302", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c302", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_100
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3802", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3802", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_1115
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3402", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3402", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_1215
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3202", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3202", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_1218
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3302", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3302", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_130
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3902", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3902", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_1315
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3602", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3602", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_140_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1002", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1002", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_230
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3502", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3502", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_240_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1102", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1102", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_320_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1202", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1202", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_330_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1602", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1602", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_370_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1302", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1302", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_380_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1702", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1702", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_420_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1502", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1502", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_470_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1802", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1802", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7150
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3a02", OWNER="root", GROUP="lp", 
MODE="660"
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3b02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3a02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3b02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7200_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="b002", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="b002", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7345
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2002", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="2002", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7350 
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3c02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3c02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7400_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="b802", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="b802", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7550
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3e02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="3e02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7600_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="b202", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="b202", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7700_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="b402", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="b402", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7800_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c002", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c002", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_7900_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="b602", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="b602", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_8000_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c102", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c102", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_8100_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="ba02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="ba02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_8200_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c202", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c202", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_8400_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="bb02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="bb02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_8700_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="bc02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="bc02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a310_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1d02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1d02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a320_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1e02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1e02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a430_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1902", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1902", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a440_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1f02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a510_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1a02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1a02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a520_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2602", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="2602", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a530_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2b02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="2b02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a610_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1b02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1b02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a620_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2702", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="2702", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a630_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2c02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="2c02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a710_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1c02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="1c02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_a820_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2902", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="2902", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_d5060_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c802", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c802", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_d5100_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c402", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c402", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_d6100_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c502", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c502", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_d7100_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c602", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c602", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_d7300_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="c702", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="c702", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_pro_b8300_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="be02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="be02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_b8800_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="d002", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="d002", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # photosmart_pro_b9100_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="bd02", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="bd02", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # Photosmart_B8500_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="d102", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="d102", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # Photosmart_A640_series
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="7902", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="7902", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 
 # Check for Business Inkjet products (0x03f0xx12).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??12", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??12", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # Check for Deskjet products (0x03f0xx04).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??04", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??04", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # Check for LaserJet products (0x03f0xx17).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??17", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # Check for LaserJet products (0x03f0xx2a).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??2a", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 # Check for DesignJet product (0x03f0xx14).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??14", OWNER="root", GROUP="lp", 
MODE="660"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??14", OWNER="root", GROUP="lp", 
MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes"
 
 # Removed the following rule because FHS states that /etc should be reserved 
for static files only. This
 # functionality should be done in a deb/rpm post install script.  2/11/2009, D 
Suffield
 #
+# SUSE re-enabled it
+# because it is how it works with SANE regardless what FHS think how it should 
work.
+# Files in /etc/ are config files which can be adapted as needed during 
runtime.
+# Adapting /etc/sane.d/dll.conf only during package install time is 
insufficient
+# because a device may be not connected by the admin during package install 
time
+# but later during runtime by the system's end-user (e.g. on a company 
workstation).
+#
 # If sane-bankends is installed add hpaio backend support to dll.conf if 
needed.
-# ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio 
/etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ 
/etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 
];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'"
+ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio 
/etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ 
/etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 
];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'"
+
+# The following rule will disable USB autosuspend for the device
+ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'test -e 
/sys/$env{DEVPATH}/power/level && echo on > /sys/$env{DEVPATH}/power/level'"
 
 LABEL="hpmud_rules_end"
--- data/rules/56-hpmud_support.rules.orig      2011-12-09 12:19:54.000000000 
+0100
+++ data/rules/56-hpmud_support.rules   2012-01-12 16:24:00.000000000 +0100
@@ -1,15 +1,16 @@
 # HPLIP udev rules file. Notify console user if plugin support is required for 
this device.
 
-ACTION!="add", GOTO="hpmud_rules_end"
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test"
-SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
-
-LABEL="pid_test"
+ACTION!="add", GOTO="hpmud_support_rules_end"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hpmud_support_pid_test"
+SUBSYSTEM!="usb_device", GOTO="hpmud_support_rules_end"
+ 
+LABEL="hpmud_support_pid_test"
 
 # Check for LaserJet products (0x03f0xx17).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", 
ENV{hp_model}="$attrs{product}", ENV{hp_test}="yes"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??17", 
ENV{hp_model}="$attrs{product}", ENV{hp_test}="yes"
 # Check for LaserJet products (0x03f0xx2a).
-ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", 
ENV{hp_model}="$attrs{product}", ENV{hp_test}="yes"
+ATTR{idVendor}=="03f0", ATTR{idProduct}=="??2a", 
ENV{hp_model}="$attrs{product}", ENV{hp_test}="yes"
 ENV{hp_test}=="yes", RUN+="/bin/sh -c '/usr/bin/hp-mkuri -c &'"
 
-LABEL="hpmud_rules_end"
+LABEL="hpmud_support_rules_end"
+
--- data/rules/86-hpmud_plugin.rules.orig       2011-12-09 12:19:54.000000000 
+0100
+++ data/rules/86-hpmud_plugin.rules    2012-01-12 17:07:28.000000000 +0100
@@ -1,9 +1,9 @@
 # Load hp firmware for this printer.
 
-ACTION!="add", GOTO="hpmud_rules_end"
+ACTION!="add", GOTO="hpmud_plugin_rules_end"
 
 # hp_Marvel_Device (These printer requires the plugin files. installling when 
device is detected)
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", 
ATTRS{idProduct}=="??17", PROGRAM="/bin/sh -c 'logger -p user.info loading 
hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 
'/usr/bin/hp-check-plugin -m &'"
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", 
ATTRS{idProduct}=="??2a", PROGRAM="/bin/sh -c 'logger -p user.info loading 
hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 
'/usr/bin/hp-check-plugin -m &'"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="03f0", 
ATTR{idProduct}=="??17", PROGRAM="/bin/sh -c 'logger -p user.info loading 
hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 
'/usr/bin/hp-check-plugin -m &'"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="03f0", 
ATTR{idProduct}=="??2a", PROGRAM="/bin/sh -c 'logger -p user.info loading 
hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 
'/usr/bin/hp-check-plugin -m &'"
 
-LABEL="hpmud_rules_end"
+LABEL="hpmud_plugin_rules_end"
++++++ fix-CVE-2013-4325.diff ++++++
--- hplip-3.12.4/base/pkit.py   2012-04-10 10:35:13.000000000 +0200
+++ hplip-3.13.10/base/pkit.py  2013-10-11 11:40:14.000000000 +0200
@@ -171,36 +172,32 @@ class PolicyKitService(dbus.service.Obje
             raise AccessDeniedException('Session not authorized by PolicyKit')
 
         system_bus = dbus.SystemBus()
         obj = system_bus.get_object("org.freedesktop.PolicyKit1",
                                     "/org/freedesktop/PolicyKit1/Authority",
                                     "org.freedesktop.PolicyKit1.Authority")
         policy_kit = dbus.Interface(obj, 
"org.freedesktop.PolicyKit1.Authority")
-        info = dbus.Interface(connection.get_object("org.freedesktop.DBus",
-                                                    
"/org/freedesktop/DBus/Bus",
-                                                    False),
-                              "org.freedesktop.DBus")
-        pid = info.GetConnectionUnixProcessID(sender)
-        
+
         subject = (
-            'unix-process',
-            { 'pid' : dbus.UInt32(pid, variant_level = 1) }
+           'system-bus-name',
+            { 'name' : dbus.String(sender, variant_level = 1) }
         )
         details = { '' : '' }
         flags = dbus.UInt32(1)         # AllowUserInteraction = 0x00000001
         cancel_id = ''
 
         (ok, notused, details) = \
             policy_kit.CheckAuthorization(subject,
                                           action,
                                           details,
                                           flags,
                                           cancel_id)
         if not ok:
             log.error("Session not authorized by PolicyKit version 1")
+            raise AccessDeniedException("Session not authorized by PolicyKit")
 
         return ok
 
 
 if utils.to_bool(sys_conf.get('configure', 'policy-kit')):
     class BackendService(PolicyKitService):
         INTERFACE_NAME = 'com.hp.hplip'
++++++ fix-uninitialized-variables.diff ++++++
--- ip/xmatrix.c.orig   2004-02-18 23:43:44.000000000 +0100
+++ ip/xmatrix.c        2005-05-17 13:48:17.000000000 +0200
@@ -380,7 +380,7 @@
 
         while (pwOut < (WORD*)pOutAfter)
         {
-            int prod0, prod1, prod2;
+            int prod0 = 0, prod1 = 0, prod2 = 0;
 
             /* The fixed-point calculations below are as follows:
              *     17.15 = input pixel
++++++ hp-systray.wrapper ++++++
#! /bin/bash

# Be polite and sleep a bit to let more important processes go ahead
# (in particular after booting let the cupsd finish its startup):
sleep 10
# Run hp-systray only if an appropriate local print queue exists
# (i.e. on localhost a queue with a "hp:/..." DeviceURI)
# see https://bugzilla.novell.com/show_bug.cgi?id=649280
# otherwise and in case of any error do an unnoticeable exit:
set -o pipefail
lpstat -h localhost -v | grep -q ': hp:/' || exit 0
# Replace this wrapper with the actual command
# so that it exits with the exit code of the command
# and that the command gets any signals directly,
# see https://bugzilla.novell.com/show_bug.cgi?id=499735
exec hp-systray

++++++ hplip-3.9.8-CVE-2010-4267.patch ++++++
--- io/hpmud/pml.c.orig 2009-08-04 23:37:25.000000000 +0200
+++ io/hpmud/pml.c      2010-12-17 13:09:28.000000000 +0100
@@ -504,6 +504,8 @@ enum HPMUD_RESULT hpmud_get_pml(HPMUD_DE
       p += 2;                               /* eat type and length */
    }
    
+   if (dLen > buf_size)
+      dLen = buf_size;
    memcpy(buf, p, dLen);
    *bytes_read = dLen; 
    *type = dt;
++++++ hplip.desktop ++++++
[Desktop Entry]
Type=Application
Name=hp-toolbox
GenericName=HP Device Manager
Exec=hp-toolbox
Icon=HPmenu
++++++ no-chgrp_lp_hplip_Logdir.diff ++++++
--- Makefile.am.orig    2012-04-10 10:35:14.000000000 +0200
+++ Makefile.am 2012-04-13 12:05:40.000000000 +0200
@@ -509,14 +509,14 @@ endif
 install-dist_hplip_LogDATA:
 if FULL_BUILD
        test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p 
$(DESTDIR)$(hplip_Logdir)
-       chgrp "lp" -R $(DESTDIR)$(hplip_Logdir)
+#      chgrp "lp" -R $(DESTDIR)$(hplip_Logdir)
        chmod 774 $(DESTDIR)$(hplip_Logdir)
 endif  #FULL_BUILD
 if HPLIP_BUILD
        test -z "$(DESTDIR)$(hplip_Logdir)" || mkdir -p 
$(DESTDIR)$(hplip_Logdir)
-       chgrp "lp" -R $(DESTDIR)$(hplip_Logdir)
+#      chgrp "lp" -R $(DESTDIR)$(hplip_Logdir)
        chmod 774 $(DESTDIR)$(hplip_Logdir)
-endif  #FULL_BUILD
+endif  #HPLIP_BUILD
 
 install-data-hook:
 if HPLIP_BUILD
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to