Accepting request 229530 from Printing
Version upgrade to 3.14.4 (forwarded request 229529 from jsmeix) OBS-URL: https://build.opensuse.org/request/show/229530 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hplip?expand=0&rev=91
This commit is contained in:
commit
d50fc7a293
@ -1,8 +1,7 @@
|
||||
--- data/rules/56-hpmud.rules.change-udev-rules.orig 2013-10-11 11:38:53.000000000 +0200
|
||||
+++ data/rules/56-hpmud.rules 2013-10-16 16:04:54.000000000 +0200
|
||||
@@ -1,18 +1,43 @@
|
||||
--- data/rules/56-hpmud.rules.orig 2014-03-28 20:51:31.600138795 +0100
|
||||
+++ data/rules/56-hpmud.rules 2014-03-28 21:29:10.461761052 +0100
|
||||
@@ -1,9 +1,31 @@
|
||||
# HPLIP udev rules file. Notify console user if plugin support is required for this device.
|
||||
|
||||
+# SUSE changed:
|
||||
+#
|
||||
+# Exchanged the rule to GOTO hpmud_usb_rules if SUBSYSTEM is "usb"
|
||||
@ -25,7 +24,7 @@
|
||||
+# is also used to upload firmware into printers that need it
|
||||
+# see https://bugs.launchpad.net/bugs/1220628
|
||||
+# a rule that only uploads firmware into printers that need it is added.
|
||||
+
|
||||
|
||||
ACTION!="add", GOTO="hpmud_rules_end"
|
||||
-SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0664"
|
||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hpmud_usb_rules"
|
||||
@ -35,23 +34,15 @@
|
||||
|
||||
LABEL="hpmud_usb_rules"
|
||||
|
||||
# ENV{ID_HPLIP}="1" is for Ubuntu udev-acl
|
||||
ATTR{idVendor}=="03f0", ATTR{idProduct}=="????", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
|
||||
@@ -12,7 +34,10 @@
|
||||
|
||||
|
||||
-
|
||||
# This rule will add the printer and install plugin
|
||||
-ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi'"
|
||||
+# ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi'"
|
||||
-ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/python /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi &'"
|
||||
+#ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/python /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi &'"
|
||||
+
|
||||
+# This rule uploads firmware to HP USB printer devices if needed:
|
||||
+ENV{hp_test}=="yes", PROGRAM="/bin/logger -p user.info udev hpmud.rules runs hp-firmware to test if HP device with USB vendor ID $attr{idVendor} and USB product ID $attr{idProduct} at USB bus ID $env{BUSNUM} and USB device ID $env{DEVNUM} needs firmware and if yes to upload it", RUN+="/usr/bin/hp-firmware -s $env{BUSNUM}:$env{DEVNUM}"
|
||||
|
||||
# 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'"
|
||||
@@ -20,5 +45,5 @@ ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c
|
||||
# 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"
|
||||
+
|
||||
|
@ -1,14 +1,5 @@
|
||||
--- installer/distros.dat.orig 2013-10-11 11:36:44.000000000 +0200
|
||||
+++ installer/distros.dat 2013-10-16 16:25:27.000000000 +0200
|
||||
@@ -141,7 +141,7 @@ parallel_supported=0
|
||||
usb_supported=1
|
||||
packaged_version=3.11.6
|
||||
release_date=2012-07-11
|
||||
-notes=Please be sure to disable the CD repositories in YaST and after installation you must log out and back in to become a member of the lp and sys group to enable printing.
|
||||
+notes=Please be sure to disable the CD repositories in YaST.
|
||||
ppd_install=drv
|
||||
udev_mode_fix=1
|
||||
ppd_dir=/usr/share/cups/model/HP
|
||||
--- installer/distros.dat.orig 2014-04-04 12:40:20.000000000 +0200
|
||||
+++ installer/distros.dat 2014-04-09 16:01:30.000000000 +0200
|
||||
@@ -150,7 +150,7 @@ drv_dir=/usr/share/cups/drv/HP
|
||||
cups_path_with_bitness=0
|
||||
ui_toolkit=qt4
|
||||
@ -18,15 +9,6 @@
|
||||
pre_depend_cmd=su -c "zypper refresh"
|
||||
|
||||
[suse:12.2:cups]
|
||||
@@ -261,7 +261,7 @@ parallel_supported=0
|
||||
usb_supported=1
|
||||
packaged_version=3.12.11
|
||||
release_date=2013-03-13
|
||||
-notes=Please be sure to disable the CD repositories in YaST and after installation you must log out and back in to become a member of the lp and sys group to enable printing.
|
||||
+notes=Please be sure to disable the CD repositories in YaST.
|
||||
ppd_install=drv
|
||||
udev_mode_fix=1
|
||||
ppd_dir=/usr/share/cups/model/HP
|
||||
@@ -270,7 +270,7 @@ drv_dir=/usr/share/cups/drv/HP
|
||||
cups_path_with_bitness=0
|
||||
ui_toolkit=qt4
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ea0ed020ab54e08620fe6ea7c30e93dbb8be505f2e6994e7222a7be63ca3b34
|
||||
size 21104424
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlJyRPYACgkQc9dwzaWQR7k5dQCgsaBp0n2Yw+U4f+idkFfxmrEk
|
||||
FycAoOgf1EFe+P3pmL+yy7w+aY9INQYk
|
||||
=puTl
|
||||
-----END PGP SIGNATURE-----
|
3
hplip-3.14.4.tar.gz
Normal file
3
hplip-3.14.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce50c2e0ebc0f469599500257d291ca170c6559a99c8eb312f89be881c2110c9
|
||||
size 21414140
|
7
hplip-3.14.4.tar.gz.asc
Normal file
7
hplip-3.14.4.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlM+jW8ACgkQc9dwzaWQR7n+2wCfXptHk0qzrbrh4zl20WZ2zibb
|
||||
v6IAn1fBYSZwVTLCAhbgDXiHwhLcDPTJ
|
||||
=ksSW
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 9 16:02:02 CEST 2014 - jsmeix@suse.de
|
||||
|
||||
- do_not_open_mdns_port.diff: Adapted for HPLIP 3.14.4.
|
||||
- Version upgrade to 3.14.4:
|
||||
Added Support for the Following New Printers:
|
||||
HP Color LaserJet Enterprise M651dn Printer
|
||||
HP Color LaserJet Enterprise M651n Printer
|
||||
HP Color LaserJet Enterprise M651xh Printer
|
||||
HP Color LaserJet Enterprise Multifunction M680dn Printer
|
||||
HP Color LaserJet Enterprise Multifunction M680f Printer
|
||||
HP Color LaserJet Enterprise Flow Multifunction M680z Printer
|
||||
HP Color Laserjet Pro MFP M476dw
|
||||
HP Color Laserjet Pro MFP M476nw
|
||||
HP Color Laserjet Pro MFP M476dn
|
||||
HP Designjet T795 44-in ePrinter
|
||||
HP DeskJet 1511 All-in-One Printer
|
||||
HP DeskJet 1011 Printer
|
||||
HP LaserJet Pro MFP M128fn
|
||||
HP LaserJet Pro MFP M128fp
|
||||
HP LaserJet Pro MFP M128fw
|
||||
HP LaserJet Pro M701a Printer
|
||||
HP LaserJet Pro M701n Printer
|
||||
HP LaserJet Pro M706n Printer
|
||||
HP Officejet Enterprise Color X555dn Printer
|
||||
HP Officejet Enterprise Color X555xh Printer
|
||||
HP Officejet Enterprise Color X585dn Multifunction Printer
|
||||
HP Officejet Enterprise Color X585f Multifunction Printer
|
||||
HP Officejet Enterprise Color Flow X585z Multifunction Printer
|
||||
HP OfficeJet Pro 8610 e-All-in-One Printer
|
||||
HP OfficeJet Pro 8615 e-All-in-One Printer
|
||||
HP OfficeJet Pro 8620 e-All-in-One Printer
|
||||
HP OfficeJet Pro 8625 e-All-in-One Printer
|
||||
HP OfficeJet Pro 8630 e-All-in-One Printer
|
||||
HP OfficeJet 4631 e-All-in-One Printer
|
||||
HP OfficeJet 4634 e-All-in-One printer
|
||||
HP OfficeJet 4636 e-All-in-One Printer
|
||||
Fixed hp-logcapture (captured personal information), see
|
||||
http://hplipopensource.com/hplip-web/release_notes.html
|
||||
- change-udev-rules.diff: Adapted for HPLIP 3.14.3.
|
||||
- Version upgrade to 3.14.3:
|
||||
Added Support for the Following New Printers:
|
||||
HP Deskjet Ink Advantage 4640 e-All-in-One Printer series
|
||||
HP Deskjet Ink Advantage 4645 e-All-in-One Printer
|
||||
HP Deskjet Ink Advantage 4646 e-All-in-One Printer
|
||||
HP Deskjet Ink Advantage 4648 e-All-in-One Printer
|
||||
HP LaserJet Pro MFP M125a
|
||||
HP LaserJet Pro MFP M125nw
|
||||
HP LaserJet Pro MFP M125rnw
|
||||
HP LaserJet Pro MFP M126a
|
||||
HP LaserJet Pro MFP M126nw
|
||||
HP LaserJet Pro MFP M127fp
|
||||
Fixed hpcups filter crash.
|
||||
Run hp-firmware from udev separately.
|
||||
Some other bug fixes.
|
||||
For details see
|
||||
http://hplipopensource.com/hplip-web/release_notes.html
|
||||
- Version upgrade to 3.14.1:
|
||||
Added digital signature validation in HPLIP upgrade feature.
|
||||
CVE-2013-6427: insecure auto update feature.
|
||||
CVE-2013-6402: insecure temporary file handling in pkit.py.
|
||||
- The whole HPLIP upgrade feature is still disabled, see the
|
||||
entry dated "Wed Dec 4 14:25:51 CET 2013" below.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 14:25:51 CET 2013 - jsmeix@suse.de
|
||||
|
||||
|
10
hplip.spec
10
hplip.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hplip
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -59,15 +59,15 @@ Group: Hardware/Printing
|
||||
# where 'a' or 'b' do not mean 'alpha' or 'beta' but 'second' or 'third' release in the month
|
||||
# (usually bugfix releases have the suffix like 3.12.10a = first bugfix release for 3.12.10).
|
||||
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
||||
Version: 3.13.11
|
||||
Version: 3.14.4
|
||||
Release: 0
|
||||
Url: http://hplipopensource.com
|
||||
# Source0...Source9 is for sources from HP:
|
||||
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.13.9.tar.gz
|
||||
# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.13.9.tar.gz.asc
|
||||
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.14.4.tar.gz
|
||||
# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.14.4.tar.gz.asc
|
||||
# How to verify Source0 see: http://hplipopensource.com/node/327
|
||||
# For example: /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9
|
||||
# /usr/bin/gpg --verify hplip-3.13.9.tar.gz.asc hplip-3.13.9.tar.gz
|
||||
# /usr/bin/gpg --verify hplip-3.14.4.tar.gz.asc hplip-3.14.4.tar.gz
|
||||
# must result: Good signature from "HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>"
|
||||
Source0: http://prdownloads.sourceforge.net/hplip/hplip-%{version}.tar.gz
|
||||
Source1: http://prdownloads.sourceforge.net/hplip/hplip-%{version}.tar.gz.asc
|
||||
|
Loading…
Reference in New Issue
Block a user