--- cups-1.3.9.orig/debian/cups.config +++ cups-1.3.9/debian/cups.config @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +# Debconf library +. /usr/share/debconf/confmodule + +db_get cupsys/raw-print +OLD_RET=$RET + +db_input low cupsys/raw-print || true +db_go + +db_get cupsys/raw-print +if [ "$OLD_RET" != "$RET" ]; then + db_fset cupsys/raw-print changed true +fi + +# remove parallel from PPC default +ARCH=`dpkg --print-architecture` +if [ "$ARCH" = "ppc" -o "$ARCH" = "ppc-none" ]; then + db_fget cupsys/backend seen + if [ "$RET" = "false" ]; then + db_set cupsys/backend "ipp, lpd, socket, usb" + fi +fi + +db_input low cupsys/backend || true +db_go --- cups-1.3.9.orig/debian/copyright +++ cups-1.3.9/debian/copyright @@ -0,0 +1,255 @@ +This package was debianized by Jeff Licquia on +Sun, 3 Oct 1999 20:58:02 -0500. + +It was downloaded from: + ftp://ftp.easysw.com/pub/cups/ + +Upstream Authors: Easy Software Products + Michael Sweet + +Copyright: + +[From the LICENSE.txt file. GPL and LGPL cut for brevity; for a copy, +look in /usr/share/common-licenses, files GPL and LGPL-2.] + + Common UNIX Printing System License Agreement + + Copyright 2007 by Apple Inc. + 1 Infinite Loop + Cupertino, CA 95014 USA + + WWW: http://www.cups.org/ + + +INTRODUCTION + +The Common UNIX Printing System(tm), ("CUPS(tm)"), is provided +under the GNU General Public License ("GPL") and GNU Library +General Public License ("LGPL"), Version 2, with exceptions for +Apple operating systems and the OpenSSL toolkit. A copy of the +exceptions and licenses follow this introduction. + +The GNU LGPL applies to the CUPS and CUPS Imaging libraries +located in the "cups" and "filter" subdirectories of the CUPS +source distribution and in the "cups" include directory and +library files in the binary distributions. The GNU GPL applies to +the remainder of the CUPS distribution, including the "pdftops" +filter which is based upon Xpdf. + +For those not familiar with the GNU GPL, the license basically +allows you to: + + - Use the CUPS software at no charge. + - Distribute verbatim copies of the software in source or + binary form. + - Sell verbatim copies of the software for a media fee, or + sell support for the software. + +What this license *does not* allow you to do is make changes or +add features to CUPS and then sell a binary distribution without +source code. You must provide source for any changes or additions +to the software, and all code must be provided under the GPL or +LGPL as appropriate. The only exceptions to this are the portions +of the CUPS software covered by the Apple operating system +license exceptions outlined later in this license agreement. + +The GNU LGPL relaxes the "link-to" restriction, allowing you to +develop applications that use the CUPS and CUPS Imaging libraries +under other licenses and/or conditions as appropriate for your +application, driver, or filter. + + +LICENSE EXCEPTIONS + +In addition, as the copyright holder of CUPS, Apple Inc. grants +the following special exceptions: + + 1. Apple Operating System Development License Exception; + + a. Software that is developed by any person or entity + for an Apple Operating System ("Apple OS-Developed + Software"), including but not limited to Apple and + third party printer drivers, filters, and backends + for an Apple Operating System, that is linked to the + CUPS imaging library or based on any sample filters + or backends provided with CUPS shall not be + considered to be a derivative work or collective work + based on the CUPS program and is exempt from the + mandatory source code release clauses of the GNU GPL. + You may therefore distribute linked combinations of + the CUPS imaging library with Apple OS-Developed + Software without releasing the source code of the + Apple OS-Developed Software. You may also use sample + filters and backends provided with CUPS to develop + Apple OS-Developed Software without releasing the + source code of the Apple OS-Developed Software. + + b. An Apple Operating System means any operating system + software developed and/or marketed by Apple Computer, + Inc., including but not limited to all existing + releases and versions of Apple's Darwin, Mac OS X, + and Mac OS X Server products and all follow-on + releases and future versions thereof. + + c. This exception is only available for Apple + OS-Developed Software and does not apply to software + that is distributed for use on other operating + systems. + + d. All CUPS software that falls under this license + exception have the following text at the top of each + source file: + + This file is subject to the Apple OS-Developed + Software exception. + + 2. OpenSSL Toolkit License Exception; + + a. Apple Inc. explicitly allows the compilation and + distribution of the CUPS software with the OpenSSL + Toolkit. + +No developer is required to provide these exceptions in a +derived work. + + +KERBEROS SUPPORT CODE + +The Kerberos support code ("KSC") is copyright 2006 by Jelmer +Vernooij and is provided 'as-is', without any express or implied +warranty. In no event will the author or Apple Inc. be held +liable for any damages arising from the use of the KSC. + +Sources files containing KSC have the following text at the top +of each source file: + + This file contains Kerberos support code, copyright 2006 by + Jelmer Vernooij. + +The KSC copyright and license apply only to Kerberos-related +feature code in CUPS. Such code is typically conditionally +compiled based on the present of the HAVE_GSSAPI preprocessor +definition. + +Permission is granted to anyone to use the KSC for any purpose, +including commercial applications, and to alter it and +redistribute it freely, subject to the following restrictions: + + 1. The origin of the KSC must not be misrepresented; you + must not claim that you wrote the original software. If + you use the KSC in a product, an acknowledgment in the + product documentation would be appreciated but is not + required. + + 2. Altered source versions must be plainly marked as such, + and must not be misrepresented as being the original + software. + + 3. This notice may not be removed or altered from any source + distribution. + + +TRADEMARKS + +Apple Inc. has trademarked the Common UNIX Printing System, CUPS, +and CUPS logo. You may use these names and logos in any direct port +or binary distribution of CUPS. Please contact Apple Inc. for written +permission to use them in derivative products. Our intention is to +protect the value of these trademarks and ensure that any derivative +product meets the same high-quality standards as the original. + +======================================================================= + +INCLUDED THIRD-PARTY CODE + +The Common UNIX Printing System source contains a "pdftops" filter +that is based on the Xpdf software which is + + Copyright 1996-2003 Glyph & Cog, LLC. + Copyright 1985-2001 Adobe Systems Inc. + +For binary distribution licensing of this software, please contact: + + Derek B. Noonburg + Email: derekn@foolabs.com + WWW: http://www.foolabs.com/xpdf/ + +Please note that the Debian cups package does not build/ship/use this +code (see debian/patches/pdftops-cups-1.4.dpatch). + +--- +data/*.txt is Copyright (c) 1991-1999 Unicode, Inc. + +---- +cups/md5.* is Copyright (C) 1999 Aladdin Enterprises. + +---- +fonts/Courier* is Copyright 1999 by (URW)++ Design & Development +fonts/Vera.ttf is Copyright (c) 2003 by Bitstream, Inc. + +---- +scripting/java/src/com/easysw/cups/Base64Coder.java is Copyright 2003: +Christian d'Heureuse, Inventec Informatik AG, Switzerland + +------------------------------------------------------------- + +Copyright for additional components in this Debian package: + +The CUPS filters imagetopdf, pdftopdf, pdftoraster are downloaded +from: http://sourceforge.jp/projects/opfc/files/ + +Copyright: + +pdftopdf: Copyright (c) 2006-2007, BBR Inc. All rights reserved. + +pdftoraster: Copyright (c) 2008, BBR Inc. All rights reserved. + +imagetopdf: + +/* + * Image file to PDF filter for the Common UNIX Printing System (CUPS). + * developed by BBR Inc. 2006-2007 + + * This is based on imagetops.c + * imagetops.c copyright notice is follows + + * "$Id: imagetops.c 5379 2006-04-07 13:48:37Z mike $" + * + * Image file to PostScript filter for the Common UNIX Printing System (CUPS). + * + * Copyright 1993-2006 by Easy Software Products. + * + * These coded instructions, statements, and computer programs are the + * property of Easy Software Products and are protected by Federal + * copyright law. Distribution and use rights are outlined in the file + * "LICENSE.txt" which should have been included with this file. If this + * file is missing or damaged please contact Easy Software Products + * at: + * + * Attn: CUPS Licensing Information + * Easy Software Products + * 44141 Airport View Drive, Suite 204 + * + * Voice: (301) 373-9600 + * EMail: cups-info@cups.org + * WWW: http://www.cups.org + * + * This file is subject to the Apple OS-Developed Software exception. + * + */ + +The license of these filters is the GPL V2, according to their COPYING files. + +---- + +textonly is licensed under the GPL and copyright + +Copyright (C) 2003-2006 Red Hat, Inc. +Copyright (C) 2003-2006 Tim Waugh + +---- + +oopstops is licensed under the GPL V2 or newer. There is no copyright +notice in the file. The file was contributed by Helge Blischke. + +---- --- cups-1.3.9.orig/debian/libcups2-dev.examples +++ cups-1.3.9/debian/libcups2-dev.examples @@ -0,0 +1 @@ +scripting --- cups-1.3.9.orig/debian/cups.postinst +++ cups-1.3.9/debian/cups.postinst @@ -0,0 +1,162 @@ +#! /bin/sh +# postinst script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +# Debconf +. /usr/share/debconf/confmodule + +# Default Configuration file +if [ -e /etc/default/cups ]; then + . /etc/default/cups +fi + +case "$1" in + configure) + # Set up lpadmin group. + if [ -z "`getent group lpadmin`" ]; then + addgroup --system lpadmin + fi + + if [ -L /usr/share/ppd/cups-transitional-dir ]; then + rm -f /usr/share/ppd/cups-transitional-dir + fi + if [ -L /usr/share/cups/model/cups-included ]; then + rm -f /usr/share/cups/model/cups-included + fi + + # Generate raw MIME handling files if they don't already exist. + if [ ! -e /etc/cups/raw.types ]; then + cat >/etc/cups/raw.types </etc/cups/raw.convs < /etc/cups/raw.convs + else + sed 's/^application/#application/' \ + < /etc/cups/raw.convs-convert > /etc/cups/raw.convs + fi + rm -f /etc/cups/raw.convs-convert + db_fset cupsys/raw-print changed false + fi + # Set up backends + db_get cupsys/backend && SELECTED=$RET + list=`echo $SELECTED | sed -e 's/, /,/g'` + save_IFS=$IFS + IFS=, + (cd /usr/lib/cups/backend && rm -f http ipp lpd parallel scsi serial socket usb snmp dnssd) + for module in $list; do + ln /usr/lib/cups/backend-available/$module /usr/lib/cups/backend/$module + if [ "$module" = "ipp" ]; then + ln /usr/lib/cups/backend/ipp /usr/lib/cups/backend/http + fi + done + IFS=$save_IFS + + # activate new backends on upgrades + db_fset cupsys/backend changed false + + if dpkg --compare-versions "$2" lt-nl "1.3.4-2"; then + for module in snmp scsi serial dnssd; do + [ -e /usr/lib/cups/backend/$module ] || \ + ln /usr/lib/cups/backend-available/$module /usr/lib/cups/backend/$module + done + fi + + # Resync Debconf database with real state + list=`( cd /usr/lib/cups/backend && for f in ipp lpd parallel scsi serial socket usb snmp dnssd; do [ -e $f ] && echo -n "$f, "; done ) | sed -e 's/, $//'` + db_set cupsys/backend $list; + + if [ -f /etc/cups/classes.conf ]; then + chown root:lp /etc/cups/classes.conf ; chmod 600 /etc/cups/classes.conf + fi + if [ -f /etc/cups/printers.conf ]; then + chown root:lp /etc/cups/printers.conf ; chmod 600 /etc/cups/printers.conf + fi + # Add symlink to local files required by LSB + if [ ! -e /usr/share/ppd/1-local-admin -a ! -L /usr/share/ppd/1-local-admin ]; then + ln -s /usr/local/share/ppd /usr/share/ppd/1-local-admin + fi + if [ ! -e /usr/share/ppd/2-third-party -a ! -L /usr/share/ppd/2-third-party ]; then + ln -s /opt/share/ppd /usr/share/ppd/2-third-party + fi + + # symlink snakeoil SSL certificate if present + if [ -e /etc/ssl/certs/ssl-cert-snakeoil.pem -a \ + -e /etc/ssl/private/ssl-cert-snakeoil.key -a \ + -n "`getent group ssl-cert`" -a ! -e /etc/cups/ssl/server.crt -a \ + ! -e /etc/cups/ssl/server.key ]; then + ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/cups/ssl/server.crt + ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/cups/ssl/server.key + fi + + # Remove shutdown and reboot links; this init script does not need them. + if dpkg --compare-versions "$2" lt-nl "1.3.6-2"; then + rm -f /etc/rc0.d/K??cups /etc/rc6.d/K??cups + fi + + # Reload AppArmor profile if present + if [ -e /etc/apparmor.d/usr.sbin.cupsd ] && [ -x /etc/init.d/apparmor ]; then + invoke-rc.d apparmor force-reload || true + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +db_stop +exit 0 + + --- cups-1.3.9.orig/debian/cups-bsd.preinst +++ cups-1.3.9/debian/cups-bsd.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for cups-bsd +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in + install) + ;; + + upgrade) + if [ ! -L /usr/share/doc/cups-bsd ]; then + rm -rf /usr/share/doc/cups-bsd + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/cups.links +++ cups-1.3.9/debian/cups.links @@ -0,0 +1,4 @@ +usr/share/fonts/truetype/freefont/FreeMono.ttf usr/share/cups/fonts/FreeMono.ttf +usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf usr/share/cups/fonts/FreeMonoOblique.ttf +usr/share/fonts/truetype/freefont/FreeMonoBold.ttf usr/share/cups/fonts/FreeMonoBold.ttf +usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf usr/share/cups/fonts/FreeMonoBoldOblique.ttf --- cups-1.3.9.orig/debian/rules +++ cups-1.3.9/debian/rules @@ -0,0 +1,116 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_BUILD_HARDENING=1 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +unpatch: deapply-dpatches + +# workaround for http://bugs.debian.org/469517 +ifneq ($(findstring $(DEB_BUILD_ARCH), arm armel),) + CFLAGS += -fno-stack-protector +endif + +DEB_CONFIGURE_EXTRA_FLAGS := --with-optim=$(DEB_OPTFLAGS) --libdir=/usr/lib --mandir=/usr/share/man --with-docdir=/usr/share/cups/doc-root --localedir=/usr/share/cups/locale --enable-slp --enable-libpaper --enable-ssl --enable-gnutls --disable-openssl --enable-threads --enable-static --enable-dbus --with-dbusdir=/etc/dbus-1 --enable-gssapi --disable-pdftops --disable-launchd --with-cups-group=lp --with-system-groups=lpadmin --with-printcap=/var/run/cups/printcap --with-log-file-perm=0640 CFLAGS="$(CFLAGS)" + +DEB_MAKE_INSTALL_TARGET := install BUILDROOT=$(DEB_DESTDIR) +DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt +DEB_DH_INSTALLINIT_ARGS := -u'start 20 2 3 4 5 . stop 80 1 .' +DEB_DH_STRIP_ARGS := --dbg-package=cups-dbg +DEB_DH_FIXPERMS_ARGS := -Xusr/lib/cups/backend-available +DEB_DH_COMPRESS_ARGS := -Xusr/share/doc/libcups2-dev/examples/scripting +DEB_DH_INSTALL_SOURCEDIR := debian/tmp +ifneq ($(findstring $(DEB_BUILD_ARCH), arm m68k),) +DEB_MAKE_CHECK_TARGET := check || true +else +DEB_MAKE_CHECK_TARGET := check +endif +LDFLAGS := -Wl,--as-needed + +post-patches:: + # Add source code of extra filters for PDF printing workflow + ( cd debian/local/filters/pdf-filters/; sh ./addtocups ../../../.. ) + touch pdftopdf/Dependencies + +common-post-build-arch:: + # Fix permissions of filters/backends installed from debian/local/ + chmod 755 debian/local/filters/* + chmod 755 debian/local/backends/* + +cleanbuilddir:: + rm -f man/client.conf.man packaging/cups.list + rm -f conf/mime.convs conf/snmp.conf init/org.cups.cups-lpd.plist + -make distclean + # Remove source code of extra filters for PDF printing workflow + ( cd debian/local/filters/pdf-filters/; sh ./removefromcups ../../../.. ) + +common-install-prehook-impl:: + (cd fonts && $(MAKE) install BUILDROOT=$(DEB_DESTDIR)) + +binary-post-install/cups:: + (cd $(DEB_DESTDIR)/../cups/usr/share/doc/cups && ln -sf ../../cups/doc-root online-docs) + + # Install PPDs into /usr/share/ppd/cups-included/, see + # http://wiki.debian.org/PpdFileStructureSpecification + for i in $(DEB_DESTDIR)/../cups/usr/share/cups/model/*.ppd; do \ + m=$$(sed -n -e '/^\*Manufacturer:/s/.*"\([^"]*\)".*/\1/p' $$i); \ + mkdir -p "$(DEB_DESTDIR)/../cups/usr/share/ppd/cups-included/$$m"; \ + mv $$i "$(DEB_DESTDIR)/../cups/usr/share/ppd/cups-included/$$m/"; \ + done + rmdir $(DEB_DESTDIR)/../cups/usr/share/cups/model + + dh_usrlocal + + # Install AppArmor and ufw profile on Ubuntu + if [ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ]; then \ + install -D -m 644 debian/local/apparmor-profile debian/$(cdbs_curpkg)/etc/apparmor.d/usr.sbin.cupsd; \ + install -D -m 644 debian/local/cups.ufw.profile debian/$(cdbs_curpkg)/etc/ufw/applications.d/cups; \ + fi + + # Install documentation of the PDF CUPS filters + install -m 644 debian/local/filters/pdf-filters/README $(DEB_DESTDIR)/../cups/usr/share/doc/cups/README.pdf-filters + install -m 644 debian/local/filters/pdf-filters/filter/test.sh $(DEB_DESTDIR)/../cups/usr/share/doc/cups/examples/texttopdf-text.sh + install -m 644 debian/local/filters/pdf-filters/conf/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd $(DEB_DESTDIR)/../cups/usr/share/doc/cups/examples/ + # Move file detection and conversion rules to /usr/share/cups/mime/ so + # that the package manager does not consider them conffiles + install -d $(DEB_DESTDIR)/../cups/usr/share/cups/mime + ( cd $(DEB_DESTDIR)/../cups/etc/cups; mv cpdftocps.* imagetopdf.* pdftopdf.* pdftoraster.* pdf.* texttopdf.* $(DEB_DESTDIR)/../cups/usr/share/cups/mime/ ) + # Simple Ghostscript-based PostScript-to-PDF filter + install -m 0755 debian/filters/pstopdf $(DEB_DESTDIR)/../cups/usr/lib/cups/filter + + # Increase the cost of pstops to prefer the PDF filter chain for + # PostScript printers. + sed -i -r -e '/\spstops$$/ { s/66/100/ }' \ + debian/$(cdbs_curpkg)/etc/cups/mime.convs + + # Make the serial backend run as root, since /dev/ttyS* are + # root:dialout and thus not accessible as user lp + chmod go-x debian/$(cdbs_curpkg)/usr/lib/cups/backend-available/serial + +binary-post-install/libcupsimage2-dev:: + rm -r debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev + ln -s libcupsimage2 debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev +binary-post-install/cups-bsd:: + rm -r debian/cups-bsd/usr/share/doc/cups-bsd + ln -s libcups2 debian/cups-bsd/usr/share/doc/cups-bsd +binary-post-install/libcups2-dev:: + rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples/scripting/php/*.o + rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples/scripting/php/*.so +binary-post-install/cups-client:: + rm -r debian/cups-client/usr/share/doc/cups-client + ln -s libcups2 debian/cups-client/usr/share/doc/cups-client + +binary-post-install/cups-common:: + # Configure fonts for texttopdf + ln -s /usr/share/cups/charsets/pdf.utf-8.simple $(DEB_DESTDIR)/../cups-common/usr/share/cups/charsets/pdf.utf-8 --- cups-1.3.9.orig/debian/changelog +++ cups-1.3.9/debian/changelog @@ -0,0 +1,3174 @@ +cups (1.3.9-2ubuntu9.3) intrepid-security; urgency=low + + * SECURITY UPDATE: XSS and CRLF injection in headers + - debian/patches/CVE-2009-2820.dpatch: Introduce cgiClearVariables() in + cgi-bin/{var.c,cgi.h}. Clear out variables in + cgi-bin/{classes,help,ipp-var,jobs,printers}.c. Encode URL string and + clear out variables in cgi-bin/admin.c. Filter more characters in + cgi-bin/template.c. + - CVE-2009-2820 + + -- Marc Deslauriers Fri, 30 Oct 2009 21:36:11 -0400 + +cups (1.3.9-2ubuntu9.2) intrepid-security; urgency=low + + * SECURITY UPDATE: Remote denial-of-service via IPP_TAG_UNSUPPORTED tags. + - debian/patches/CVE-2009-0949.dpatch: make sure the name field exists + in scheduler/ipp.c. + - CVE-2009-0949 + + -- Marc Deslauriers Mon, 01 Jun 2009 10:31:04 -0400 + +cups (1.3.9-2ubuntu9.1) intrepid-security; urgency=low + + * SECURITY UPDATE: fix integer overflow via large TIFF file + - debian/patches/CVE-2009-0163.dpatch: adjust CUPS_IMAGE_MAX_HEIGHT in + filter/image-private.h + - CVE-2009-0163 + + -- Jamie Strandboge Wed, 15 Apr 2009 09:12:09 -0500 + +cups (1.3.9-2ubuntu9) intrepid-proposed; urgency=low + + [ Martin Pitt ] + * Add bzr-builddeb configuration (merge mode). This does not cause any + change in the built packages, but makes package maintenance easier. + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/pdftopdf/P2PResources.cxx: Fixed + corruption of output when generating multiple copies of EOG or GIMP + output files. (LP: #345183) + + -- Till Kamppeter Thu, 26 Mar 2009 11:56:14 +0100 + +cups (1.3.9-2ubuntu8) intrepid-proposed; urgency=low + + * debian/local/filters/cpdftocps: Only the last digit of the number of + copies was used (LP: #309314). + * debian/patches/pdftops-cups-1.4.dpatch: Let the pdftops filter only emit + PostScript level 2 and not level 3, as some PostScript printers have + problems with PostScript level 3 from Poppler, even if they are level 3 + printers (LP: #277404). + * debian/local/filters/pdf-filters/pdftopdf/pdftopdf.cxx: Do not preceed the + PDF output with a newline (LP: #303691). + + -- Till Kamppeter Fri, 13 Mar 2009 19:08:02 +0100 + +cups (1.3.9-2ubuntu7) intrepid-proposed; urgency=low + + * debian/local/filters/pdf-filters/pdftopdf/P2PPage.cxx, + debian/local/filters/pdf-filters/pdftopdf/pdftopdf.cxx: Do not reposition + the pages when an automatic rotation did not actually take place and + do not apply the page size and margins from the PPD file or the coomand + line if no manipulations affecting the printout size are done (N-up, + scaling, fitplot, ...). This caused LP: #310575. + + -- Till Kamppeter Mon, 10 Jan 2008 13:19:55 +0100 + +cups (1.3.9-2ubuntu6.1) intrepid-security; urgency=low + + * SECURITY UPDATE: denial of service by adding a large number of RSS + subscriptions (LP: #298241) + - debian/patches/CVE-2008-5183.dpatch: gracefully handle MaxSubscriptions + being reached in scheduler/{ipp.c,subscriptions.c} + - CVE-2008-5183 + * SECURITY UPDATE: arbitrary code execution via integer overflow from a PNG + image with a large height value + - debian/patches/CVE-2008-5286.dpatch: multiply img->xsize instead of + img->ysize so we don't overflow in filter/image-png.c. + - CVE-2008-5286 + + -- Marc Deslauriers Thu, 08 Jan 2009 08:29:48 -0500 + +cups (1.3.9-2ubuntu6) intrepid-proposed; urgency=low + + * debian/local/filters/cpdftocps: Fixed the fix for the number of copies. + In some cases it failed and pstops was called with 0 copies + requested. (LP: #309314) + + -- Till Kamppeter Fri, 19 Dec 2008 15:58:55 +0100 + +cups (1.3.9-2ubuntu5) intrepid-proposed; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/pdftopdf/P2PCatalog.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PCatalog.h, + debian/local/filters/pdf-filters/pdftopdf/P2PDoc.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PDoc.h, + debian/local/filters/pdf-filters/pdftopdf/P2PPage.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PPage.h, + debian/local/filters/pdf-filters/pdftopdf/P2PPageTree.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PPageTree.h, + debian/local/filters/pdf-filters/pdftopdf/pdftopdf.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PResources.cxx: Fixed problem + of Landscape-oriented PDF files being printed in the wrong orientation + (LP: #47649), added processing of the rotate tag (intrepid + regression) (LP: #300312). + * debian/local/filters/cpdftocps: Made correct number of copies + being printed on PostScript printers with hardware copy handling + (LP: #286048). + + [ Martin Pitt ] + * debian/local/apparmor-profile: Allow cupsd to run Brother drivers. + (LP: #237256) + + -- Martin Pitt Wed, 17 Dec 2008 08:04:36 +0100 + +cups (1.3.9-2ubuntu4) intrepid-proposed; urgency=low + + * debian/local/filters/pdf-filters/pdftopdf/P2POutputStream.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2POutputStream.h: Removed + an endianess dependency from the pdftopdf filter, so that it also + works on non-PC platforms like PowerPC (LP: #271350). + + -- Till Kamppeter Sun, 23 Nov 2008 22:04:55 +0100 + +cups (1.3.9-2ubuntu3) intrepid-proposed; urgency=low + + * debian/local/filters/pdf-filters/filter/pdftoraster.cxx: Fix include path + of image.h, to fix FTBFS if libcupsimage-dev is not installed. + + -- Martin Pitt Fri, 21 Nov 2008 13:13:14 +0100 + +cups (1.3.9-2ubuntu2) intrepid-proposed; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/cpdftocps: The cpdftocps filter did case-sensitive + checking for CUPS options to keep them away from the pstops filter. CUPS + treats such options case-insensitive, so in some cases CUPS options got + applied twice (LP: #299707). + * debian/local/filters/pdf-filters/filter/pdftoraster.cxx: Fix handling of + CMYK color space. Patch taken from upstream: + http://svn.sourceforge.jp/view/pdftoraster/trunk/src/pdftoraster.cc?root=opfc&rev=850&r1=848&r2=850 + (LP: #294671) + * debian/filters/pstopdf: Do not supply the margins from the PPD to the + ps2pdf process, as this breaks full-bleed printing and is also disturbs + the printing if PPDs have too conservative margin definitions. (LP: #282186) + + [ Martin Pitt ] + * rootbackends-worldreadable.dpatch: Apply the same relaxed permission check + to cups-deviced, so that backends installed as 0744 don't disappear from + printer detecttion. This unbreaks the ipp/http and lpd detection. + (LP: #275407, Debian #503644) + * debian/rules: Install the serial backend with 0744 permissions to make it + run as root, since /dev/ttyS* are root:dialout and thus not accessible as + user "lp". Thanks to Chanoch (Ken) Bloom. (part of #506181, LP: #154277) + * debian/control: Update Vcs-* for intrepid branch. + + -- Martin Pitt Fri, 21 Nov 2008 11:22:24 +0100 + +cups (1.3.9-2ubuntu1) intrepid-proposed; urgency=low + + [ Till Kamppeter ] + * debian/filters/pstopdf: Fixed several bugs in the pstopdf filter. First, + removed the use of CUPS' pstops filter for inserting option settings. This + also inserts PJL headers and then Ghostscript cannot convert the PostScript + to PDF in the next step. Fixed also the sed magic so that the paper size + and the margins get really read from the PPD and fixed the calculation of + the top and bottom margins, they were exchanged. Fixes LP: #289759, + LP: #292690, LP: #282186. Possible fix for LP #293883. + + [ Martin Pitt ] + * debian/local/apparmor-profile: Allow dnssd backend to create various less + common network protocols (x25, appletalk, etc.) for detection. Also allow + it to read /proc/*/net/, which the bonjour avahi library apparently uses. + (LP: #254022) + + -- Martin Pitt Thu, 06 Nov 2008 17:46:00 +0100 + +cups (1.3.9-2) experimental; urgency=low + + * debian/local/filters/cpdftocps, debian/filters/pstopdf: Avoid duplicate + execution of the number of copies. Sending a PostScript job to a + non-PostScript printer produced n*n copies instead of n copies, also + sending a non-PostScript job to a PostScript printer. A PostScript job + sent to a PostScript printer could even produce n*n*n copies (LP: #286048). + + -- Till Kamppeter Mon, 20 Oct 2008 08:18:20 +0200 + +cups (1.3.9-1) experimental; urgency=low + + * New upstream security/bug fix release: + - The HP-GL/2 filter did not range check pen numbers. [CVE-2008-3641] + - The SGI image file reader did not range check 16-bit run lengths. + [CVE-2008-3639] + - The text filter did not range check cpi, lpi, or column values. + [CVE-2008-3640] + - Fix incompatibility with Firefox 3.0 when using SSL. + - Update the French admin.tmpl, to have the missing "Find new printer" + button and the "Subscriptions" section. Thanks to Yves-Alexis Perez! + (Closes: #475270) + - Lots of other bug fixes, see http://www.cups.org/articles.php?L575. + * Drop patches accepted upstream: + - cupsfilter-path-typo.dpatch + - pjl-display-ready-message.dpatch + - dont-chown-symlinked-ssl.dpatch + * Add hpgl-regression.dpatch: Revert the SP_select_pen() enumeration change + introduced in STR #2911, because it changes the color mapping (e. g. "SP1" + would now select a white pen instead of a black one, and "SP0" would not + be valid at all any more). Also fix a remaining off-by-one loop. (STR + #2966) + + -- Martin Pitt Fri, 10 Oct 2008 11:07:17 +0200 + +cups (1.3.8-13) experimental; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/pdftopdf/P2PCatalog.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PCatalog.h, + debian/local/filters/pdf-filters/pdftopdf/P2PDoc.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PDoc.h, + debian/local/filters/pdf-filters/pdftopdf/P2PPageTree.cxx, + debian/local/filters/pdf-filters/pdftopdf/P2PPageTree.h, + debian/local/filters/pdf-filters/pdftopdf/pdftopdf.cxx: + When N-up printing and selection of only the even or odd pages + (for manual duplex) was used together the pages were selected + the wrong way (number-up=2 page-set=even with an 8-page document gave + 2+4, 6+8 and should give 3+4, 7+8). This is fixed now. The behavior + of pdftopdf is now exactly the same as of pstops. + + [ Martin Pitt ] + * debian/local/apparmor-profile: Allow locking on /var/cache/cups/**. + (Mentioned in LP #270046) + + -- Martin Pitt Wed, 08 Oct 2008 11:19:36 +0200 + +cups (1.3.8-12) experimental; urgency=low + + [ Till Kamppeter ] + * debian/filters/pstopdf, + debian/local/filters/pdf-filters/filter/pdftoraster.cxx, + debian/local/filters/pdf-filters/pdftopdf/*: Fixed paper + size handling of pstopdf, pdftopdf, and pdftoraster which led SpliX + to crash (LP: #261363, LP: #268510), fixed monochrome CUPS Raster + output of pdftoraster which led to black pages being printed + (LP: #269691). + + -- Martin Pitt Mon, 06 Oct 2008 16:33:02 +0200 + +cups (1.3.8-11) experimental; urgency=low + + * debian/rules: Explicitly configure with --with-dbusdir. For some obscure + reason, the automatic check fails on the buildds, causing the D-BUS + configuratin not to be installed. Fixes FTBFS. (Closes: #498664) + + -- Martin Pitt Sat, 13 Sep 2008 10:59:31 +0200 + +cups (1.3.8-10) experimental; urgency=low + + [ Martin Pitt ] + * rootbackends-worldreadable.dpatch: Do not run backends as root if they are + group or world writable (this is by and large a paranoia fix, though). + * dont-chown-symlinked-ssl.dpatch: Replace patch with the upstream committed + version, which is more general. + * debian/control: Package development moved to bzr, update Vcs- tags. + * cupsaccept.dpatch: Replaced with the more comprehensive solution upstream + committed to 1.4 trunk. Removed debian/cups-client.links, since the links + are now installed by upstream. Adapt manpage-translations.dpatch + accordingly. + * Move installation of D-BUS configuration files from debian/rules to + debian/cups.install. + * debian/libcups2-dev.install: Add missing sidechannel.h. + + [ Johan Kiviniemi ] + * debian/filters/pstopdf: Apply PPD settings (resolution, page size, page + margins) to the conversion (LP: #263049). + * debian/control: cups Depends: bc (for margin calculation). + + -- Martin Pitt Thu, 11 Sep 2008 13:43:34 +0200 + +cups (1.3.8-9) experimental; urgency=low + + * Previous upload had some cruft in the diff.gz which caused some changed + defaults in cupsd.conf. Reupload with a clean diff.gz. *Brown paperbag* + + -- Martin Pitt Sun, 07 Sep 2008 00:22:23 +0200 + +cups (1.3.8-8) experimental; urgency=low + + * Remove debian/patches/dont_force_ssl.dpatch; gnome-cups-manager is ancient + and removed from Debian, and newer GUIs like system-config-printer get + along fine with the default setting. + * Add quiesce-bonjour-warning.dpatch: Silence the "Apple Bonjour + compatibility layer of Avahi" warning, since it can cause SIGPIPE crashes + when being issued in a child process without stderr. (Closes: #497492) + * confdirperms.dpatch, manpage-translations.dpatch: Revert note that Debian + doesn't install lppasswd suid root, since we do. (Closes: #478280) + * debian/control: Drop the "It can be safely removed from your system" from + the old package names, since that is untrue until the transition is + actually complete. (Closes: #489246) + * debian/control: Bump Standards-Version (no actual changes necessary). + * Remove classes_crash.dpatch, it has been fixed upstream a while ago. + * cupsaccept.dpatch: Rewrite to be consistent with current upstream code, + and send it upstream. + * Drop quiesce_ipp_logging.dpatch: It was only necessary for the polling + from gnome-cups-icon, but fortunately gnome-cups-manager has been removed + now. + * confdirperms.dpatch: Remove a few hunks which were only relevant for + running cups as system user. Remove the SSL certificate bits as well, + rewrite it to be upstream compatible, split it out to + dont-chown-symlinked-ssl.dpatch, reported it upstream. + * Remove device_uri.dpatch, does not seem to be necessary any more. + * Add rootbackends-worldreadable.dpatch: Install root backends + world-readable, to comply to Debian Policy and because it is both + nonsensical to to not do so, and also breaks system checkers, bug + reporting, etc. (Closes: #410171) + + -- Martin Pitt Sat, 06 Sep 2008 18:21:01 +0200 + +cups (1.3.8-7) experimental; urgency=low + + * Previous upload had some cruft in the diff.gz which caused some changed + defaults in cupsd.conf. Reupload with a clean diff.gz. + + -- Martin Pitt Tue, 02 Sep 2008 12:27:18 +0200 + +cups (1.3.8-6) experimental; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/filter/texttopdf.c, + debian/local/filters/pdf-filters/filter/pdfutils.c, + debian/local/filters/pdf-filters/filter/test_pdf2.c, + debian/local/filters/pdf-filters/filter/fontembed/test_ps.c, + debian/local/filters/pdf-filters/filter/fontembed/test_pdf.c, + debian/local/filters/pdf-filters/filter/fontembed/sfnt.h, + debian/local/filters/pdf-filters/filter/fontembed/main.c, + debian/local/filters/pdf-filters/filter/fontembed/iofn.h, + debian/local/filters/pdf-filters/filter/fontembed/fontfile.h, + debian/local/filters/pdf-filters/filter/fontembed/fontfile.c, + debian/local/filters/pdf-filters/filter/fontembed/embed.h, + debian/local/filters/pdf-filters/filter/fontembed/embed.c, + debian/local/filters/pdf-filters/filter/fontembed/Makefile, + debian/local/filters/pdf-filters/addtocups: + Fixed crashes of texttopdf on bad or missing fonts, make texttopdf + also working without configuration of the fonts (at least for ASCII). + * debian/local/filters/pdf-filters/filter/pdftoijs.cxx, + debian/local/filters/pdf-filters/conf/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd + debian/local/filters/pdf-filters/addtocups, + debian/local/filters/pdf-filters/config-scripts/cups-pdf-filters.m4, + debian/local/filters/pdf-filters/removefromcups, + debian/local/filters/pdf-filters/README, + debian/control, debian/rules: Added pdftoijs filter. + + [ Johan Kiviniemi ] + * debian/filters/pstopdf: + - Adobe Reader generates DRM-infested PostScript from encrypted PDF files. + This PostScript contains code which stops Ghostscript with an error when + one tries to convert it to (now unencrypted) PDF. Change the filter to + normalize such PostScript using ps2ps before conversion. + + [ Martin Pitt ] + * Add alternative dependency "gsfonts-x11" for ttf-freefonts. + (Closes: #495598) + * debian/patches/: Update the status of patches, add some upstream + references, update status in 00list. + * Drop obsolete include_krb5_h_in_job_h.dpatch, package builds fine in + current unstable. + * debian/rules: Enable PIE and other compiler flags security enhancements + with DEB_BUILD_HARDENING=1. Add hardening-wrapper build dependency. Thanks + to Kees Cook! + * Add debian/local/cups.ufw.profile: "ufw" firewall profile. Install it + for Ubuntu builds only for now, until ufw enters Debian as well. Thanks to + Didier Roche and Jamie Strandboge! (https://launchpad.net/bugs/261903) + + -- Martin Pitt Tue, 02 Sep 2008 11:34:54 +0200 + +cups (1.3.8-5) experimental; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/filter/texttopdf.c: Added bug fix + from upstream so that texttopdf does not segfault on missing or bad + fonts any more. Backed out Johan Kiviniemi's patch of replacing + Courier by FreeMono. + * Remove hardcoded -march=pentium from texttopdf Makefile. + (Closes: #495220) + + * debian/local/filters/pdf-filters/conf/imagetopdf.convs: Reduced cost + factor to prefer this filter instead of imagetops. + + [ Johan Kiviniemi ] + * debian/local/filters/cpdftocps, debian/local/cpdftocps.convs, + debian/cups.install, debian/rules: + - Add an application/vnd.cups-pdf → application/vnd.cups-postscript + filter, thus making the PDF filter chain possible for PostScript + printers. + - The filter’s cost is 22, making the total cost of pstopdf → pdftopdf → + cpdftocps 66 after the following change. + * debian/local/filters/pdf-filters/conf/pdftopdf.convs, + debian/local/pstopdf.convs, debian/rules: + - Change filter costs to prefer the PDF chain over pstops. + • pdftopdf: 22 instead of 66. + • pstopdf: 22 instead of 100. + • pstops: 100 instead of 66. + * Add pjl-display-ready-message.dpatch: + - According to the PJL spec, one should use "" (not "READY") to return the + display to the normal ready message. + + -- Martin Pitt Fri, 15 Aug 2008 15:54:36 +0200 + +cups (1.3.8-4) experimental; urgency=low + + [ Till Kamppeter ] + * debian/control, debian/rules, + debian/local/filters/pdf-filters/filter/pdfutils.h, + debian/local/filters/pdf-filters/filter/texttopdf.c, + debian/local/filters/pdf-filters/filter/fontembed, + debian/local/filters/pdf-filters/filter/test.sh, + debian/local/filters/pdf-filters/filter/test_pdf1.c, + debian/local/filters/pdf-filters/filter/test_pdf2.c, + debian/local/filters/pdf-filters/filter/pdfutils.c, + debian/local/filters/pdf-filters/conf/texttopdf.convs, + debian/local/filters/pdf-filters/AUTHORS, + debian/local/filters/pdf-filters/addtocups, + debian/local/filters/pdf-filters/data, + debian/local/filters/pdf-filters/data/pdf.utf-8.simple, + debian/local/filters/pdf-filters/data/pdf.utf-8.heavy, + debian/local/filters/pdf-filters/removefromcups, + debian/local/filters/pdf-filters/README: Added texttopdf filter. + Added "Depends: ttf-freefont" for the cups package, as the + texttopdf filter needs these fonts. + + [ Johan Kiviniemi ] + * Add cupsfilter-path-typo.dpatch: Fix a typo in scheduler/cupsfilter.c, + which caused filters not to have /bin in their PATH. + * debian/filters/pstopdf: + - Do not log to /tmp/pstopdf.log. A user running the filter (e.g. via + cupsfilter) made all other users (including cups itself) unable to run + the filter because of no permission to open the logfile. + - Put unquoted variables into quotes where appropriate. + - Never create an outfile in the same directory as the given infile; the + process might not have write access there. + - set -e. + * debian/local/filters/pdf-filters/filter/texttopdf.c: + - Use FreeMono instead of Courier, since texttopdf requires a TrueType + font. + + [ Martin Pitt ] + * Bump shlibs version for libcups2 and libcupsimage2. (Closes: #494168) + + -- Martin Pitt Fri, 15 Aug 2008 08:02:32 +0200 + +cups (1.3.8-3) experimental; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/addtocups, + debian/local/filters/pdf-filters/removefromcups, + debian/local/filters/pdf-filters/config-scripts/cups-pdf-filters.m4, + pdftopdf/Makefile: Avoid that all executables and libraries of CUPS + get linked against libpoppler. This especially leads to all packages + dependent on CUPS needing libpoppler, even for building. + + -- Martin Pitt Mon, 11 Aug 2008 16:48:59 +0200 + +cups (1.3.8-2) experimental; urgency=low + + [ Till Kamppeter ] + * debian/local/filters/pdf-filters/, debian/local/pstopdf.convs, + debian/rules, debian/control, debian/copyright, debian/cups.install: + Introduced the first bunch of infrastructure for using PDF as standard + print job format. Added CUPS filters imagetopdf, pstopdf, pdftopdf, + pdftoraster, added build dependency on libpoppler-dev, as the new filters + are Poppler-based. texttopdf and pdftoijs will be added soon. + All this is temporary, as the filters are planned to be added to the + upstream package of CUPS (CUPS STR #2897, #1595). + * debian/patches/search_mime_files_in_usr_share.dpatch: Replaced by the + changes which were done for this purpose in CUPS 1.4. In addition to + the introduction of /usr/share/cups/mime for installing file detection and + conversion rules as non-conffiles it also changes the reading order to + all *.types files and the all *.convs files (instead of all in + /usr/share/cups/mime and then all in /etc/cups). This way + /usr/share/cups/mime can contain conversion rules based on file types + defined by files in /etc/cups (CUPS STR #2719, CUPS SVN revs #7670 and + #7694). + + [ Martin Pitt ] + * Add missing CVE and more verbose descriptions to security fixes to 1.3.6-1 + changelog. + + -- Martin Pitt Sat, 9 Aug 2008 23:48:59 +0200 + +cups (1.3.8-1) unstable; urgency=low + + * New upstream release: some 20 bug fixes, no new features (see + http://www.cups.org/articles.php?L562 for details). + * Dropped patches, accepted upstream: + - empty_option_value_crash.dpatch + - CVE-2008-1722.dpatch + - glibc2.8_build.dpatch + - HostNameLookups_values.dpatch + * manpage-typos.dpatch: Most of this got applied to 1.3.8. The ".Sh" -> + ".SS" fix only got applied to trunk, so backport these remaining ones. + * manpage-translations.dpatch: Update to new upstream version. + + -- Martin Pitt Wed, 23 Jul 2008 08:58:57 +0200 + +cups (1.3.7-9) unstable; urgency=low + + [ Martin Pitt ] + * Update Turkish debconf translations, thanks Mert Dirik! + (Closes: #489408) + + [ Till Kamppeter ] + * Updated "Suggests:" for the "cups" package, replacing obsolete + foomatic-filters-ppds by foomatic-db and foomatic-db-engine. + (Closes: #286127) + + -- Martin Pitt Fri, 11 Jul 2008 09:49:08 +0200 + +cups (1.3.7-8) unstable; urgency=medium + + * Urgency medium due to RC bug fix (#487606). + * debian/cups.init.d: Restart xprint on start/stop/reload. (Closes: #285332) + * Add empty_option_value_crash.dpatch: Fix crash on cupsd.conf options + without a value. (Closes: #250848) + * Add glibc2.8_build.dpatch: Fix building with glibc 2.8. + * debian/patches/00list: Sort patches by upstream status. + * Add HostNameLookups_values.dpatch: Make possible values of HostNameLookups + consistent to manpage and to other options in cupsd.conf. (Closes: #379014) + * debian/patches/confdirperms.dpatch: Fix typo, thanks Nicolas François! + * Add manpage-typos.dpatch: Fix various typos in manpages, thanks Nicolas + François! (part of #478597) + * Add manpage-translations.dpatch: Provide po4a infrastructure for + translating mangpages, and add French manpage translations. Add po4a build + dependency, and add translated manpages to debian/*.install. Thanks to + Nicolas François! (Closes: #478597) + * Add Slovak debconf translations, thanks to Ivan Masár. (Closes: #488906) + * Add Romanian debconf translations, thanks to Eddy Petrișor. + (Closes: #488597) + * debian/cups.init.d: Test for executability of daemon, not merely its + existence. (Closes: #488843) + * debian/cups.prerm: Do not delete the /usr/lib/cups/backend/smb symlink on + removal, it is owned by smbclient, not cups. (Closes: #487606) + + -- Martin Pitt Wed, 02 Jul 2008 11:58:47 +0200 + +cups (1.3.7-7) unstable; urgency=low + + * Provide transitional cupsys-common package, to ease apt-get dist-upgrade. + * debian/cups.preinst: Run conffile transition for "install" as well, not + just for "upgrade" (brown paperback for this thinko!), and also remove the + old rc.d symlinks for cupsys. (Closes: #485514) + * debian/control: Drop obsolete "gs-esp" alternative dependency. + + -- Martin Pitt Tue, 10 Jun 2008 16:32:33 +0200 + +cups (1.3.7-6) unstable; urgency=low + + * Rename the package to cups. This is the proper upstream name. Upstream has + made it clear that the usual distro patches are not a trademark violation. + This unbreaks all the documentation out there, which refers to "cups", not + "cupsys" (including names of the init script), as well as unbreaks + dependencies of openprinting.org's LSB printer driver packages. + (Closes: #482296, LP: #233790) + * debian/cups.{config,postinst}: Remove some old cruft. + * debian/cups.preinst: Move conffiles to new names on upgrades, in a dpkg + conffile question avoiding manner. + * debian/cupsys.install: Install oopstops.{convs,types} in /etc/cups, they + do not work in /usr/share/cups/mime (loaded too early). (Closes: #474109) + + -- Martin Pitt Fri, 23 May 2008 00:32:17 +0200 + +cupsys (1.3.7-5) unstable; urgency=low + + * debian/cupsys-bsd.install: Remove daemon/cups-lpd. It really does not + belong into -bsd. + * debian/control: Add appropriate Conflicts/Replaces to older cupsys-bsd + which shipped daemon/cups-lpd. (Closes: #477392) + + -- Martin Pitt Wed, 23 Apr 2008 11:00:41 +0200 + +cupsys (1.3.7-4) unstable; urgency=high + + * debian/rules: Do not fail the build when the test suite fails on m68k and + arm. It is currently unclear why these tests fail on these architectures, + but that shouldn't block testing migration (given that the actual bugs + existed before as well, they just didn't get caught during build). + + -- Martin Pitt Tue, 22 Apr 2008 18:34:35 +0200 + +cupsys (1.3.7-3) unstable; urgency=low + + * debian/copyright: Update to current reality. (Closes: #474176) + * Drop usage of dh_movefiles, rename the remaining debian/*.files to + debian/*.install. This also brings back the lost + /usr/lib/cups/daemon/cups-lpd. + * debian/libcupsimage2-dev.install: Add cups/i18n.h from upstream (not + installed by upstream Makefiles any more). (Closes: #474922) + * debian/rules: Drop lintian magic, current debhelper (dh_lintian) and cdbs + support that now. Rename .lintian -> .lintian-overrides for this. + * debian/cupsys.doc-base: Fix section. + + -- Martin Pitt Tue, 22 Apr 2008 12:28:25 +0200 + +cupsys (1.3.7-2) unstable; urgency=high + + [ Martin Pitt ] + * debian/control: Add missing build dependency lsb-release. (LP: #211375) + Also wrap long fields, so that they are easier to edit. + * Drop pdftops-wait-eintr.dpatch, an improved version has been committed + upstream. Integrate the upstream solution into pdftops-cups-1.4.dpatch. + * Add pdftops-dont_fail_on_cancel.dpatch: Fix behavioural change in patch + from STR #2780 which broke the test suite: When a job is cancelled, do not + report a failure in the exit code of pdftops. + * Rebuild against fixed debhelper to properly compress manpages again (see + #470913). (Closes: #475887, #476495) + + [ Nico Golde ] + * Add debian/patches/CVE-2008-1722.dpatch: Two integer overflows in png + image filter allow a denial of service attack and possibly arbitrary code + execution. [STR #2790, CVE-2008-1722] (Closes: #476305). + + -- Martin Pitt Mon, 21 Apr 2008 19:06:55 +0200 + +cupsys (1.3.7-1) unstable; urgency=medium + + * Urgency medium due to security fix. + * New upstream bugfix/security update release. For a detailled list of + changes see http://www.cups.org/articles.php?L537. + - CUPS GIF image filter overflow [CVE-2008-1373, STR #2765]. + * Drop patches which are now upstream: + - cgiCompileSearch_buffer_overflow.dpatch + - testsuite-exit-code.dpatch + - pbmprint.dpatch + * search_mime_files_in_usr_share.dpatch: Drop log message about missing + /usr/share/cups/mime/ from error to info, since it is not really an + error, and causing the test suite to fail due to error log count mismatch. + * pdftops-cups-1.4.dpatch: Apply r7391 from SVN head to fix missing error + message newlines (STR #2743). + * debian/rules: Remove cleaning of test suite HTML reports in test/, they + are written to /tmp now. + * Add pdftops-wait-eintr.dpatch: Handle EINTR in pdftops' wait() call. + (Caught by test suite.) + * debian/libcupsys2-dev.files: Drop i18n.h, it's an internal interface and + not installed by upstream any more. + * debian/control: Add poppler-utils | xpdf-utils build dependency, so that + the test suite works during build. + + -- Martin Pitt Wed, 02 Apr 2008 11:03:37 +0200 + +cupsys (1.3.6-3) unstable; urgency=high + + [ Till Kamppeter ] + * pdftops-cups-1.4.dpatch: Updated to Mike Sweet's patch version from CUPS + STR #2716. + * debian/patches/ppd-poll-with-client-conf.dpatch: If there is a client.conf + pointing to a remote server, clients were not able to poll the PPD options + from printers on that server (CUPS STRs #2731, #2763) + + [ Martin Pitt ] + * Urgency high due to security fix. + * debian/local/apparmor-profile: Allow cups-pdf to read files in ~/PDF/, so + that it can overwrite files. (LP: #161222) + * Add cgiCompileSearch_buffer_overflow.dpatch: Fix buffer overflow in + cgiCompileSearch() using crafted search expressions. Exploitable if + printer sharing is enabled. (CVE-2008-0047, STR #2729, Closes: #472105) + + -- Martin Pitt Sat, 22 Mar 2008 12:37:57 +0100 + +cupsys (1.3.6-2) unstable; urgency=low + + * debian/rules: Configure with default log file permissions 0640. + (Closes: #469853) + * debian/control: Mention "lpr" in the description of -bsd, for easier + apt-cache search catching. (Closes: #426519) + * Remove debian/NEWS, there's nothing new since Etch's release. + (Closes: #376580) + * Add debian/patches/pbmprint.dpatch: Fix printing of PBM files, thanks to + Eugeniy Meshcheryakov! (Closes: #313536) + * debian/cupsys.preinst: Only chown /var/run/cups if it exists. (LP #156634) + * Move scripting examples from cupsys to libcupsys2-dev. No need to install + those 1.3 MB by default on every system, this is much more developer + oriented. Mention this in the package description. + * debian/rules: Explicitly build with -fno-stack-protector on arm and armel, + since the compiler produces segfaulting binaries. Works around #469517. + * search_mime_files_in_usr_share.dpatch: Do not fatally fail if + DataDir/mime does not exist. This both makes much more sense (since + /etc/cups is the canonical dir which must exist, and /usr/share/cups/mime + is optional), and also unbreaks the test suite (which does not create this + directory by default). + * pidfile.dpatch: Specify PidFile in temporary directory in the self test's + cupsd.conf. + * debian/rules clean: Remove test suite HTML reports. + * Add testsuite-exit-code.dpatch: Exit with nonzero if the test suite fails, + so that it is easier to integrate into package building. + * pdftops-cups-1.4.dpatch: Update pdftops location in test suite, too, so + that it does not fail the PDF printing test. (Forwarded to STR #2759) + * debian/rules: Run test suite on build. This will fail the build if any + tests fail, so that problems on particular platforms will be caught + easily. + * debian/control: Add alternative (build-)depends to heimdal-dev. + * debian/rules, debian/cupsys.postinst: Call update-rc.d to not install stop + symlinks for runlevels 0 and 6, since they just needlessly slow down + shutdown. Remove the obsolete kill symlinks on upgrade. Patch adopted from + the Ubuntu branch, but without using the Ubuntu-only 'multiuser' mode of + update-rc.d. + * Add debian/local/apparmor-profile: AppArmor profile (taken from Ubuntu + branch). Install it in debian/rules if package is built on Ubuntu (tested + with lsb_release -is). Reload AppArmor in debian/cupsys.postinst if both + the cupsys profile and AppArmor itself are present. + * Add debian/patches/ubuntu-disable-browsing.dpatch: Disable Browsing by + default when building on Ubuntu. + * Add debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Set + default job error policy to "Retry", since it is less confusing and a + better default on desktop machines. This is only applied when building on + Ubuntu. + * debian/control: Add Vcs-{Svn,Browser} fields. + + -- Martin Pitt Sun, 16 Mar 2008 22:34:50 +0100 + +cupsys (1.3.6-1) unstable; urgency=low + + * New upstream bugfix release. + - Fixes buffer overflows in filter/hpgl-input.c, possibly exploitable to + run arbitrary code with crafted HP-GL files. (CVE-2008-0053) + - Fixes double free vulnerability in process_browse_data(), + exploitable to remote DoS. (CVE-2008-0882, bug #467653) + * Remove the following patches which are upstream now: + - fix_regression_reactivate_net_ifaces_changes_detection.dpatch + - web-interface-breaks-default-auth-setting.dpatch + * search_mime_files_in_usr_share.dpatch: Greatly simplified the patch by + using mimeMerge(), so that it is more robust against upstream changes. + Forwarded to STR#2719. + * Dropped cupsd.conf-AllowLocal.dpatch; it does not do anything good any + more for the current web and GUI administration tools (they handle this + fine by themselves), so it's obsolete now. + * Drop enable{sharing,browsing} and {sharing,browsing}_status scripts. They + have never been used in Debian, not used any more in Ubuntu, and the + current frontends (web, system-config-printer, etc.) do this in a much + better way. + * debian/docs: Remove redundant LICENSE.txt. + * debian/rules: Add a generic rule to install lintian overrides in + debian/packagename.lintian. + * Add lintian overrides for unjustified/wontfix complaints about libcupsys2 + and cupsys. + * debian/cupsys.doc-base: Remove erroneous whitespace in the section + separator. + * debian/rules: Remove *.o and *.so files from PHP scripting examples + directory (it's /usr/share after all). + * debian/cupsys.init.d: Add Short-Description. + * debian/rules: Do not ship an empty /usr/share/cups/model/ directory. + + -- Martin Pitt Tue, 26 Feb 2008 14:23:50 +0100 + +cupsys (1.3.5-2) unstable; urgency=low + + [ Martin Pitt ] + * debian/cupsys.init.d: Add Should-Start: avahi. (Closes: #459662) + + [ Till Kamppeter ] + * debian/patches/pdftops-cups-1.4.dpatch, debian/local/filters/pdftops: + Replaced Helge Blischke's alternative pdftops wrapper by the pdftops + of CUPS 1.4. The old pdftops wrapper did not work with the pdftops + filter of Poppler, the new one works with the pdftops filters of both + Poppler and XPDF (Closes: #457810; Ubuntu LP: #182379). + * debian/patches/web-interface-breaks-default-auth-setting.dpatch: When + modifying server settings with the CUPS web interface, the setting + for the default authentication got overwritten with gibberish + (Closes: #461331; CUPS STR #2703, Ubuntu LP: #188426). + * debian/local/backends/dnssd: Updated dnssd to filter out IPv6 entries, + as they clutter the lists of detected printers and make the network + printer discovery process taking more time than needed. Applied also + a bug fix and the possibility of querying one IP address by calling + the dnssd backend with the IP as command line argument (like the + snmp CUPS backend). + + -- Martin Pitt Mon, 25 Feb 2008 11:13:15 +0100 + +cupsys (1.3.5-1) unstable; urgency=high + + [ Kenshi Muto] + * New upstream release + - cups-stops-broadcasting-on-HUP-with-explicit-BrowseAddress patch is + merged. + - Fix that SNMP backend did not check for negative string lengths. + (CVE-2007-5849, closes: #457453). + * Update pdftops.pl to 1.20. It fixes overwriting arbitary files + via symlink attack. (CVE-2007-6358, closes: #456960) + + [ Till Kamppeter ] + * debian/patches/fix_regression_reactivate_net_ifaces_changes_detection.dpatch : + Fix a regression in upstream code that has removed the network interface + update poll (CUPS STR #2631, LP: #177075). Thanks to Hugues Fournier + (hugues dot fournier at gmail dot com) for the patch. + + -- Kenshi Muto Wed, 19 Dec 2007 17:07:05 +0900 + +cupsys (1.3.4-4) unstable; urgency=high + + [ Kenshi Muto] + * cupsys depends on "ghostscript | gs-esp", not "ghostscript | gsp-esp"! + I should punish myself. + (closes: #456455) + + -- Kenshi Muto Tue, 18 Dec 2007 07:49:17 +0900 + +cupsys (1.3.4-3) unstable; urgency=high + + [ Martin Pitt ] + * debian/control: Bump Standards-Version to 3.7.3 (no changes necessary). + + [ Till Kamppeter ] + * debian/patches/cups-stops-broadcasting-on-HUP-with-explicit-BrowseAddress.dpatch: + CUPS stopped broadcasting on a HUP signal when using a fixed + BrowseAddress (CUPS STR #2618, Ubuntu LP: #173470). + * debian/local/backends/dnssd: Updated dnssd to support Mac OS X servers + which broadcast their print queues only via DNS-SD and require clients + to create raw IPP queues pointing to the server's queues manually. + + [ Kenshi Muto] + * Debconf translation + - French (closes: #456272) + - do update-debconfpo. Update all translations to use the msgstr 'dnssd' + for msgid 'dnssd'. + * cupsys depends on "ghostscript | gs-esp", to ease testing transition and + upgrades from etch (closes: #456455). + + -- Kenshi Muto Mon, 17 Dec 2007 10:25:02 +0900 + +cupsys (1.3.4-2) unstable; urgency=low + + [ Kenshi Muto ] + * Bumps up shlibs to 1.3.4. + + [ Martin Pitt ] + * debian/control: Remove gs-esp alternative dependency, it's just + "ghostscript" nowadays. + * debian/control: Slightly bump the C/R: for -common; it's a pointless delta + to Ubuntu and it doesn't hurt us. + * debian/cupsys-bsd.postinst: Symlink cupsys-bsd's doc directory to + cupsys-common's, not cupsys', since the latter is not a dependency. + * debian/control: Demote cups-pdf from Recommends: to Suggests: to match the + semantics (apt installs recommends by default now). + * debian/cupsys.init.d: Add LSB header, thanks to Petter Reinholdtsen! + (closes: #337640) + * debian/rules: Configure with default printcap in /var/run/cups/. + (closes: #452446) + + [ Till Kamppeter ] + * Add debian/local/backends/dnssd: Printer discovery backend for + several cheaper printers, like the HP Color LaserJet 2600n, are not + discovered by the "snmp" backend. In addition, this backend extracts more + info from the printers than the "snmp" backend, like for example available + page description languages. This leads to better driver choices for + unknown printer models. + * debian/cupsys.install, debian/cupsys.{prerm,postinst,templates,rules}: + Install new backend. + * debian/control: Add Recommends: to avahi-utils; if it is installed, the + dnssd backend can actually work. + * debian/postinst: Activate new backends (since Etch) by default on + upgrades. This affects snmp, scsi, serial, and dnssd. + + -- Martin Pitt Fri, 30 Nov 2007 18:42:15 +0100 + +cupsys (1.3.4-1) unstable; urgency=high + + * New upstream release. + - Fixes CVE-2007-4351 + IPP Tags Memory Corruption Vulnerability (closes: #448866) + + [ Martin Pitt ] + * debian/cupsys.postinst: Drop ancient code to remove root from group + lpadmin. + + [ Kenshi Muto ] + * Debconf translation + - Finnish (closes: #446740) + + -- Kenshi Muto Fri, 02 Nov 2007 21:32:29 +0900 + +cupsys (1.3.2-1) unstable; urgency=low + + * New upstream bug fix release. + - Fixes web interface for many browsers. (STR#2472, Closes: #440589) + * Remove str2488-fix-localedir.dpatch, str2505_localize.dpatch, + str2508-dont_kill_edit-config.tmpl.dpatch: Fixed upstream. + + -- Martin Pitt Tue, 18 Sep 2007 08:15:17 +0200 + +cupsys (1.3.0-4) unstable; urgency=low + + * Install PO files again, but this time under /usr/share/cups/locale. cups + has its own crazy PO file parser. + * Add debian/patches/str2488-fix-localedir.dpatch: Make the --localedir + configure option actually work (taken from upstream SVN, STR#2488) + * debian/rules: Add --enable-gssapi to ensure that the package is built with + Kerberos support. + * debian/rules: Use -Wl,--as-needed linker flag. This drops a few + unnecessary dependencies and should make checklib much happier. + * Add debian/patches/str2508-dont_kill_edit-config.tmpl.dpatch: Do not kill + edit-config.tmpl on distclean. Forwarded upstream as STR#2508. + (Closes: #441697) + * Add debian/patches/str2505_localize.dpatch: Fix localization of web + interface (STR#2505, Closes: #440256) + + -- Martin Pitt Tue, 11 Sep 2007 22:43:06 +0200 + +cupsys (1.3.0-3) unstable; urgency=low + + [ Martin Pitt ] + * debian/control: Allow 'ghostscript' as alternative dependency to gs-esp. + * debian/cupsys.dirs: Create /usr/lib/cups/backend/ (regression from the big + debian/rules cleanup). (closes: #438432) + * debian/cupsys.preinst: Bump the version comparison for the file owner + cleanup, since some log files were still left as owned by 'cupsys' until + #437536 was fixed. + * debian/cupsys-common.files: Do not install the .po files, cups does not + use them at runtime. (closes: #438625) + + [ Till Kamppeter ] + * debian/local/postscript.ppd: New generic PostScript PPD file for + unknown PostScript printers added. + + -- Martin Pitt Mon, 20 Aug 2007 16:23:58 +0200 + +cupsys (1.3.0-2) unstable; urgency=low + + * debian/control: Re-add erroneously dropped adduser dependencies to cupsys + and cupsys-client. Still needed for addgroup lpadmin. (closes: #437951) + * debian/control: Add missing libkrb5-dev dependency to libcupsys2-dev. + + -- Martin Pitt Wed, 15 Aug 2007 09:22:29 +0200 + +cupsys (1.3.0-1) unstable; urgency=low + + [ Till Kamppeter ] + * New upstream release (first release of 1.3.x generation) + * 90_include_krb5_h_in_job_h.dpatch: Added a missing "#include " to + the scheduler/job.h file (upstream bug). + * Regenerated patches: 44_fixconfdirperms.dpatch, 47_pid.dpatch, + 70_reactivate_recommended_driver.dpatch. + * Removed patches (fixed upstream): 53_usr_share_ppd_support.dpatch, + 55_ppd_okidata_name.dpatch, 68_edit-config.dpatch + * debian/control: Added "libkrb5-dev", and "libavahi-compat-libdnssd-dev" + to the build dependencies, so that the new Kerberos and DNS Service + Discovery support of CUPS gets compiled. + * debian/libcupsys2-dev.files: Removed /usr/include/cups/md5.h This file is + not provided any more by CUPS + * debian/cupsys.install, debian/cupsys-client.files: Added new files. + * debian/rules: Added more files to "clean::" rule which upstream has + forgotten in "make clean". + + [ Martin Pitt ] + * Bump library shlibs to >= 1.3.0. + * Drop 02_configure.dpatch, upstream configure does not set rpath any more + for prefix=/usr. + * Drop 54_cups-config_modeldir.dpatch, --modeldir was never actually used + anywhere and not documented, and LSB prescribes /usr/share/ppd/ anyway. + * Drop 56_dirsvc.dpatch, which was fixed upstream long ago and disabled in + 00list anyway since then. + * Drop 67_printcap.dpatch: /var/run/cups/printcap is now the implicit + default upstream. + * debian/patches: Drop number prefixes from patches. The enumeration is not + useful at all any more since it both got inflated and is not sorted by any + category. With dpatch we also do not need number prefixes. + + -- Martin Pitt Tue, 14 Aug 2007 21:10:50 +0200 + +cupsys (1.2.12-4) unstable; urgency=low + + [ Martin Pitt ] + * cupsys.logrotate: Fix last occurence of 'cupsys' user. + (closes: #437536) + * Moved all Debian specific filters to debian/local/filters. + * Cleaned up debian/rules, moved some file installs to + debian/cupsys.install. + * Merge debian/cupsys.files into debian/cupsys.install and remove the + former. Two different files are just too confusing. + * debian/local/filters/pdftops: Do not pass /etc/cups/pdftops.conf to + pdftops if it does not exist (poppler-utils does not have this file). + (https://launchpad.net/bugs/125300) + + [ Martin-Éric Racine ] + * Corrected download URL in debian/copyright. + * Added debian/watch file using that URL. + * Revised the Uploaders in debian/control: + - Fixed the name for Masayuki Hatta. + - Added Roger Leigh. + * Removed cupsys-driver-gimpprint alternative in debian/control; + superseded by cupsys-driver-gutenprint since Etch. + + -- Martin-Éric Racine Sun, 12 Aug 2007 13:36:30 +0300 + +cupsys (1.2.12-3) unstable; urgency=low + + [ Martin-Éric Racine ] + * Added presubj script to warn bug reporters to avoid filing Poppler + or XPDF security issues, since we don't use that codebase; we call + external programs who do and that's where the bug should be filed. + + [ Martin Pitt ] + * cupsys.init.d: Remove stray chown'ing to 'cupsys' which does not exist any + more. (closes: #436662) + * cupsys.init.d: Fix detection of parallel printers when 'lp' is already + loaded. (https://launchpad.net/bugs/29050) + * debian/cupsys.init.d: Put back 'reload'. + + -- Martin Pitt Thu, 09 Aug 2007 20:47:42 +0200 + +cupsys (1.2.12-2) unstable; urgency=low + + [ Kenshi Muto ] + * Added scripting directory to /usr/share/doc/cupsys/examples. + This directory contains the binding code from Java, Perl, and PHP + to CUPS. (closes: #193076) + Although we Debian CUPS team cannot afford to maintain them, + some of you may want them. + * Added 'Recommends: cupsys' to cupsys-bsd. (closes: #426521) + * Changed cupsys-client from 'Recommends: cupsys-bsd' to 'Suggests: + cupsys-bsd.' because cupsys-bsd isn't so necessary for cupsys-client. + * Fixed to use 'cupsys' instead of 'cups' for PAM on cups-check-pam-auth. + (though Debian CUPS doesn't use this daemon) (closes: #425701) + * Added debconf-2.0 to the dependency of cupsys-bsd. (closes: #415684) + + [ Martin Pitt ] + * Drop the derooting changes. It still has some regressions, and with + upstream not even acknowledging the need for improving cupsys' security we + will sit on this forever. This will be replaced by an AppArmor/SELinux + profiles in the future. + - Drop derooting related patches: + 06_disable_backend_setuid.dpatch + 10_external_pam_helper.dpatch + 09_runasuser.dpatch + 09_runasuser_autoconf.dpatch + - debian/cupsys{,-client}.postinst: Drop the 'cupsys' user setup and file + permission juggling. + - debian/rules: + + Drop --with-cups-user configure option. + + Do not modify the upstream default backend permissions. + - debian/cupsys.init.d: Do not touch log file permissions any more. + - debian/cupsys.files: Drop cups-check-pam-auth. + - debian/NEWS: Drop description of derooting changes. + - debian/control: Drop adduser dependency. + * debian/patches/44_fixconfdirperms.dpatch: Do not create + /var/run/cups/certs as lp:lpadmin, but as root:lpadmin, so that cupsd + does not need CAP_DAC_OVERRIDE. This will make it possible to create a + sensible AppArmor/SELinux profile. + * debian/cupsys.preinst: Fix file permissions on upgrades (owner cupsys -> + root). + * debian/control, debian/rules: Remove references to libcupsys2-gnutls10, + since it's a transitional package in Etch and not relevant any more in + Lenny. + * debian/cupsys.{pre,post}inst: Remove obsolete transition bits. + * Remove obsolete debian/patches/05_avoidunknowngroup.dpatch. + * Use ssl-cert's "snakeoil" SSL certificate by default: (Closes: #402370) + - debian/control: Add ssl-cert dependency. + - debian/cupsys.postinst: Symlink snakeoil SSL certificate if present, and + there is none present yet. + * debian/control: Replace obsolete ${Source-Version} with ${binary:Version}. + + [ Till Kamppeter ] + * Add debian/local/textonly.{ppd,filter}: Text-only printer driver from Red + Hat. Install it in debian/rules. + * debian/rules: Install the D-Bus config file so that CUPS reports + job progress to dbus clients (like sytem-config-printer). + * Add debian/local/oopstops.{.pl,types,convs}: Helge Bliscke's oopstops + filter to work around the bugs in the PostScript output of OpenOffice.org + (from http://www.srz.de/Members/bla/cups/filter/oopstops). Install them in + debian/rules. + + -- Martin Pitt Mon, 06 Aug 2007 15:47:33 +0200 + +cupsys (1.2.12-1) unstable; urgency=low + + * New upstream release + * removed unnecessary dependency against patch package (Closes: #431069) + * Debconf translation + - Danish (Closes: #426772) + - Vietnamese (Closes: #426822) + - Spanish (Closes: #430004) + * Disabled external_pam_helper due to #425944 and Ubuntu#112803. + (closes: #425944) + + -- Kenshi Muto Sat, 14 Jul 2007 14:56:24 +0900 + +cupsys (1.2.11-3) unstable; urgency=medium + + * debian/rules: Disable privilege dropping for now until we fixed the + backend invocation to become compatible to upstream's behaviour again. + This unbreaks third-party backends again for now. (Closes: #427559) + + -- Martin Pitt Fri, 08 Jun 2007 11:15:12 +0200 + +cupsys (1.2.11-2) unstable; urgency=low + + * debian/rules: Latest cups installs the ipp backend with 0700 permissions, + which makes it inaccessible to both the cups daemon (Closes: #423972) and + unreadable for users (Closes: #415872) + + -- Martin Pitt Wed, 16 May 2007 09:06:44 +0200 + +cupsys (1.2.11-1) unstable; urgency=low + + [ Kenshi Muto ] + * Applied templates improvement patch contributed by + debian-l10n-english team. (closes: #416350) + * Debconf translation + - Japanese + - Galician (closes: #416357) + - Swedish (closes: #416356) + - Catalan (closes: #416367) + - Basque (closes: #416385) + - Norwegian (closes: #416401) + - Italian (closes: #416407) + * New upstream version 1.2.11: + - 56_dirsvc patch is merged. + + [ Christian Perrier ] + * Debconf translation + - Czech (closes: #416939) + - German (closes: #416994) + - Brazilian Portuguese (closes: #417249) + - French + - Malayalam. (closes: #418030) + - Russian. (closes: #417874) + - Dutch. (closes: #418135) + - Portuguese (closes: #418299) + + [ Martin Pitt ] + * New upstream bugfix release (closes: #421899). + + Synchronize patches with Ubuntu and new upstream version 1.2.10: + + * Drop patches which are fixed upstream: + 00_00str2111.dpatch, 00_01str2137.dpatch, 00_02str2144.dpatch, + 00_03str2106.dpatch, 00_04str2117.dpatch, 00_05str2133.dpatch, + 00_06str2121.dpatch, 00_07str2123.dpatch, 00_08str2135.dpatch, + 00_09str2198.dpatch, 03_clean.dpatch, 65_detect_http_shutdown.dpatch + * Remove a few obsolete patches: + 08_cupsd.conf.conf.d.dpatch, 26_modprobe.dpatch, 48_stdlib.dpatch, + 61_job_c_strangeloop.dpatch, 08_cupsd.conf.conf.d.dpatch, + 64_driverfolder.dpatch. + * Add debian/patches/14_dont_force_ssl.dpatch: Do not require SSL for /admin + pages, since gnome-cups-manager (and most probably other GUI frontends) + does not support this. + * Add debian/patches/58_cupsd.conf-AllowLocal.dpatch: Allow access to local + ethernet by default. This just affects the ACL, for actually enabling + access cupsd needs to be switched to not only listen on localhost. With + that, this setting does not need to be configured in two different places. + * Add debian/patches/70_reactivate_recommended_driver.dpatch: Upstream CUPS + filters the "(recommended)" marking from the NickNames of the PPD files + when listing PPDs. These are an important orientation for the user and + they are also made use of by some printer setup tools. We need them at + least until a better solution for recommending drivers gets available. + * Add debian/patches/98_search_mime_files_in_usr_share.dpatch: Let CUPS also + search for *.types and *.convs files in /usr/share/cups/mime. This way + packages can provide *.types and *.convs files which do not get considered + as conffiles. (See https://launchpad.net/36532 for details). + * debian/patches/*.dpatch: Forwarded a lot of patches to upstream bug + tracker, add STR URLs to dpatch DP: headers. + + Synchronize packaging with Ubuntu: + + * debian/control: Drop transitional libcupsys2-gnutls10 package, it was only + required for Sarge->Etch upgrades. + * debian/control: Change netbase dependency to update-inetd, since that + lives in its own package now. + * debian/local/enable_sharing: Also match on 127.0.0.1 IP adresses in + addition to 'localhost'. + * debian/rules: Most of the clean:: rule is obsolete, only two files are + left behind now. These two have been reported upstream in + http://www.cups.org/str.php?L2366. + * debian/cupsys.templates: Activate SCSI, serial, and SNMP backends by + default. With these backends activated, many printers can be easily set up + with the printer setup tools. Especially network printers get + auto-detected and the correct URI gets assigned to them (doing this + manually is a non-trivial task for most users). + * debian/cupsys.dirs: Add /usr/share/ppd/custom/, a place where lpadmins can + store additional PPDs (this functionality is e. g. provided in + gnome-cups-manager's "Custom driver..." file dialog). + * debian/cupsys.init.d: Give proper permissions to /usr/share/ppd/custom/: + root:lpadmin 3775. Drop the obsolete chmod/chowning of + /usr/share/cups/model. + * Run the backend as non-root system user to confine the impact of security + vulnerabilities: + - Add debian/patches/10_external_pam_helper.dpatch: + + Add a helper program 'cups-check-pam-auth' which performs PAM + authentication and returns the status as exit code. + + scheduler/auth.c, cupsdAuthorize(): Attempt to use + cups-check-pam-auth before trying native PAM. + + With this we do not need to put the cupsys user into the shadow group. + - debian/cupsys.files: Install PAM helper. + - debian/cupsys.postinst: Set permissions of PAM helper to cupsys:shadow + 2754, alter permissions of some configuration files and directories to + work with non-root cupsd. + - debian/cupsys.postinst: Fix /var/cache/cups/ permissions for upgrades + which might have written cache files as root. + - debian/cupsys.logrotate: Save log files as cupsys:lpadmin. + - debian/cupsys.init.d: Disable 'reload'; change force-reload to restart, + since cupsd cannot reload as non-root. + - debian/cupsys.init.d: Set up proper permissions of log files. + - debian/rules: Enable --enable-privilege-dropping configure option. + - debian/rules: Install lpd backend suid root, so that it can bind to + ports < 1024 (really silly, but required for RFC compliance). + - debian/cupsys-client.postinst, debian/cupsys.postinst: Set up cupsys + system user. + * debian/NEWS: Describe derooting. + + -- Martin Pitt Mon, 14 May 2007 09:23:16 +0200 + +cupsys (1.2.7-4) unstable; urgency=high + + [ Kenshi Muto ] + * Use dh_usrlocal to install files in /usr/local in the + maintainer scripts, instead of shipping them in the deb. + This was policy violation (closes: #409335) + + -- Kenshi Muto Fri, 2 Feb 2007 18:16:24 +0900 + +cupsys (1.2.7-3) unstable; urgency=high + + [ Kenshi Muto ] + * removed STR2137 patch. This patch corruted some + Postscript files. (closes: #403703) This was a release + critical bug. + * Provides /usr/local/share/ppd and /opt/share/ppd + to satisfy LSB 3.2. (closes: #408154) + * Applied upstream patch: + - STR2198: The scheduler still loaded the remote printer cache, + even when browsing was disabled + * Debconf translation + - Portuguese (closes: #408332) + - Norwegian (closes: #406253) + + -- Kenshi Muto Thu, 1 Feb 2007 10:17:30 +0000 + +cupsys (1.2.7-2) unstable; urgency=high + + [ Kenshi Muto ] + * Applied upstream patches to fix some (include RC) bugs as dpatch style: + - STR2106: Raw PBM files did not print correctly + - STR2111: The PostScript filter did not properly output + document setup commands for reversed output (closes: Bug#403703) + - STR2117: The scheduler did not parse IPv6 netmask properly + - STR2121: cupsDoAuthentication() did not translate the password + prompt + - STR2123: The backends incorrectly used STATUS: + media-tray-empty-error messages for out-of-paper conditions + - STR2133: httpGetLength2() did not handle error messages without + content correctly + - STR2135: cupsMarkOptions() did not handle the + multiple-document-handling option + - STR2137: Collated output produced by the PostScript filter could + lose some options + - STR2144: job-hold-until with time values for the next day would + be held for 60 days + * 67_printcap: Add Printcap/PrintcapFormat/PrintcapGUI variables to + cupsd.conf file. (closes: #401981) + * cupsys makes /var/run/cups/certs. Although CUPS daemon can make + it automatically, the daemon logs an warning. + * 68_edit-config: Provide same cupsd.conf as initial package + installation. + + -- Kenshi Muto Wed, 6 Dec 2006 22:42:34 +0000 + +cupsys (1.2.7-1) unstable; urgency=low + + * New upstream release + - Added Italian translation + + [ Kenshi Muto ] + * Add printer.schema to /usr/share/doc/cupsys/examples for LDAP. + (closes: #399122) + + -- Kenshi Muto Sat, 18 Nov 2006 10:03:30 +0900 + +cupsys (1.2.6-2) unstable; urgency=low + + [ Kenshi Muto ] + * Debconf translation + - Brazillian Portuguese (closes: #397842) + - Basque (closes: #398574) + * 00_r6100: Apply SVN r6100. + - Fixed an inefficiency in the SNMP IPP detection code + (closes: #397833) + + -- Kenshi Muto Tue, 14 Nov 2006 22:29:08 +0900 + +cupsys (1.2.6-1) unstable; urgency=low + + * New upstream release + Fixes bugs include + - "lpc status" did not show the number of queued jobs for + disabled queues + - The lpstat program could hang + + -- Kenshi Muto Tue, 7 Nov 2006 21:09:33 +0900 + +cupsys (1.2.5-1) unstable; urgency=medium + + * New upstream release. + + [ Kenshi Muto ] + * 00_r6052: Apply SVN r6052 to pass the compile with libpaper. + * provides /etc/pam.d/cupsys correctly. (closes: #392142) + (renamed debian/pam to debian/cupsys.pam) + * fixed "ppd API fails to discover printer nickname and options" + problem" by upstream (closes: #394255) + + -- Kenshi Muto Sat, 21 Oct 2006 01:18:34 +0000 + +cupsys (1.2.4-2) unstable; urgency=low + + [ Kenshi Muto ] + * PPD transition to /usr/share/ppd is mostly finished. + Now I remove old symlink /usr/share/ppd/cups-transitional-dir and + /usr/share/cups/cups-included. (closes: #381266, #383291) + * Update debconf translations: + - Brazilian Portuguese (closes: #389222) + * Tried to solve the backend permission problem. CUPS scheduler + uses a permission and owner information of backend program. + - Install ipp and lpd as mode 0700. + - Create backend links as hardlink instead of symlink. + + -- Kenshi Muto Sat, 30 Sep 2006 14:56:29 +0900 + +cupsys (1.2.4-1) unstable; urgency=medium + + * New upstream release + - The web interface change settings and edit configuration + file buttons would truncate the cupsd.conf file (STR #1976, + closes: #389093) + Because this bug seems critical, we upload this fixed version + as urgency=medium. + [ Martin Pitt ] + * debian/patches/56_dirsvc.dpatch: Update patch so that a patch/unpatch + cycle restores the source properly instead of breaking dirsvc.c in two + different places. + + [ Kenshi Muto ] + * debian/patches/65_detect_http_shutdown.dpatch: avoid that + gnome-cups-manager eats CPU 100%. (closes: #377640) + + -- Kenshi Muto Sun, 24 Sep 2006 09:54:44 +0000 + +cupsys (1.2.3-1) unstable; urgency=medium + + * New upstream release + - The parallel and USB backends no longer wait for the + printer to go on-line - this caused problems with + certain printers that don't follow with the IEEE-1284 + standard (STR #1738, closes: #383091) + - fixed Printer options were not always honored when printing + from Windows clients (STR#1839, closes: #385605) + + [ Martin Pitt ] + * Add appropriate Replaces: to cupsys-common to unbreak upgrades. + * debian/patches/44_fixconfdirperms.dpatch: Fix file mode specification: + 3755 -> 03755 (regression of svn commit 353). + + [ Kenshi Muto ] + * Apply upstream svn r5958. + * check modprobe command and /proc/modules dir exist before running + modprobe (closes: #387176). + * 62_classes_crash: fix incorrect code. old code returned an error + even if user use the correct class configuration. (closes: #380663, #384654) + * bump up libcupsys2.shlibs version to 1.2.3. (closes: #385724) + * Merge old separated style configuration to the single format + only if user upgraded from an affected version. (closes: #386551) + * Provide /usr/share/cups/drivers to contain Windows drivers. + * 57_cupsaddsmb: original cupsaddsmb easily goes infinite and DoS-like + loop. Debian cupsaddsmb ends soon when it catches an error. + + -- Kenshi Muto Fri, 8 Sep 2006 11:28:12 +0200 + +cupsys (1.2.2-2) unstable; urgency=high + + [ Kenshi Muto ] + * Apply upstream svn change r5845. + - BrowseRelay didn't work on Debian (closes: #372855) + 61_job_c_strangeloop.dpatch: I don't make sure but job.c of + r5818 causes strange CPU busy when it gets printing jobs. + This patch avoids it. + * 12_quiesce_ipp_logging: some part are merged into the upstream + source. updated. + * libcupsys2 conflicts cupsys version 1.1. + libcupsys2 version 1.2 changed its private API. This breaks + old cupsys 1.1, but we believe cupsys is only one application + is affected by this change. (closes: #380619) + * Provide an new package, "cupsys-dbg" to help chasing the + problems at user's environment. + * Increment compat to 5. + * 44_fixconfdirperms: set owner lp for /etc/cups directory. + And modify lppasswd.man to mention about Debian + specific changes. lppasswd command now work. (closes: #378062) + * 62_classes_crash: when class hasn't any printers, cupsd will + crash immedieately after receiving a job. This patch avoids + a crash. + * Update debconf translations: + - Spanish (closes: #383087) + + -- Kenshi Muto Thu, 27 Jul 2006 23:40:54 +0900 + +cupsys (1.2.2-1) unstable; urgency=medium + + * New upstream release + + [ Martin Pitt ] + * Adapt patches to new upstream version. + * debian/cupsys.init.d: If lp module loading is requested, also load the + 'ppdev' module to fix the name and model detection of parallel printers on + newer kernels. + * Revive debian/patches/56_dirsvc.dpatch; it's still not fixed upstream. + * debian/patches/09_runasuser.dpatch: Do not drop additional group + privileges in scheduler/process.c. This should fix a range of bugs + concerning detection of parallel port printers and other 'permission + denied' bugs if privilege dropping is enabled (it is disabled by default in + Debian). + * debian/patches/44_fixconfdirperms.dpatch: Do not change owner and mode of + SSL certificate, in order to not break permissions of customized global + ones (like the one from the ssl-cert package). Grrr, cups, no, you cannot + own the world! + * debian/patches/54_cups-config_modeldir.dpatch: Add --modeldir to + cups-config so that other packages can use it to figure out the correct + PPD base path. + * debian/cupsys.examples: Do not ship .svn files (upstream Makefiles install + them). + * debian/local/{enable_browsing,browsing_status}: Adapt to single-file + configuration file style. + * Add debian/local/{enable_sharing,sharing_status}: Similar to + enable_browsing and browsing_status, this switches between "Listen + localhost:631" and "Port 631" (just as the web interface does). Install + files in debian/rules. + + -- Kenshi Muto Mon, 24 Jul 2006 10:59:27 +0200 + +cupsys (1.2.1-4) unstable; urgency=medium + + [Kenshi Muto] + * Include changelogs during 1.1.23-13 - 1.1.23-15. (closes: #374494) + * Apply upstream svn change r5754. + - Fix negotiation problem between unstable clients and sarge servers. + (closes: #375359) + * 58_fixdestc: avoid build failure of r5754 (add ipp-private.h include). + * 59_de_docroot: install German translation/images. Although upstream + SVN has, Debian diff structure can't handle a binary diff. This patch + will be removed when 1.2.2 is released. + * Add snmp to backend choices. Because I don't make sure this backend + is stable, the default is disabled. Use dpkg-reconfigure cupsys to + enable. (closes: #376496) + * Don't remove backend symlinks during reconfigure/upgrade process. + (closes: #376499) + * Check Include directive with case insensitive. (closes: #376883) + * libcupsys2 has /etc/cups directory to allow admin put own + client.conf. (closes: #370788) + * Include sample client.conf in libcupsys2. You can copy /usr/share/ + doc/libcupsys2/examples/client.conf to /etc/cups or ~/.cups and modify + for your environment. (closes: #376840) + * Split locale files to new package "cupsys-common". (closes: #378659) + This package is used by cupsys and cupsys-client/cupsys-bsd. + * removed 26_modprobe: because parallel backend executes with user 'lp' + permission, modprobe can't work. We CUPS team believe it's better + that lp module is loaded by discover or any other hardware detection + programs instead of CUPS. We provide a module loader by init script + for user's convenience at this time. + * 60_device_uri: preserve old URI during the printer configuration on + Web interface. + + -- Kenshi Muto Wed, 21 Jun 2006 15:06:02 +0000 + +cupsys (1.2.1-3) unstable; urgency=low + + [Kenshi Muto] + * Apply upstream svn change r5673. + - Remove unnecessary %s from dirsvc.c and will solve a mysterious + cupsd crash. Thanks Neil. (closes: #372696, #370611) + - Support again * character as IP address. (closes: #372291) + - Fixes wrong command line arguments to backend. (closes: #372586, #373839) + * Improve the wording of NEWS file, thanks Tomas (closes: #372256) + * 53_usr_share_ppd_support: Use /usr/share/ppd as PPD path. + (closes: #365300, #373722) + Make symlink /usr/share/ppd/cups-transitional-dir -> /usr/share/cups/ppd + for keeping a compatibility. We'll migrate all of PPD files to + /usr/share/ppd in the future. + * Revert to use single /etc/cups/cupsd.conf file for the configuration + instead of using separate files in /etc/cups/cups.d. The migration will + be done automatically. (closes: #345973, #372727) + * Apply correct permission modes to the files under /etc/cups at postinst + stage. + * Update debconf translations: + - Danish (closes: #371170) + - French (closes: #372714) + - Italian (closes: #372198) + + -- Kenshi Muto Sun, 11 Jun 2006 11:51:01 +0000 + +cupsys (1.2.1-2) unstable; urgency=low + + [Kenshi Muto] + * Provides /etc/cups/ssl directory for SSL. (closes: #370407, #370450) + * Add an newline after 'Starting ...' message by appending log_end_msg + to /etc/init.d/cupsys. (closes: #370460) + + -- Kenshi Muto Mon, 5 Jun 2006 22:44:55 +0900 + +cupsys (1.2.1-1) unstable; urgency=low + + [Kenshi Muto] + * New upstream release 1.2.1 for Debian unstable/testing. + * 00_r5610: Apply patches from upstream r5610. + * Re-update Dutch debconf translation (closes: #369004) + * Pump up shlibs to >=1.2.1 for compatibility safe. + + -- Kenshi Muto Wed, 31 May 2006 13:17:16 +0000 + +cupsys (1.2.1-0exp1) experimental; urgency=low + + [Kenshi Muto] + * New upstream release 1.2.1. + * Update Dutch debconf translation (closes: #369004) + * Update Italian debconf translation (closes: #367943) + * Includes the installation guide of dvi filter to /usr/share/doc/ + cupsys/examples/filters/dvipipetops.INSTALL is contributed by + Francesco Potort. This is partial fix for Bug#368450. + + [Martin Pitt] + * New upstream release 1.2.0. + * Update patches for new upstream release. + * Remove debian/patches/01_cupsimage.dpatch, fixed upstream. + * Remove debian/patches/20_httpGetHostname_crash.dpatch, fixed upstream. + * debian/patches/55_ppd_okidata_name.dpatch: Change "Oki" manufacturer name + to "Okidata" to be consistent with other PPD files. + * Implement http://wiki.debian.org/PpdFileStructureSpecification: + - debian/dirs: Create /usr/share/ppd/cups-included/. + - debian/rules: Install shipped PPDs into + /usr/share/ppd/cups-included// and provide a symlink to + the old /usr/share/cups/model directory for backwards compatibility. + * debian/cupsys.dirs: Ship /usr/lib/cups/driver/ to avoid error messages if + it's missing. + * debian/patches/09_runasuser.dpatch, scheduler/cert.c: Change root + certificate permissions from 0440 to 0240, so that the CGI programs cannot + read it any more. Without this patch, cupsd presented its own certificate + to itself, and *every* user could do admin tasks without authentication. + * debian/cupsys-client.links: Fix cupsenable/cupsdisable manpage link. + Closes: #364447 + * debian/patches/08_cupsd.conf.conf.d.dpatch: + - Set "BrowseAddress @LOCAL"; without this, sending browsing information + does not work (Browsing still has to be enabled). + - Add some comments to point out that the Port and Browsing settings are + moved to /etc/cups/cups.d/. + * debian/cupsys.postrm: Clean up passwd.md5 on purge. + + -- Kenshi Muto Sun, 28 May 2006 13:07:36 +0000 + +cupsys (1.1.99.rc2-0exp1) experimental; urgency=low + + [ Kenshi Muto ] + * New upstream release 1.2RC2. + - Because -fpie config becomes optional, compiler works on amd64 and + other architectures. (closes: #335199) + * Enable LDAP support. + * Remove duplicated update-rc.d (closes: #356911) + * Stopped asking admin password because it works only if user chooses + digest authentication. The default configuration of Debian uses + PAM and basic authentication. + * Enable dbus support. + * 03_clean.dpatch: Remove produced and remained files during build. + * Now CUPS uses 'lp' user/group privilege to call backend or any other + programs. + CUPS SystemGroup is 'lpadmin'. You need to add users who are allowed + to add/modify/remove printers/jobs/classes. + * Remove image.h.patch from source. It is no longer needed. + * 02_configure.dpath: Remove -rpath from configure. + * Fix typo in cupsys-bsd description. (closes: #362070) + * Add Galician debconf translation. (closes: #361258) + * Update Danish debconf translation. (closes: #357969) + * Use 'reload' during logrotate instead of 'restart'. It looks safe + on CUPS 1.2. (though job-restart problem still remains) + * set TZ in init script only if TZ isn't defined yet. + * Use if-fi structure style for postrotate of logrotate script. + It solves error when cupsys is not running. (closes: #347641) + * Unset TMPDIR environment variable before running daemon. (closes: #347829) + * Removed /etc/cups/pdftops.conf because it was for pdftops of upstream + version. Debian CUPS uses xpdf-utils wrapper and doesn't need + pdftops.conf. + * Notice: /etc/cups/client.conf has been removed upstream. + * Notice: {dis,en}able have been renamed to cups{dis,en}able. + + [ Martin Pitt ] + * debian/patches/48_stdlib.dpatch: Adapted to new upstream version. + * debian/cupsys.init.d: + - Fix arguments of start-stop-daemon and remove the hideous kill + algorithm. + - Ensure that /var/run/cupsd exists; this makes the init script work with + /var/run mounted on a tmpfs. + * debian/libcupsys2-dev.files, debian/libcupsimage2-dev.files: Remove static + library; upstream does not build them any more, and they are useless + anyway. + * Add debian/patches/06_disable_backend_setuid.dpatch: Remove the uid + changing in scheduler/cups-deviced.c which was introduced recently in + upstream. It totally breaks device node access (e. g. /dev/lp0 is root:lp + 0660, which is inaccessible for a process which runs as lp:root). + * debian/rules: Remove --with-cups-user, upstream does not support + it any more. + * debian/patches/09_runasuser_fixes.dpatch: RunAsUser was removed upstream; + rename the patch to 09_runasuser.dpatch and rewrite it: + - Enclose all changes in an #if CUPS_DROP_PRIVILEGES, so that it is easy to + enable this feature. + - scheduler/main.c: Drop privileges after initialization. + - scheduler/conf.c: If we build with CUPS_DROP_PRIVILEGES, set RunUser to + User instead of getuid(), since at that point we will always run as root + (privileges cannot yet be dropped at that point). + - config-scripts/cups-defaults.m4: Add --enable-privilege-dropping option. + - config.h.in: Add CUPS_DROP_PRIVILEGES option template. + * Add debian/patches/09_runasuser_autoconf.dpatch: autoconf changes for + 09_runasuser_fixes.dpatch changes. + * debian/pdftops: Fix reading from stdin (https://launchpad.net/bugs/17124) + * debian/cupsys.preinst: Remove dangling /etc/cups/pdftops.conf symlink on + upgrades to unbreak printing with poppler-utils. + * debian/control: Add poppler-utils alternative for xpdf-utils dependency. + * Add debian/patches/12_quiesce_ipp_logging.dpatch: + - Drop successful IPP messages to log level 'debug' and unsuccessful ones + to 'info'. + - Do not flood access_log with successful CUPS-Get-Printers and + Get-Printer-Attributes queries (which are generated by e. g. + gnome-cups-icon every 3 seconds). + - Closes: #280718 + * Add debian/patches/13_default_log_warn.dpatch: Raise default log severity + to 'warning' to not log gazillions of IPP requests by default. (other part + of #280718) + * debian/rules, debian/cupsys.postinst: Remove obsolete /etc/cups/certs and + /var/lib/cups/certs (certificates are managed in /var/run/certs now). + * debian/cupsys.preinst: Remove obsolete /etc/cups/certs symlink on upgrades. + * debian/cupsys-client.files: Install cupstestdsc and manpage. + * debian/cupsd.init: Have force-reload to reload, not restart. + * debian/cupsys.logrotate: Use force-reload instead of reload, since the + latter is not required to exist by Debian Policy. + * debian/rules: Ship browsing_status and enable_browsing. + * debian/patches/20_httpGetHostname_crash.dpatch: Add some robustifications + to httpGetHostname() to hopefully fix a reported crash. + + -- Kenshi Muto Sun, 16 Apr 2006 17:49:57 +0900 + +cupsys (1.1.99.b1.r4885-1) experimental; urgency=low + + [ Kenshi Muto ] + * New SVN release taken from rr4885. + * Updated Russian debconf translation, taken from cupsys trunk. + * Downgrade port and browse question to low. + * Add timeout routine to avoid lockup. + * debian/patches/08_cupsd.conf.conf.d.dpatch: + - Commented out Port/Listen/Browsing from cupsd.conf.in. + CUPS crashes when there is a duplicate definition. + * Updated Swedish debconf translation. + * Set seen false flag when ports configuration is failed. + * Allow '*' for hostname in ports.conf. + * Use /bin/echo instead of shell built-in echo. + * Improve cupsys.templates. + * Updated Russian, German, Czech,French, Vietnamese debconf translation. + * Removed example descriptions from init.d script. + * Fix IPv4 validation. + + [ Martin Pitt ] + * Adapt debian/patches/02_configure.dpatch to r4885. + * Move forcefully killing of cupsd if start-stop-daemon fails from + postinst to init script, where it belongs to. Do not kill all running + cupsd processes, but only the one in the pid file; this will unbreak cupsd + behaviour in chroots. + * debian/cupsys.default: Remove obsolete FORCE_RESTART option. + * Resurrect debian/patches/01_cupsimage.dpatch (formerly + 03_cupsimage.dpatch), as we get unresolved symbols if libcupsimage + isn't properly linked to libcupsys, causing other packages to FTBFS. + Thanks to Adam Conrad. + * debian/cupsys.init.d: Add --oknodo to not fail if cupsd is already + running. + * debian/rules: In clean rule, clean up a lot of files that are left behind + by 'make clean'. + + -- Kenshi Muto Fri, 23 Dec 2005 06:33:05 +0000 + +cupsys (1.1.99.b1.r4876-1) unstable; urgency=low + + [ Martin Pitt ] + * debian/local/{enable_browsing,browsing_status}: Adapt configuration file + locations to new conf.d structure. + * debian/cupsys.templates: Fix default value for cupsys/browse: 'yes' is an + invalid bool option, change to true. + * debian/cupsys.init.d: Use LSB init functions. Add lsb-base package + dependency. + * debian/cupsys.postinst: Wait a second between kill -9'ing cupsys and + checking if the process still exists to avoid false positives and upgrade + failures. + * Clean up support for /etc/cups/conf.d: + - Add debian/patches/08_cupsd.conf.conf.d.dpatch: Add include commands to + default cupsd.conf file. + - debian/cupsys.postinst: Remove fiddling with cupsd.conf. + - This will ensure that cupsd.conf will remain an unchanged conffile. + * debian/rules: Remove empty debian/patched on clean. + * debian/patches/10_cupsd.conf2.dpatch: Re-enable listening to localhost to + make the web interface work. + * debian/patches/44_fixconfdirperms.dpatch: + - Put configuration files into group root instead of nobody to avoid + privilege escalation of nobody/nogroup and comply to Debian standards. + - Use CUPS_DEFAULT_GROUP instead of 'nobody' as the default group for + setgid'ing to and conffiles which must be writable for cupsd. + - Disable changing permissions of cupsd.conf conffile. + * Add debian/patches/09_runasuser_fixes.dpatch: + - scheduler/main.c: Generate a certificate even when running as user, just + as in 1.1.x; this unbreaks local certificate authorization for cupsd + when it runs as normal user. + - scheduler/main.c: When running as non-root, call initgroups() instead of + setgroups() to allow auxiliary groups. These are required to access + different device types (lp for USB/parallel printers, dialout for serial + printers, etc.) + + [ Kenshi Muto ] + * New SVN release taken from r4876. + + -- Kenshi Muto Thu, 8 Dec 2005 21:26:22 +0900 + +cupsys (1.1.99.b1.r4841-1) experimental; urgency=low + + * EXPERIMENTAL + * New SVN release taken from r4841. + * Remove -pie and -fpie from compiler option. pie option causes + a problem with Debian binutils. + I hope this change avoids FTBFS on sparc and others. (closes: #339120) + + -- Kenshi Muto Wed, 16 Nov 2005 12:27:27 +0000 + +cupsys (1.1.99.b1.r4748-4) experimental; urgency=low + + * EXPERIMENTAL + * 00_r4835.dpatch: Taken from r4835. + Well, r4835 removes some files. It means dpkg-buildpackage always + fails when we rebuild source. Maybe it's time to change orig source. + Moved obsolete patches to patches/obsolete. + * 48_stdlib.dpatch: Fix FTBFS for arm, mips, and mipsel. + * 03_manext.dpatch: Don't use upstream's manpage file handling. + Debian uses dh_installman. + * 04_freebsd.dpatch: Apply Brian's patch to support GNU/kFreeBSD + (closes: #338266) + * Install lppasswd as owner 'lp'. + + -- Kenshi Muto Fri, 4 Nov 2005 13:56:27 +0000 + +cupsys (1.1.99.b1.r4748-3) experimental; urgency=low + + * EXPERIMENTAL + * 47_pid.dpatch: Modified to allow to configure location of pid file. + (closes: #337093) + You can change this location by PidFile directive at your cupsd.conf. + * Remove example comments from init script. (closes: #334842) + + -- Kenshi Muto Thu, 3 Nov 2005 11:39:07 +0000 + +cupsys (1.1.99.b1.r4748-2) experimental; urgency=medium + + * EXPERIMENTAL + * 02_configure.dpatch: Modified to remove -pie/-fpie if arch = x86_64. + (closes: #335199) + + -- Kenshi Muto Mon, 24 Oct 2005 11:42:59 +0000 + +cupsys (1.1.99.b1.r4748-1) experimental; urgency=low + + * EXPERIMENTAL + * CUPS 1.2 snapshot (r4748) from SVN. + + -- Kenshi Muto Wed, 5 Oct 2005 12:54:27 +0000 + +cupsys (1.1.23-15) unstable; urgency=high + + [Kenshi Muto] + * Allow '*' for hostname in ports.conf. (closes: #340975) + * Fix IPv4 address validation. + * Use /bin/echo instead of shell built-in echo. (closes: #343566) + * Improve cupsys.templates. (closes: #343498) + * Updated Swedish debconf translation. + * Updated Russian debconf translation. + * Updated German debconf translation. + * Updated Czech debconf translation. (closes: #343716) + * Updated French debconf translation. (closes: #344116) + * Updated Vietnamese debconf translation. + * Removed example descriptions from init.d script. (closes: #334842) + * Apply kFreeBSD patch. (closes: 338266) + + -- Kenshi Muto Fri, 16 Dec 2005 21:05:47 +0900 + +cupsys (1.1.23-14) unstable; urgency=high + + [Kenshi Muto] + * Downgrade port and browse question to low. (closes: #343341) + * debian/patches/08_cupsd.conf.conf.d.dpatch: + - Commented out Port/Listen/Browsing in cupsd.conf.in because + CUPS crashes when there is a duplicate definition! + (closes: #343251, #343279, ##343285, #343292) + * Added NEWS to explain how to fix this for 1.1.23-13 users: + Tweaking cupsd.conf via postinst is a bad idea, so I gave up + trying to correct this automatically. Instead, comment out the + Port/Listen/Browsing lines in /etc/cups/cupsd.conf if you had + already replaced this file by the one from 1.1.23-13. + * Updated Swedish debconf translation. (closes: #343397) + * Set seen false flag when ports configuration is failed. + (closes: #343400) + + [Martin-Éric Racine] + * Added debian/watch file. + + -- Kenshi Muto Thu, 15 Dec 2005 06:00:09 +0900 + +cupsys (1.1.23-13) unstable; urgency=high + + * 38_pdftopscan.dpatch: Apply CAN-2005-0064, CAN-2004-0888, + and CAN-2005-2097 patches. (closes: #324459, #324460, #324464) + Because Debian cupsys uses xpdf wrapper instead of forked pdftops, + so users aren't affected these security problems. + This patch is just for users who want to create own pdftops from + source. + * Move Port/Listen and Browsing configurations from /etc/cups/ + cupsd.conf to /etc/cups/cups.d/. + + /etc/cups/cups.d/ports.conf: Port/Listen configuration. + /etc/cups/cups.d/browse.conf: Browsing configuration + + You can configure these values by using "dpkg-reconfigure cupsys". + (closes: #235906, #297695, #178838, #288838) + + * Added Swedish debconf translation (closes: #338545). Thanks Daniel. + * Updated Russian debconf translation (closes: #340626). Thanks Yuri. + + * Applied xpdf patch to fix buffer overflows [pdftops/Stream.cxx, + pdftops/Stream.h, CAN-2005-3191, CAN-2005-3192, + 48_security_CAN-2005-3191.dpatch] + Because Debian cupsys uses xpdf wrapper instead of forked pdftops, + so users aren't affected these security problems. + This patch is just for users who want to create own pdftops from + source. + + -- Kenshi Muto Mon, 22 Aug 2005 18:50:26 +0900 + +cupsys (1.1.23-12) unstable; urgency=medium + + * foomatic-rip may be treated as recommended tool. + Modified control file. (closes: #320196) + * Add debconf-2.0 as debconf alternative. + * Migrated to libgnutls12. (closes: #322087) + libcupsys2 backed as real library. libcupsys2-gnutls10 became + transitional package. (closes: #322018) + * Add procps to Depends: of cupsys. ps command is used by + cupsys.postinst. + * 47_pid.dpatch: Added a patch to make forked PID file. + Now init script use this file instead of one created by + start-stop-daemon. + I hope this solves Samba starting bug. (closes: #315017) + * Back gs-esp to Depends:. (closes: #312244) + PostScript printer owners may claim this, but currently + we Debian CUPS Maintainers team have massive complains about + missing gs-esp dependency. It's current best workaround to + avoid such printing problems. + + -- Kenshi Muto Thu, 28 Jul 2005 11:35:27 +0900 + +cupsys (1.1.23-11) unstable; urgency=low + + * "At Debconf 5" release. + * Now CUPS is maintained by Debian CUPS Maintainers Team. + + * Do "sleep 2" to wait daemon's wake up. (this is just workaround... + needs better solution, for #309794 and #315017) + * Added Vietnamese translation. (closes: #310152) + * Check whether daemon is running or not before restart in logrotate. + (closes: #310535) + * Add description about foomatic-rip (in foomatic-filters package) + to README.Debian. (closes: #309399) + * Remove unnecessary comment from debian/po/de.po (closes: #314135) + * Apply status option for init script (closes: #312683). Thanks Stephen. + * Suggests cupsys-driver-gutenprint, this package is new name of + cupsys-driver-gimpprint. + * 46_ppdsdat: Move /etc/cups/ppds.dat to /var/lib/cups/ppds.dat and + make symlink. (closes: #317905) + * Unapply NOAUTH handling from 33_jobauthorize. A user warns me + it's dangerous to use. + + -- Kenshi Muto Fri, 20 May 2005 11:07:42 +0900 + +cupsys (1.1.23-10) unstable; urgency=high + + * Recovered http backend. -8 and -9 missed it. (closes: #305169) + * Use absolete path for doc-root instead of relative path. + (closes: #305339) + + -- Kenshi Muto Tue, 19 Apr 2005 20:47:49 +0900 + +cupsys (1.1.23-9) unstable; urgency=medium + + * Remove unnecessary and toxic space in doc-base file. + (closes: #305084) + + -- Kenshi Muto Mon, 18 Apr 2005 08:08:03 +0900 + +cupsys (1.1.23-8) unstable; urgency=medium + + * "Brush up for Sarge" release. + * Introduced dpatch for source management. + * Included Spanish man pages. + * 43_filtercost: Applied a patch for wrong computation of cost + (closes: #304205) + * Applied many part of ubuntu patch, http://people.ubuntu.com/~scott/patches/cupsys/cupsys_1.1.23-7ubuntu1.patch. + (User 'cupsys' feature and Browsing feature aren't applied at this time. + They are post-Sarge things) + * Applied improved dvifilter patch. (Although you need to modify + /etc/cups/mime.convs and some other files to use it) (closes: #198100) + * Provides /var/run/cups/cupsd.pid. (closes: #301804) + * Added cupsys documentation to doc-base structure. (closes: #171396, #304333) + * Included filter for PostScript from Windows PostScript driver, created by + Matt Swift . + If you want to use, put /usr/share/doc/cupsys/examples/filters/samba-postscript.* to /etc/cups, + and put /usr/share/doc/cupsys/examples/filters/samba-ps-to-ps to /usr/lib/cups/filter. (closes: #246577) + + -- Kenshi Muto Wed, 16 Mar 2005 10:01:57 +0900 + +cupsys (1.1.23-7) unstable; urgency=low + + * Drop /etc/cups/printers.conf and /etc/cups/classes.conf from + configuration files. (closes: #298103) + Migration will be done automatically. + * Add /etc/default/cupsys. You can change force stop behavior by + changing FORCE_RESTART in this file. (closes: #298040) + * Add hplip to Suggests:. (closes: #297776) + + -- Kenshi Muto Sat, 5 Mar 2005 12:27:32 +0900 + +cupsys (1.1.23-6) unstable; urgency=medium + + * Fix missing adduser dependency in cupsys-client. (closes: #296849) + * Apply parallel backend improvement patch. + - don't receive signal during writing (closes: #296222) + - fix 64bit problem (closes: #296223) + + -- Kenshi Muto Sat, 26 Feb 2005 08:07:39 +0000 + +cupsys (1.1.23-5) unstable; urgency=low + + * Improve postinst message (closes: #295642). Thanks Adam. + + -- Kenshi Muto Fri, 18 Feb 2005 21:23:10 +0900 + +cupsys (1.1.23-4) unstable; urgency=low + + * 20defaultport.patch is merged in upstream source. + * ARGH, libcupsys2-dev should conflict/replace against <<1.1.22-3. + Fix control file. (closes: #292879) + * Remove obsolete README_fr.txt. (closes: #293274) + + -- Kenshi Muto Sun, 30 Jan 2005 08:35:17 +0900 + +cupsys (1.1.23-3) unstable; urgency=low + + * Remove $Id$ from config file: 07cvsremovetag.patch (closes: #291629) + * Fix 'lppasswd does not work with nonexisting passwd file' by mpitt's patch: + 41lppasswdnoexistingconf.patch (closes: 290011) + + -- Kenshi Muto Sat, 22 Jan 2005 12:23:46 +0900 + +cupsys (1.1.23-2) unstable; urgency=medium + + * Move defvalue declaration to begin block for compile on + backports environment. Thanks Massimiliano. + * Fix Cyclades serial port name: 40cycladeserial.patch (closes: #270375) + * Upgrade shlibs of libcupsys2-gnutls10. cupsys-client needs newest + libcupsys2-gnutls10 (closes: #289930, #289939). + + -- Kenshi Muto Mon, 10 Jan 2005 13:48:32 +0900 + +cupsys (1.1.23-1) unstable; urgency=low + + * New upstream release + * lprng disabled ipp feature since 3.8.26-1. Remove conflicts: lprng + of cupsys. (closes: #288531) + + -- Kenshi Muto Tue, 4 Jan 2005 19:32:16 +0900 + +cupsys (1.1.22-8) unstable; urgency=high + + * Fix another security vulnerability since 1.1.21. Sigh... + (closes: #287835) + + -- Kenshi Muto Fri, 31 Dec 2004 13:16:54 +0900 + +cupsys (1.1.22-7) unstable; urgency=medium + + * Use Depends: xpdf-utils instead of Recommends:. + This is RC fix (closes: #287921) + + -- Kenshi Muto Fri, 31 Dec 2004 08:37:54 +0900 + +cupsys (1.1.22-6) unstable; urgency=high + + * Replaced upstream pdftops (derived from Xpdf) with pdftops.pl wrapper. + pdftops.pl is made by Helge Blischke, GNU GPL licensed. + + CUPS 1.1.22 should enter to Sarge ASAP by some security reasons, + but upstream pdftops prevents to enter because it has libgcc_s.so + dependency and current gcc 3.4 faces difficult 'unwind' problem. + Now I believe cupsys 1.1.22-6 can enter soon without waiting + gcc problem. + + If you want to print PDF files directly, you need to install + xpdf-utils. pdftops.pl calls pdftops in xpdf-utils package. + * Fix typo in control file. + + -- Kenshi Muto Wed, 29 Dec 2004 14:59:28 +0000 + +cupsys (1.1.22-5) unstable; urgency=high + + * Apply upstream CVS patch (00cvs20041229.patch) + This includes fix of buffer overflow possibility in scheduler. + + -- Kenshi Muto Wed, 29 Dec 2004 21:35:51 +0900 + +cupsys (1.1.22-4) unstable; urgency=high + + * Add Replaces migration for libcupsys2-dev. + It solves 'libcupsys2-dev overwrite a file in cupsys' problem. + (closes: #287609) + + -- Kenshi Muto Wed, 29 Dec 2004 02:43:09 +0000 + +cupsys (1.1.22-3) unstable; urgency=medium + + * Remove unwanted ldflag: Back 02configure.patch (closes: #286450) + * Move fr/cups-config.1 to libcupsys2-dev (closes: #286449) + Thanks for your above two bug reports, Henrique. + * Note: [CAN-2004-1125] "xpdf buffer overflows" is already fixed in + previous Debian revision (1.1.22-2) with upstream patch. + + -- Kenshi Muto Sat, 25 Dec 2004 23:40:15 +0900 + +cupsys (1.1.22-2) unstable; urgency=medium + + * Apply security fix patches from 1.1.23rc1. + * Revert logrotate to use 'reload'. (closes: #271872) + + -- Kenshi Muto Sun, 19 Dec 2004 17:43:10 +0900 + +cupsys (1.1.22-1) unstable; urgency=low + + * New upstream release for unstable. Time is over, sarge isn't shipped. + I checked 1.1.21 to 1.1.22 migration doesn't break ABI quickly, + but I'm still scared... + * Apply gcc-4.0 patch for amd64: 37gfxfont.patch (closes: #285601) + * Do 'restart' instead of 'reload' when log is rotated. + 'reload' sometime causes just shutdown daemon. (Unknown problem) + * Fix equation in cupsys.postscript. (closes: #285205) + * Apply Russell's patch: 38httpwait.patch (closes: #284829) + (This is trial. If there is any grave problem by this, I'll off this + patch) + - Made http_wait() handle EINTR. This bug was causing cups + to print multiple copies of reports on remote printers. + - Lengthed the wait in ipp_http_read to handle connections + running over the internet. The short wait was causing + unwated multiple copies of reports to be printed. + - While both these bugs need to be fixed, neither completely + solves the original multiple copies problem. To solve + that no data should be printed if there was a read error. + * Add dependency version of smbclient. (closes: #284733) + * Fix SIGSEGV when remote destination goes timeout: 39remotetimeout.patch + (closes: #283500) + + -- Kenshi Muto Wed, 15 Dec 2004 18:58:55 +0900 + +cupsys (1.1.22-0.experimental4) experimental; urgency=low + + * "I'm tired waiting Sarge forever" release. + I'm considering to upload 1.1.22 to unstable. + * I forgot to copy files from unstable version... FTBFS is solved. + (closes: #284574) + * Downgrade gs-esp dependency to Recommends. + I'm bore with attacks from stingy people. + + -- Kenshi Muto Tue, 7 Dec 2004 21:39:55 +0900 + +cupsys (1.1.22-0.experimental3) experimental; urgency=low + + * Rebuild with -sa. + + -- Kenshi Muto Tue, 7 Dec 2004 00:52:15 +0900 + +cupsys (1.1.22-0.experimental2) experimental; urgency=low + + * New upstream release + + -- Kenshi Muto Mon, 6 Dec 2004 23:10:18 +0900 + +cupsys (1.1.21-0.experimental2) experimental; urgency=low + + * Fix typo in templates and unfuzzied po files. (closes: Bug#274851) + * Update German translation (closes: Bug#274828) + * Make pam.d/cupsys standard @include style (closes: Bug#265299) + * Set up group lpadmin in postinst instead of rules. + Because lpadmin isn't there on initial build environemnt + (closes: Bug#274985) + + -- Kenshi Muto Mon, 4 Oct 2004 23:09:51 +0900 + +cupsys (1.1.21-0.experimental1) experimental; urgency=low + + * Experimental. + * new upstream version. + + -- Kenshi Muto Sun, 3 Oct 2004 18:15:23 +0900 + +cupsys (1.1.20final+rc1-8) unstable; urgency=medium + + * Apply GNU Hurd configure patch for fix FTBFS. (closes: Bug#274599) + * Improve patch test routine. (closes: Bug#272952, Bug#274564) + + -- Kenshi Muto Sun, 3 Oct 2004 13:07:43 +0900 + +cupsys (1.1.20final+rc1-7) unstable; urgency=medium + + * Fix french debconf translation (closes: Bug#272520). + This update is important because previous version shows + illegal debconf choice in French. + + -- Kenshi Muto Tue, 21 Sep 2004 22:31:54 +0900 + +cupsys (1.1.20final+rc1-6) unstable; urgency=high + + * Applied patch from Alvaro Martinez Echevarria to fix + daniel of service [scheduler/dirsvc.c, CAN-2004-0558] + * Apply GNU/Hurd patch (closes: Bug#263526) + * Update pt_PR debconf translation (closes: Bug#264096) + * Remove directory before making symlink (closes: Bug#270741) + + -- Kenshi Muto Tue, 24 Aug 2004 10:31:32 +0900 + +cupsys (1.1.20final+rc1-5) unstable; urgency=low + + * Apply anonymous patch for /jobs. This patch avoids many + client-error-forbidden. (closes: Bug#184361) + cupsd.conf will be automatically modified to use basic user + authentication (Add AuthType Basic + AuthType User). + + -- Kenshi Muto Wed, 4 Aug 2004 09:13:02 +0900 + +cupsys (1.1.20final+rc1-4) unstable; urgency=medium + + * Wait 10 seconds after reload for samba restart problem. + (closes: Bug#260969) + * Update Czech debconf translation (closes: Bug#260862) + * Built against libtiff4. + * Build against libgnutls11. (Though package name is still + libcupsys2-gnutls10) + + -- Kenshi Muto Mon, 26 Jul 2004 22:12:18 +0900 + +cupsys (1.1.20final+rc1-3) unstable; urgency=high + + * Change guess order of USB device name for FHS compliant. + (closes: Bug#259965) + + -- Kenshi Muto Sun, 18 Jul 2004 04:54:58 +0900 + +cupsys (1.1.20final+rc1-2) unstable; urgency=medium + + * Replace set-as-default icon of Japanese. Thanks Tomo-p. + * Provides libcupsys2 dummy package for smooth transition. (closes: #259378) + + -- Kenshi Muto Wed, 14 Jul 2004 19:10:43 +0900 + +cupsys (1.1.20final+rc1-1) unstable; urgency=low + + * Apply a patch for fixing typo in DE templates. (Closes: Bug#250883) + * New upstream source, 2004-07-03 CVS. + * Add netbase dependency for cupsys-bsd. + * Move certs files to /var/lib/cups/certs. (Closes: Bug#254153) + + -- Kenshi Muto Wed, 26 May 2004 08:46:35 +0900 + +cupsys (1.1.20final+cvs20040330-4) unstable; urgency=medium + + * Now libgnutls10 migration starts at 'unstable'/'testing'. + Packages depending libcupsys2 should be rebuit with newer + libcupsys2-dev. + * Fix log rotation problem by adding 'sharedscripts' to + /etc/logrotate.d/cupsys. (Closes: Bug#249023) + + -- Kenshi Muto Tue, 25 May 2004 08:14:44 +0900 + +cupsys (1.1.20final+cvs20040330-3experimental2) experimental; urgency=medium + + * Rename libcupsys2 to libcupsys2-gnutls10. + This package doesn't 'Provides: libcupsys2' to migrate libgnutls10. + Sebastien Bacher plans cups/libgnutls10 migration. + * Add notes about backend configuration to README.Debian. + * Fix (I hope) log rotation problem by adding sharedscripts to + /etc/logrotate.d/cupsys. (Closes: Bug#249024) + + -- Kenshi Muto Sat, 15 May 2004 11:17:16 +0900 + +cupsys (1.1.20final+cvs20040330-3) unstable; urgency=low + + * Remove EXPORT_SSLLIBS variable from cups-config (Closes: Bug#246102). + -lgnutls isn't necessary by software using libcups. + * Apply PJL detection patch from upstream. + * Translations + - Updated Turkish debconf messages (Closes: Bug#246075). Thanks + Recai and Gurkan. + + -- Kenshi Muto Wed, 28 Apr 2004 00:23:59 +0900 + +cupsys (1.1.20final+cvs20040330-2) unstable; urgency=low + + * Fix typo in HOWTO_BUGREPORT.txt. + * Translations + - Update Dutch debconf messages (Closes: Bug#242260). Thanks Tim. + + -- Kenshi Muto Tue, 6 Apr 2004 19:16:48 +0900 + +cupsys (1.1.20final+cvs20040330-1) unstable; urgency=low + + * New upstream CVS + * Revert pstops to old 1.1.20. (Closes: Bug#240792) + * Translations + - Updated Danish debconf messages. + + -- Kenshi Muto Fri, 26 Mar 2004 19:00:01 +0900 + +cupsys (1.1.20final+cvs20040317-4) unstable; urgency=low + + * Chagnge backend question priority to low. (Closes: Bug#238847) + When you use PPC, parallel backend will be removed from default choice + automatically. + If you want to use parallel (and you know what you will do), + please run 'dpkg-reconfigure cupsys'. + * Translations + - Updated Danish debconf messages (Closes: Bug#239256). Thanks Claus. + - Updated French debconf messages (Closes: Bug#239756). Thanks Christian. + + -- Kenshi Muto Wed, 24 Mar 2004 22:30:28 +0900 + +cupsys (1.1.20final+cvs20040317-3) unstable; urgency=low + + * Remove sysvinit. This package is essential. Thanks Thomas. + * Now choice menu is translatable (Closes: Bug#238821). + * Updated French debconf messages. Thanks Christian. + * Add socket to default choice. I think this backend doesn't + cause hang up anywhere. + + -- Kenshi Muto Fri, 19 Mar 2004 17:16:48 +0900 + +cupsys (1.1.20final+cvs20040317-2) unstable; urgency=medium + + * Add sysvinit in dependency. (Closes: Bug#238763) + * Updated Brazilian Portuguese debconf messages. Thanks Andre. + * Fix printers.cgi crash (Closes: Bug#238800) + * Updated Japanese templates & images. + + -- Kenshi Muto Fri, 19 Mar 2004 09:00:04 +0900 + +cupsys (1.1.20final+cvs20040317-1) unstable; urgency=low + + * New CVS release. + * Add asking about backend program. This is not best way to solve + PPC crash / i386 serial hang-up, but at least user can choose what + he/she want to use. serial backend becomes 'not use' by default. + Add notice about 'parallel of PPC may cause a problem'. + (closes: Bug#237613, Bug#233529, Bug#211677, Bug#224760) + * Updated Spanish debconf messages (closes: Bug#236470). Thanks Carlos. + * Updated Danish debconf messages. Thanks Claus. + * Updated French debconf messages. Thanks Christian. + * Updated Czech debconf messages. Thanks Miroslav. + + -- Kenshi Muto Sat, 6 Mar 2004 21:36:35 +0900 + +cupsys (1.1.20final-16) unstable; urgency=low + + * Improved init.d/cupsys message (closes: Bug#235693). Thanks Lee. + * Add Czech debconf messages (closes: Bug#236276). Thanks Miroslav. + + -- Kenshi Muto Tue, 2 Mar 2004 09:13:07 +0900 + +cupsys (1.1.20final-15) unstable; urgency=low + + * Add conflicts lprng for avoid conflicting ipp support. + * Add Danish debconf messages (closes: Bug#233067). Thanks Claus. + * Apply current CVS patch. + + -- Kenshi Muto Sat, 14 Feb 2004 18:10:54 +0900 + +cupsys (1.1.20final-14) unstable; urgency=medium + + * Apply loop avoid patch. (closes: Bug#231676) Thanks Ray. + + -- Kenshi Muto Wed, 11 Feb 2004 14:59:46 +0900 + +cupsys (1.1.20final-13) unstable; urgency=medium + + * Use pidof instead of start-stop-daemon for stopping cupsys. + I hope this will fix Bug#228967. + + -- Kenshi Muto Thu, 22 Jan 2004 09:12:25 +0900 + +cupsys (1.1.20final-12) unstable; urgency=low + + * Fix incorrect root detection routine (closes: Bug#227733). THanks David. + * Continue to install whether deluser is failed (for NIS/LDAP). + * 22ipprewrite.patch has critical bug. Fixed by better patch. + (closes: Bug#162613) + + -- Kenshi Muto Sat, 17 Jan 2004 12:57:47 +0900 + +cupsys (1.1.20final-11) unstable; urgency=low + + * Improved cupsys stop check. + * Apply username patch for Solaris lpd printing (closes: Bug#228078). Thanks + Lionel. + + -- Kenshi Muto Sat, 17 Jan 2004 12:28:15 +0900 + +cupsys (1.1.20final-10) unstable; urgency=low + + * Apply Brazilian Portuguese debconf message (closes: Bug#227445). Thanks + Andre. + * Show verbose message when cups won't stop. + + -- Kenshi Muto Wed, 14 Jan 2004 08:38:55 +0900 + +cupsys (1.1.20final-9) unstable; urgency=low + + * Apply patch for avoid infinite loop (closes: Bug#225625). + * Apply patch for http password authenticaion cache (closes: Bug#227143). + + -- Kenshi Muto Mon, 12 Jan 2004 12:00:17 +0900 + +cupsys (1.1.20final-8) unstable; urgency=low + + * Fix typo in lpadmin.8.gz (one of Bug#226149). Thanks Dan. + * Unfortunately, I heard cupsys won't stop when upgrading. + I implemented Force-stop routine into postinst (closes: Bug#222464, + Bug#226140). + + -- Kenshi Muto Mon, 5 Jan 2004 21:11:30 +0900 + +cupsys (1.1.20final-7) unstable; urgency=low + + * Argh, I forgot to apply default port patch. + + -- Kenshi Muto Tue, 30 Dec 2003 23:01:29 +0900 + +cupsys (1.1.20final-6) unstable; urgency=low + + * Apply Dutch debconf translation (closes: Bug#225410). Thanks Tim. + * Set default port when any Port/Listen isn't defined (closes: Bug#225208). + + -- Kenshi Muto Tue, 30 Dec 2003 08:57:10 +0900 + +cupsys (1.1.20final-5) unstable; urgency=low + + * Add pdftops.conf into /etc/cups/. This file is symlink to + /etc/xpdf/xpdfrc, and configuration for pdftops tool. + + -- Kenshi Muto Sun, 21 Dec 2003 11:45:38 +0900 + +cupsys (1.1.20final-4) unstable; urgency=low + + * Fix cups* commands don't work (closes: Bug#224585). Thanks Rainer. + + -- Kenshi Muto Sat, 20 Dec 2003 20:52:24 +0900 + +cupsys (1.1.20final-3) unstable; urgency=low + + * Apply patch into lpd.c for true compatible with RFC1179 + (closes: Bug#223432). Thanks Lionel. + * Hmm, PJL patch causes a problem. Since I don't have any PJL + printers, I simply unapply PJL patch and reopen Bug#220611 (closes: + Bug#223748) + + -- Kenshi Muto Fri, 12 Dec 2003 18:32:58 +0900 + +cupsys (1.1.20final-2) unstable; urgency=low + + * Apply PJL patch (closes: Bug#220611). Thanks Zed. + + -- Kenshi Muto Sat, 6 Dec 2003 10:42:37 +0900 + +cupsys (1.1.20final-1) unstable; urgency=low + + * New upstream release + * cupsys set UTF-8 as defaultCharset, but it causes some browsing + problem, and looks don't need indeed. I changed defaultCharset to + invalid value. It will fix French screen (closes: Bug#221904). + * Fix dependency with libgnutls7 by dirty trick. + I hope libgnutls7 maintainer will fix Bug#221309. + + -- Kenshi Muto Tue, 25 Nov 2003 19:17:57 +0900 + +cupsys (1.1.20candidate6-6) unstable; urgency=low + + * Set fixed version into Depends for cupsys, cupsys-client. + + -- Kenshi Muto Mon, 17 Nov 2003 21:35:55 +0900 + +cupsys (1.1.20candidate6-5) unstable; urgency=high + + * I'm sorry but openssl license conflicts. I use libgnutls (closes: Bug#220902). + * Add euc-jp text. + + -- Kenshi Muto Sat, 15 Nov 2003 23:55:06 +0900 + +cupsys (1.1.20candidate6-4) unstable; urgency=low + + * Add French translation (closes: Bug#220805). Thanks, Christian. + * openssl, popular SSL implementation, becomes Debian main, so I think + it is no reason for using libgnutls. I changed depends openssl instead of + libgnutls. + + -- Kenshi Muto Sat, 15 Nov 2003 10:24:38 +0900 + +cupsys (1.1.20candidate6-3) unstable; urgency=low + + * Remove -Wl from configure (closes: Bug#194353) + * Remove /etc/sups/raw.* when purged (closes: Bug#198126) + * Remove always Content-Type charset header. This is test (and ad-hoc) + case. I'll unapply if this patch causes a problem. + * Add Japanese resource. + + -- Kenshi Muto Thu, 13 Nov 2003 23:02:40 +0900 + +cupsys (1.1.20candidate6-2) unstable; urgency=medium + + * Fix FTBFS build error (closes: Bug#220534) + + -- Kenshi Muto Thu, 13 Nov 2003 15:52:00 +0900 + +cupsys (1.1.20candidate6-1) unstable; urgency=low + + * New upstream. + * Rename filter, backend man page (closes: Bug#220500). + + -- Kenshi Muto Wed, 12 Nov 2003 23:41:02 +0900 + +cupsys (1.1.19final-4) unstable; urgency=low + + * "Welcome patch" release. + * Transited packaging system to CDBS. + This release wll be final version for 1.1.19. I'll upload + 1.1.20candidate version at next time. + * libcupsimage2.so.2 links libcupsys.so.2. (closes: Bug#193618) + + -- Kenshi Muto Mon, 10 Nov 2003 10:01:58 +0900 + +cupsys (1.1.19final-3) unstable; urgency=low + + * Fix check routine of Printcap. (closes: Bug#200278) + * Removed "suggests qtcups". (closes: Bug#197267) + + -- Kenshi Muto Fri, 7 Nov 2003 21:43:39 +0900 + +cupsys (1.1.19final-2) unstable; urgency=low + + * lpadmin group included root user, but I didn't understand why it needs. + This may cause security problem, so I remove this process and + remove root from lpadmin group. (closes: Bug#214746) + * Support large file. (closes: Bug#215568) + * Support log rotation. (closes: Bug#200704) + * Force enable PAM (closes: Bug#183211, Bug#181512) + + -- Kenshi Muto Thu, 6 Nov 2003 18:31:02 +0900 + +cupsys (1.1.19final-1.5) unstable; urgency=low + + * New maintainer (acknowledged from Jeff Licquia). + Thanks Jeff! + * Changed templates.* to po-debconf style (closes: Bug#199236). + * Added Japanese debconf translation (closes: Bug#202273). + + -- Kenshi Muto Thu, 6 Nov 2003 09:50:29 +0900 + +cupsys (1.1.19final-1.4) unstable; urgency=low + + * Non-maintainer upload + * Removed '#include ' line from image.h from the version + in libcupsimage2-dev with debian/image.h.patch (Closes: #200427) + + -- Roland Stigge Thu, 4 Sep 2003 14:04:15 +0200 + +cupsys (1.1.19final-1.3) unstable; urgency=low + + * Non-maintainer upload + * cupsys Replaces: and Conflicts: cupsys-pstoraster (Closes: #206547) + NOTE: the Conflicts: was made versioned (<< 2) not to Conflict + with gs-esp which provides cupsys-pstoraster. + * Build-Depends: libpam0g-dev (new) instead of libpam-dev (removed from + archive) + + -- Roland Stigge Wed, 3 Sep 2003 19:33:09 +0200 + +cupsys (1.1.19final-1.2) unstable; urgency=low + + * NMU. + * Completely remove dependency on libgnutls5-dev. + + -- Robin Verduijn Wed, 27 Aug 2003 18:08:50 -0100 + +cupsys (1.1.19final-1.1) unstable; urgency=low + + * NMU. + * Built against libgnutls7-dev instead of (obsolete) libgnutls5-dev. + Closes: #203059. + + -- Robin Verduijn Tue, 26 Aug 2003 19:28:21 -0100 + +cupsys (1.1.19final-1) unstable; urgency=high + + * New upstream final release. DoS attack fixed; thus the urgency. + * Rebuilt with the latest libpng-dev, and fixed the explicit deps + in the control file. + * Removed rpath statment from output of cups-config --ldflags. + Closes: #194262. + + -- Jeff Licquia Thu, 29 May 2003 20:44:48 -0500 + +cupsys (1.1.19candidate4-1) unstable; urgency=low + + * New upstream release candidate. + * Includes upstream fix to the problem with 100% CPU consumption. + Closes: #189795. + * Added a dh_makeshlibs call for libcupsimage2. + * Made libcupsys2 conflict with cupsys-driver-gimpprint versions + built before the libcupsimage split. Closes: #189175. + * Move /etc/printcap.cups to /var/run/cups/printcap, since it's + generated and non-editable. Also, take care of the /etc/printcap + symlink. Closes: #187954. + * Per suggestion from the KDE project, suggest the kdeprint package + instead of the kdelibs3-cups package. + + -- Jeff Licquia Sat, 10 May 2003 13:05:33 -0500 + +cupsys (1.1.19candidate1-3) unstable; urgency=low + + * Make libcupsys2 conflict with gs-esp versions built before the + libcupsimage split. This is part of the fix for bug 189175. + * Add a dep on libgnutls-dev for libcupsys2-dev. Closes: #190877. + + -- Jeff Licquia Mon, 28 Apr 2003 10:57:03 -0500 + +cupsys (1.1.19candidate1-2) unstable; urgency=low + + * Set Replaces: on cupsys-client to cover the move of the + French man page for cupstestppd. Closes: #189737, #190042. + * Add cupsys-pt and xpp to Suggests for cupsys-client. + Closes: #168399, #170929. + * Added some more example filters: mailto and pstopdf. + Closes: #152001. + * Pass --system to addgroup when adding the lpadmin group. + Closes: #189835. + * Set section for the -dev packages to "libdevel". + * Fix shlibs files for libcupsys2 and libcupsimage2 to reference + the right package versions. Closes: #174391. + + -- Jeff Licquia Tue, 22 Apr 2003 14:27:43 -0500 + +cupsys (1.1.19candidate1-1) unstable; urgency=low + + * New upstream version. I will try to follow upstream's new + release policy by uploading release candidate versions to + unstable. + * Wrote a new GNU TLS patch, which was accepted by upstream. + Re-enable SSL support based on this. + * Based on recent upstream work, wrote a libpaper patch which has + also been accepted upstream. Closes: #60035, #88597, #101591. + * Upstream fix included to allow SLP-only browsing support to work. + Closes: #178380. + * Updated the Spanish debconf template for cupsys-bsd. + Closes: #167171. + * Added cupstestppd to cupsys-client. Closes: #176941. + * Don't respect TMPDIR if we don't have write permissions to that + directory. Closes: #176725. + + -- Jeff Licquia Sat, 12 Apr 2003 14:36:20 -0500 + +cupsys (1.1.18-3) unstable; urgency=low + + * Split libcupsimage into its own package. Closes: #187897. + * Added versioned build-dep on debhelper >= 2. + + -- Jeff Licquia Tue, 8 Apr 2003 02:59:57 -0500 + +cupsys (1.1.18-2) unstable; urgency=high + + * Disable SSL again. Inexplicably, the GNU TLS people put the + OpenSSL compatibility layer under the GPL, not the LGPL. + This forces the effective license on libcupsys2 to GPL, which + I'm not comfortable with. The urgency reflects possible + license conflicts for apps that link to libcupsys2. + Closes: #168056. + * Add a debconf question to ask whether unrecognized + application/octet-stream jobs should be printed as raw jobs. + * Forward-port some of the security fixes from woody. + * Set the default group for lppasswd to "lpadmin", in keeping + with the default in cupsd. Closes: #172842. + * Replaced the conflict with manpages-fr, versioned this time + to allow for easy upgrades. Also added a Replaces entry for + it. + + -- Jeff Licquia Sun, 5 Jan 2003 23:36:50 -0500 + +cupsys (1.1.18-1) unstable; urgency=high + + * New upstream version. This is a security update for problems that + include remote root exploits - thus the urgency. + * Remove the conflict with manpages-fr per reports that the offending + files are now all gone. Closes: #158500. + + -- Jeff Licquia Fri, 20 Dec 2002 03:27:18 -0500 + +cupsys (1.1.16-4) unstable; urgency=low + + * Documentation updates. + * Change the GNU TLS patch to more explicitly control which SSL + library is linked to, and support switching SSL libraries in + the build. By default, the package will not use OpenSSL, so + autobuilders won't accidentally build it that way. + Closes: #167489. + * Add libgnutls-dev to the Dependencies for libcupsys2-dev. + * Set the proper permissions on cupsys-client man pages. + + -- Jeff Licquia Sat, 9 Nov 2002 16:39:54 -0500 + +cupsys (1.1.16-3) unstable; urgency=low + + * Totally nuke all script modifications for dh_installinit; do it + all manually instead. Closes: #166878. + + -- Jeff Licquia Tue, 29 Oct 2002 23:06:20 -0500 + +cupsys (1.1.16-2) unstable; urgency=low + + * Add libpam-dev to Build-Depends. Closes: #166556. + * Update clean target in debian/rules to clean a few more files + that are missed by the Makefiles. + * Remove SFont.cxx and T1Font.cxx from the pdftops Makefile; + these two files aren't needed, and including them would pull + in a build dep on xlibs-dev, which is bad news. Closes: #166716. + * Tell dh_installdocs to not mess with the postinst/prerm, so + the compatibility symlinks aren't created. + + -- Jeff Licquia Tue, 29 Oct 2002 00:45:38 -0500 + +cupsys (1.1.16-1) unstable; urgency=low + + * New upstream version... Closes: #165631. + * ...which includes bugfixes to several BSD utilities to avoid + segfaulting when certain options are misused. Closes: #159597. + * Add upstream patch to scheduler that fixes certain printer + operations in the web interface. + * Re-enabled SSL support using the OpenSSL compatibility library + in libgnutls. Closes: #150600. + * Use our own logic for stopping/restarting cupsd on upgrade, + instead of relying on dh_installinit. Closes: #160345, #164435. + * Make cupsys-client Recommend cupsys-bsd. Closes: #157974. + * Make sure we remove everything in /var/spool/cups on purge. + Closes: #163571. + * Make force-reload send SIGHUP, since policy prefers that mode + of operation. + * Add dependencies for libcupsys2-dev on the image libraries we + need. Closes: #166451. + + -- Jeff Licquia Sat, 26 Oct 2002 19:37:56 -0500 + +cupsys (1.1.15-4) unstable; urgency=low + + * Fix segfault in lp when passing "-q" by itself as the last + option. Closes: #150819. + * Make the switch to libpng3, now that woody is out. + Closes: #156622. + * It seemed that the rastertoepson filter occasionally lost its + cookies under certain circumstances and passed NULL for a field. + Cancel the pending job if that happens. Closes: #147119. + * Remove .cvsignore files. + * Turned browsing back on by default. With no BrowseAddresses set, + no broadcast packets will go out, but cupsd will recognize and + accept incoming packets. Closes: #155574. + + -- Jeff Licquia Tue, 20 Aug 2002 15:51:45 -0500 + +cupsys (1.1.15-3) unstable; urgency=low + + * Reorganized the French man pages so they appear in the proper + packages. + * Declared a Conflict between cupsys-bsd and manpages-fr, as the + latter package includes man pages for lpr, lpq, and lprm. + * Move lpinfo and lpmove utilities to cupsys-client, where they + belong. + * Added patch from upstream that fixes some problems with + Orientation settings made by some PostScript generators. + Closes: #155534. + * Fixed compiler settings for the static and shared versions of + libcupsys2. + + -- Jeff Licquia Sun, 11 Aug 2002 02:45:02 -0500 + +cupsys (1.1.15-2) unstable; urgency=high + + * Removed SSL support again due to license infection problems. + Closes: #154792. + * Removed the preformatted French man pages. + + -- Jeff Licquia Mon, 29 Jul 2002 19:02:21 -0500 + +cupsys (1.1.15-1) unstable; urgency=low + + * New upstream version. + * Removed cupsys-pstoraster (since it's no longer provided in CUPS), + and rely on gs-esp instead for its functionality. + * Enabled SSL support and updated copyright file to reflect license + change. Closes: #150600. + * Applied patch from upstream that causes the cupsd foreground + process to wait until the daemon is ready before exiting. + Also, changed init script to wait on the daemon before continuing. + Closes: #150426. + * Moved /etc/cups/certs to /var/spool/cups/certs. Closes: #144887. + * Split out German and Portugese debconf templates into separate + files, and added French, Russian, and Spanish files. + Closes: #137630, #138068, #142904. + * Make cupsys Recommend smbclient, and handle symlinking smbspool + to /usr/lib/cups/backend/smb if it's available. Closes: #82690. + * Make cupsys Suggest foomatic-bin for cupsomatic, so that + linuxprinting.org PPDs work. Closes: #146655. + * Add examples/filters directory to cupsys and added the contributed + DVI filter to it. Users can copy the filter and config files into + place themselves to get the functionality. Closes: #55013, #136496. + * Fixed a bug where "-" filters are rejected in some cases. + + -- Jeff Licquia Mon, 29 Jul 2002 00:33:00 -0500 + +cupsys (1.1.14-3) unstable; urgency=low + + * Changed libpng dependency to "libpng2 | libpng" to accomodate the + current libpng policy. + * Changed adduser dep so that the proper adduser (that does root) is + available for the postinst. Closes: #133709. + * Removed spaces from init script output. Closes: #133262. + * Set TZ in init script to REALLY fix timezone problem. + Closes: #130676. + + -- Jeff Licquia Sat, 9 Mar 2002 23:48:41 -0500 + +cupsys (1.1.14-2) unstable; urgency=high + + * Remove all the stuff about setting the lpd backend setuid; per + upstream, we don't need it anymore, and it's a security hole. + + -- Jeff Licquia Sun, 17 Feb 2002 18:52:45 -0500 + +cupsys (1.1.14-1) unstable; urgency=high + + * New upstream version. + * Fixes more buffer overflows not covered in the previous patch; + thus the urgency. + + -- Jeff Licquia Wed, 13 Feb 2002 22:40:50 -0500 + +cupsys (1.1.13-2) unstable; urgency=high + + * Fix potentially exploitable buffer overflow in cups/ipp.c. + + -- Jeff Licquia Sat, 9 Feb 2002 21:27:41 -0500 + +cupsys (1.1.13-1) unstable; urgency=low + + * New upstream version. + * Silly me. fopen() returns NULL, not non-NULL, when it fails. :-) + Closes: #130532, #131433. + + -- Jeff Licquia Sat, 2 Feb 2002 16:10:20 -0500 + +cupsys (1.1.12-5) unstable; urgency=low + + * Fix man page references so, e.g., references go from backend(1) to + cups-backend(1). Closes: #126811. + * Oops! Debian has time_t->tm_gmtoff, which is defined to have the + opposite sign of timezone. Is it that way on BSD? Anyway, + reverse the sense of the sign for time_t->tm_gmtoff if we use + that. Closes: #126195. + * Add header for gs_malloc to pstoraster/gscrdp.c, to prevent + problems with implicit declaration on 64-bit systems. + Closes: #126002. + * cgi-bin/admin.c: Be a little bit more paranoid about one's ability + to write to tempfiles. Closes: #122324. + * Enabled OpenSLP support. + * Cleaned up Priorities and Sections. + + -- Jeff Licquia Sun, 20 Jan 2002 02:14:35 -0500 + +cupsys (1.1.12-4) unstable; urgency=low + + * Move cups-lpd man page to cupsys-bsd. Closes: #122311. + * Oops! Lost the patch to allow "cupsaccept", etc. commands. + Closes: #123280. + * Minor change to the init script output. Closes: #121938. + * Changed choose-uri.tmpl to be a little more clear. + Closes: #117376. + * Moved CUPS document root from /usr/share/doc/cupsys to + /usr/share/cups/doc-root, and created a symlink from + /u/s/d/cupsys/online-docs to it. It turns out that serving + files via CUPS from /usr/share/doc is a policy violation. + Closes: #120923. + * Fixed a small problem when upgrading from potato libcupsys1-dev + to current libcupsys2-dev. + + -- Jeff Licquia Mon, 17 Dec 2001 00:58:41 -0500 + +cupsys (1.1.12-3) unstable; urgency=low + + * Fix libcupsys2 shlibs file to provide the proper dependency + information. Closes: #121405. + * Oops! Make sure SSL support isn't built yet. + + -- Jeff Licquia Wed, 28 Nov 2001 11:41:17 -0500 + +cupsys (1.1.12-2) unstable; urgency=low + + * It helps to run autoconf after making a change to the configure + script. :-) CXX=$CC change wasn't propagated, making the build + fail on hppa. + + -- Jeff Licquia Mon, 26 Nov 2001 12:01:58 -0500 + +cupsys (1.1.12-1) unstable; urgency=low + + * New upstream version. Closes: #119162. + * Updated Standards-Version. + * Made cupsys depend on debconf. + * Removed -Wl,rpath from config-scripts/cups-sharedlibs.m4. + * Removed explicit libcupsys dep from cupsys. + * Removed "CXX=$CC" from config-scripts/cups-compiler.m4. + * Removed .SILENT from Makedefs so the build isn't silent anymore. + * On devfs, look in /dev/printers as well as /dev/parallel. + (Do we still need /dev/parallel?) Closes: #114063. + * Changed internal file: device URI type to test:, since (per + upstream) it's not intended for anything other than to test + filters. See bug #115252 or README.Debian for more info. + + -- Jeff Licquia Sun, 25 Nov 2001 11:21:32 -0500 + +cupsys (1.1.10-4) unstable; urgency=low + + * Switched cupsenable and cupsdisable symlinks to always point to + /usr/sbin/accept to prevent them from breaking when files move + around (as they did recently). Closes: #114006. + * It turns out that libcupsys needs to make temp files in + /var/spool/cups/tmp, so that dir needs to be in the package. + Closes: #115154. + * Related to the above, when creating temp files, don't loop when + the open fails unless the return value is EEXIST. Thanks to Brian + Ristuccia for the suggestion. + * Honor the DEB_BUILD_OPTTIONS "debug" setting. + * Per policy, make sure we build with -D_REENTRANT. + * Don't remove /var/spool/cups in the cupsys postrm when purging. + * Added German description to template. Closes: #113604. + * Added Portuguese description to cupsys-bsd template. + Closes: #106131. + + -- Jeff Licquia Thu, 18 Oct 2001 23:07:34 -0500 + +cupsys (1.1.10-3) unstable; urgency=low + + * Scale back a bit on aggressiveness on purging cupsys, as it can + cause us to remove the cupsys-client conffile. + * It turns out that client.conf is parsed by libcupsys2, not + cupsys-client, so it needs to switch packages. + * Changed PAM code so it attempts to open the "cupsys" PAM config + file, instead of the "cups" one. Not sure how this broke again. + Closes: #110651. + * Per request, implemented the "reload" option in the init script. + + -- Jeff Licquia Wed, 19 Sep 2001 21:53:48 -0500 + +cupsys (1.1.10-2) unstable; urgency=low + + * Added Conflicts: on cupsys-pstoraster with older cupsys packages + because of moved files. Closes: #106107. + * Fixed bug concerning update-inetd handling; it was removing the + inetd entry for the lpd server in cupsys-bsd with every upgrade. + Closes: #109298. + + -- Jeff Licquia Thu, 30 Aug 2001 23:14:08 -0500 + +cupsys (1.1.10-1) unstable; urgency=low + + * New upstream version - with Makefile oops fixed (1.1.10-1 + upstream). + * Fixed lpadmin group creation so NIS-style lpadmin group is + recognized. Closes: #78895, #107744. + * Replaced kups with kdelibs3-cups in Suggests: lines, and + reorganized Suggests line. Closes: #109695. + * Moved Suggests for all add-on clients to cupsys-client. + * Fixed purge so /etc/cups is completely cleaned out. + Closes: #108488. + * Moved filter and backend man pages to cups-filter and + cups-backend to avoid conflicts with other packages. + Closes: #107629. + * Made the lpd backend non-setuid, and created a low-priority + debconf question to handle the few who really need it setuid. + Closes: #77617. + * Altered cupsys-bsd postinst; always remove any inetd lines when + removing the package (we'll put it back later if we're just + upgrading). + + -- Jeff Licquia Tue, 28 Aug 2001 00:43:36 -0500 + +cupsys (1.1.9-1.1) unstable; urgency=low + + * NMU + * Fix gcc 3.0/hppa build problems. Closes: #104620, #105308. + + -- LaMont Jones Wed, 15 Aug 2001 19:28:23 -0600 + +cupsys (1.1.9-1) unstable; urgency=low + + * Return of the Maintainer. :-) + * New upstream version. + * Added dep on adduser (fixed bug #105382). + + -- Jeff Licquia Mon, 30 Jul 2001 00:28:47 -0500 + +cupsys (1.1.8-0.1) unstable; urgency=low + + * Non-maintainer upload. + * i think anyone who wants cupsys in woody will be happy by this nmu + * New upstream release (Closes: #80895, #100156, #94364) + * With the new upstream release the problem with cgi-bin + has been fixed + (Closes: #96055, #98264, #96530, #96055, #99914, #100707, #103095) + * Added cupsys-pstoraster package. + * Added the LOGDIR option to install rule (Closes: #94502) + * Suggests cupsys-driver-gimpprint | cupsomatic-ppd (Closes: #99146) + * Moved to DH_COMPAT=2 + * Added a pointer to http://localhost:631/admin to README.Debian + (Closes: #97964) + * Removed the extra from cupsd.conf (Closes: #96012) + * Not installing copyright for libcupsys2-dev, it will have a link + pointing to libcupsys2 anyways (Closes: #94504) + * Removed maintainer postinst and prerm scripts from cupsys-client + and libcupsys2-dev, by purging either of them you would have + removed your cups documentation. + * added German translation of debconf template to cupsys-bsd + by Sebastian Feltel (Closes: #101467, #100901) + * changed rm -f to rm -rf from cupsys-bsd prerm, and removed the link + handling for /usr/doc, let debhelper worry about that. + (Closes: #94539, #100501, #102669) + + -- Sami Haahtinen Thu, 5 Jul 2001 16:04:42 +0300 + +cupsys (1.1.6-0.1) unstable; urgency=low + + * Non-maintainer upload + * New upstream release, fixing multiple vulnerabilities (Closes: Bug#88932) + * cupsys removes only its own configuration files upon purge (Closes: Bug#84341) + * fixed postinst, so it does not fail when the lpadmin group + already exists (Closes: Bug#84443) + * added a helpful URL to README.Debian (Closes: Bug#63590) + * Suggests gtklp | kups | qtcups (Closes: Bug#82974) + + -- Gergely Nagy <8@free.bsd.hu> Sat, 14 Apr 2001 18:05:23 +0200 + +cupsys (1.1.4-3) unstable; urgency=low + + * Fixed PAM module name confusion (closes bugs #76457, #77114). + * Fixed broken deps w.r.t. cupsys-client Replacing older cupsys + versions (closes bug #75241). + * Fixed broken deps surrounding cupsys-dev (closes bug #75242). + * My shlibs file was badly broken; it referred to the cupsys package + instead of the libcupsys2 package (closes bug #78485). + * Fixed problem with upgrading; --oknodo wasn't passed to + start-stop-daemon, causing the prerm to fail if cupsd wasn't running + (closes bug #70698). + + -- Jeff Licquia Sun, 3 Dec 2000 22:45:29 -0500 + +cupsys (1.1.4-2) unstable; urgency=high + + * Fix misconfiguration in default config; cupsd now refuses connections + to printers and printer classes from all hosts except localhost by + default. The previous default was to allow all hosts to connect to + all printers - not a terribly secure default. :-) + + -- Jeff Licquia Sat, 18 Nov 2000 00:55:48 -0500 + +cupsys (1.0.4-8) stable; urgency=high + + * Security fix: the default configuration now no longer allows people + to connect to printers except from localhost. The previous default + configuration allowed anyone to connect to any printer from any + location; not a smart security move. + + -- Jeff Licquia Sat, 18 Nov 2000 00:37:06 -0500 + +cupsys (1.1.4-1) unstable; urgency=low + + * New upstream version. + * Fixed SystemGroup to point to lpadmin again (closes bug #72155). + + -- Jeff Licquia Sun, 15 Oct 2000 20:36:01 -0500 + +cupsys (1.1.2-4) unstable; urgency=low + + * The scheduler will now accept up to 128 characters for a password + (closes bug #70946). + + -- Jeff Licquia Sun, 15 Oct 2000 14:54:31 -0500 + +cupsys (1.1.2-3) unstable; urgency=low + + * Re-add ppd directory to build (when did it drop out?) (closes bug + #70448). + + -- Jeff Licquia Mon, 28 Aug 2000 20:14:51 -0500 + +cupsys (1.1.2-2) unstable; urgency=low + + * Added debhelper to build deps (closes bug #69677). + * Fixed PAM configuration file (closes bug #69787). + + -- Jeff Licquia Thu, 24 Aug 2000 11:40:56 -0500 + +cupsys (1.1.2-1) unstable; urgency=low + + * Another new upstream version. + * More build fixes. + + -- Jeff Licquia Sat, 19 Aug 2000 17:15:34 -0500 + +cupsys (1.1.1-1) unstable; urgency=low + + * New upstream version - non-beta this time. + * Fixed up build process to reflect upstream changes. + * Removed lots of Debian-specific stuff that isn't needed anymore. + + -- Jeff Licquia Mon, 7 Aug 2000 20:27:29 -0500 + +cupsys (1.1.0-0b3d1) unstable; urgency=low + + * New upstream version. + * Daemon 'cups-lpd' (new to this version) added to cupsys-bsd, with + appropriate update-inetd calls, so cupsys-bsd is now a complete + replacement for lpr. + + -- Jeff Licquia Sun, 14 May 2000 00:08:23 -0500 + +cupsys (1.0.4-7) frozen unstable; urgency=high + + * Additional DoS fixes, included in Easy Software Products' patch for + the bug below. As these are DoS bugs, I HIGHLY recommend including + this in potato. + + -- Jeff Licquia Sun, 18 Jun 2000 22:39:01 -0500 + +cupsys (1.0.4-6) frozen unstable; urgency=high + + * Fixed denial-of-service bug; POSTing non-IPP data would cause the + server to crash. Closes bug #65576 (severity: critical). + + -- Jeff Licquia Tue, 13 Jun 2000 22:04:40 -0500 + +cupsys (1.0.4-5) frozen unstable; urgency=low + + * Backported 1.0.5 bugfix: adding a printer would fail if + /usr/share/cups were mounted on a different partition than /etc/cups. + Closes bug #62267 (severity: grave). + + -- Jeff Licquia Thu, 13 Apr 2000 23:09:40 -0500 + +cupsys (1.0.4-4) frozen unstable; urgency=low + + * Makefile in conf was attempting to remove /etc/printcap during build, and + fails to build if this fails (which it will under fakeroot); disabled + this. Closes bug #60455 (severity: important). + + -- Jeff Licquia Wed, 15 Mar 2000 12:34:20 -0600 + +cupsys (1.0.4-3) frozen unstable; urgency=low + + * Oops - ppd directory move fails in preinst if /var/lib/cups/ppd is + empty. Reported as bug #59993, fixed. + * Missed the library Build-Depends. Closes bug #60090. + * Postrm during purge now removes /etc/cups properly. + * Documentation updates. + + -- Jeff Licquia Fri, 10 Mar 2000 22:59:07 -0600 + +cupsys (1.0.4-2) frozen unstable; urgency=low + + * Fixed documentation corruption in HTML docs (closes bug #59063). + * Moved /var/lib/cups/ppd/* config files (printer definitions) to + /etc/cups/ppd (closes bug #59263). + * Fixed shlibs for libcupsys1 (erroneous information) preventing + packages that link to it from depending properly. + * Changed default for browsing to Off to keep cupsd from probing the + local network continuously (closes bug #59277). + + -- Jeff Licquia Sat, 4 Mar 2000 18:23:01 -0600 + +cupsys (1.0.4-1) unstable; urgency=low + + * New upstream version. + * Changed policy version & tweaked for conformance. + * Fixed symlinks for cupsys-bsd, including /usr/doc symlinks. + * Reverted lp -h hack in favor of upstream fix. + + -- Jeff Licquia Sun, 9 Jan 2000 23:25:06 -0600 + +cupsys (1.0.2-2) unstable; urgency=low + + * Added quick hack to allow for -h option to lp (closes bug #52050). + * Set the lpd backend suid after quick audit; it doesn't appear to have + any egregious errors (closes part of bug #52381). + * Move /var/lib/cups/conf files to /etc/cups, with a symlink in place of + the old location (closes bug #52318). + * Added "Authentication failed" message when authorizing after the first + auth failure (which is likely before the first password request) + (closes rest of bug #50264). + * Made cupsys-bsd doc dir a symlink to the cupsys doc files, per policy + section 6.6 (closes bug #51958). + * Symlinked /var/lib/cups/logs to /var/log/cups (closes bug #51957). + + -- Jeff Licquia Mon, 13 Dec 1999 02:12:40 -0600 + +cupsys (1.0.2-1) unstable; urgency=low + + * New upstream version. + * Conflict with lprng, since lprng includes some SysV printing commands + (closes bug #50539). + * Added "cupsenable", "cupsdisable", "cupsaccept", and "cupsreject" + commands as part of an ongoing effort to reduce namespace pollution. + (addresses part of bug #50661 and #50384) + * Set both the default user and group to "lp" (for permissions fixes). + * Created "lpadmin" group and set SystemGroup to this. This will + fix problems with CUPS not being usable initially. As soon as + bug #50620 gets fixed, I'll set up to add root to the group, which + will make root able to configure CUPS immediately after installation. + + -- Jeff Licquia Mon, 29 Nov 1999 00:16:44 -0600 + +cupsys (1.0.1-3) unstable; urgency=low + + * Fixed wrong symlinks. (closes bug #50279) + * Stopped compression of .pdf files; they didn't gain much, broke + the links in the HTML, and generally caused confusion. (closes + part of bug #50264) + + -- Jeff Licquia Mon, 15 Nov 1999 22:28:56 -0600 + +cupsys (1.0.1-2) unstable; urgency=low + + * cupsys-bsd should conflict with lpr, not "lpd" (whatever that is) + (closes #50047) + + * Changed priority to "extra". + + -- Jeff Licquia Fri, 12 Nov 1999 22:24:15 -0600 + +cupsys (1.0.1-1) unstable; urgency=low + + * Initial Release. + + -- Jeff Licquia Sun, 6 Nov 1999 20:58:02 -0500 + +Local variables: +mode: debian-changelog +End: --- cups-1.3.9.orig/debian/HOWTO_BUGREPORT.txt +++ cups-1.3.9/debian/HOWTO_BUGREPORT.txt @@ -0,0 +1,28 @@ +Debian users, + +For making clear your printing problem, I need some information. + +1. Please describe your CUPS version/revision. This will be written + automatically if you use Debian bug system tools. +2. Please describe Your printer vendor and model, and how to connect (usb, + parallel, serial, lpd, ipp, http, socket, smb). +3. Please attach your /etc/cups/printers.conf (only about problematic printer) +4. Set LogLeveld as "debug" in your /etc/cups/cupsd.conf and reload by + /etc/init.d/cups reload. After you do something causes a problem, + please attach gzippped your /var/log/cups/error_log. +5. Please attach gzipped PPD file in /etc/cups/ppd/. + +Before you report... +1. If you use gs as filter, please check /usr/bin/gs indicates gs-esp. + gs-gnu doesn't support some drivers. If gs indicates gs-gnu, please + change by 'update-alternatives --config gs'. +2. Please don't set severity to 'grave' or 'critical' if you couldn't success + to print out. I usually test by my printer, then upload. (it means at + least I can success to print out) + I promise to look over your report. Please use 'important' for + "I can't print out by my printer!". + +Thanks, +-- +Kenshi Muto +kmuto@debian.org --- cups-1.3.9.orig/debian/libcups2.postinst +++ cups-1.3.9/debian/libcups2.postinst @@ -0,0 +1,45 @@ +#! /bin/sh +# postinst script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/cups.pam +++ cups-1.3.9/debian/cups.pam @@ -0,0 +1,3 @@ +@include common-auth +@include common-account +@include common-session --- cups-1.3.9.orig/debian/cups.init.d +++ cups-1.3.9/debian/cups.init.d @@ -0,0 +1,102 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: cups +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $network avahi +# Should-Stop: $network +# X-Start-Before: samba +# X-Stop-After: samba +# Default-Start: 2 3 4 5 +# Default-Stop: 1 +# Short-Description: CUPS Printing spooler and server +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/cupsd +NAME=cupsd +PIDFILE=/var/run/cups/$NAME.pid +DESC="Common Unix Printing System" + +unset TMPDIR + +test -x $DAEMON || exit 0 + +if [ -r /etc/default/cups ]; then + . /etc/default/cups +fi + +. /lib/lsb/init-functions + +# Get the timezone set. +if [ -z "$TZ" -a -e /etc/timezone ]; then + TZ=`cat /etc/timezone` + export TZ +fi + +restart_xprint() { + if [ -n "$success" ] && [ -x /etc/init.d/xprint ]; then + invoke-rc.d xprint force-reload || true + fi +} + +case "$1" in + start) + log_begin_msg "Starting $DESC: $NAME" + chown root:lpadmin /usr/share/ppd/custom 2>/dev/null || true + chmod 3775 /usr/share/ppd/custom 2>/dev/null || true + + mkdir -p `dirname "$PIDFILE"` + if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \ + -a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe ]; then + modprobe -q lp || true + modprobe -q ppdev || true + fi + + start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON && success=1 + + log_end_msg $? + restart_xprint + ;; + stop) + log_begin_msg "Stopping $DESC: $NAME" + start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile $PIDFILE --name $NAME && success=1 + log_end_msg $? + restart_xprint + ;; + reload|force-reload) + log_begin_msg "Reloading $DESC: $NAME" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --name $NAME --signal 1 && success=1 + log_end_msg $? + restart_xprint + ;; + restart) + log_begin_msg "Restarting $DESC: $NAME" + if start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile $PIDFILE --name $NAME; then + start-stop-daemon --start --quiet --pidfile "$PIDFILE" --exec $DAEMON && success=1 + fi + log_end_msg $? + restart_xprint + ;; + status) + echo -n "Status of $DESC: " + if [ ! -r "$PIDFILE" ]; then + echo "$NAME is not running." + exit 3 + fi + if read pid < "$PIDFILE" && ps -p "$pid" > /dev/null 2>&1; then + echo "$NAME is running." + exit 0 + else + echo "$NAME is not running but $PIDFILE exists." + exit 1 + fi + ;; + *) + N=/etc/init.d/${0##*/} + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- cups-1.3.9.orig/debian/cups.prerm +++ cups-1.3.9/debian/cups.prerm @@ -0,0 +1,47 @@ +#! /bin/sh +# prerm script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + (cd /usr/lib/cups/backend && rm -f http ipp lpd parallel scsi serial socket usb snmp dnssd) + if [ -L /usr/share/ppd/1-local-admin ]; then + rm -f /usr/share/ppd/1-local-admin + fi + if [ -L /usr/share/ppd/2-third-party ]; then + rm -f /usr/share/ppd/2-third-party + fi + ;; + upgrade|deconfigure) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/libcupsimage2.install +++ cups-1.3.9/debian/libcupsimage2.install @@ -0,0 +1 @@ +usr/lib/libcupsimage.so.* --- cups-1.3.9.orig/debian/libcups2.dirs +++ cups-1.3.9/debian/libcups2.dirs @@ -0,0 +1,2 @@ +var/spool/cups/tmp +etc/cups --- cups-1.3.9.orig/debian/libcups2-dev.install +++ cups-1.3.9/debian/libcups2-dev.install @@ -0,0 +1,18 @@ +usr/bin/cups-config +usr/lib/libcups.so +usr/lib/libcups.a +usr/include/cups/array.h +usr/include/cups/backend.h +usr/include/cups/cups.h +usr/include/cups/dir.h +usr/include/cups/file.h +usr/include/cups/http.h +usr/include/cups/ipp.h +usr/include/cups/language.h +usr/include/cups/ppd.h +usr/include/cups/sidechannel.h +usr/include/cups/transcode.h +usr/include/cups/adminutil.h +../../cups/i18n.h usr/include/cups +usr/share/man/man1/cups-config.1.gz +usr/share/man/*/man1/cups-config.1.gz --- cups-1.3.9.orig/debian/libcups2.install +++ cups-1.3.9/debian/libcups2.install @@ -0,0 +1 @@ +usr/lib/libcups.so.* --- cups-1.3.9.orig/debian/cups.lintian-overrides +++ cups-1.3.9/debian/cups.lintian-overrides @@ -0,0 +1,4 @@ +cups: executable-is-not-world-readable usr/lib/cups/backend-available/ipp 0700 != 0755 +cups: executable-is-not-world-readable usr/lib/cups/backend-available/lpd 0700 != 0755 +cups: package-contains-empty-directory usr/share/ppd/custom/ +cups: package-contains-empty-directory usr/lib/cups/backend/ --- cups-1.3.9.orig/debian/cups.templates +++ cups-1.3.9/debian/cups.templates @@ -0,0 +1,31 @@ +# These templates have been reviewed by debian-l10n-english +# Please do not modify them without asking for a review + +Template: cupsys/raw-print +Type: boolean +Default: true +_Description: Do you want CUPS to print unknown jobs as raw jobs? + The Internet Printing Protocol (IPP) enforces a MIME type for all + print jobs. Since not all sources of print jobs can attach an + appropriate type, many jobs get submitted as the MIME type + application/octet-stream and could be rejected if CUPS cannot guess + the job's format. + . + CUPS can handle all such jobs as "raw" jobs, which causes them to be + sent directly to the printer without processing. + . + It is recommended to choose this option if the server will be + accepting print jobs from Windows computers or Samba servers. + +Template: cupsys/backend +Type: multiselect +__Choices: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd +Default: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd +_Description: Printer communication backends: + CUPS uses backend programs to communicate with the printer device or port. + . + Unfortunately, some backend programs are likely to cause some trouble. + For example, some PPC kernels crash with the parallel backend. + . + Please choose the backend program to be used by CUPS. The default choice + should fit the most common environments. --- cups-1.3.9.orig/debian/cups-client.preinst +++ cups-1.3.9/debian/cups-client.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for cups-client +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in + install) + ;; + + upgrade) + if [ ! -L /usr/share/doc/cups-client ]; then + rm -rf /usr/share/doc/cups-client + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/libcupsimage2-dev.preinst +++ cups-1.3.9/debian/libcupsimage2-dev.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for libcupsimage2-dev +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in + install) + ;; + + upgrade) + if [ ! -L /usr/share/doc/libcupsimage2-dev ]; then + rm -rf /usr/share/doc/libcupsimage2-dev + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/libcupsimage2.shlibs +++ cups-1.3.9/debian/libcupsimage2.shlibs @@ -0,0 +1 @@ +libcupsimage 2 libcupsimage2 (>= 1.3.8) --- cups-1.3.9.orig/debian/libcups2.examples +++ cups-1.3.9/debian/libcups2.examples @@ -0,0 +1 @@ +debian/client.conf --- cups-1.3.9.orig/debian/control +++ cups-1.3.9/debian/control @@ -0,0 +1,267 @@ +Source: cups +Priority: optional +Section: net +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian CUPS Maintainers +Standards-Version: 3.8.0 +Build-Depends: libpam0g-dev, libtiff4-dev, libjpeg62-dev, zlib1g-dev, + libpng12-dev, libslp-dev, libgnutls-dev, libpaper-dev, libldap2-dev, + debhelper (>= 5.0), po-debconf, cdbs (>= 0.4.27), sharutils, + dpatch (>= 1.11), libdbus-1-dev, libkrb5-dev | heimdal-dev, + libavahi-compat-libdnssd-dev, libpoppler-dev, poppler-utils | xpdf-utils, + lsb-release, po4a (>= 0.31), autotools-dev, autoconf, automake, libtool, + libijs-dev, hardening-wrapper +Uploaders: Kenshi Muto , + Martin Pitt , Roger Leigh , + Martin-Éric Racine , Masayuki Hatta (mhatta) , + Jeff Licquia +Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~ubuntu-core-dev/cups/intrepid +Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-core-dev/cups/intrepid + +Package: libcups2 +Priority: optional +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Suggests: cups-common +Conflicts: libcupsys2 (<< 1.3.7-6) +Replaces: libcupsys2 (<< 1.3.7-6) +Provides: libcupsys2 +Description: Common UNIX Printing System(tm) - libs + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the base shared libraries for CUPS. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: libcupsimage2 +Priority: optional +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Common UNIX Printing System(tm) - image libs + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the image libraries for handling the CUPS + raster format. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: cups +Priority: optional +Section: net +Architecture: any +Depends: ${shlibs:Depends}, debconf (>= 1.2.9) | debconf-2.0, + poppler-utils | xpdf-utils, perl-modules, procps, + ghostscript, lsb-base (>= 3), cups-common, + ssl-cert (>= 1.0.11), adduser, bc +Recommends: cups-client, smbclient (>= 3.0.9), foomatic-filters, avahi-utils, ttf-freefont | gsfonts-x11 +Suggests: cups-bsd, cups-driver-gutenprint, foomatic-db-engine, foomatic-db, + hplip, xpdf-korean | xpdf-japanese | xpdf-chinese-traditional | xpdf-chinese-simplified, + cups-pdf +Replaces: cupsys-bsd (<< 1.3.7-5), cupsys (<< 1.3.7-6) +Conflicts: cupsys-bsd (<< 1.3.7-5), cupsys (<< 1.3.7-6) +Provides: cupsys +Description: Common UNIX Printing System(tm) - server + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the CUPS scheduler/daemon and related files. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: cups-client +Priority: optional +Section: net +Architecture: any +Depends: ${shlibs:Depends}, cups-common, adduser +Suggests: cups, kdeprint, gtklp, cups-pt, xpp, cups-bsd +Conflicts: lprng, cupsys-client (<< 1.3.7-6) +Replaces: cupsys-client (<< 1.3.7-6) +Provides: cupsys-client +Description: Common UNIX Printing System(tm) - client programs (SysV) + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the System V style print client programs. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: libcups2-dev +Priority: optional +Section: libdevel +Architecture: any +Depends: libcups2 (= ${binary:Version}), libgnutls-dev, libkrb5-dev | heimdal-dev +Conflicts: libcupsys2-dev (<< 1.3.7-6) +Replaces: libcupsys2-dev (<< 1.3.7-6) +Provides: libcupsys2-dev +Description: Common UNIX Printing System(tm) - development files + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the files necessary for developing CUPS-aware + applications and CUPS drivers, as well as examples how to communicate + with cups from different programming languages (Perl, Java, and + PHP). + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: libcupsimage2-dev +Priority: optional +Section: libdevel +Architecture: any +Depends: libcupsimage2 (= ${binary:Version}), libcups2-dev (= ${binary:Version}), + libpng-dev, libtiff4-dev, libjpeg62-dev, zlib1g-dev +Description: Common UNIX Printing System(tm) - image development files + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the files necessary for developing applications + that use the CUPS raster image format. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: cups-bsd +Priority: extra +Section: net +Architecture: any +Depends: ${shlibs:Depends}, cups-client (= ${binary:Version}), + debconf | debconf-2.0, update-inetd, cups-common +Recommends: cups +Conflicts: lpr, lprng, cupsys-bsd (<< 1.3.7-6) +Replaces: lpr, cupsys-bsd (<< 1.3.7-6) +Provides: lpr, cupsys-bsd +Description: Common UNIX Printing System(tm) - BSD commands + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpr, lpd and the like. It supports the + Internet Printing Protocol (IPP), and has its own filtering driver + model for handling various document types. + . + This package provides the BSD commands for interacting with CUPS. It + is provided separately to allow CUPS to coexist with other printing + systems (to a small degree). + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: cups-common +Priority: optional +Section: net +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: cupsys-common (<< 1.3.7-6) +Replaces: cupsys-common (<< 1.3.7-6) +Provides: cupsys-common +Description: Common UNIX Printing System(tm) - common files + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides common files for CUPS server and client packages. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: cups-dbg +Priority: extra +Section: libdevel +Architecture: any +Depends: cups (= ${binary:Version}) +Conflicts: cupsys-dbg (<< 1.3.7-6) +Replaces: cupsys-dbg (<< 1.3.7-6) +Description: Common UNIX Printing System(tm) - debugging symbols + The Common UNIX Printing System (or CUPS(tm)) is a printing system and + general replacement for lpd and the like. It supports the Internet + Printing Protocol (IPP), and has its own filtering driver model for + handling various document types. + . + This package provides the debugging symbols of CUPS. + . + The terms "Common UNIX Printing System" and "CUPS" are trademarks of + Easy Software Products (www.easysw.com), and refer to the original + source packages from which these packages are made. + +Package: cupsys +Priority: extra +Section: oldlibs +Architecture: all +Depends: cups +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. + +Package: cupsys-client +Priority: extra +Section: oldlibs +Architecture: all +Depends: cups-client +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. + +Package: cupsys-common +Priority: extra +Section: oldlibs +Architecture: all +Depends: cups-common +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. + +Package: cupsys-bsd +Priority: extra +Section: oldlibs +Architecture: all +Depends: cups-bsd +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. + +Package: cupsys-dbg +Priority: extra +Section: oldlibs +Architecture: all +Depends: cups-dbg +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. + +Package: libcupsys2 +Priority: extra +Section: oldlibs +Architecture: all +Depends: libcups2 +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. + +Package: libcupsys2-dev +Priority: extra +Section: oldlibs +Architecture: all +Depends: libcups2-dev +Description: Common UNIX Printing System (transitional package) + This is a dummy package to ease transition to new package name. --- cups-1.3.9.orig/debian/suid +++ cups-1.3.9/debian/suid @@ -0,0 +1 @@ +usr/lib/cups/backend/lpd --- cups-1.3.9.orig/debian/cups-bsd.config +++ cups-1.3.9/debian/cups-bsd.config @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Debconf library +. /usr/share/debconf/confmodule + +db_input medium cups-bsd/setuplpd || true +db_go --- cups-1.3.9.orig/debian/README.Debian +++ cups-1.3.9/debian/README.Debian @@ -0,0 +1,244 @@ +cups for Debian +---------------------- + +If you found a problem, please read HOWTO_BUGREPORT.txt and report me +via Debian Bug Tracking System. +-- +Kenshi Muto +kmuto@debian.org + +--------- +This package contains the Common UNIX Printing System(tm), or CUPS(tm) +for short. CUPS is a new printing system for Unix that acts as a +substitute for System V or BSD printing systems; it supports a more +comprehensive driver model, more protocols, and Web administration, +among other things. Internally, CUPS uses the new Internet Printing +Protocol (IPP) described in RFCs 2565 through 2569. + +The terms "CUPS" and "Common UNIX Printing System" are trademarks of +Easy Software Products, the author of the system. This package is a +derivative of the CUPS system, modified for Debian and possibly +containing modifications and fixes that are not present in the +standard CUPS package. For a comprehensive list of changes from the +original source, see the diff file from the source package. For more +information about the legal stuff surrounding this package, see the +Debian copyright file or the CUPS Web site (www.cups.org). + +After installation, CUPS is pretty close to being ready to go. The +last step is to add administrative access; the "lpadmin" group has +been created and granted administrative rights to CUPS. You may need +to add users to this group in order to add printers, modify settings, +etc. By default, the root user has been granted this permission, but +you should only use the root user on the local system. + +The printers can be added with either the lpadmin program or the web +interface, which is located at http://localhost:631/admin by default. + +Backend Configuration +--------------------- + +CUPS supports serial, parallel, USB, SCSI, IPP, HTTP, Socket and Samba +for its backend. But unfortunately, some backends cause a trouble. +For example, serial backend confuses and won't stop when non printer +device connects serial port. Parallel backend is more terrible for PPC, +it may cause kernel crash (kernel bug, sigh). +So, CUPS setting puts serial and SCSI off from backend by default. And +if you use PPC, parallel backend is off also. + +If you want to use these backends, you can configure by using +'dpkg-reconfigure cups'. + +SSL Support +----------- + +CUPS supports SSL via the OpenSSL toolkit, but licensing conflicts +between OpenSSL's license and the GPL make this combination difficult +to use, even though the CUPS license itself allows this. A competing +library, GNU TLS, has an OpenSSL compatibility layer that could work +with these packages, but the compatibility library is licensed under +the GNU GPL, which could conflict with the license of certain programs +that support CUPS. Therefore, the cups packages as shipped do not +support SSL. + +It is possible to build the packages yourself with SSL support. You +can either use the OpenSSL libraries or GNU TLS's OpenSSL +compatibility library. Just set an environment variable: +"CUPS_OPENSSL" for OpenSSL support, or "CUPS_GNUTLS" for GNU TLS +support, and make sure you have the proper development packages +installed (libssl-dev for OpenSSL or libgnutls7-dev for GNU TLS). + +PLEASE NOTE: If you build packages with SSL support and distribute +them, you are responsible for making sure you do not violate the +licenses of any of the software you distribute. + +Important Security Notes +------------------------ + + - By default, cups is configured to only allow connections to + printers from localhost, effectively disabling network printing. + The previous default was to allow anyone to connect to printers + from any location. You can change these defaults by editing + /etc/cups/cupsd.conf; the access controls are at the end of the + file. Be sure you only allow access from the locations you trust, + or require authentication. + + - CUPS used to support a file backend that was handled internally by + cupsd. This was only intended to be used for testing filters, and + not in production use, as it can be a security risk and will drop + jobs under certain circumstances. In keeping with that, the file + "backend" has been renamed to "test", and the lpadmin command no + longer rewrites bare path URIs (either to "file:" or "test:"). If + you need a backend that dumps a completed job to a file on the + filesystem, you should write a separate backend and put it in + /usr/lib/cups/backend. See the CUPS documentation for information + on how to do this. + + - To relieve the burden of local authentication somewhat, CUPS uses + special tokens called "certs" that are passed between client and + server. In normal CUPS installations, these are stored in + /etc/cups/certs. However, this location violates Debian policy, as + the certs are generated and not available to edit. Thus, the real + certs are now stored in /var/spool/cups/certs, with a symlink at + /etc/cups/certs for compatibility. + +Drivers +------- + +The CUPS software includes generic drivers for several brands of +printers. At the moment, this includes HP LaserJets and DeskJets, +various Epson and Okidata printers, and Dymo label printers. + +There are also other packages containing CUPS printer drivers. If any +of those were written explicitly for your printer, chances are that it +will support your printer better than the generic drivers that ship +with CUPS. I try to keep the package Suggestions current regarding +popular CUPS driver packages; to see this list, run this command: + + apt-cache show cups | grep Suggests + +PostScript printers often ship with PPD files supplied by the printer +manufacturer. Any valid PPD for a PostScript printer is a valid CUPS +driver. To enable them for use with CUPS, copy the PPDs into +/usr/share/cups/model; they should then be available for use with +lpadmin -m and the Web interface for adding printers. + +If you find a CUPS driver that isn't packaged for Debian and you'd +like it to be, you can contact me and let me know where the driver is, +and I'll get to it as soon as I can. + +Or, you can package them yourself. See below for details. + +Packaging +--------- + +There are five packages provided by CUPS: the server, the primary +command-line client programs, the BSD client and server compatibility +programs, and the library and development packages. + +The CUPS BSD commands and cups-lpd daemon are separated into their own +package (cups-bsd); the hope is to make it possible to run CUPS and +some other BSD-style printing system (such as lpr) side-by-side for +testing purposes. If you encounter any trouble doing this, file a +bug. It's known that CUPS conflicts with LPRng, since LPRng provides +some System V printing commands as well; this problem will (hopefully) +be dealt with in time. + +Add-ons for CUPS (such as drivers, backends, clients, etc.) should +depend on the proper packages. If your package is CUPS-specific, you +should name it so it can be easily identified as a CUPS package, with +names such as: + + cups-driver-foo (for a driver for Foo printers) + cups-backend-bar (for a backend to print to Bar printers) + cups-client-baz (for a client module to hook Baz into CUPS) + +If you feel your driver/backend/client/whatever package is popular +enough that most CUPS users would be interested in it, please file a +wishlist bug against cups requesting that it be added to the +Suggests line for cups. + +Other Add-Ons +------------- + +I'm also collecting add-ons - filters, backends, etc. - and putting +them in the "examples" directory with the rest of the cups package +documentation files. Check there for some interesting filters and +backends. + +To install a filter from the filters directory, copy the filter itself +into /usr/lib/cups/filter and the associated .types and .convs files +into /etc/cups. Then restart cupsd, and you should be ready to use +it. + +If you have a filter or backend you'd like to contribute, but don't +think it's big enough to warrant its own package, file a wishlist bug +and attach your script. If it's a filter, send along a .convs and +.types file as well. + +Integration with Samba +---------------------- + +It is possible to configure Samba to share CUPS printers to Microsoft +clients. There are two ways to do this: + +1. Recent versions of Samba have direct CUPS support, including +Debian's. With this present, you can configure Samba as follows: + +[global] + printing = cups + printcap name = cups + +2. If, for some reason, you don't want to use Samba's native CUPS +support, you can configure Samba to use System V printing. This can +be done by adding the following information to Samba's smb.conf +(/etc/samba/smb.conf on Debian): + +[global] + printing = sysv + printcap name = lpstat + +[printers] + lpq command = /usr/bin/lpstat %p + lprm command = /usr/bin/cancel %p-%j + print command = /usr/bin/lp -d%p -oraw %s ; /bin/rm -f %s + +This method will require installation of the cups-client package. + +For more tips on integration with Samba, check out the man page for +cupsaddsmb, which is part of the cups-client package. + +Miscellaneous Tips +------------------ + + - CUPS has support for browsing, which uses broadcast traffic to + auto-discover other CUPS servers and printers and make them + available to clients. In the default configuration, cupsd will + accept browse packets in the CUPS format from other CUPS servers, + but will not send any. If sending browse packets is turned on, it + may trigger demand dialers and increase traffic on the network. To + help prevent this, set the BrowseAddress parameter to only + advertise CUPS printers on specific interfaces. As a potentially + more robust option, CUPS also supports SLP (Service Location + Protocol). + + - You may encounter some problems using the "enable" command under + bash, as "enable" is a builtin there. As a workaround, I've + created the "cupsenable" command, which acts exactly as "enable" + does. There are also "cupsdisable", "cupsaccept", and "cupsreject" + commands for consistency. + + - There is an online database with PPDs for lots of different + printers at http://www.linuxprinting.org/. These will often + require the "cupsomatic" utility; this can be found in the + foomatic-bin package. Another case, some PPDs require the + "foomatic-rip" utility; this can be found in the + foomatic-filters package (this package will be installed when you + install foomatic-filters-ppds package). + + - Default location of pid file is /var/run/cups/cupsd.pid. + If you'd like to change this, you can modify by using + "PidFile " directive at your /etc/cups/cupsd.conf. + +Enjoy! + + -- Jeff Licquia and Kenshi Muto --- cups-1.3.9.orig/debian/cups-bsd.postinst +++ cups-1.3.9/debian/cups-bsd.postinst @@ -0,0 +1,80 @@ +#! /bin/sh +# postinst script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +# Debconf +. /usr/share/debconf/confmodule + +case "$1" in + configure) + + # Set documentation symlinks + if [ -d /usr/share/doc/cups ]; then + if [ ! -e /usr/share/doc/cups-bsd ]; then + ln -sf cups-common /usr/share/doc/cups-bsd + fi + fi + + # Add cups-lpd to inetd.conf + db_get cups-bsd/setuplpd + if [ "$RET" = "true" ]; then + update-inetd --add 'printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd' + fi + + # Manage printcap file and associated symlinks + if [ -e /etc/cups/cupsd.conf ]; then + if [ -e /etc/printcap.cups ]; then + rm -f /etc/printcap.cups + fi + if [ -L /etc/printcap -a ! -e /etc/printcap ]; then + rm -f /etc/printcap + fi + + printcap_file=`egrep '^Printcap ' /etc/cups/cupsd.conf | awk '{print $2}'` + if [ "$printcap_file" != "" ]; then + touch $printcap_file 2>/dev/null || true + if [ ! -e /etc/printcap -a -e $printcap_file ]; then + ln -s $printcap_file /etc/printcap + fi + fi + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/dirs +++ cups-1.3.9/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- cups-1.3.9.orig/debian/docs +++ cups-1.3.9/debian/docs @@ -0,0 +1,2 @@ +CREDITS.txt +README.txt --- cups-1.3.9.orig/debian/cups-bsd.prerm +++ cups-1.3.9/debian/cups-bsd.prerm @@ -0,0 +1,45 @@ +#! /bin/sh +# prerm script for cups-bsd +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ + +if [ -L /etc/printcap ]; then + rm -f /etc/printcap +fi + +case "$1" in + remove|upgrade|deconfigure) + # Remove documentation links + rm -rf /usr/share/doc/cups-bsd + + # Disable inetd entry + update-inetd --pattern cups-lpd --disable printer + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/cups-bsd.postrm +++ cups-1.3.9/debian/cups-bsd.postrm @@ -0,0 +1,41 @@ +#! /bin/sh +# postrm script for cups-bsd +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/doc/packaging-manual/ + +case "$1" in + purge) + # Remove inetd entry + update-inetd --pattern cups-lpd --remove printer 2>/dev/null || true + + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + --- cups-1.3.9.orig/debian/cups-bsd.templates +++ cups-1.3.9/debian/cups-bsd.templates @@ -0,0 +1,12 @@ +# These templates have been reviewed by debian-l10n-english +# Please do not modify them without asking for a review + +Template: cups-bsd/setuplpd +Type: boolean +Default: false +_Description: Do you want to set up the BSD lpd compatibility server? + The CUPS package contains a server that can accept BSD-style print + jobs and submit them to CUPS. It should only be set up if other + computers are likely to submit jobs over the network via the "BSD" or + "LPR" services, and these computers cannot be converted to use the + IPP protocol that CUPS uses. --- cups-1.3.9.orig/debian/printer.schema +++ cups-1.3.9/debian/printer.schema @@ -0,0 +1,40 @@ +# Definitions for a schema to store CUPS printer information in LDAP +# OID Base is iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) me(5323) cupsSchema(22) + +# Syntaxes are under 1.3.6.1.4.1.5323.22.0 +# Attributes are under 1.3.6.1.4.1.5323.22.1 +# Object Classes are under 1.3.6.1.4.1.5323.22.2 + +attributetype ( 1.3.6.1.4.1.5323.22.1.1 + NAME 'printerDescription' + DESC 'Description of Printer' + EQUALITY caseExactIA5Match + SINGLE-VALUE + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.5323.22.1.2 + NAME 'printerURI' + DESC 'CUPS style URI for printer' + EQUALITY caseExactIA5Match + SINGLE-VALUE + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.5323.22.1.3 + NAME 'printerLocation' + DESC 'Identifier string for Printer Location' + EQUALITY caseExactIA5Match + SINGLE-VALUE + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.5323.22.1.4 + NAME 'printerMakeAndModel' + DESC 'String CUPS uses to figure out driver' + EQUALITY caseExactIA5Match + SINGLE-VALUE + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +objectclass ( 1.3.6.1.4.1.5323.22.2.1 + NAME 'cupsPrinter' + SUP top + AUXILIARY + MUST ( printerDescription $ printerURI $ printerLocation $ printerMakeAndModel) ) --- cups-1.3.9.orig/debian/cups.docs +++ cups-1.3.9/debian/cups.docs @@ -0,0 +1,3 @@ +CREDITS.txt +README.txt +debian/HOWTO_BUGREPORT.txt --- cups-1.3.9.orig/debian/cups.preinst +++ cups-1.3.9/debian/cups.preinst @@ -0,0 +1,86 @@ +#! /bin/sh +# preinst script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +mv_conffile() { + OLD="$1" + NEW="$2" + PKGNAME="cupsys" + if [ -e "$OLD" ]; then + md5sum=$(md5sum "$OLD" | sed -e 's/ .*//') + old_md5sum=$(dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e "\\' $OLD'{s/ obsolete$//;s/.* //p}") + if [ "$md5sum" = "$old_md5sum" ]; then + echo "Removing obsolete unchanged $OLD..." >&2 + rm -f "$OLD" + else + echo "Moving customized $OLD to new location $NEW..." >&2 + mv -f "$OLD" "$NEW" + fi + fi +} + +case "$1" in + install|upgrade) + if [ -e /var/lib/cups/ppd -a ! -L /var/lib/cups/ppd -a ! -e /etc/cups/ppd ]; then + echo -n "Moving printer definition files..." + mkdir -p /etc/cups/ppd || true + if [ `ls /var/lib/cups/ppd | wc -l` -ne " 0" ]; then + cp -a /var/lib/cups/ppd/* /etc/cups/ppd + fi + rm -rf /var/lib/cups/ppd + echo "done." + fi + + if [ -e /var/lib/cups/logs -a ! -L /var/lib/cups/logs ]; then + rmdir /var/lib/cups/logs || true + fi + + # Remove dangling pdftops.conf symlink, which is obsolete anyway + if [ -L /etc/cups/pdftops.conf -a ! -e /etc/cups/pdftops.conf ]; then + rm -f /etc/cups/pdftops.conf + fi + + # fix 'cupsys' -> 'root' file owner mode transition + if dpkg --compare-versions "$2" lt-nl '1.3.0-3'; then + if [ -d /var/run/cups ]; then + chown -R root /var/run/cups + fi + chown -R root /etc/cups /var/log/cups /var/cache/cups /var/spool/cups + fi + + # cupsys -> cups package/file rename + if dpkg --compare-versions "$2" le '1.3.7-7'; then + update-rc.d -f cupsys remove + mv_conffile /etc/default/cupsys /etc/default/cups + mv_conffile /etc/init.d/cupsys /etc/init.d/cups + mv_conffile /etc/pam.d/cupsys /etc/pam.d/cups + mv_conffile /etc/logrotate.d/cupsys /etc/logrotate.d/cups + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/client.conf +++ cups-1.3.9/debian/client.conf @@ -0,0 +1,66 @@ +# Sample client configuration file for the Common UNIX Printing System +# (CUPS). +# +# Copyright 1997-2005 by Easy Software Products, all rights reserved. +# Kenshi Muto modified a bit for Debian distribution. +# +# These coded instructions, statements, and computer programs are the +# property of Easy Software Products and are protected by Federal +# copyright law. Distribution and use rights are outlined in the file +# "LICENSE.txt" which should have been included with this file. If this +# file is missing or damaged please contact Easy Software Products +# at: +# +# Attn: CUPS Licensing Information +# Easy Software Products +# 44141 Airport View Drive, Suite 204 +# Hollywood, Maryland 20636 USA +# +# Voice: (301) 373-9600 +# EMail: cups-info@cups.org +# WWW: http://www.cups.org +# + +######################################################################## +# # +# This is the CUPS client configuration file. This file is used to # +# define client-specific parameters, such as the default server or # +# default encryption settings. # +# # +# Put this file on /etc/cups/client.conf (system use) or # +# ~/.cups/client.conf (personal use). # +# # +######################################################################## + +# +# ServerName: the hostname of your server. By default CUPS will use the +# domain socket /var/run/cups/cups.sock or the value of the CUPS_SERVER +# environment variable. +# ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME. To use +# more than one server you must use a local scheduler with browsing +# and possibly polling. +# + +#ServerName /domain/socket +#ServerName myhost.domain.com[:port] +#ServerName ip-address[:port] + +# +# Encryption: whether or not to use encryption; this depends on having +# the OpenSSL library linked into the CUPS library. +# +# Possible values: +# +# Always - Always use encryption (SSL) +# Never - Never use encryption +# Required - Use TLS encryption upgrade +# IfRequested - Use encryption if the server requests it +# +# The default value is "IfRequested". This parameter can also be set +# using the CUPS_ENCRYPTION environment variable. +# + +#Encryption Always +#Encryption Never +#Encryption Required +#Encryption IfRequested --- cups-1.3.9.orig/debian/cups.postrm +++ cups-1.3.9/debian/cups.postrm @@ -0,0 +1,46 @@ +#! /bin/sh +# postrm script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/doc/packaging-manual/ + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +case "$1" in + purge) + rm -rf /var/lib/cups + rm -rf /var/log/cups + rm -rf /var/run/cups + rm -rf /var/cache/cups + rm -rf /var/spool/cups + rm -rf /etc/cups/interfaces + rm -rf /etc/cups/ppd + rm -rf /etc/cups/passwd.md5 + rm -rf /etc/cups/cups.d + rm -f /etc/cups/printers.conf* /etc/cups/classes.conf.* \ + /var/lib/cups/ppds.dat /etc/cups/raw.convs /etc/cups/raw.types + rmdir /etc/cups 2>/dev/null || true + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac --- cups-1.3.9.orig/debian/libcupsimage2.preinst +++ cups-1.3.9/debian/libcupsimage2.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for libcupsimage2 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in + install) + ;; + + upgrade) + if [ ! -L /usr/share/doc/libcupsimage2 ]; then + rm -rf /usr/share/doc/libcupsimage2 + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/compat +++ cups-1.3.9/debian/compat @@ -0,0 +1 @@ +5 --- cups-1.3.9.orig/debian/cups.logrotate +++ cups-1.3.9/debian/cups.logrotate @@ -0,0 +1,15 @@ +/var/log/cups/*log { + daily + missingok + rotate 7 + sharedscripts + postrotate + if [ -e /var/run/cups/cupsd.pid ]; then + invoke-rc.d --quiet cups force-reload > /dev/null + sleep 10 + fi + endscript + compress + notifempty + create 640 root lpadmin +} --- cups-1.3.9.orig/debian/libcups2-dev.preinst +++ cups-1.3.9/debian/libcups2-dev.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for libcups2-dev +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in + install) + ;; + + upgrade) + if [ ! -L /usr/share/doc/libcups2-dev ]; then + rm -rf /usr/share/doc/libcups2-dev + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/cups-client.postinst +++ cups-1.3.9/debian/cups-client.postinst @@ -0,0 +1,52 @@ +#! /bin/sh +# postinst script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if [ -z "`getent group lpadmin`" ]; then + addgroup --system lpadmin + fi + + chown root:lpadmin /usr/bin/lppasswd + chmod u+s /usr/bin/lppasswd + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/cups-client.install +++ cups-1.3.9/debian/cups-client.install @@ -0,0 +1,52 @@ +usr/bin/cancel +usr/bin/cupstestppd +usr/bin/cupstestdsc +usr/bin/lp +usr/bin/lpoptions +usr/bin/lppasswd +usr/bin/lpstat +usr/sbin/cupsaddsmb +usr/sbin/lpadmin +usr/sbin/lpinfo +usr/sbin/lpmove +usr/sbin/accept +usr/sbin/reject +usr/sbin/cupsaccept +usr/sbin/cupsreject +usr/sbin/cupsdisable +usr/sbin/cupsenable +usr/sbin/cupsctl +usr/share/man/man1/cupstestppd.1.gz +usr/share/man/*/man1/cupstestppd.1.gz +usr/share/man/man1/cupstestdsc.1.gz +usr/share/man/*/man1/cupstestdsc.1.gz +usr/share/man/man1/lp.1.gz +usr/share/man/*/man1/lp.1.gz +usr/share/man/man1/lpoptions.1.gz +usr/share/man/*/man1/lpoptions.1.gz +usr/share/man/man1/lppasswd.1.gz +usr/share/man/*/man1/lppasswd.1.gz +usr/share/man/man1/lpstat.1.gz +usr/share/man/*/man1/lpstat.1.gz +usr/share/man/man1/cancel.1.gz +usr/share/man/*/man1/cancel.1.gz +usr/share/man/man5/client.conf.5.gz +usr/share/man/*/man5/client.conf.5.gz +usr/share/man/man8/cupsaddsmb.8.gz +usr/share/man/*/man8/cupsaddsmb.8.gz +usr/share/man/man8/cupsenable.8.gz +usr/share/man/*/man8/cupsenable.8.gz +usr/share/man/man8/lpadmin.8.gz +usr/share/man/*/man8/lpadmin.8.gz +usr/share/man/man8/lpinfo.8.gz +usr/share/man/*/man8/lpinfo.8.gz +usr/share/man/man8/lpmove.8.gz +usr/share/man/*/man8/lpmove.8.gz +usr/share/man/man8/cupsreject.8.gz +usr/share/man/*/man8/cupsreject.8.gz +usr/share/man/man8/cupsdisable.8.gz +usr/share/man/*/man8/cupsdisable.8.gz +usr/share/man/man8/cupsaccept.8.gz +usr/share/man/*/man8/cupsaccept.8.gz +usr/share/man/man8/cupsctl.8.gz +usr/share/man/*/man8/cupsctl.8.gz --- cups-1.3.9.orig/debian/presubj +++ cups-1.3.9/debian/presubj @@ -0,0 +1,3 @@ +Please note that CUPS is never affected by Poppler or XPDF bugs, because +the Debian package relies upon external tools to generate PostScript. +Therefore, avoid filing bugs related to PDF security issues against CUPS. --- cups-1.3.9.orig/debian/libcups2.shlibs +++ cups-1.3.9/debian/libcups2.shlibs @@ -0,0 +1 @@ +libcups 2 libcups2 (>= 1.3.8) --- cups-1.3.9.orig/debian/cups.dirs +++ cups-1.3.9/debian/cups.dirs @@ -0,0 +1,12 @@ +var/run/cups +usr/share/doc/cups +usr/share/cups/drivers +etc/default +etc/cups/ssl +usr/lib/cups/backend +usr/lib/cups/backend-available +var/cache/cups/ppd +usr/share/ppd/cups-included +usr/share/ppd/custom +usr/lib/cups/driver +usr/local/share/ppd --- cups-1.3.9.orig/debian/cups.default +++ cups-1.3.9/debian/cups.default @@ -0,0 +1,4 @@ +# Cups configure options + +# LOAD_LP_MODULE: enable/disable to load "lp" parallel printer driver module +LOAD_LP_MODULE=yes --- cups-1.3.9.orig/debian/libcupsimage2.postinst +++ cups-1.3.9/debian/libcupsimage2.postinst @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for cups +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- cups-1.3.9.orig/debian/watch +++ cups-1.3.9/debian/watch @@ -0,0 +1,3 @@ +version=3 +ftp://ftp.easysw.com/pub/cups/([\d\.]+)/cups-(.*)-source\.tar\.gz \ + debian uupdate --no-symlink --- cups-1.3.9.orig/debian/cups.examples +++ cups-1.3.9/debian/cups.examples @@ -0,0 +1,2 @@ +debian/filters/* +debian/printer.schema --- cups-1.3.9.orig/debian/libcupsimage2-dev.install +++ cups-1.3.9/debian/libcupsimage2-dev.install @@ -0,0 +1,4 @@ +usr/lib/libcupsimage.so +usr/lib/libcupsimage.a +usr/include/cups/image.h +usr/include/cups/raster.h --- cups-1.3.9.orig/debian/cups-bsd.install +++ cups-1.3.9/debian/cups-bsd.install @@ -0,0 +1,14 @@ +usr/sbin/lpc +usr/bin/lpq +usr/bin/lpr +usr/bin/lprm +usr/share/man/man1/lpr.1.gz +usr/share/man/*/man1/lpr.1.gz +usr/share/man/man1/lprm.1.gz +usr/share/man/*/man1/lprm.1.gz +usr/share/man/man1/lpq.1.gz +usr/share/man/*/man1/lpq.1.gz +usr/share/man/man8/cups-lpd.8.gz +usr/share/man/*/man8/cups-lpd.8.gz +usr/share/man/man8/lpc.8.gz +usr/share/man/*/man8/lpc.8.gz --- cups-1.3.9.orig/debian/cups-common.install +++ cups-1.3.9/debian/cups-common.install @@ -0,0 +1,3 @@ +usr/share/cups/charsets +usr/share/cups/charmaps +usr/share/cups/locale --- cups-1.3.9.orig/debian/cups.install +++ cups-1.3.9/debian/cups.install @@ -0,0 +1,62 @@ +var/ +etc/cups/cupsd.conf +etc/cups/cupsd.conf.default +etc/cups/snmp.conf +etc/cups/ppd +etc/cups/*.convs +etc/cups/*.types +etc/dbus-1/ +usr/lib/cups/backend/* usr/lib/cups/backend-available +usr/lib/cups/cgi-bin +usr/lib/cups/monitor +usr/lib/cups/daemon/ +usr/lib/cups/filter/ +usr/lib/cups/notifier +usr/sbin/cupsd +usr/sbin/cupsfilter +usr/share/cups/banners +usr/share/cups/data +usr/share/cups/doc-root +usr/share/cups/fonts +usr/share/cups/model +usr/share/cups/templates +usr/share/man/man7/backend.7.gz +usr/share/man/*/man7/backend.7.gz +usr/share/man/man7/filter.7.gz +usr/share/man/*/man7/filter.7.gz +usr/share/man/man5/classes.conf.5.gz +usr/share/man/*/man5/classes.conf.5.gz +usr/share/man/man5/cupsd.conf.5.gz +usr/share/man/*/man5/cupsd.conf.5.gz +usr/share/man/man5/cups-snmp.conf.5.gz +usr/share/man/*/man5/cups-snmp.conf.5.gz +usr/share/man/man5/mailto.conf.5.gz +usr/share/man/*/man5/mailto.conf.5.gz +usr/share/man/man5/subscriptions.conf.5.gz +usr/share/man/*/man5/subscriptions.conf.5.gz +usr/share/man/man5/mime.convs.5.gz +usr/share/man/*/man5/mime.convs.5.gz +usr/share/man/man5/mime.types.5.gz +usr/share/man/*/man5/mime.types.5.gz +usr/share/man/man5/printers.conf.5.gz +usr/share/man/*/man5/printers.conf.5.gz +usr/share/man/man8/cups-polld.8.gz +usr/share/man/*/man8/cups-polld.8.gz +usr/share/man/man8/cupsd.8.gz +usr/share/man/*/man8/cupsd.8.gz +usr/share/man/man8/cups-deviced.8.gz +usr/share/man/*/man8/cups-deviced.8.gz +usr/share/man/man8/cups-driverd.8.gz +usr/share/man/*/man8/cups-driverd.8.gz +usr/share/man/man8/cupsfilter.8.gz +usr/share/man/*/man8/cupsfilter.8.gz +../presubj usr/share/bug/cups/ +../local/backends/* usr/lib/cups/backend-available/ +../local/filters/cpdftocps usr/lib/cups/filter/ +../local/filters/oopstops usr/lib/cups/filter/ +../local/filters/textonly usr/lib/cups/filter/ +../local/*.ppd usr/share/ppd/cups-included/ +../local/*.types etc/cups/ +../local/*.convs etc/cups/ +../local/pdftops.conf etc/cups/ +../local/acroread.conf etc/cups/ --- cups-1.3.9.orig/debian/cups.doc-base +++ cups-1.3.9/debian/cups.doc-base @@ -0,0 +1,10 @@ +Document: cups +Title: CUPS Documentation +Author: Easy Software Products +Abstract: This documentation covers the use and administration of a CUPS + printing system, and the programming interface for the libcups API. +Section: System/Hardware + +Format: HTML +Index: /usr/share/doc/cups/online-docs/index.html +Files: /usr/share/doc/cups/online-docs/*.html --- cups-1.3.9.orig/debian/local/cpdftocps.convs +++ cups-1.3.9/debian/local/cpdftocps.convs @@ -0,0 +1 @@ +application/vnd.cups-pdf application/vnd.cups-postscript 22 cpdftocps --- cups-1.3.9.orig/debian/local/pstopdf.convs +++ cups-1.3.9/debian/local/pstopdf.convs @@ -0,0 +1 @@ +application/postscript application/pdf 22 pstopdf --- cups-1.3.9.orig/debian/local/acroread.conf +++ cups-1.3.9/debian/local/acroread.conf @@ -0,0 +1,43 @@ +# +# Configuration file for acroread as alternate pdftops filter +# +# 2006-09-26/Bl +# initial +# +# This configuration file sets some useful default options for use of +# the Adobe readder (acroread) as an alternate pdftops filter. +# +# Most of these options may be overridden by using the commandline options +# of pdftops prefixed with 'pdf'. Example: to expand the PDF pages to match +# the specified media size, add +# pdf-expand +# to the command line options. +# We use the option names of xpdf's pdftops utility for compatibility reasons; +# for use with acroread they are translated by the pdftops wrapper. For +# details see the script itself. + +# +# Paper size handling +# We default to the media size in the PDF file. If acroread uses +# the media box or the crop box is unknown to me and cannot be modified +# by command line options, but we use the shrink to fit option by default. +# +shrink + +# +# By default, we use level2 output, as most printers only support level2. +# Note that acroread does no longer support level1, thus level1 will be +# silently ignored. +# +level2 + +# +# As we convert to PostScript for printing only, we do not output comments +# or annotations and emit all used fonts once at the beginning of the document. +# +optimizeForSpeed +commentsOff +annotsOff +transQuality 3 + + --- cups-1.3.9.orig/debian/local/oopstops.types +++ cups-1.3.9/debian/local/oopstops.types @@ -0,0 +1 @@ +application/openofficeps string(0,%!) + contains(0,1024,"%%Creator: OpenOffice.org 2.") --- cups-1.3.9.orig/debian/local/postscript.ppd +++ cups-1.3.9/debian/local/postscript.ppd @@ -0,0 +1,540 @@ +*PPD-Adobe: "4.3" +*% +*% "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $" +*% +*% Sample Postscript driver PPD file for the Common UNIX Printing +*% System (CUPS). +*% +*% Michael Goffioul +*% +*% Changes to the original file by Volker Behr, Martin-Eric Racine, +*% Nickolay Kondrashov and other contributors: +*% added custom page size - 2006-05-18 +*% replaced page descriptions - 2006-05-18 +*% InputSlot constraints removed - 2006-05-11 +*% maxed out imageable regions - 2006-05-11 +*% added pstitleiconv filter - 2006-05-11 +*% added ledger paper size - 2006-01-29 +*% match Adobe specifications - 2005-12-23 +*% additional paper formats - 2005-02-03 and 2005-02-07 +*% made A4 default paper size - 2005-02-03 +*% Color enabled - 2003-12-02 +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "GENPS.PPD" +*Manufacturer: "Generic" +*Product: "(CUPS v1.1)" +*ModelName: "Generic PostScript Printer" +*ShortNickName: "Generic PostScript Printer" +*NickName: "Generic PostScript Printer" +*1284DeviceID: "MFG:Generic;MDL:PostScript Printer;DES:Generic PostScript Printer;CLS:PRINTER;CMD:POSTSCRIPT;" +*% cupsFilter: "application/vnd.cups-postscript 0 pstitleiconv" +*PSVersion: "(2017.000) 0" +*LanguageLevel: "2" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "8" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 + +*HWMargins: 0 0 0 0 +*VariablePaperSize: True +*MaxMediaWidth: 100000 +*MaxMediaHeight: 100000 +*NonUIOrderDependency: 100 AnySetup *CustomPageSize +*CustomPageSize True: "pop pop pop +<>setpagedevice" +*End +*ParamCustomPageSize Width: 1 points 36 100000 +*ParamCustomPageSize Height: 2 points 36 100000 +*ParamCustomPageSize Orientation: 3 int 0 3 +*ParamCustomPageSize WidthOffset: 4 points 0 0 +*ParamCustomPageSize HeightOffset: 5 points 0 0 + +*OpenGroup: General/General + +*OpenUI *PageSize/Page Size: PickOne +*OrderDependency: 100 AnySetup *PageSize +*DefaultPageSize: A4 +*PageSize 11x14/11x14: "<>setpagedevice" +*PageSize 11x17/11x17: "<>setpagedevice" +*PageSize 13x19/13x19: "<>setpagedevice" +*PageSize 16x20/16x20: "<>setpagedevice" +*PageSize 16x24/16x24: "<>setpagedevice" +*PageSize 2A/2A: "<>setpagedevice" +*PageSize 4A/4A: "<>setpagedevice" +*PageSize 8x10/8x10: "<>setpagedevice" +*PageSize 8x12/8x12: "<>setpagedevice" +*PageSize A0/A0: "<>setpagedevice" +*PageSize A1/A1: "<>setpagedevice" +*PageSize A2/A2: "<>setpagedevice" +*PageSize A3/A3: "<>setpagedevice" +*PageSize A4/A4: "<>setpagedevice" +*PageSize A5/A5: "<>setpagedevice" +*PageSize AnsiA/ANSI A: "<>setpagedevice" +*PageSize AnsiB/ANSI B: "<>setpagedevice" +*PageSize AnsiC/ANSI C: "<>setpagedevice" +*PageSize AnsiD/ANSI D: "<>setpagedevice" +*PageSize AnsiE/ANSI E: "<>setpagedevice" +*PageSize ArchA/Arch A: "<>setpagedevice" +*PageSize ArchB/Arch B: "<>setpagedevice" +*PageSize ArchC/Arch C: "<>setpagedevice" +*PageSize ArchD/Arch D: "<>setpagedevice" +*PageSize ArchE/Arch E: "<>setpagedevice" +*PageSize C0/C0: "<>setpagedevice" +*PageSize C1/C1: "<>setpagedevice" +*PageSize C2/C2: "<>setpagedevice" +*PageSize C3/C3: "<>setpagedevice" +*PageSize C4/C4: "<>setpagedevice" +*PageSize C5/C5: "<>setpagedevice" +*PageSize Env10/Envelope #10: "<>setpagedevice" +*PageSize EnvC5/Envelope C5: "<>setpagedevice" +*PageSize EnvDL/Envelope DL: "<>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<>setpagedevice" +*PageSize Executive/Executive: "<>setpagedevice" +*PageSize ISOB0/B0 (ISO): "<>setpagedevice" +*PageSize ISOB1/B1 (ISO): "<>setpagedevice" +*PageSize ISOB2/B2 (ISO): "<>setpagedevice" +*PageSize ISOB3/B3 (ISO): "<>setpagedevice" +*PageSize ISOB4/B4 (ISO): "<>setpagedevice" +*PageSize ISOB5/B5 (ISO): "<>setpagedevice" +*PageSize JISB0/B0 (JIS): "<>setpagedevice" +*PageSize JISB1/B1 (JIS): "<>setpagedevice" +*PageSize JISB2/B2 (JIS): "<>setpagedevice" +*PageSize JISB3/B3 (JIS): "<>setpagedevice" +*PageSize JISB4/B4 (JIS): "<>setpagedevice" +*PageSize JISB5/B5 (JIS): "<>setpagedevice" +*PageSize Ledger/Ledger: "<>setpagedevice" +*PageSize Legal/US Legal: "<>setpagedevice" +*PageSize Letter/US Letter: "<>setpagedevice" +*PageSize RA0/RA0: "<>setpagedevice" +*PageSize RA1/RA1: "<>setpagedevice" +*PageSize RA2/RA2: "<>setpagedevice" +*PageSize RA3/RA3: "<>setpagedevice" +*PageSize RA4/RA4: "<>setpagedevice" +*PageSize SRA0/SRA0: "<>setpagedevice" +*PageSize SRA1/SRA1: "<>setpagedevice" +*PageSize SRA2/SRA2: "<>setpagedevice" +*PageSize SRA3/SRA3: "<>setpagedevice" +*PageSize SRA4/SRA4: "<>setpagedevice" +*PageSize SuperA/Super A: "<>setpagedevice" +*PageSize SuperB/Super B: "<>setpagedevice" +*PageSize TabloidExtra/Tabloid Extra: "<>setpagedevice" +*PageSize Tabloid/Tabloid: "<>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 100 AnySetup *PageRegion +*DefaultPageRegion: A4 +*PageRegion 11x14/11x14: "<>setpagedevice" +*PageRegion 11x17/11x17: "<>setpagedevice" +*PageRegion 13x19/13x19: "<>setpagedevice" +*PageRegion 16x20/16x20: "<>setpagedevice" +*PageRegion 16x24/16x24: "<>setpagedevice" +*PageRegion 2A/2A: "<>setpagedevice" +*PageRegion 4A/4A: "<>setpagedevice" +*PageRegion 8x10/8x10: "<>setpagedevice" +*PageRegion 8x12/8x12: "<>setpagedevice" +*PageRegion A0/A0: "<>setpagedevice" +*PageRegion A1/A1: "<>setpagedevice" +*PageRegion A2/A2: "<>setpagedevice" +*PageRegion A3/A3: "<>setpagedevice" +*PageRegion A4/A4: "<>setpagedevice" +*PageRegion A5/A5: "<>setpagedevice" +*PageRegion AnsiA/ANSI A: "<>setpagedevice" +*PageRegion AnsiB/ANSI B: "<>setpagedevice" +*PageRegion AnsiC/ANSI C: "<>setpagedevice" +*PageRegion AnsiD/ANSI D: "<>setpagedevice" +*PageRegion AnsiE/ANSI E: "<>setpagedevice" +*PageRegion ArchA/Arch A: "<>setpagedevice" +*PageRegion ArchB/Arch B: "<>setpagedevice" +*PageRegion ArchC/Arch C: "<>setpagedevice" +*PageRegion ArchD/Arch D: "<>setpagedevice" +*PageRegion ArchE/Arch E: "<>setpagedevice" +*PageRegion C0/C0: "<>setpagedevice" +*PageRegion C1/C1: "<>setpagedevice" +*PageRegion C2/C2: "<>setpagedevice" +*PageRegion C3/C3: "<>setpagedevice" +*PageRegion C4/C4: "<>setpagedevice" +*PageRegion C5/C5: "<>setpagedevice" +*PageRegion Env10/Envelope #10: "<>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<>setpagedevice" +*PageRegion Executive/Executive: "<>setpagedevice" +*PageRegion ISOB0/B0 (ISO): "<>setpagedevice" +*PageRegion ISOB1/B1 (ISO): "<>setpagedevice" +*PageRegion ISOB2/B2 (ISO): "<>setpagedevice" +*PageRegion ISOB3/B3 (ISO): "<>setpagedevice" +*PageRegion ISOB4/B4 (ISO): "<>setpagedevice" +*PageRegion ISOB5/B5 (ISO): "<>setpagedevice" +*PageRegion JISB0/B0 (JIS): "<>setpagedevice" +*PageRegion JISB1/B1 (JIS): "<>setpagedevice" +*PageRegion JISB2/B2 (JIS): "<>setpagedevice" +*PageRegion JISB3/B3 (JIS): "<>setpagedevice" +*PageRegion JISB4/B4 (JIS): "<>setpagedevice" +*PageRegion JISB5/B5 (JIS): "<>setpagedevice" +*PageRegion Ledger/Ledger: "<>setpagedevice" +*PageRegion Legal/US Legal: "<>setpagedevice" +*PageRegion Letter/US Letter: "<>setpagedevice" +*PageRegion RA0/RA0: "<>setpagedevice" +*PageRegion RA1/RA1: "<>setpagedevice" +*PageRegion RA2/RA2: "<>setpagedevice" +*PageRegion RA3/RA3: "<>setpagedevice" +*PageRegion RA4/RA4: "<>setpagedevice" +*PageRegion SRA0/SRA0: "<>setpagedevice" +*PageRegion SRA1/SRA1: "<>setpagedevice" +*PageRegion SRA2/SRA2: "<>setpagedevice" +*PageRegion SRA3/SRA3: "<>setpagedevice" +*PageRegion SRA4/SRA4: "<>setpagedevice" +*PageRegion SuperA/Super A: "<>setpagedevice" +*PageRegion SuperB/Super B: "<>setpagedevice" +*PageRegion TabloidExtra/Tabloid Extra: "<>setpagedevice" +*PageRegion Tabloid/Tabloid: "<>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: A4 +*ImageableArea 11x14/11x14: "0 0 792 1008" +*ImageableArea 11x17/11x17: "0 0 792 1224" +*ImageableArea 13x19/13x19: "0 0 936 1368" +*ImageableArea 16x20/16x20: "0 0 1152 1440" +*ImageableArea 16x24/16x24: "0 0 1152 1728" +*ImageableArea 2A/2A: "0 0 3370 4768" +*ImageableArea 4A/4A: "0 0 4768 6749" +*ImageableArea 8x10/8x10: "0 0 576 720" +*ImageableArea 8x12/8x12: "0 0 576 864" +*ImageableArea A0/A0: "0 0 2384 3370" +*ImageableArea A1/A1: "0 0 1684 2384" +*ImageableArea A2/A2: "0 0 1191 1684" +*ImageableArea A3/A3: "0 0 842 1191" +*ImageableArea A4/A4: "0 0 595 842" +*ImageableArea A5/A5: "0 0 421 595" +*ImageableArea AnsiA/ANSI A: "0 0 612 792" +*ImageableArea AnsiB/ANSI B: "0 0 792 1224" +*ImageableArea AnsiC/ANSI C: "0 0 1224 1584" +*ImageableArea AnsiD/ANSI D: "0 0 1584 2448" +*ImageableArea AnsiE/ANSI E: "0 0 2448 3168" +*ImageableArea ArchA/Arch A: "0 0 648 864" +*ImageableArea ArchB/Arch B: "0 0 864 1296" +*ImageableArea ArchC/Arch C: "0 0 1296 1728" +*ImageableArea ArchD/Arch D: "0 0 1728 2592" +*ImageableArea ArchE/Arch E: "0 0 2592 3456" +*ImageableArea C0/C0: "0 0 2599 3676" +*ImageableArea C1/C1: "0 0 1836 2599" +*ImageableArea C2/C2: "0 0 1298 1836" +*ImageableArea C3/C3: "0 0 918 1298" +*ImageableArea C4/C4: "0 0 649 918" +*ImageableArea C5/C5: "0 0 459 649" +*ImageableArea Env10/Envelope #10: "0 0 297 684" +*ImageableArea EnvC5/Envelope C5: "0 0 459 649" +*ImageableArea EnvDL/Envelope DL: "0 0 312 624" +*ImageableArea EnvMonarch/Envelope Monarch: "0 0 279 540" +*ImageableArea Executive/Executive: "0 0 522 756" +*ImageableArea ISOB0/B0 (ISO): "0 0 2834 4008" +*ImageableArea ISOB1/B1 (ISO): "0 0 2004 2834" +*ImageableArea ISOB2/B2 (ISO): "0 0 1417 2004" +*ImageableArea ISOB3/B3 (ISO): "0 0 1000 1417" +*ImageableArea ISOB4/B4 (ISO): "0 0 708 1000" +*ImageableArea ISOB5/B5 (ISO): "0 0 498 708" +*ImageableArea JISB0/B0 (JIS): "0 0 2919 4127" +*ImageableArea JISB1/B1 (JIS): "0 0 2063 2919" +*ImageableArea JISB2/B2 (JIS): "0 0 1459 2063" +*ImageableArea JISB3/B3 (JIS): "0 0 1029 1459" +*ImageableArea JISB4/B4 (JIS): "0 0 727 1029" +*ImageableArea JISB5/B5 (JIS): "0 0 518 727" +*ImageableArea Ledger/Ledger: "0 0 1224 792" +*ImageableArea Legal/US Legal: "0 0 612 1008" +*ImageableArea Letter/US Letter: "0 0 612 792" +*ImageableArea RA0/RA0: "0 0 2437 3458" +*ImageableArea RA1/RA1: "0 0 1729 2437" +*ImageableArea RA2/RA2: "0 0 1218 1729" +*ImageableArea RA3/RA3: "0 0 864 1218" +*ImageableArea RA4/RA4: "0 0 609 864" +*ImageableArea SRA0/SRA0: "0 0 2551 3628" +*ImageableArea SRA1/SRA1: "0 0 1814 2551" +*ImageableArea SRA2/SRA2: "0 0 1275 1814" +*ImageableArea SRA3/SRA3: "0 0 907 1275" +*ImageableArea SRA4/SRA4: "0 0 637 907" +*ImageableArea SuperA/Super A: "0 0 644 1008" +*ImageableArea SuperB/Super B: "0 0 936 1368" +*ImageableArea TabloidExtra/Tabloid Extra: "0 0 864 1296" +*ImageableArea Tabloid/Tabloid: "0 0 792 1224" + +*DefaultPaperDimension: A4 +*PaperDimension 11x14/11x14: "792 1008" +*PaperDimension 11x17/11x17: "792 1224" +*PaperDimension 13x19/13x19: "936 1368" +*PaperDimension 16x20/16x20: "1152 1440" +*PaperDimension 16x24/16x24: "1152 1728" +*PaperDimension 2A/2A: "3370 4768" +*PaperDimension 4A/4A: "4768 6749" +*PaperDimension 8x10/8x10: "576 720" +*PaperDimension 8x12/8x12: "576 864" +*PaperDimension A0/A0: "2384 3370" +*PaperDimension A1/A1: "1684 2384" +*PaperDimension A2/A2: "1191 1684" +*PaperDimension A3/A3: "842 1191" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension AnsiA/ANSI A: "612 792" +*PaperDimension AnsiB/ANSI B: "792 1224" +*PaperDimension AnsiC/ANSI C: "1224 1584" +*PaperDimension AnsiD/ANSI D: "1584 2448" +*PaperDimension AnsiE/ANSI E: "2448 3168" +*PaperDimension ArchA/Arch A: "648 864" +*PaperDimension ArchB/Arch B: "864 1296" +*PaperDimension ArchC/Arch C: "1296 1728" +*PaperDimension ArchD/Arch D: "1728 2592" +*PaperDimension ArchE/Arch E: "2592 3456" +*PaperDimension C0/C0: "2599 3676" +*PaperDimension C1/C1: "1836 2599" +*PaperDimension C2/C2: "1298 1836" +*PaperDimension C3/C3: "918 1298" +*PaperDimension C4/C4: "649 918" +*PaperDimension C5/C5: "459 649" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension ISOB0/B0 (ISO): "2834 4008" +*PaperDimension ISOB1/B1 (ISO): "2004 2834" +*PaperDimension ISOB2/B2 (ISO): "1417 2004" +*PaperDimension ISOB3/B3 (ISO): "1000 1417" +*PaperDimension ISOB4/B4 (ISO): "708 1000" +*PaperDimension ISOB5/B5 (ISO): "498 708" +*PaperDimension JISB0/B0 (JIS): "2919 4127" +*PaperDimension JISB1/B1 (JIS): "2063 2919" +*PaperDimension JISB2/B2 (JIS): "1459 2063" +*PaperDimension JISB3/B3 (JIS): "1029 1459" +*PaperDimension JISB4/B4 (JIS): "727 1029" +*PaperDimension JISB5/B5 (JIS): "518 727" +*PaperDimension Ledger/Ledger: "1224 792" +*PaperDimension Legal/US Legal: "612 1008" +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension RA0/RA0: "2437 3458" +*PaperDimension RA1/RA1: "1729 2437" +*PaperDimension RA2/RA2: "1218 1729" +*PaperDimension RA3/RA3: "864 1218" +*PaperDimension RA4/RA4: "609 864" +*PaperDimension SRA0/SRA0: "2551 3628" +*PaperDimension SRA1/SRA1: "1814 2551" +*PaperDimension SRA2/SRA2: "1275 1814" +*PaperDimension SRA3/SRA3: "907 1275" +*PaperDimension SRA4/SRA4: "637 907" +*PaperDimension SuperA/Super A: "644 1008" +*PaperDimension SuperB/Super B: "936 1368" +*PaperDimension TabloidExtra/Tabloid Extra: "864 1296" +*PaperDimension Tabloid/Tabloid: "792 1224" + +*OpenUI *Resolution/Output Resolution: PickOne +*OrderDependency: 100 AnySetup *Resolution +*DefaultResolution: 300dpi +*Resolution 150dpi/150 DPI: "<>setpagedevice" +*Resolution 300dpi/300 DPI: "<>setpagedevice" +*Resolution 600dpi/600 DPI: "<>setpagedevice" +*Resolution 1200dpi/1200 DPI: "<>setpagedevice" +*Resolution 2400dpi/2400 DPI: "<>setpagedevice" +*CloseUI: *Resolution + +*CloseGroup: General + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM +*% +*% End of "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $". +*% + + +*PPD-Adobe: "4.3" +*% +*% "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $" +*% +*% Sample Postscript driver PPD file for the Common UNIX Printing +*% System (CUPS). +*% +*% Michael Goffioul +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "POSTSCRI.PPD" +*Manufacturer: "Generic" +*Product: "(CUPS v1.1)" +*ModelName: "Generic PostScript Printer" +*ShortNickName: "Generic PostScript Printer" +*NickName: "Generic PostScript Printer" +*PSVersion: "(2017.000) 0" +*LanguageLevel: "2" +*ColorDevice: False +*DefaultColorSpace: Gray +*FileSystem: False +*Throughput: "8" +*LandscapeOrientation: Plus90 +*VariablePaperSize: False +*TTRasterizer: Type42 + +*OpenUI *PageSize/Media Size: PickOne +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "<>setpagedevice" +*PageSize Legal/Legal: "<>setpagedevice" +*PageSize Executive/Executive: "<>setpagedevice" +*PageSize A4/A4: "<>setpagedevice" +*PageSize A5/A5: "<>setpagedevice" +*PageSize B5/B5 (JIS): "<>setpagedevice" +*PageSize EnvISOB5/Envelope B5: "<>setpagedevice" +*PageSize Env10/Envelope #10: "<>setpagedevice" +*PageSize EnvC5/Envelope C5: "<>setpagedevice" +*PageSize EnvDL/Envelope DL: "<>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 10 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "<>setpagedevice" +*PageRegion Legal/Legal: "<>setpagedevice" +*PageRegion Executive/Executive: "<>setpagedevice" +*PageRegion A4/A4: "<>setpagedevice" +*PageRegion A5/A5: "<>setpagedevice" +*PageRegion B5/B5 (JIS): "<>setpagedevice" +*PageRegion EnvISOB5/Envelope B5: "<>setpagedevice" +*PageRegion Env10/Envelope #10: "<>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea Legal/US Legal: "18 36 594 972" +*ImageableArea Executive/Executive: "18 36 504 684" +*ImageableArea A4/A4: "18 36 577 806" +*ImageableArea A5/A5: "18 36 403 559" +*ImageableArea B5/JIS B5: "18 36 498 693" +*ImageableArea EnvISOB5/B5 (ISO): "18 36 463 673" +*ImageableArea Env10/Com-10: "18 36 279 648" +*ImageableArea EnvC5/EnvC5: "18 36 441 613" +*ImageableArea EnvDL/EnvDL: "18 36 294 588" +*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*PaperDimension Legal/Legal: "612 1008" +*PaperDimension Executive/Executive: "522 756" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension B5/B5 (JIS): "516 729" +*PaperDimension EnvISOB5/Envelope B5: "499 709" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" + +*OpenUI *InputSlot/Media Source: PickOne +*OrderDependency: 10 AnySetup *InputSlot +*DefaultInputSlot: Default +*InputSlot Default/Default: "" +*InputSlot Tray1/Tray 1: "<>setpagedevice" +*InputSlot Tray2/Tray 2: "<>setpagedevice" +*InputSlot Tray3/Tray 3: "<>setpagedevice" +*InputSlot Manual/Manual Feed: "<>setpagedevice" +*CloseUI: *InputSlot + +*OpenUI *Resolution/Output Resolution: PickOne +*OrderDependency: 20 AnySetup *Resolution +*DefaultResolution: 300dpi +*Resolution 150dpi/150 DPI: "<>setpagedevice" +*Resolution 300dpi/300 DPI: "<>setpagedevice" +*Resolution 600dpi/600 DPI: "<>setpagedevice" +*Resolution 1200dpi/1200 DPI: "<>setpagedevice" +*Resolution 2400dpi/2400 DPI: "<>setpagedevice" +*CloseUI: *Resolution + +*OpenUI *Duplex/Double-Sided Printing: PickOne +*OrderDependency: 20 AnySetup *Duplex +*DefaultDuplex: None +*Duplex None/Off: "<>setpagedevice" +*Duplex DuplexNoTumble/Long Edge (Standard): "<>setpagedevice" +*Duplex DuplexTumble/Short Edge (Flip): "<>setpagedevice" +*CloseUI: *Duplex + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM +*% +*% End of "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $". +*% --- cups-1.3.9.orig/debian/local/oopstops.convs +++ cups-1.3.9/debian/local/oopstops.convs @@ -0,0 +1 @@ +application/openofficeps application/postscript 33 oopstops --- cups-1.3.9.orig/debian/local/textonly.ppd +++ cups-1.3.9/debian/local/textonly.ppd @@ -0,0 +1,47 @@ +*PPD-Adobe: "4.3" +*% +*% Text-only printer definition +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "TEXTONLY.PPD" +*Manufacturer: "Generic" +*Product: "(Generic)" +*cupsVersion: 1.0 +*cupsManualCopies: True +*cupsModelNumber: 2 +*cupsFilter: "text/plain 0 textonly" +*ModelName: "Generic text-only printer" +*ShortNickName: "Generic text-only printer" +*NickName: "Generic text-only printer" +*PSVersion: "(2017.000) 0" +*LanguageLevel: "2" +*ColorDevice: False +*DefaultColorSpace: Gray +*FileSystem: False +*Throughput: "8" +*LandscapeOrientation: Plus90 +*VariablePaperSize: False +*TTRasterizer: Type42 +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*DefaultPaperDimension: Letter +*PaperDimension Letter/Letter: "612 792" +*OpenUI *PageSize/Media Size: PickOne +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/Letter: "<>setpagedevice" +*CloseUI: *PageSize +*OpenUI *PageRegion: PickOne +*OrderDependency: 10 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/Letter: "<>setpagedevice" +*CloseUI: *PageRegion + +*OpenUI *SendFF: Boolean +*DefaultSendFF: False +*SendFF True/True: "" +*SendFF False/False: "" +*CloseUI: *SendFF --- cups-1.3.9.orig/debian/local/pdftops.conf +++ cups-1.3.9/debian/local/pdftops.conf @@ -0,0 +1,61 @@ +# +# Configuration file for the alternate pdftops filter +# +# 2004-10-05/Bl +# initial +# +# This configuration file defaults the configuration settings for xpdf's pdftops +# utility for use as a CUPS filter (under the pdftops wrapper). Short of +# unicode handling, those options are listed which are (or seem to me) relevant +# to convert PDFs to PostScript suitable for production printers. +# +# Most of these options may be overridden by osing the commandline options +# pr pdftops prefixed with 'pdf'. Example: to enable OPI handling, add +# pdf-opi +# to the command line options. For the details see the pdftops wrapper. + +# +# Where to search for fonts not embedded in the PDF (currently, Type1 fonts only) +# +fontDir /PostScript/pfa + +# +# Paper size handling +# We default to the media size specified in the PDF file. +# If a crop box is specified, it wil be used, otherwise the media box instead. +# By default, we use this size as imageable area. +# +psPaperSize match +psCrop yes +psExpandSmaller no +psShrinkLarger no +psCenter yes + +# +# As we have (level 2) printers which don't understand CID fonts, we produce level 2 +# output. +# +psLevel level2 + +# +# Font handling. +# We embed all fonts embedded in the PDF in the generated PS (level2 compatible composite +# fonts in case of CID fonts. +# +psEmbedType1Fonts yes +psEmbedTrueTypeFonts yes +psEmbedCIDTrueTypeFonts yes +psEmbedCIDPostScriptFonts yes + +# +# OPI. +# As OPI handling is rather uncommon to printers, disable it by default. But it may be +# enabled by print command attribute. +# +psOPI no + +# +# Use ASCII85 encoding. +# +psASCIIHex no + --- cups-1.3.9.orig/debian/local/cups.ufw.profile +++ cups-1.3.9/debian/local/cups.ufw.profile @@ -0,0 +1,5 @@ +[CUPS] +title=Common UNIX Printing System server +description=CUPS is a printing system with support for IPP, samba, lpd, and other protocols. +ports=631 + --- cups-1.3.9.orig/debian/local/apparmor-profile +++ cups-1.3.9/debian/local/apparmor-profile @@ -0,0 +1,149 @@ +# vim:syntax=apparmor +# Last Modified: Thu Aug 2 12:54:46 2007 +# Author: Martin Pitt + +#include + +/usr/sbin/cupsd { + #include + #include + #include + #include + #include + #include + #include + #include + + capability chown, + capability fowner, + capability fsetid, + capability kill, + capability net_bind_service, + capability setgid, + capability setuid, + + # nasty, but we limit file access pretty tightly, and cups chowns a + # lot of files to 'lp' which it cannot read/write afterwards any + # more + capability dac_override, + + # the bluetooth backend needs this + network bluetooth, + + # the dnssd backend uses those + network x25 seqpacket, + network ax25 dgram, + network netrom seqpacket, + network rose dgram, + network ipx dgram, + network appletalk dgram, + network econet dgram, + network ash dgram, + + /bin/bash ixr, + /bin/dash ixr, + /bin/hostname ixr, + /dev/lp* rw, + /dev/ttyS* rw, + /dev/usb/lp* rw, + /dev/parport* rw, + /etc/cups/ rw, + /etc/cups/** rw, + /etc/foomatic/* r, + /etc/gai.conf r, + /etc/shadow m, + /etc/passwd m, + /etc/group m, + /etc/papersize r, + /etc/pnm2ppa.conf r, + /etc/printcap rwl, + /etc/ssl/** r, + @{PROC}/net/ r, + @{PROC}/net/* r, + @{PROC}/sys/dev/parport/** r, + @{PROC}/*/net/ r, + @{PROC}/*/net/** r, + /sys/** r, + /usr/bin/* ixr, + /usr/sbin/* ixr, + /bin/* ixr, + /sbin/* ixr, + /usr/lib/** rm, + + # backends which come with CUPS can be confined + /usr/lib/cups/backend/bluetooth ixr, + /usr/lib/cups/backend/dnssd ixr, + /usr/lib/cups/backend/http ixr, + /usr/lib/cups/backend/ipp ixr, + /usr/lib/cups/backend/lpd ixr, + /usr/lib/cups/backend/parallel ixr, + /usr/lib/cups/backend/scsi ixr, + /usr/lib/cups/backend/serial ixr, + /usr/lib/cups/backend/snmp ixr, + /usr/lib/cups/backend/socket ixr, + /usr/lib/cups/backend/usb ixr, + # we treat cups-pdf specially, since it needs to write into /home + # and thus needs extra paranoia + /usr/lib/cups/backend/cups-pdf Px, + # third party backends get no restrictions as they often need high + # privileges and this is beyond our control + /usr/lib/cups/backend/* Ux, + + /usr/lib/cups/cgi-bin/* ixr, + /usr/lib/cups/daemon/* ixr, + /usr/lib/cups/monitor/* ixr, + /usr/lib/cups/notifier/* ixr, + # filters and drivers (PPD generators) are always run as non-root, + # and there are a lot of third-party drivers which we cannot predict + /usr/lib/cups/filter/* Uxr, + /usr/lib/cups/driver/* Uxr, + /usr/local/share/** r, + /usr/share/** r, + /var/cache/cups/ rw, + /var/cache/cups/** rwk, + /var/log/cups/ rw, + /var/log/cups/* rw, + /var/run/avahi-daemon/socket rw, + /var/run/cups/ rw, + /var/run/cups/** rw, + /var/spool/cups/ rw, + /var/spool/cups/** rw, + + # third-party printer drivers; no known structure here + /opt/** rix, + + # FIXME: no policy ATM for hplip and Brother drivers + /usr/bin/hpijs Ux, + /usr/Brother/** Ux, + + # Kerberos authentication + /etc/krb5.conf r, + /etc/cups/krb5.keytab rw, +} + +# separate profile since this needs to write into /home +/usr/lib/cups/backend/cups-pdf { + #include + #include + #include + #include + + capability chown, + capability fowner, + capability fsetid, + capability setgid, + capability setuid, + + /bin/dash ixr, + /bin/bash ixr, + /etc/papersize r, + /etc/cups/cups-pdf.conf r, + @{HOME}/PDF/ rw, + @{HOME}/PDF/* rw, + /usr/bin/gs ixr, + /usr/lib/cups/backend/cups-pdf mr, + /usr/lib/ghostscript/** mr, + /usr/share/** r, + /var/log/cups/cups-pdf_log w, + /var/spool/cups-pdf/** rw, +} --- cups-1.3.9.orig/debian/local/filters/oopstops +++ cups-1.3.9/debian/local/filters/oopstops @@ -0,0 +1,184 @@ +#!/usr/bin/perl -w +# =============================================================================== +# oopstops prefilter to sanitize PostScript jobs generated by OpenOffice 2.x +# ------------------------------------------------------------------------------- +# 1.00 - 2007-03-17/Bl +# First implementation +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# Description: +# ------------ +# OpenOffice as of version 2.x has built-in CUPS support, parses +# the user selectable options in the printer's PPD and inserts the respecitve +# PostScript code into the PostScript job. However, it does not insert all +# defined defaults nor the JCL settings, but it does honour the JobPatchFile +# keyword. In addition, if a default setting in the PPD does not correspond +# to one of the choices listed in the respective UI block, OpenOffice silently +# selects the first choice (NOTE: this cannot be corrected by this filter). +# Moreover, the page related features are inserted into the page setup section +# of the first page. This violates the page independence and prohibits successful +# working of job attivutes like number-up or same-up. +# +# We therefore modify the PostScript job as follows: +# - any JobPatchFile features are discaarded, as they are re-inserted by the +# pstops filter. +# - the first page's page setup is moved to the end of the general setup section +# (in fact, the respective comments are moved instead). + + + +use IO::Handle; + +# +# Check the arguments +# +die ("ERROR: wrong number of arguments\n") if (scalar @ARGV < 5); + +$jobid = $username = $title = $copies = $options = undef; +$jobid = shift; # Job ID +$username = shift; # Job requesting user name +$title = shift; # Job title +$copies = shift; # Number of requested copies +$options = shift; # Textual representation of job attributes +$psfile = shift; # read from file ? + + +# +# Normalize options string +# +$options =~ s/^\s+//; +$options =~ s/\s+$//; +$options = ' ' . $options . ' '; + +# +# Check from where to read +# +if (defined $psfile) +{ + open (FILI, "<$psfile") || die ("ERROR: $psfile: $!\n"); +} +else +{ + open (FILI, "<&STDIN") || die ("ERROR: STDIN: $!\n"); +} + +# STDOUT->autoflush (1); + +# +# Parse the input until and including the page setup of the first page +# and relocate the setup features to the end of the setup section. +# +@feature = (); +$within_feature = 0; +$feature_name = ''; +$saw_page = 0; +@pagehead = (); + +while () +{ + if (/^\[\{/) + { + push (@feature, $_); + $_ = ; + if (/^%%BeginFeature:\s+\*(\S+)\s+/) + { + $feature_name = $1; + push (@feature, $_); + $within_feature = 1; + next; + } + else + { + print STDOUT shift @feature; + print STDOUT; + } + next; + } + if (/^%%EndFeature/) + { + if ($within_feature) + { + push (@feature, $_); + $_ = ; + if (/^\}\s+stopped\s+cleartomark/) + { + push (@feature, $_); + } + else + { + $next_line = $_; + } + if ($feature_name eq 'JobPatchFile') + { + @feature = (); # discard the job patch file(s) + } + $within_feature = 0; + print STDOUT $next_line if (defined $next_line && $next_line); + } + else + { + print STDOUT; + } + next; + } + next if (/^%%EndSetup/); + if (/^%%Page:/) + { + $saw_page = 1; + push (@pagehead, $_); + next; + } + if (/^%%EndPageSetup/) + { + push (@pagehead, $_); + if (scalar @feature > 0) + { + while (my $line = shift @feature) + { + print STDOUT $line; + } + $feature_name = ''; + } + print STDOUT "%%EndSetup\n"; + while (my $line = shift @pagehead) + { + print STDOUT $line; + } + $saw_page = 0; + last; + } + next if (/^<< \/NumCopies null /); # skip the copies hack because of Ghostscript quirks + if ($within_feature) + { + push (@feature, $_); + } + elsif ($saw_page) + { + push (@pagehead, $_); + } + else + { + print STDOUT; + } +} + +# +# Now copy the rest without further interpretation +# +while () +{ + print STDOUT; +} + +close (FILI) if (defined $psfile); + + --- cups-1.3.9.orig/debian/local/filters/textonly +++ cups-1.3.9/debian/local/filters/textonly @@ -0,0 +1,124 @@ +#!/bin/bash +## Copyright (C) 2003-2006 Red Hat, Inc. +## Copyright (C) 2003-2006 Tim Waugh +## Changed on 2007/05/17, Opher Shachar, LADPC Ltd. +## Added support for page-ranges option. +## Added page accounting. + +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. + +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +if [ $# == 0 ]; then + echo >&2 "ERROR: $0 job-id user title copies options [file]" + exit 1 +fi + +# Extract the papersize +SENDFF=`grep '^\*DefaultSendFF' "$PPD" | cut -d\ -f2` +COPIES=1 +if [ $# -ge 4 ]; then + COPIES="$4" +fi + +if [ "$COPIES" -gt 1 ] && [ $# -lt 6 ]; then + unset TMPFILE + trap -- 'rm -f "$TMPFILE"' EXIT + TMPFILE=$(mktemp ${TMPDIR:-/tmp}/textonly.XXXXXX) + cat > "$TMPFILE" +else + TMPFILE="$6" +fi + +PR=${5#*page-ranges=} +# Do options specify page-ranges? +if [[ "$PR" != "$5" ]]; then + PR=${PR%% *} +else + #unset PR + PR=1-999999 +fi + +if [[ "$PR" ]]; then + TMPFILE2=$(mktemp ${TMPDIR:-/tmp}/textonly2.XXXXXX) + pagenum=0 + EOF= + { + while [[ "$PR" ]]; do + pl=${PR%%,*} ;# take first subrange + PR=${PR#$pl};PR=${PR#,} ;# remove from range list + pu=${pl#*-} ;# extract upper and lower + pl=${pl%-*} ;# pages of subrange + # Allows interpreting 0-5,3-10 as 1-5,6-10 rejects 5-1 or 1- + (( pagenum >= pl )) && pl=$(( pagenum + 1 )) + (( pl > pu )) && continue + + # Loop reading pages until at or over lower page of subrange. + while read -d `echo -ne '\f'` -r; do + (( pagenum++ )) + (( pagenum == pl )) && break + done + # Did we reach lower page of subrange or EOF? + if (( pagenum < pl )); then + [[ ! "$REPLY" ]] && break ;# empty last page - we're done. + (( pagenum++ )) + EOF=y + fi + # Output page and report to page log + if (( pagenum == pl )); then + echo -n "${REPLY}" >>"$TMPFILE2" + # If EOF then page has no final FF + [[ ! "$EOF" ]] && echo -ne '\f' >>"$TMPFILE2" + echo "PAGE: $pagenum $COPIES" >&2 + fi + [[ "$EOF" ]] && break + # Is the current subrange a single page? + (( pagenum == pu )) && continue + while read -d `echo -ne '\f'` -r; do + (( pagenum++ )) + echo -ne "${REPLY}\f" >>"$TMPFILE2" + echo "PAGE: $pagenum $COPIES" >&2 + (( pagenum == pu )) && break + done + # Could be that we reached EOF before page boundry + if (( pagenum < pu )); then + if [[ "$REPLY" ]]; then + (( pagenum++ )) + echo -n "${REPLY}" >>"$TMPFILE2" + echo "PAGE: $pagenum $COPIES" >&2 + fi + break + fi + done + } <"$TMPFILE" +else + TMPFILE2="$TMPFILE" + pc=$(grep -co `echo -ne '\f'` "$TMPFILE2") + pc=$(( pc * $COPIES )) + echo "PAGE: $pc" >&2 +fi + +while [ "$COPIES" -gt 0 ]; do + # Just translate LF->CRLF at the moment, until the PPD has options added. + sed -e 's/$/'`echo -ne '\r'`'/g' "$TMPFILE2" + + if [ "$SENDFF" == "True" ] + then + echo -ne \\14 + fi + + COPIES=$(($COPIES - 1)) +done +# Cleanup +[[ "$TMPFILE" != "$TMPFILE2" ]] && rm -f "$TMPFILE2" +exit 0 --- cups-1.3.9.orig/debian/local/filters/cpdftocps +++ cups-1.3.9/debian/local/filters/cpdftocps @@ -0,0 +1,85 @@ +#!/bin/sh + +# application/vnd.cups-pdf -> application/vnd.cups-postscript filter + +# Contributed by Johan Kiviniemi. Licensed under the terms of the CUPS Debian +# packaging. +# The typical filter chain using this filter: +# (something that outputs pdf) +# -> pdftopdf +# -> cpdftocps (runs pdftops -> pstops) +# -> (postscript printer) + +# The emit-jcl option can be safely passed through to pstops, since pdftops +# strips any JCL output by pdftopdf before processing the PDF. pstops then +# simply does the right thing regarding JCL for pdftops’ output. + +set -e + +# These options are *not* passed through to pstops, since pdftopdf or +# equivalent has already processed them. +MASK=' + brightness + Collate + cupsEvenDuplex + fitplot + gamma + hue + landscape + mirror + multiple-document-handling + natural-scaling + number-up + number-up-layout + orientation-requested + OutputOrder + page-border + page-bottom + page-label + page-left + page-ranges + page-right + page-set + page-top + position + saturation + scaling + sides +' + +# Convert MASK to a regexp. +MASK_RE=$( + set -- $MASK + IFS='|' + printf "%s" "$*" +) + +# Annihilate all forms of the masked options from $5: +# -