Package: cups / 2.2.8-5

Metadata

Package Version Patches format
cups 2.2.8-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
pwg raster attributes.patch | (download)

scheduler/printers.c | 77 76 + 1 - 0 !
1 file changed, 76 insertions(+), 1 deletion(-)

 for pwg raster, add required ipp attributes

Add required by IPP Everywhere for PWG Raster when PWG Raster as input format
is supported

Bug-Upstream: https://www.cups.org/str.php?L4428
manpage hyphen minus.patch | (download)

man/backend.man | 4 2 + 2 - 0 !
man/client.conf.man.in | 4 2 + 2 - 0 !
man/cups-lpd.man.in | 6 3 + 3 - 0 !
man/cups-snmp.conf.man | 2 1 + 1 - 0 !
man/cups.man | 2 1 + 1 - 0 !
man/cupsaddsmb.man.in | 2 1 + 1 - 0 !
man/cupsctl.man | 6 3 + 3 - 0 !
man/cupsd-logs.man | 36 18 + 18 - 0 !
man/cupsd.conf.man.in | 2 1 + 1 - 0 !
man/cupsfilter.man | 2 1 + 1 - 0 !
man/filter.man | 2 1 + 1 - 0 !
man/ippfind.man | 6 3 + 3 - 0 !
man/ipptoolfile.man | 8 4 + 4 - 0 !
man/lp.man | 14 7 + 7 - 0 !
man/lpadmin.man | 6 3 + 3 - 0 !
man/lpoptions.man.in | 4 2 + 2 - 0 !
man/lpr.man | 10 5 + 5 - 0 !
man/mime.convs.man | 6 3 + 3 - 0 !
man/mime.types.man | 4 2 + 2 - 0 !
man/ppdc.man | 2 1 + 1 - 0 !
20 files changed, 64 insertions(+), 64 deletions(-)

 fix hyphen-used-as-minus-sign manpage errors

