Hello community, here is the log from the commit of package cups-filters for openSUSE:Factory checked in at 2014-03-27 09:30:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cups-filters (Old) and /work/SRC/openSUSE:Factory/.cups-filters.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cups-filters" Changes: -------- --- /work/SRC/openSUSE:Factory/cups-filters/cups-filters.changes 2014-03-14 15:15:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cups-filters.new/cups-filters.changes 2014-03-27 09:30:33.000000000 +0100 @@ -1,0 +2,121 @@ +Wed Mar 26 11:28:13 CET 2014 - [email protected] + +- Upgrade to current tarball cups-filters-1.0-20140326.tar.gz + that is is version 1.0.49 plus the fix for + https://bugs.linuxfoundation.org/show_bug.cgi?id=1187 + "percent-encode component parts of the CUPS device-URI" + see also (bnc#869692). +- Prepare spec files to build both releases and current tarballs + easily in the future by using special different version strings. + +------------------------------------------------------------------- +Tue Mar 25 17:12:22 CET 2014 - [email protected] + +- Version upgrade to 1.0.49 + Changes in 1.0.49 (excerpt): + * pdftops: Fixed typo which always made PostScript level 2 being + generated when using Poppler's pdftops. + Changes in 1.0.48 (excerpt): + * cups-browsed: Fix for a crash which happens on Bonjour reports + of printers without "product", "usb_MDL", and "ty" fields + Changes in 1.0.47 (excerpt): + * pdftoopvp: SECURITY FIX for CVE-2013-6474, CVE-2013-6475, + and CVE-2013-6476: Introductionof gmallocn and gmallocn3 + to protect against arbitrary code execution with the + privileges of the "lp" user via malicious PDF files. Also + restrict the directory from where OPVP drivers can get + loaded. + * urftopdf: SECURITY FIX for CVE-2013-6473: Two heap-based + buffer overflow flaws in urftopdf. If a malicious URF file + were processed it could lead to arbitrary code execution + with the privileges of the "lp" user. + * cups-browsed: Check for changes of the URI of a queue which + we have created and correct the URI if needed + Changes in 1.0.46 (excerpt): + * gstoraster: Ignore SIGCHLD, rely on waitpid instead and + fix two instances of insufficient EINTR handling. + Changes in 1.0.45 (excerpt): + * cups-browsed: Added auto-shutdown feature for on-demand use + of cups-browsed (for example on mobile devices). With auto + shutdown active, cups-browsed terminates after a certain + time interval (30 sec by default) without having any remote + printer to make available locally. The mode can be turned + on, turned off (default) or set to automatically be off + while avahi-daemon is running an on otherwise (controlled by + avahi-daemon running on-demand). The mode and the timeout + interval can be selected by command line options, the + configuration file, and sending signals to cups-browsed + (on/off only). + * cups-browsed: To make Bonjour-discovered printers locally + available avahi-daemon does not need to be started before + cups-browsed and does not need to stay continuously running + while cups-browsed is running. Bonjour-discovered printers + are now added whenever avahi-daemon starts and removed + whenever avahi-daemon stops and cups-browsed keeps running. + * pdftops: Log command lines of renderer (Ghostscript, pdftops, + pdftocairo, acroread) and of pstops in CUPS' error_log (in + debug mode). + Changes in 1.0.44 (excerpt): + * README: Documented the "hybrid" choice for the PDF renderer + in the pdftops filter. + Changes in 1.0.43 (excerpt): + * cups-browsed: When automatically setting up a PPD-less print + queue for an IPP network printer add make/model info as an + additional "make-and-model" command line option to the call + of the pdftoippprinter filter, this way filters can do + make/model-specific exceptions. + * pdftops: Ignore "landscape", "orientation-requested", + "fit-to-page", and any page geometry options. The first two + do not make sense on PDF input and therefore should only be + used in ...topdf filters used before pdftopdf, the others + are already taken care of by pdftopdf so that pdftops gets + pages with print-ready page geometry. + * pdftopdf: If there is no PPD file or no + "*LandscapeOrientation:" keyword in the PPD file, rotate + counterclockwise, not clockwise to fit a landscape-oriented + page on a portrait-oriented sheet. + * pstopdf: Support for the "landscape" and + "orientation-requested" options. + * pdftops: After fixing the output of rotated PDF pages + (usually landscape-oriented pages rotated by pdftopdf) in + Poppler (Poppler/freedesktop.org bug #72312) corrected the + use of "pdftops -origpagesizes" in pdftops appropriately. + Changes in 1.0.42 (excerpt): + * pdftoraster: Take into account rotate field in PDF header, + when pdftopdf rotates a page to fit the paper it sets the + rotate field and does not swap the width and height entries. + * cups-browsed: Fixed several memory leaks by adding missing + free() calls and removing an unneeded strdup(). + * foomatic-rip: Moved foomatic-rip's upstream home from the + foomatic-filters package to cups-filters, to make it easier + for distributions to ship and maintain a complete printing + stack and also to make upstream maintenance and development + easier. + * foomatic-rip: Removed support for all the non-CUPS printing + environments as they are discontinued upstream. Now + foomatic-rip only works as a CUPS filter and in a + spooler-less direct mode, where the latter is mainly + for testing and debugging. + Changes in 1.0.41 (excerpt): + * cups-browsed: Added support for automatic PPD-less setup of + print queues for IPP printers discovered on the network via + Bonjour. Supported are printers with known languages (PWG + Raster, PDF, PostScript, PCL XL, PCL 5c/e), especially also + IPP Everywhere printers. This functionality is especially + ment for mobile devices to be able to print without printer + setup tool and without printer driver/PPD collection. + * pdftoippprinter: New filter for PPD-less printing. The filter + will be configured as System-V interface script for a print + queue for a discovered IPP network printer generated by + cups-browsed. + * cups-browsed: Fixed socket leaks in recent IPP subscriptions + changes. +- Since cups-filters version 1.0.42 foomatic-rip is also + provided by cups-filters so that there is a file conflict + with the foomatic-filters package (both provide + /usr/lib/cups/filter/foomatic-rip and + /usr/share/man/man1/foomatic-rip). Therefore foomatic-rip + is separated in the sub-package cups-filters-foomatic-rip + and only that sub-package conflicts with foomatic-filters. + +------------------------------------------------------------------- Old: ---- cups-filters-1.0.40.tar.bz2 New: ---- cups-filters-1.0-20140326.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cups-filters.spec ++++++ --- /var/tmp/diff_new_pack.YSPN2g/_old 2014-03-27 09:30:34.000000000 +0100 +++ /var/tmp/diff_new_pack.YSPN2g/_new 2014-03-27 09:30:34.000000000 +0100 @@ -28,9 +28,25 @@ # GPLv3: filters: bannertopdf # MIT: filters: pdftoijs, pdftoopvp, pdftopdf, pdftoraster Name: cups-filters -Version: 1.0.40 +# Normal version for official cups-filters releases is the upstream version (e.g. "Version: 1.0.49"). +# For a current tarball cups-filters-1.0-yyyymmdd.tar.gz (e.g. cups-filters-1.0-20140326.tar.gz) +# the current tarball's date is added to the version to ensure a strictly increasing sequence +# "last version" < "current version" < "next version" e.g. "1.0.49" < "1.0.49.20140326" < "1.0.50" +# to verify this run: zypper vcmp 'last version' 'current version' +# and also run: zypper vcmp 'next version' 'current version' +# e.g. zypper vcmp '1.0.49' '1.0.49.20140326' -> 1.0.49 is older than 1.0.49.20140326 +# and zypper vcmp '1.0.50' '1.0.49.20140326' -> 1.0.50 is newer than 1.0.49.20140326 +Version: 1.0.49.20140326 Release: 0 -Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.bz2 +# tarball_version is used below to specify the directory via "setup -n": +# Special tarball_version needed for current cups-filters e.g. "define tarball_version 9.10rc1". +# For official cups-filters releases tarball_version and version are the same (i.e. "define tarball_version %{version}") +# Special tarball_version needed for current cups-filters e.g. "define tarball_version 9.10rc1". +%define tarball_version 1.0-20140326 +# The current tarball cups-filters-1.0-20140326.tar.gz is version 1.0.49 +# plus the fix for https://bugs.linuxfoundation.org/show_bug.cgi?id=1187 +# "cups-browsed must percent-encode component parts of the CUPS device-URI": +Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{tarball_version}.tar.gz BuildRequires: cups-devel BuildRequires: pkgconfig # pdftopdf @@ -135,6 +151,24 @@ for CUPS versions since 1.6 the whole cups-filters is usually needed (but not strictly required). +%package foomatic-rip +Summary: OpenPrinting CUPS filter foomatic-rip +Group: Hardware/Printing +# Conflict with foomatic-filters because +# the following files are provided by it +# /usr/lib/cups/filter/foomatic-rip +# /usr/share/man/man1/foomatic-rip +Conflicts: foomatic-filters + +%description foomatic-rip +Since cups-filters version 1.0.42 foomatic-rip is also +provided by cups-filters so that there is a file conflict +with the foomatic-filters package (both provide +/usr/lib/cups/filter/foomatic-rip and +/usr/share/man/man1/foomatic-rip). Therefore foomatic-rip +is separated in the sub-package cups-filters-foomatic-rip +and only that sub-package conflicts with foomatic-filters. + %package devel Summary: Development files for cups-filters Group: Development/Libraries/C and C++ @@ -149,10 +183,18 @@ This package contains the development files for cups-filters. %prep -%setup -q +# Be quiet when unpacking and use a directory name matching Source0: +%setup -q -n cups-filters-%{tarball_version} %build -autoreconf -vi +# Just do what is described in the upstream INSTALL file +# unless there is a really good reason not to do it this way +# and then it is probably worth submitting an upstream issue report to +# https://bugs.linuxfoundation.org for "Product: OpenPrinting" and "Component: cups-filters" +./autogen.sh +# Set our preferred architecture-specific flags for the compiler and linker: +export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS" # --with-pdftops=pdftops - use Poppler instead of Ghostscript (see README) %configure --disable-static \ --disable-silent-rules \ @@ -282,6 +324,7 @@ %attr(0755,root,root) /usr/lib/cups/filter/imagetops %attr(0755,root,root) /usr/lib/cups/filter/imagetoraster %attr(0755,root,root) /usr/lib/cups/filter/pdftoijs +%attr(0755,root,root) /usr/lib/cups/filter/pdftoippprinter %attr(0755,root,root) /usr/lib/cups/filter/pdftoopvp %attr(0755,root,root) /usr/lib/cups/filter/pdftopdf %attr(0755,root,root) /usr/lib/cups/filter/pdftops @@ -326,6 +369,13 @@ %attr(0755,root,root) /usr/lib/cups/filter/gstoraster %attr(0755,root,root) /usr/lib/cups/filter/gstopxl +%files foomatic-rip +%{_mandir}/man1/foomatic-rip.1.gz +%defattr(-,root,root) +%dir /usr/lib/cups +%dir /usr/lib/cups/filter +%attr(0755,root,root) /usr/lib/cups/filter/foomatic-rip + %files devel %defattr(-,root,root) %dir %{_datadir}/cups/ppdc -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
