This commit is contained in:
parent
5d71d8a33a
commit
8ecda30fa1
@ -1,14 +1,30 @@
|
|||||||
--- 55-hpmud.rules.orig 2007-05-17 18:48:16.000000000 +0200
|
--- data/rules/55-hpmud.rules.orig 2007-10-18 00:50:47.000000000 +0200
|
||||||
+++ 55-hpmud.rules 2007-07-26 09:10:14.000000000 +0200
|
+++ data/rules/55-hpmud.rules 2007-10-23 14:12:36.000000000 +0200
|
||||||
@@ -1,5 +1,9 @@
|
@@ -1,21 +1,21 @@
|
||||||
# TODO: add PROGRAM rule for 7/xx/xx printer class interface
|
# Udev rules file for HP printer products.
|
||||||
-SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
|
|
||||||
+SUBSYSTEM=="usb", GOTO="hpmud_rules_continue"
|
|
||||||
+# For backward compatibility match also against "usb_device":
|
|
||||||
+SUBSYSTEM=="usb_device", GOTO="hpmud_rules_continue"
|
|
||||||
+GOTO="hpmud_rules_end"
|
|
||||||
+LABEL="hpmud_rules_continue"
|
|
||||||
ACTION!="add", GOTO="hpmud_rules_end"
|
ACTION!="add", GOTO="hpmud_rules_end"
|
||||||
-SYSFS{idVendor}=="03f0", GROUP="lp"
|
-SUBSYSTEM=="ppdev", OWNER="lp", GROUP="lp", MODE="0666"
|
||||||
+SYSFS{idVendor}=="03f0", OWNER="root", GROUP="lp", MODE="0664"
|
+SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0666"
|
||||||
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test"
|
||||||
|
SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
|
||||||
|
|
||||||
|
LABEL="pid_test"
|
||||||
|
|
||||||
|
# Check for AiO products (0x03f0xx11).
|
||||||
|
-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", OWNER="lp", GROUP="lp", MODE="0666"
|
||||||
|
+SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", OWNER="root", GROUP="lp", MODE="0666"
|
||||||
|
# Check for Photosmart products (0x03f0xx02).
|
||||||
|
-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??02", OWNER="lp", GROUP="lp", MODE="0666"
|
||||||
|
+SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??02", OWNER="root", GROUP="lp", MODE="0666"
|
||||||
|
# Check for Business Inkjet products (0x03f0xx12).
|
||||||
|
-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", OWNER="lp", GROUP="lp", MODE="0666"
|
||||||
|
+SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", OWNER="root", GROUP="lp", MODE="0666"
|
||||||
|
# Check for Deskjet products (0x03f0xx04).
|
||||||
|
-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", OWNER="lp", GROUP="lp", MODE="0666"
|
||||||
|
+SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", OWNER="root", GROUP="lp", MODE="0666"
|
||||||
|
# Check for LaserJet products (0x03f0xx17).
|
||||||
|
-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="lp", GROUP="lp", MODE="0666"
|
||||||
|
+SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="root", GROUP="lp", MODE="0666"
|
||||||
|
|
||||||
LABEL="hpmud_rules_end"
|
LABEL="hpmud_rules_end"
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 23 14:45:08 CEST 2007 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Updated to version 2.7.10:
|
||||||
|
New LJZjsMono printer device class for ZJStream printers.
|
||||||
|
ZJStream printers require JBIG which has issues
|
||||||
|
(see Novell/Suse Bugzilla bug #263181). Therefore the support
|
||||||
|
for ZJStream printers is provided only via a binary-only plugin
|
||||||
|
which is downloaded by "hp-setup" from the HP web-site only after
|
||||||
|
the user has accepted the license terms. The "hp-setup" utility
|
||||||
|
is provided by the "hplip" main package.
|
||||||
|
Several bug fixes (no Suse bugs).
|
||||||
|
Two more supported Photosmart and Officejet printers.
|
||||||
|
- Updated to version 2.7.9:
|
||||||
|
Many bug fixes (no Suse bugs).
|
||||||
|
Some more supported Photosmart and Officejet printers.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 2 12:07:27 CEST 2007 - jsmeix@suse.de
|
Thu Aug 2 12:07:27 CEST 2007 - jsmeix@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hpijs-standalone (Version 2.7.7)
|
# spec file for package hpijs-standalone (Version 2.7.10)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -16,13 +16,13 @@ Summary: HPIJS stand-alone
|
|||||||
# HPLIP has reached 1.0 status. With this release a date encoded revision number is used:
|
# HPLIP has reached 1.0 status. With this release a date encoded revision number is used:
|
||||||
# x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
|
# x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
|
||||||
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
||||||
Version: 2.7.7
|
Version: 2.7.10
|
||||||
Release: 13
|
Release: 1
|
||||||
Group: Hardware/Printing
|
Group: Hardware/Printing
|
||||||
License: BSD 3-Clause, In general all applications are covered by the GNU General Public License (GPL) and the backend is covered by a MIT license. The printer driver HPIJS uses a BSD license. See the COPYING file in the HPLIP tar ball for more details.
|
License: BSD 3-Clause
|
||||||
Url: http://hpinkjet.sourceforge.net/
|
Url: http://hpinkjet.sourceforge.net/
|
||||||
# Source0...Source9 is for sources from HP:
|
# Source0...Source9 is for sources from HP:
|
||||||
# URL for Source0: http://switch.dl.sourceforge.net/sourceforge/hplip/hplip-2.7.7.tar.gz
|
# URL for Source0: http://switch.dl.sourceforge.net/sourceforge/hplip/hplip-2.7.10.tar.gz
|
||||||
Source0: hplip-%{version}.tar.bz2
|
Source0: hplip-%{version}.tar.bz2
|
||||||
# Patch10...Patch99 is for Suse patches for the sources from HP:
|
# Patch10...Patch99 is for Suse patches for the sources from HP:
|
||||||
# The patch numbers are the same as in hplip.spec.
|
# The patch numbers are the same as in hplip.spec.
|
||||||
@ -111,8 +111,21 @@ exit 0
|
|||||||
%doc COPYING prnt/hpijs/README_LIBJPG doc/license.html doc/legal.html doc/tech_docs/hpijs.html doc/tech_docs/device_classes.html doc/tech_docs/page_sizes.html doc/tech_docs/printable_areas.html
|
%doc COPYING prnt/hpijs/README_LIBJPG doc/license.html doc/legal.html doc/tech_docs/hpijs.html doc/tech_docs/device_classes.html doc/tech_docs/page_sizes.html doc/tech_docs/printable_areas.html
|
||||||
%doc %{_mandir}/man1/hpijs.1.gz
|
%doc %{_mandir}/man1/hpijs.1.gz
|
||||||
%{_bindir}/hpijs
|
%{_bindir}/hpijs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 23 2007 - jsmeix@suse.de
|
||||||
|
- Updated to version 2.7.10:
|
||||||
|
New LJZjsMono printer device class for ZJStream printers.
|
||||||
|
ZJStream printers require JBIG which has issues
|
||||||
|
(see Novell/Suse Bugzilla bug #263181). Therefore the support
|
||||||
|
for ZJStream printers is provided only via a binary-only plugin
|
||||||
|
which is downloaded by "hp-setup" from the HP web-site only after
|
||||||
|
the user has accepted the license terms. The "hp-setup" utility
|
||||||
|
is provided by the "hplip" main package.
|
||||||
|
Several bug fixes (no Suse bugs).
|
||||||
|
Two more supported Photosmart and Officejet printers.
|
||||||
|
- Updated to version 2.7.9:
|
||||||
|
Many bug fixes (no Suse bugs).
|
||||||
|
Some more supported Photosmart and Officejet printers.
|
||||||
* Thu Aug 02 2007 - jsmeix@suse.de
|
* Thu Aug 02 2007 - jsmeix@suse.de
|
||||||
- Updated to version 2.7.7:
|
- Updated to version 2.7.7:
|
||||||
Some more supported Photosmart printers.
|
Some more supported Photosmart printers.
|
||||||
|
3
hplip-2.7.10.tar.bz2
Normal file
3
hplip-2.7.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5739214779f48a61a2f9e3a06662c262eb1b672f1a03a4b0d020b6c65c9fc477
|
||||||
|
size 12717034
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9d19b14d8b8ca7ec9dc25e39ef4caf997f3bf11d152aca46de6c2694d726f49f
|
|
||||||
size 12758087
|
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 23 14:24:27 CEST 2007 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Updated to version 2.7.10:
|
||||||
|
New LJZjsMono printer device class for ZJStream printers.
|
||||||
|
ZJStream printers require JBIG which has issues
|
||||||
|
(see Novell/Suse Bugzilla bug #263181). Therefore the support
|
||||||
|
for ZJStream printers is provided only via a binary-only plugin
|
||||||
|
which is downloaded by "hp-setup" from the HP web-site only after
|
||||||
|
the user has accepted the license terms.
|
||||||
|
Applied patch for issue CVE-2007-5208 (hpssd command injection)
|
||||||
|
Several bug fixes (no Suse bugs).
|
||||||
|
Two more supported Photosmart and Officejet printers.
|
||||||
|
For details see release_notes.html
|
||||||
|
- Updated to version 2.7.9:
|
||||||
|
Made the default udev 55-hpmud.rules file more permissive
|
||||||
|
(ie: MODE=0666) so that also device status works for any user.
|
||||||
|
This looks sufficiently secure by default because the
|
||||||
|
55-hpmud.rules matches now only for those USB product IDs
|
||||||
|
which belong to HP printers and all-in-one devices so that
|
||||||
|
other HP USB devices like keyboard, mouse, and mass storage
|
||||||
|
devices won't get MODE=0666 by accident.
|
||||||
|
All known product-ids that HPLIP/HPIJS supports have been
|
||||||
|
added to the model.dat file.
|
||||||
|
Many bug fixes (no Suse bugs).
|
||||||
|
Some more supported Photosmart and Officejet printers.
|
||||||
|
For details see release_notes.html
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 18 12:18:25 CEST 2007 - jsmeix@suse.de
|
Tue Sep 18 12:18:25 CEST 2007 - jsmeix@suse.de
|
||||||
|
|
||||||
|
42
hplip.spec
42
hplip.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hplip (Version 2.7.7)
|
# spec file for package hplip (Version 2.7.10)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -16,13 +16,13 @@ Summary: HP's Printing, Scanning, and Faxing Software
|
|||||||
# HPLIP has reached 1.0 status. With this release a date encoded revision number is used:
|
# HPLIP has reached 1.0 status. With this release a date encoded revision number is used:
|
||||||
# x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
|
# x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
|
||||||
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
||||||
Version: 2.7.7
|
Version: 2.7.10
|
||||||
Release: 32
|
Release: 1
|
||||||
Group: Hardware/Printing
|
Group: Hardware/Printing
|
||||||
License: BSD 3-Clause, GPL v2 or later, In general all applications are covered by the GNU General Public License (GPL) and the backend is covered by a MIT license. The printer driver HPIJS uses a BSD license. See the COPYING file in the HPLIP tar ball for more details.
|
License: BSD 3-Clause; GPL v2 or later; X11/MIT
|
||||||
Url: http://hpinkjet.sourceforge.net/
|
Url: http://hpinkjet.sourceforge.net/
|
||||||
# Source0...Source9 is for sources from HP:
|
# Source0...Source9 is for sources from HP:
|
||||||
# URL for Source0: http://sourceforge.net/project/downloading.php?groupname=hplip&filename=hplip-2.7.7.tar.gz&use_mirror=osdn
|
# URL for Source0: http://switch.dl.sourceforge.net/sourceforge/hplip/hplip-2.7.10.tar.gz
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
# Patch0...Patch9 is for patches from HP:
|
# Patch0...Patch9 is for patches from HP:
|
||||||
# Patch10...Patch99 is for Suse patches for the sources from HP:
|
# Patch10...Patch99 is for Suse patches for the sources from HP:
|
||||||
@ -40,7 +40,9 @@ Source102: hpijs.1.gz
|
|||||||
# Source103 is the init script for hpssd:
|
# Source103 is the init script for hpssd:
|
||||||
Source103: rchplip
|
Source103: rchplip
|
||||||
# Patch100... is for special Suse patches:
|
# Patch100... is for special Suse patches:
|
||||||
# Patch101 changes the udev rules file to set explicitely owner, group and permissions:
|
# Patch101 changes in the udev rules file the owner from "lp" to "root"
|
||||||
|
# to avoid that the permissions can be changed e.g. by any CUPS filter script
|
||||||
|
# or CUPS backend (both run as user "lp"):
|
||||||
Patch101: change-udev-rules.diff
|
Patch101: change-udev-rules.diff
|
||||||
# Install into this non-root directory (required when norootforbuild is used):
|
# Install into this non-root directory (required when norootforbuild is used):
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -140,7 +142,7 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
# Fix "... is used uninitialized ..." warnings:
|
# Fix "... is used uninitialized ..." warnings:
|
||||||
%patch10
|
%patch10
|
||||||
# Patch101 changes the udev rules file to set explicitely owner, group and permissions:
|
# Patch101 changes in the udev rules file the owner from "lp" to "root":
|
||||||
%patch101
|
%patch101
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -354,8 +356,32 @@ exit 0
|
|||||||
%{_bindir}/hpijs
|
%{_bindir}/hpijs
|
||||||
%{_libdir}/libhpip.*
|
%{_libdir}/libhpip.*
|
||||||
%{_libdir}/libhpmud.*
|
%{_libdir}/libhpmud.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 23 2007 - jsmeix@suse.de
|
||||||
|
- Updated to version 2.7.10:
|
||||||
|
New LJZjsMono printer device class for ZJStream printers.
|
||||||
|
ZJStream printers require JBIG which has issues
|
||||||
|
(see Novell/Suse Bugzilla bug #263181). Therefore the support
|
||||||
|
for ZJStream printers is provided only via a binary-only plugin
|
||||||
|
which is downloaded by "hp-setup" from the HP web-site only after
|
||||||
|
the user has accepted the license terms.
|
||||||
|
Applied patch for issue CVE-2007-5208 (hpssd command injection)
|
||||||
|
Several bug fixes (no Suse bugs).
|
||||||
|
Two more supported Photosmart and Officejet printers.
|
||||||
|
For details see release_notes.html
|
||||||
|
- Updated to version 2.7.9:
|
||||||
|
Made the default udev 55-hpmud.rules file more permissive
|
||||||
|
(ie: MODE=0666) so that also device status works for any user.
|
||||||
|
This looks sufficiently secure by default because the
|
||||||
|
55-hpmud.rules matches now only for those USB product IDs
|
||||||
|
which belong to HP printers and all-in-one devices so that
|
||||||
|
other HP USB devices like keyboard, mouse, and mass storage
|
||||||
|
devices won't get MODE=0666 by accident.
|
||||||
|
All known product-ids that HPLIP/HPIJS supports have been
|
||||||
|
added to the model.dat file.
|
||||||
|
Many bug fixes (no Suse bugs).
|
||||||
|
Some more supported Photosmart and Officejet printers.
|
||||||
|
For details see release_notes.html
|
||||||
* Tue Sep 18 2007 - jsmeix@suse.de
|
* Tue Sep 18 2007 - jsmeix@suse.de
|
||||||
- Add a line-feed to the end of all PPDs to fix those PPDs where
|
- Add a line-feed to the end of all PPDs to fix those PPDs where
|
||||||
it is missing. See Novell/Suse Bugzilla bug #309832:
|
it is missing. See Novell/Suse Bugzilla bug #309832:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user