Automatically generated using sed -i -s 's/^-/\\-/g;s/ -/ \\-/g;s/"-/"\\-/g' man/*.man*
Also fix a missing backslash escape

rootbackends worldreadable.patch | (download)

backend/Makefile | 4 2 + 2 - 0 !
scheduler/cups-deviced.c | 2 1 + 1 - 0 !
scheduler/job.c | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 install root backends world-readable.

This is needed:
 - to comply with Debian Policy
 - because it is both nonsensical to to not do so
 - it also breaks system checkers, bug reporting, etc

Bug: http://www.cups.org/str.php?L2935
Bug-Debian: http://bugs.debian.org/410171
fixes for jobs with multiple files and multiple formats.patch | (download)

backend/ipp.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 fix jobs with multiple files or multiple formats

Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=972242
Bug: https://www.cups.org/str.php?L4348
Last-Updated: 2015-02-10
Patch-Name: fixes-for-jobs-with-multiple-files-and-multiple-formats.patch

tests ignore warnings.patch | (download)

test/run-stp-tests.sh | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 tests: ignore warnings from colord and avahi

These warnings change the expected number of warnings

tests ignore usb crash.patch | (download)

test/run-stp-tests.sh | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 tests: ignore usb & dnssd backend unexpected exits

Ignore the following errors:
 "[cups-deviced] PID * (usb) crashed on signal 11!" and
 "[cups-deviced] PID * (dnssd) stopped with status 1"

 They seem to regularly happen on Debian/Ubuntu buildds and break error lines
 counting.
tests ignore kfreebsd amd64 not a pdf.patch | (download)

test/run-stp-tests.sh | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 tests: ignore loadfile failures

Ignore the 'loadFile failed: temp file: not a PDF file' error that sometimes
breaks the errorlines counting on kfreebsd-amd64 for some reason
tests ignore ipv6 address family not supported.patch | (download)

test/run-stp-tests.sh | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 tests: ignore errors triggered on ipv6-deprived hosts

Ignore the 'Address family not supported by protocol' error that breaks the
errorlines counting on buildds without a working IPv6 stack.
tests ignore kfreebsd unable to write uncompressed print data.patch | (download)

test/run-stp-tests.sh | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 tests: ignore the failure to write uncompressed data

Ignore the 'Unable to write uncompressed print data: Broken pipe'  error that
sometimes breaks the errorlines counting on kfreebsd for some reason.
test i18n nonlinux.patch | (download)

cups/testi18n.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 tests: do not run the cups_euc_jp test case on bsd/hurd either, as
tests wait on unfinished jobs everytime.patch | (download)

test/run-stp-tests.sh | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 tests: make sure that all scheduled jobs are finished before

 running a new test. Fixes failures on slow architectures like armel and
 mipsel.
Bug-Debian: http://bugs.debian.org/670878
tests fix ppdLocalize on unclean env.patch | (download)

cups/testppd.c | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 tests: force lc_* environment variables when testing (non)
 l10n'isation.

 Permits building in non-"C" environments.
tests use ipv4 lo address.patch | (download)

test/5.1-lpadmin.sh | 4 2 + 2 - 0 !
test/run-stp-tests.sh | 8 4 + 4 - 0 !
2 files changed, 6 insertions(+), 6 deletions(-)

 use 127.0.0.1 instead of localhost in the test-suite. this should

 make the test-suite work in pbuilder. It apparently also fixes an ipp backend
 problem in the test-suite.
tests make lpstat call reproducible.patch | (download)

test/run-stp-tests.sh | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 force lc_all=c environment variable when grepping the output of
 lpstat.

 Permits testing in non-"C" environments.
tests no pdftourf.patch | (download)

test/run-stp-tests.sh | 4 1 + 3 - 0 !
test/test.convs | 1 0 + 1 - 0 !
test/test.types | 2 0 + 2 - 0 !
3 files changed, 1 insertion(+), 6 deletions(-)

 revert pdftourf filter addition in tests

 "Update "make test" to include alternate filter."
 .
 This fixes the error lines counting in the test, and is unneeded as pdftourf
 is not shipped in Debian.
0016 Fix regressions in ippValidateAttribute Issue 5322 I.patch | (download)

cups/ipp.c | 44 25 + 19 - 0 !
1 file changed, 25 insertions(+), 19 deletions(-)

 fix regressions in ippvalidateattribute (issue #5322, issue #5330)


move cupsd conf default to share.patch | (download)

cgi-bin/admin.c | 6 5 + 1 - 0 !
conf/Makefile | 5 3 + 2 - 0 !
2 files changed, 8 insertions(+), 3 deletions(-)

 move cupsd.conf.default from serverroot to datadir

drop_unnecessary_dependencies.patch | (download)

Makedefs.in | 2 1 + 1 - 0 !
cups/Makefile | 4 2 + 2 - 0 !
filter/Makefile | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 do not link libcups.so and libcupsimage.so against

 unnecessary libraries.  This avoids unnecessary package dependencies for
 both libcups, as well as for packages using cups-config.
Bug: https://www.cups.org/str.php?L4343
Bug-Debian: http://bugs.debian.org/438067
read embedded options from incoming postscript and add to ipp attrs.patch | (download)

scheduler/ipp.c | 84 84 + 0 - 0 !
1 file changed, 84 insertions(+)

 make cups reading all option settings in postscript print

 jobs and add the option settings to the filter command line before
 starting the filter chain. This fixes the problem that in the PDF
 printing workflow (where incoming PostScript gets converted to PDF by
 pstopdf) option settings embedded in the incoming PostScript code do
 not get obeyed. Especially the options of jobs from Windows clients get
 ignored.
cups deviced allow device ids with newline.patch | (download)

scheduler/cups-deviced.c | 23 19 + 4 - 0 !
1 file changed, 19 insertions(+), 4 deletions(-)

 some printers have broken device ids with newline

 characters inside. These break the cups-deviced printer discovery
 mechanism and so the printers get ignored. This patch allows newline
 characters in device IDs
Bug-Ubuntu: https://bugs.launchpad.net/bugs/468701
Bug: https://www.cups.org/str.php?L4345
airprint support.patch | (download)

conf/mime.convs.in | 3 3 + 0 - 0 !
conf/mime.types | 3 3 + 0 - 0 !
scheduler/conf.c | 2 1 + 1 - 0 !
scheduler/dirsvc.c | 6 6 + 0 - 0 !
scheduler/printers.c | 4 3 + 1 - 0 !
5 files changed, 16 insertions(+), 2 deletions(-)

 patch to support apple airprint (printing from iphone, ipad, ipod
 Touch to a CUPS server)

Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495
Bug-Debian: http://bugs.debian.org/700961
Bug: https://cups.org/str.php?L4341
cups snmp oids device id hp ricoh.patch | (download)

backend/snmp.c | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 let the "snmp" backend also use the manufacturer-specific

 MIBs of HP and Ricoh to obtain the device IDs of network-connected
 printers. This way we get more reliable information about make and model
 and in addition the supported page description languages, which allow to
 identify whether an optional PostScript add-on is installed or for an
 unsupported printer which generic PPD is the best choice (requested by
 Ricoh).
Bug: https://www.cups.org/str.php?L3552
no conffile timestamp.patch | (download)

scheduler/classes.c | 2 1 + 1 - 0 !
scheduler/job.c | 2 1 + 1 - 0 !
scheduler/printers.c | 2 1 + 1 - 0 !
scheduler/subscriptions.c | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 disable time stamps in conffiles, to avoid ever-changing files in
 /etc.

Bug: http://www.cups.org/str.php?L3067
Bug-Debian: http://bugs.debian.org/549673
removecvstag.patch | (download)

conf/Makefile | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 do not write vcs tags into installed conffiles

Bug: http://www.cups.org/str.php?L2369
rename systemd units.patch | (download)

scheduler/org.cups.cups-lpd.socket | 2 1 + 1 - 0 !
scheduler/org.cups.cupsd.path.in | 2 1 + 1 - 0 !
scheduler/org.cups.cupsd.service.in | 2 1 + 1 - 0 !
scheduler/org.cups.cupsd.socket.in | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 rename the systemd service file from org.cups.cups.* to cups.*

Patch-Name: rename-systemd-units.patch

do not broadcast with hostnames.patch | (download)

scheduler/conf.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 do not use host names for broadcasting print queues and

 managing print queues broadcasted from other servers by default. Many
 networks do not have valid host names for all machines.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/449586

Patch-Name: do-not-broadcast-with-hostnames.patch

reactivate_recommended_driver.patch | (download)

scheduler/cups-driverd.cxx | 10 0 + 10 - 0 !
1 file changed, 10 deletions(-)

 cups removes the "(recommended)" comments of the nicknames of
 Foomatic PPDs when listing available PPDs. This patch removes this removal
 action.

logfiles_adm_readable.patch | (download)

scheduler/log.c | 11 9 + 2 - 0 !
1 file changed, 9 insertions(+), 2 deletions(-)

 make log files readable to group "adm", if present.

Bug-Ubuntu: https://launchpad.net/bugs/345953

default_log_settings.patch | (download)

conf/cupsd.conf.in | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 deactivate cups' own log rotating as the system already provides a
 more sophisticated log rotating

confdirperms.patch | (download)

scheduler/conf.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 do not mess with the permissions of cupsd.conf.

printer filtering.patch | (download)

cups/ipp.c | 116 116 + 0 - 0 !
1 file changed, 116 insertions(+)

 filter printers based on printer_list

show compile command lines.patch | (download)

Makedefs.in | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 show compile command lines

Patch-Name: show-compile-command-lines.patch

log debug history nearly unlimited.patch | (download)

scheduler/conf.c | 2 1 + 1 - 0 !
scheduler/conf.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 make log debug history nearly unlimited

cupsd set default for SyncOnClose to Yes.patch | (download)

conf/cups-files.conf.in | 2 1 + 1 - 0 !
doc/help/man-cups-files.conf.html | 2 1 + 1 - 0 !
man/cups-files.conf.man.in | 2 1 + 1 - 0 !
scheduler/conf.c | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 set the default for synconclose to yes

cups set default error policy retry job.patch | (download)

doc/help/man-cupsd.conf.html | 4 2 + 2 - 0 !
man/cupsd.conf.man.in | 4 2 + 2 - 0 !
scheduler/conf.c | 6 3 + 3 - 0 !
3 files changed, 7 insertions(+), 7 deletions(-)

 set default job error policy to "retry-job", since it is less

 confusing and a better default on most machines.
 .
 Amend documentation accordingly.
man cups lpd drop dangling references.patch | (download)

man/cups-lpd.man.in | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 drop dangling references from cups-lpd.man

Bug-Debian: http://bugs.debian.org/570157
debianize_cups config.patch | (download)

cups-config.in | 11 6 + 5 - 0 !
1 file changed, 6 insertions(+), 5 deletions(-)

 use dpkg-architecture in cups-config to make it
 architecture-independant

 Also filter -L/usr/lib/(triplet) out of LDFLAGS.
 Also strip unnecessary libs from --libs.
 Also launch krb5-config at runtime to avoid getting usr/lib/(triplet) from krb5-config
Bug-Debian: https://bugs.debian.org/741519
Bug-Debian: https://bugs.debian.org/727058
Bug-Debian: https://bugs.debian.org/730838
Bug-Debian: https://bugs.debian.org/751157
0038 Build mantohtml with the build architecture compiler.patch | (download)

Makedefs.in | 1 1 + 0 - 0 !
configure.ac | 9 9 + 0 - 0 !
man/Makefile | 6 2 + 4 - 0 !
man/mantohtml.c | 15 10 + 5 - 0 !
4 files changed, 22 insertions(+), 9 deletions(-)

 build mantohtml with the build architecture compiler

mantohtml is run during build. Thus it needs to be built with the build
architecture compiler (or execution fails). The obvious part is switching to
CC_FOR_BUILD. That also depends on it not requiring any other cups components.
In particular, removing uses of strlcpy and replacing host architecture-
specific includes is thus needed.

Bug-Debian: https://bugs.debian.org/837936

0039 The lp and lpr commands now provide better error mes.patch | (download)

cups/dest.c | 38 37 + 1 - 0 !
1 file changed, 37 insertions(+), 1 deletion(-)

 =?utf-8?q?the=20`lp`=20and=20`lpr`=20commands=20now=20provide=20b?=
 =?UTF-8?q?etter=20error=20messages=20when=20the=20default=0Aprinter=20can?=
 =?UTF-8?q?not=20be=20found=20(Issue=20#5096)?=

- berkeley/lpr.c: Use cupsLastErrorMessage() for not-found errors.
- cups/dest.c: Set the last error message in cupsGetNamedDest().
- systemv/lp.c: Use cupsLastErrorMessage() for not-found errors.

Bug-Debian: #870463

manpage translations.patch | (download)

man/Makefile | 15 14 + 1 - 0 !
man/Makefile.l10n | 246 246 + 0 - 0 !
man/de/Makefile | 7 7 + 0 - 0 !
man/fr/Makefile | 7 7 + 0 - 0 !
4 files changed, 274 insertions(+), 1 deletion(-)

 po4a infrastructure and translations for manpages.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

0041 Fix A4 crash in Epson 24 pin driver.patch | (download)

filter/rastertoepson.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix a4 crash in epson 24-pin driver

Bug: #901860