--- cupsys-1.3.7.orig/debian/presubj +++ cupsys-1.3.7/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. --- cupsys-1.3.7.orig/debian/docs +++ cupsys-1.3.7/debian/docs @@ -0,0 +1,2 @@ +CREDITS.txt +README.txt --- cupsys-1.3.7.orig/debian/cupsys.prerm +++ cupsys-1.3.7/debian/cupsys.prerm @@ -0,0 +1,50 @@ +#! /bin/sh +# prerm script for cupsys +# +# 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/lib/cups/backend/smb ]; then + rm -f /usr/lib/cups/backend/smb 2>/dev/null || true + fi + 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 + + --- cupsys-1.3.7.orig/debian/local/apparmor-profile +++ cupsys-1.3.7/debian/local/apparmor-profile @@ -0,0 +1,136 @@ +# 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, + + /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, + /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/** rw, + /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 + /usr/bin/hpijs 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, +} --- cupsys-1.3.7.orig/debian/local/pdftops.conf +++ cupsys-1.3.7/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 + --- cupsys-1.3.7.orig/debian/local/oopstops.convs +++ cupsys-1.3.7/debian/local/oopstops.convs @@ -0,0 +1 @@ +application/openofficeps application/postscript 33 oopstops --- cupsys-1.3.7.orig/debian/local/postscript.ppd +++ cupsys-1.3.7/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 $". +*% --- cupsys-1.3.7.orig/debian/local/oopstops.types +++ cupsys-1.3.7/debian/local/oopstops.types @@ -0,0 +1 @@ +application/openofficeps string(0,%!) + contains(0,1024,"%%Creator: OpenOffice.org 2.") --- cupsys-1.3.7.orig/debian/local/backends/dnssd +++ cupsys-1.3.7/debian/local/backends/dnssd @@ -0,0 +1,275 @@ +#!/usr/bin/perl +# The above Perl path may vary on your system; fix it!!! -*- perl -*- + +# dnssd - Search for network printers with the avahi-browse command +# (Zeroconf, DNS-SD) + +# Printer discovery CUPS backend (like the SNMP backend) +# See also http://qa.mandriva.com/show_bug.cgi?id=21812 + +# Copyright 2007 Till Kamppeter +# +# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. + +# Usage: +# +# cp dnssd /usr/lib/cups/backend/ +# chmod 755 /usr/lib/cups/backend/dnssd +# killall -HUP cupsd (or "/etc/init.d/cups restart", CUPS 1.1.x only) +# lpinfo -v (or use any printer setup tool) +# +# /usr/lib/cups/backend/dnssd +# Shows only info for printer with given IP + +use strict; + +$0 =~ m!^(.*)/([^/]+)\s*$!; +my $progname = ($2 || $0 || "dnssd"); +my $progpath = ($1 || "/usr/lib/cups/backend"); + +if (@ARGV > 1) { + die "This backend is only for printer discovery, not for actual printing.\n"; +} + +my $ipfilter = $ARGV[0] if $ARGV[0]; + +my $avahicmd = "avahi-browse -k -t -v -r -a 2> /dev/null"; + +# IPs which are for computers, consider their printer entries as queues +# set up with the local printing system (CUPS, LPD, Windows/Samba SMB, ...) +my @computerips = (); +my $output; +my $hosts; +my ($interface, $nettype, $ip, $host, $make, $model, $description, $cmd, $makemodel, $deviceid, $protocol, $port, $uriext, $uri); + +open (AVAHI, "$avahicmd |") or exit 0; +while (my $line = ) { + chomp ($line); + if ($line =~ /^\s*=\s+(\S+)\s+(\S+)\s+(.*?)\s+(\S+)\s+(\S+)\s*$/) { + # New item + $interface = $1; + $nettype = $2; + my $itemname = $3; + my $protocolinfo = $4; + next if $nettype !~ /^IPv4$/i; + if ($protocolinfo =~ /_workstation/) { + $protocol = "computer"; + } elsif ($protocolinfo =~ /_pdl-datastream/) { + $protocol = "socket"; + } elsif ($protocolinfo =~ /_printer/) { + $protocol = "lpd"; + } elsif ($protocolinfo =~ /_ipp/) { + $protocol = "ipp"; + } + } elsif ($line =~ /^\s*hostname\s*=\s*\[([^\]]+)\]\s*$/) { + $host = $1; + $host =~ s/\.local\.?$//; + } elsif ($line =~ /^\s*address\s*=\s*\[([^\]]+)\]\s*$/) { + $ip = $1; + if ($protocol eq "computer") { + push (@computerips, $ip); + $protocol = ""; + } + } elsif ($line =~ /^\s*port\s*=\s*\[([^\]]+)\]\s*$/) { + $port = $1; + } elsif ($line =~ /^\s*txt\s*=\s*\[(.+)\]\s*$/) { + my $info = $1; + if ($protocol && (!defined($ipfilter) || ($ipfilter eq $ip))) { + my ($ty, $product, $pdls, $usb_MFG, $usb_MDL, $usb_DES, $usb_CMD) = + ("", "", "", "", "", "", ""); + while ($info =~ s/^\s*\"([^\"]+)\"\s*//) { + my $infoitem = $1; + if ($infoitem =~ /^([^=]*)=(.*)$/) { + my $field = $1; + my $content = $2; + if ($field eq "ty") { + $ty = $content; + } elsif ($field eq "product") { + $product = $content; + $product =~ s/^\((.*)\)$/$1/; + } elsif ($field eq "usb_MFG") { + $usb_MFG = $content; + } elsif ($field eq "usb_MDL") { + $usb_MDL = $content; + } elsif ($field eq "usb_DES") { + $usb_DES = $content; + } elsif ($field eq "usb_CMD") { + $usb_CMD = $content; + } elsif ($field eq "rp") { + $uriext = $content; + } elsif ($field eq "pdl") { + while ($content =~ s/^\s*([^\,]+?)\s*\,\s*//) { + my $i = $1; + if ($i =~ m!\b(postscript|ps)\b!i) { + $pdls .= "POSTSCRIPT,"; + } elsif ($i =~ m!\b(pdf)\b!i) { + $pdls .= "PDF,"; + } elsif ($i =~ m!\b(pcl6|pclxl|pxl)\b!i) { + $pdls .= "PCLXL,"; + } elsif ($i =~ m!\b(pcl[345][ce]?|pcl)\b!i) { + $pdls .= "PCL,"; + } + } + $pdls =~ s/\,$//; + } + } + } + $usb_MDL ||= $ty; + $usb_DES ||= $product; + if ($usb_MFG) { + $make = $usb_MFG; + } elsif ($usb_DES =~ /^KONICA\s*MINOLTA\b/i) { + $make = "KONICA MINOLTA"; + } elsif ($usb_DES) { + $usb_DES =~ /^\s*(\S*)\b/; + $make = $1; + } + $model = $usb_MDL; + if (!$model) { + $usb_DES =~ /^\s*\S*\s*(.*)$/; + $model = $1; + } + $usb_CMD ||= $pdls; + my $extra; + if ($protocol eq "socket") { + if ($port eq "9100") { + $uri = "socket://$ip"; + } else { + $uri = "socket://$ip:$port"; + } + $extra = "Port $port"; + } elsif ($protocol eq "lpd") { + $uri = "lpd://$ip" . ($uriext ? "/$uriext" : ""); + $extra = ($uriext ? "Queue: $uriext" : "Default queue"); + } elsif ($protocol eq "ipp") { + $uri = "ipp://$ip:$port" . ($uriext ? "/$uriext" : ""); + $extra = ($uriext ? "Queue: $uriext" : "Default queue"); + } + if ($make && $model) { + $make =~ s/Hewlett.?Packard/HP/i; + $make =~ s/Lexmark.?International/Lexmark/i; + $model =~ s/Hewlett.?Packard/HP/i; + $model =~ s/Lexmark.?International/Lexmark/i; + while ($model =~ s/^\s*$make\s*//i) {}; + $makemodel = "$make $model"; + } elsif ($usb_DES) { + $makemodel = $usb_DES; + } else { + $makemodel = "Unknown"; + } + $deviceid = ($usb_MFG ? "MFG:$usb_MFG;" : "") . + ($usb_MDL ? "MDL:$usb_MDL;" : "") . + ($usb_DES ? "DES:$usb_DES;" : "") . + ($usb_CMD ? "CMD:$usb_CMD;" : ""); + $deviceid .= "CLS:PRINTER;" if $deviceid; + $hosts->{$ip} = $host if $host; + $output->{$ip}{$protocol}{$uriext} = + "network $uri \"$makemodel\" \"$makemodel $ip ($extra)\" \"$deviceid\"\n"; + ($interface, $nettype, $ip, $host, $make, $model, $description, $cmd, $makemodel, $deviceid, $protocol, $port, $uriext, $uri) = + ("", "", "", "", "", "", "", "", "", "", "", "", "", ""); + } + } +} + +my $localqueues = {}; +my $queue = undef; +if (open LPSTAT, "LC_ALL=C lpstat -l -p -v |") { + while (my $line = ) { + chomp $line; + if ($line =~ /^printer\s+(\S+)/i) { + $queue = $1; + $localqueues->{$queue} = {}; + } elsif ($queue) { + if ($line =~ /^\s+Connection:\s+remote/i) { + $localqueues->{$queue}{remote} = 1; + } elsif ($line =~ /^\s+Interface:\s+(\S+)/i) { + $localqueues->{$queue}{interface} = $1; + } elsif ($line =~ /^device\s+for\s+(\S+)\s*:\s*(\S+)/i) { + $localqueues->{$1}{uri} = $2; + } + } + } + close LPSTAT +} + +my @localips = (); +if (open IFCONFIG, "LC_ALL=C /sbin/ifconfig |") { + while (my $line = ) { + chomp $line; + if ($line =~ /^\s*inet\s+addr:\s*(\S+)/i) { + push (@localips, $1); + } + } + close IFCONFIG; +} + +foreach my $ip (keys(%{$output})) { + # Do not list print queues of the local machine + next if member($ip, @localips); + if ($output->{$ip}{"socket"}) { + foreach my $uriext (keys(%{$output->{$ip}{"socket"}})) { + if (keys(%{$output->{$ip}{"socket"}}) == 1) { + $output->{$ip}{"socket"}{$uriext} =~ + s/^(\s*\S*\s*\S*\s*\"[^\"]*\"\s*\"[^\"\(]*?)\s*\([^\)]*\)\s*(\"\s*.*)$/$1$2/; + } + print $output->{$ip}{"socket"}{$uriext}; + } + } elsif ($output->{$ip}{"lpd"}) { + foreach my $uriext (keys(%{$output->{$ip}{"lpd"}})) { + if (keys(%{$output->{$ip}{"lpd"}}) == 1) { + $output->{$ip}{"lpd"}{$uriext} =~ + s/^(\s*\S*\s*\S*\s*\"[^\"]*\"\s*\"[^\"\(]*?)\s*\([^\)]*\)\s*(\"\s*.*)$/$1$2/; + } + print $output->{$ip}{"lpd"}{$uriext}; + } + } elsif ($output->{$ip}{"ipp"}) { + foreach my $uriext (keys(%{$output->{$ip}{"ipp"}})) { + if ($uriext =~ /^(printers|classes)\/(\S+)$/) { + # Queue from a CUPS server. We should suppress it if it + # is a queue received via CUPS broadcast + $queue=$2; + if (defined($localqueues->{"$queue\@$ip"})) { + $queue = "$queue\@$ip"; + } elsif (defined($localqueues->{"$queue\@$hosts->{$ip}"})) { + $queue = "$queue\@$hosts->{$ip}"; + } + if (defined($localqueues->{$queue})) { + if ($localqueues->{$queue}{remote} && + ($localqueues->{$queue}{uri} =~ + /^ipp:\/\/([^\/:]+)(:\d+|)\/(\S+)/)) { + my $host = $1; + my $ue = $3; + if ($host !~ /\d+\.\d+\.\d+\.\d+/) { + $host = + join(".", unpack("C4", gethostbyname($host))); + } + next if ($host eq $ip) && ($ue eq $uriext); + } + } + } + if (keys(%{$output->{$ip}{"ipp"}}) == 1) { + $output->{$ip}{"ipp"}{$uriext} =~ + s/^(\s*\S*\s*\S*\s*\"[^\"]*\"\s*\"[^\"]*?)\s*\([^\)]*\)\s*(\"\s*.*)$/$1$2/; + } + print $output->{$ip}{"ipp"}{$uriext}; + } + } +} + +exit 0; + +# member( $a, @b ) returns 1 if $a is in @b, 0 otherwise. +sub member { my $e = shift; foreach (@_) { $e eq $_ and return 1 } 0 }; --- cupsys-1.3.7.orig/debian/local/filters/oopstops +++ cupsys-1.3.7/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); + + --- cupsys-1.3.7.orig/debian/local/filters/textonly +++ cupsys-1.3.7/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 --- cupsys-1.3.7.orig/debian/local/acroread.conf +++ cupsys-1.3.7/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 + + --- cupsys-1.3.7.orig/debian/local/textonly.ppd +++ cupsys-1.3.7/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 --- cupsys-1.3.7.orig/debian/cupsys-bsd.preinst +++ cupsys-1.3.7/debian/cupsys-bsd.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for cupsys-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/cupsys-bsd ]; then + rm -rf /usr/share/doc/cupsys-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 + + --- cupsys-1.3.7.orig/debian/printer.schema +++ cupsys-1.3.7/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) ) --- cupsys-1.3.7.orig/debian/cupsys.install +++ cupsys-1.3.7/debian/cupsys.install @@ -0,0 +1,43 @@ +var/ +etc/cups/cupsd.conf +etc/cups/cupsd.conf.default +etc/cups/snmp.conf +etc/cups/ppd +etc/cups/mime.* +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/filter.7.gz +usr/share/man/man5/classes.conf.5.gz +usr/share/man/man5/cupsd.conf.5.gz +usr/share/man/man5/cups-snmp.conf.5.gz +usr/share/man/man5/mailto.conf.5.gz +usr/share/man/man5/subscriptions.conf.5.gz +usr/share/man/man5/mime.convs.5.gz +usr/share/man/man5/mime.types.5.gz +usr/share/man/man5/printers.conf.5.gz +usr/share/man/man8/cups-polld.8.gz +usr/share/man/man8/cupsd.8.gz +usr/share/man/man8/cups-deviced.8.gz +usr/share/man/man8/cups-driverd.8.gz +usr/share/man/man8/cupsfilter.8.gz +../presubj usr/share/bug/cupsys/ +../local/backends/* usr/lib/cups/backend-available/ +../local/filters/* usr/lib/cups/filter/ +../local/*.ppd usr/share/ppd/cups-included/ +../local/*.types usr/share/cups/mime/ +../local/*.convs usr/share/cups/mime/ +../local/pdftops.conf etc/cups/ +../local/acroread.conf etc/cups/ --- cupsys-1.3.7.orig/debian/cupsys.default +++ cupsys-1.3.7/debian/cupsys.default @@ -0,0 +1,4 @@ +# Cups configure options + +# LOAD_LP_MODULE: enable/disable to load "lp" parallel printer driver module +LOAD_LP_MODULE=yes --- cupsys-1.3.7.orig/debian/cupsys-common.preinst +++ cupsys-1.3.7/debian/cupsys-common.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for cupsys-common +# +# 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/cupsys-common ]; then + rm -rf /usr/share/doc/cupsys-common + 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 + + --- cupsys-1.3.7.orig/debian/copyright +++ cupsys-1.3.7/debian/copyright @@ -0,0 +1,155 @@ +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 1997-2002 by Easy Software Products + 44141 AIRPORT VIEW DR STE 204 + HOLLYWOOD, MARYLAND 20636-3111 USA + + Voice: +1.301.373.9600 + Email: cups-info@cups.org + 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 API library, located in the +"cups" subdirectory 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 and the CUPS imaging library. + +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. + - Distribute or sell printer drivers and filters that use + CUPS so long as source code is made available under the + GPL. + +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 new drivers, +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 API library under other +licenses and/or conditions as appropriate for your application. + + +LICENSE EXCEPTIONS + +In addition, as the copyright holder of CUPS, Easy Software +Products 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. Easy Software Products 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. + + +TRADEMARKS + +Easy Software Products has trademarked the Common UNIX Printing +System, CUPS, and CUPS logo. These names and logos may be used +freely in any direct port or binary distribution of CUPS. Please +contract Easy Software Products 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. + + +BINARY DISTRIBUTION RIGHTS + +Easy Software Products also sells rights to the CUPS source code +under a binary distribution license for vendors that are unable +to release source code for their drivers, additions, and +modifications to CUPS under the GNU GPL and LGPL. For +information please contact us at the address shown above. + +The Common UNIX Printing System provides a "pdftops" filter that +is based on the Xpdf software. For binary distribution licensing +of this software, please contact: + + Derek B. Noonburg + Email: derekn@foolabs.com + WWW: http://www.foolabs.com/xpdf/ + + +SUPPORT + +Easy Software Products sells software support for CUPS as well +as a commercial printing product based on CUPS called ESP Print +Pro. You can find out more at our web site: + + http://www.easysw.com/ --- cupsys-1.3.7.orig/debian/cupsys-common.install +++ cupsys-1.3.7/debian/cupsys-common.install @@ -0,0 +1,3 @@ +usr/share/cups/charsets +usr/share/cups/charmaps +usr/share/cups/locale --- cupsys-1.3.7.orig/debian/cupsys-client.postinst +++ cupsys-1.3.7/debian/cupsys-client.postinst @@ -0,0 +1,52 @@ +#! /bin/sh +# postinst script for cupsys +# +# 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 + + --- cupsys-1.3.7.orig/debian/control +++ cupsys-1.3.7/debian/control @@ -0,0 +1,191 @@ +Source: cupsys +Priority: optional +Section: net +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian CUPS Maintainers +Standards-Version: 3.7.3 +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, poppler-utils | xpdf-utils, lsb-release +Uploaders: Kenshi Muto , + Martin Pitt , Roger Leigh , + Martin-Éric Racine , Masayuki Hatta (mhatta) , + Jeff Licquia +Vcs-Svn: svn://svn.debian.org/svn/pkg-cups/cupsys/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-cups/cupsys/trunk + +Package: libcupsys2 +Priority: optional +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Suggests: cupsys-common +Replaces: cupsys-client (<= 1.1.10-2) +Conflicts: gs-esp (<< 7.05.6-2), cupsys-driver-gimpprint (<< 4.2.5-3), cupsys (<< 1.2.1) +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} +Replaces: libcupsys2 (<= 1.1.18-2) +Conflicts: cupsys (<< 1.2.1) +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: cupsys +Priority: optional +Section: net +Architecture: any +Depends: ${shlibs:Depends}, debconf (>= 1.2.9) | debconf-2.0, + poppler-utils | xpdf-utils, perl-modules, procps, + ghostscript | gs-esp, lsb-base (>= 3), cupsys-common, + ssl-cert (>= 1.0.11), adduser +Replaces: cupsys-pstoraster +Conflicts: cupsys-pstoraster (<< 2) +Recommends: cupsys-client, smbclient (>= 3.0.9), foomatic-filters, avahi-utils +Suggests: cupsys-bsd, cupsys-driver-gutenprint, foomatic-filters-ppds, + hplip, xpdf-korean | xpdf-japanese | xpdf-chinese-traditional | xpdf-chinese-simplified, + cups-pdf +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: cupsys-client +Priority: optional +Section: net +Architecture: any +Depends: ${shlibs:Depends}, cupsys-common, adduser +Conflicts: lprng +Suggests: cupsys, kdeprint, gtklp, cupsys-pt, xpp, cupsys-bsd +Replaces: cupsys (<= 1.1.18-3) +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: libcupsys2-dev +Priority: optional +Section: libdevel +Architecture: any +Depends: libcupsys2 (= ${binary:Version}), libgnutls-dev, libkrb5-dev | heimdal-dev +Provides: libcupsys-dev +Conflicts: libcupsys1-dev, libcupsys-dev, cupsys (<< 1.1.22-3) +Replaces: libcupsys1-dev, libcupsys-dev, cupsys (<< 1.1.22-3) +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 cupsys 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}), libcupsys2-dev (= ${binary:Version}), + libpng-dev, libtiff4-dev, libjpeg62-dev, zlib1g-dev +Provides: libcupsimage-dev +Conflicts: libcupsimage-dev +Replaces: libcupsys1-dev, libcupsimage-dev, libcupsys2-dev (<= 1.1.18-2) +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: cupsys-bsd +Priority: extra +Section: net +Architecture: any +Depends: ${shlibs:Depends}, cupsys-client (= ${binary:Version}), + debconf | debconf-2.0, update-inetd, cupsys-common +Recommends: cupsys +Conflicts: lpr, lprng, manpages-fr (<< 0.9.5-1) +Provides: lpr +Replaces: lpr, cupsys (<= 1.1.15-2), manpages-fr (<< 0.9.5-1) +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: cupsys-common +Priority: optional +Section: net +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: cupsys (<< 1.2.3) +Replaces: cupsys (<< 1.2.3) +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. --- cupsys-1.3.7.orig/debian/cupsys-bsd.postrm +++ cupsys-1.3.7/debian/cupsys-bsd.postrm @@ -0,0 +1,41 @@ +#! /bin/sh +# postrm script for cupsys-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# + + --- cupsys-1.3.7.orig/debian/cupsys.postinst +++ cupsys-1.3.7/debian/cupsys.postinst @@ -0,0 +1,183 @@ +#! /bin/sh +# postinst script for cupsys +# +# 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/cupsys ]; then + . /etc/default/cupsys +fi + +case "$1" in + configure) + [ -f /etc/cups/printers.conf.save ] && mv /etc/cups/printers.conf.save /etc/cups/printers.conf + [ -f /etc/cups/classes.conf.save ] && mv /etc/cups/classes.conf.save /etc/cups/classes.conf + + # 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 + + [ -f /etc/cups/ppds.dat ] && mv /etc/cups/ppds.dat /var/cache/cups/ppd + + # Set up smb backend by symlinking to smbspool. + if [ -x /usr/bin/smbspool -a ! -e /usr/lib/cups/backend/smb ]; then + ln -sf /usr/bin/smbspool /usr/lib/cups/backend/smb + 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 + + # Revert to single file + if dpkg --compare-versions "$2" gt 1.1.23-12 && dpkg --compare-versions "$2" lt-nl 1.2.2-1; then + if [ -f /etc/cups/cups.d/ports.conf -o -f /etc/cups/cups.d/browse.conf ]; then + perl -e 'sub readfile { local($_) = @_; open(F, $_); while () { print; } }; while () { s#^Include\s+(/etc/cups/cups.d/(?:ports.conf|browse.conf))#&readfile($1)#ei; print;}' < /etc/cups/cupsd.conf > /etc/cups/cupsd.conf.$$ + mv /etc/cups/cupsd.conf.$$ /etc/cups/cupsd.conf + rm -f /etc/cups/cups.d/ports.conf /etc/cups/cups.d/browse.conf + rmdir /etc/cups/cups.d 2>/dev/null || /bin/true + fi + 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??cupsys /etc/rc6.d/K??cupsys + 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 + + --- cupsys-1.3.7.orig/debian/rules +++ cupsys-1.3.7/debian/rules @@ -0,0 +1,93 @@ +#!/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 + +# This has to be exported to make some magic below work. +#export DH_OPTIONS + +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 --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_FIXPERMS_ARGS := -Xusr/lib/cups/backend-available +DEB_DH_COMPRESS_ARGS := -Xusr/share/doc/libcupsys2-dev/examples/scripting +DEB_DH_INSTALL_SOURCEDIR := debian/tmp +DEB_MAKE_CHECK_TARGET := check +LDFLAGS := -Wl,--as-needed + +common-post-build-arch:: + # Fix permissions of filters/backends installed from debian/local/ + chmod 755 debian/local/filters/* + chmod 755 debian/local/backends/* + +clean:: + rm -f man/client.conf.man packaging/cups.list + rm -f conf/mime.convs conf/snmp.conf init/org.cups.cups-lpd.plist + +common-install-prehook-impl:: + (cd fonts && $(MAKE) install BUILDROOT=$(DEB_DESTDIR)) + +$(patsubst %,install/%,$(DEB_ALL_PACKAGES)) :: install/%: + dh_movefiles -p$(cdbs_curpkg) + + # install lintian overrides + L=debian/$(cdbs_curpkg).lintian; \ + [ -e $$L ] && install -D -m 644 $$L debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg) || true + +binary-post-install/cupsys:: + (cd $(DEB_DESTDIR)/../cupsys/usr/share/doc/cupsys && 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)/../cupsys/usr/share/cups/model/*.ppd; do \ + m=$$(sed -n -e '/^\*Manufacturer:/s/.*"\([^"]*\)".*/\1/p' $$i); \ + mkdir -p "$(DEB_DESTDIR)/../cupsys/usr/share/ppd/cups-included/$$m"; \ + mv $$i "$(DEB_DESTDIR)/../cupsys/usr/share/ppd/cups-included/$$m/"; \ + done + rmdir $(DEB_DESTDIR)/../cupsys/usr/share/cups/model + + dh_usrlocal + + # Install DBUS configuration file so that job progress is reported to + # the system-config-printer applet + install -D -m 644 packaging/cups-dbus.conf $(DEB_DESTDIR)/../cupsys/etc/dbus-1/system.d/cups.conf + + # install AppArmor 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; \ + fi + + # Make the serial backend run as root, since /dev/ttyS* are + # root:dialout and thus not accessible as user lp + chmod 700 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/cupsys-bsd:: + rm -r debian/cupsys-bsd/usr/share/doc/cupsys-bsd + ln -s libcupsys2 debian/cupsys-bsd/usr/share/doc/cupsys-bsd +binary-post-install/libcupsys2-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/cupsys-client:: + rm -r debian/cupsys-client/usr/share/doc/cupsys-client + ln -s libcupsys2 debian/cupsys-client/usr/share/doc/cupsys-client --- cupsys-1.3.7.orig/debian/po/fi.po +++ cupsys-1.3.7/debian/po/fi.po @@ -0,0 +1,170 @@ +# translation of cupsys_1.3.2-1_templates.po to Finnish +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Esko Arajärvi , 2007. +msgid "" +msgstr "" +"Project-Id-Version: cupsys_1.3.2-1_templates\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-10-15 13:13+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Haluatko pystyttää â€BSD lpdâ€-yhteensopivuuspalvelimen?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"CUPS-paketti sisältää palvelimen, joka voi vastaanottaa BSD-tyylisiä " +"tulostustöitä ja lähettää ne CUPSille. Palvelinta tulisi käyttää vain, jos " +"on todennäköistä, että muut tietokoneet lähettävät töitä verkon yli käyttäen " +"BSD- tai LPR-palveluita, eikä näitä tietokoneita voida asettaa käyttämään " +"CUPSin IPP-protokollaa." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Tuleeko CUPSin tulostaa tuntemattomat työt raakatöinä?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Internet Printing Protocol (IPP) vaatii, että tulostustöille on määritelty " +"MIME-tyyppi. Koska kaikki tulostustöitä lähettävät tahot eivät pysty " +"asettamaan sopivaa tyyppiä, monet työt tulevat lähetetyiksi MIME-tyypillä " +"application/octet-stream ja saattavat tulla hylätyiksi, jos CUPS ei pysty " +"arvaamaan niiden tyyppiä." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS pystyy käsittelemään kaikki tällaiset työt â€raakatöinäâ€. Tällöin ne " +"lähetetään suoraan tulostimelle ilman käsittelyä." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"On suositeltavaa käyttää tätä optiota, jos palvelin ottaa vastaa töitä " +"Windows-tietokoneilta tai Samba-palvelimilta." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "rinnakkainen" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "sarjallinen" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "pistoke" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Tulostusviestinnän taustaliitännät:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS käyttää taustaliitäntäohjelmia viestiessään tulostinlaitteelle tai " +"tulostusporttiin." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Ikävä kyllä jotkin taustaliitäntäohjelmat aiheuttavat usein ongelmia. " +"Esimerkiksi jotkin PPC-ytimet kaatuvat käytettäessä " +"rinnakkaistaustaliitäntää." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Valitse taustaliitäntäohjelma, jota CUPSin tulisi käyttää. Oletusvalinnan " +"pitäisi toimia yleisimmissä ympäristöissä." --- cupsys-1.3.7.orig/debian/po/templates.pot +++ cupsys-1.3.7/debian/po/templates.pot @@ -0,0 +1,148 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" --- cupsys-1.3.7.orig/debian/po/ml.po +++ cupsys-1.3.7/debian/po/ml.po @@ -0,0 +1,170 @@ +# Malayalam translation of cupsys debconf template. +# Copyright (C) 2007 THE cupsys' COPYRIGHT HOLDER +# This file is distributed under the same license as the cupsys package. +# Praveen|à´ªàµà´°à´µàµ€à´£àµâ€ A|à´Ž , 2007. +# +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys 20070331\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-31 07:18+0530\n" +"Last-Translator: Praveen|à´ªàµà´°à´µàµ€à´£àµâ€ A|à´Ž \n" +"Language-Team: Swathanthra|à´¸àµà´µà´¤à´¨àµà´¤àµà´° Malayalam|മലയാളം Computing|à´•à´®àµà´ªàµà´¯àµ‚à´Ÿàµà´Ÿà´¿à´™àµà´™àµ \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "BSD lpd പൊരàµà´¤àµà´¤ സേവകനàµâ€ സജàµà´œàµ€à´•à´°à´¿à´¯àµà´•àµà´•à´¾à´¨àµâ€ നിങàµà´™à´³à´¾à´—àµà´°à´¹à´¿à´¯àµà´•àµà´•àµà´¨àµà´¨àµà´£àµà´Ÿàµ‹?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"BSD-à´¸àµà´±àµà´±àµˆà´²à´¿à´²àµà´³àµà´³ à´…à´šàµà´šà´Ÿà´¿ ജോലികളàµâ€ à´¸àµà´µàµ€à´•à´°à´¿à´¯àµà´•àµà´•à´¾à´¨àµà´‚ CUPS നൠസമരàµâ€à´ªàµà´ªà´¿à´¯àµà´•àµà´•à´¾à´¨àµà´‚ à´•à´´à´¿à´µàµà´³àµà´³ ഒരൠസേവകനàµâ€ " +"CUPS പാകàµà´•àµ‡à´œàµ ഉളàµâ€à´•àµà´•àµŠà´³àµà´³àµà´¨àµà´¨àµà´£àµà´Ÿàµ. മറàµà´±àµ à´•à´®àµà´ªàµà´¯àµ‚à´Ÿàµà´Ÿà´±àµà´•à´³àµâ€ \"BSD\" à´…à´²àµà´²àµ†à´™àµà´•à´¿à´²àµâ€ \"LPR\" സേവനങàµà´™à´³àµâ€ വഴി " +"നെറàµà´±àµâ€Œà´µà´°àµâ€à´•àµà´•à´¿à´²àµ‚ടെ ജോലികളàµâ€ സമരàµâ€à´ªàµà´ªà´¿à´¯àµà´•àµà´•à´¾à´¨àµà´³àµà´³ സാധàµà´¯à´¤à´¯àµà´£àµà´Ÿàµ à´Žà´¨àµà´¨àµ മാതàµà´°à´®à´²àµà´² à´ˆ à´•à´®àµà´ªàµà´¯àµ‚à´Ÿàµà´Ÿà´±àµà´•à´³àµâ€ CUPS " +"ഉപയോഗിയàµà´•àµà´•àµà´¨àµà´¨ IPP പെരàµà´®à´¾à´±àµà´±à´šàµà´šà´Ÿàµà´Ÿà´‚ ഉപയോഗിയàµà´•àµà´•à´¾à´¨à´¾à´¯à´¿ പരിവരàµâ€à´¤àµà´¤à´¨à´‚ ചെയàµà´¯à´¾à´¨àµâ€ സാധàµà´¯à´µàµà´®à´²àµà´² à´Žà´¨àµà´¨ " +"അവസരതàµà´¤à´¿à´²àµâ€ മാതàµà´°à´®àµ‡ ഇതൠസജàµà´œàµ€à´•à´°à´¿à´¯àµà´•àµà´•àµ‡à´£àµà´Ÿà´¤àµà´³àµà´³àµ‚." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"മനസിലാവാതàµà´¤ ജോലികളàµâ€ അസംസàµà´•àµƒà´¤ ജോലികളായി CUPS à´…à´šàµà´šà´Ÿà´¿à´¯àµà´•àµà´•à´£à´®àµ†à´¨àµà´¨àµ നിങàµà´™à´³à´¾à´—àµà´°à´¹à´¿à´¯àµà´•àµà´•àµà´¨àµà´¨àµà´£àµà´Ÿàµ‹?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"ഇനàµà´±à´°àµâ€à´¨àµ†à´±àµà´±àµ à´…à´šàµà´šà´Ÿà´¿ പെരàµà´®à´¾à´±àµà´±à´šàµà´šà´Ÿàµà´Ÿà´‚ (IPP) à´Žà´²àµà´²à´¾ à´…à´šàµà´šà´Ÿà´¿ ജോലികളàµâ€à´•àµà´•àµà´‚ ഒരൠMIME തരം " +"നിരàµâ€à´¬à´¨àµà´§à´®à´¾à´•àµà´•àµà´¨àµà´¨àµ. à´…à´šàµà´šà´Ÿà´¿ ജോലികളàµà´Ÿàµ† à´Žà´²àµà´²à´¾ à´¸àµà´°àµ‹à´¤à´¸àµà´¸àµà´•à´³àµâ€à´•àµà´•àµà´‚ à´…à´¤àµà´¤à´°à´®àµŠà´°àµ à´…à´¨àµà´¯àµ‹à´œàµà´¯à´®à´¾à´¯ തരതàµà´¤à´¿à´²àµà´³àµà´³à´¤àµ " +"കൂടàµà´Ÿà´¿à´µà´¯àµà´•àµà´•à´¾à´¨àµâ€ പറàµà´±à´¾à´¤àµà´¤à´¤à´¿à´¨à´¾à´²àµâ€ പല ജോലികളàµà´‚ application/octet-stream à´Žà´¨àµà´¨ തരതàµà´¤à´¿à´²à´¾à´£àµ " +"സമരàµâ€à´ªàµà´ªà´¿à´¯àµà´•àµà´•à´ªàµà´ªàµ†à´Ÿàµà´¨àµà´¨à´¤àµ à´Žà´¨àµà´¨à´¤à´¿à´¨à´¾à´²àµâ€ CUPS നൠജോലിയàµà´Ÿàµ† ഫോരàµâ€à´®à´¾à´±àµà´±àµ ഊഹിയàµà´•àµà´•à´¾à´¨àµâ€ സാധിചàµà´šà´¿à´²àµà´²àµ†à´™àµà´•à´¿à´²àµâ€ " +"തളàµà´³à´¿à´•àµà´•à´³à´¯à´ªàµà´ªàµ†à´Ÿàµà´Ÿàµ‡à´¯àµà´•àµà´•à´¾à´‚." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"à´…à´¤àµà´¤à´°à´¤àµà´¤à´¿à´²àµà´³àµà´³ ജോലികളàµâ€ CUPS നൠ\"അസംസàµà´•àµƒà´¤\" ജോലികളàµâ€ à´Žà´¨àµà´¨ രീതിയിലàµâ€ കൈകാരàµà´¯à´‚ ചെയàµà´¯à´¾à´‚, അതൠ" +"പരിശോധിയàµà´•àµà´•à´¾à´¤àµ† തനàµà´¨àµ† à´…à´šàµà´šà´Ÿà´¿ യനàµà´¤àµà´°à´¤àµà´¤à´¿à´²àµ‡à´¯àµà´•àµà´•àµ നേരിടàµà´Ÿàµ അയയàµà´•àµà´•à´¾à´¨àµâ€ കാരണമാകàµà´¨àµà´¨àµ." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"വിനàµâ€à´¡àµ‹à´¸àµ à´•à´®àµà´ªàµà´¯àµ‚à´Ÿàµà´Ÿà´±àµà´•à´³à´¿à´²àµâ€ നിനàµà´¨àµ‹ സാംബ സേവകരിലàµâ€ നിനàµà´¨àµ‹ à´…à´šàµà´šà´Ÿà´¿ ജോലികളàµâ€ à´¸àµà´µàµ€à´•à´°à´¿à´¯àµà´•àµà´•àµà´¨àµà´¨à´¤à´¾à´£àµ†à´™àµà´•à´¿à´²àµâ€ " +"ഇതൠതിരഞàµà´žàµ†à´Ÿàµà´•àµà´•à´¾à´¨àµâ€ à´¶àµà´ªà´¾à´°àµâ€à´¶ ചെയàµà´¤à´¿à´°à´¿à´¯àµà´•àµà´•àµà´¨àµà´¨àµ." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "serial" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "à´…à´šàµà´šà´Ÿà´¿ യനàµà´¤àµà´° ആശയവിനിമയ ബാകàµà´•àµ†à´¨àµâ€à´¡àµà´•à´³àµâ€:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"à´…à´šàµà´šà´Ÿà´¿ ഉപകരണവàµà´®à´¾à´¯àµ‹ à´…à´²àµà´²àµ†à´™àµà´•à´¿à´²àµâ€ പോരàµâ€à´Ÿàµà´Ÿàµà´®à´¾à´¯àµ‹ ആശയവിനിമയം ചെയàµà´¯à´¾à´¨àµâ€ ബാകàµà´•àµ†à´¨àµâ€à´¡àµ à´ªàµà´°àµ‹à´—àµà´°à´¾à´®àµà´•à´³à´¾à´£àµ " +"CUPS ഉപയോഗിയàµà´•àµà´•àµà´¨àµà´¨à´¤àµ." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"നിരàµâ€à´­à´¾à´—àµà´¯à´µà´¶à´¾à´²àµâ€ à´šà´¿à´² ബാകàµà´•àµ†à´¨àµâ€à´¡àµ à´ªàµà´°àµ‹à´—àµà´°à´¾à´®àµà´•à´³àµâ€ à´šà´¿à´² à´ªàµà´°à´¶àµà´¨à´™àµà´™à´³àµà´£àµà´Ÿà´¾à´•àµà´•à´¾à´¨àµâ€ സാധàµà´¯à´¤à´¯àµà´£àµà´Ÿàµ. ഉദാഹരണതàµà´¤à´¿à´¨àµ, " +"à´šà´¿à´² PPC കെരàµâ€à´£à´²àµà´•à´³àµâ€ parallel ബാകàµà´•àµ†à´¨àµâ€à´¡àµà´®à´¾à´¯à´¿ à´•àµà´°à´¾à´·àµ ചെയàµà´¯àµà´‚." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"ദയവായി CUPS ഉപയോഗിയàµà´•àµà´•àµà´¨àµà´¨ ബാകàµà´•àµ†à´¨àµâ€à´¡àµ à´ªàµà´°àµ‹à´—àµà´°à´¾à´‚ തിരഞàµà´žàµ†à´Ÿàµà´•àµà´•àµà´•. ഡിഫാളàµâ€à´Ÿàµà´Ÿà´¾à´¯à´¿ തിരഞàµà´žàµ†à´Ÿàµà´¤àµà´¤ വില " +"സാധാരണയായàµà´³àµà´³ അധിക പരിസàµà´¥à´¿à´¤à´¿à´•à´³à´¿à´²àµà´‚ ചേരàµà´‚." --- cupsys-1.3.7.orig/debian/po/vi.po +++ cupsys-1.3.7/debian/po/vi.po @@ -0,0 +1,247 @@ +# Vietnamese Translation for CupSys. +# Copyright © 2007 Free Software Foundation, Inc. +# Clytie Siddall , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys_1.2.11-2\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-05-31 15:31+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.6.3b1\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Bạn có muốn thiết lập trình phục vụ tÆ°Æ¡ng thích vá»›i lpd BSD không?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Gói CUPS chứa má»™t trình phục vụ có khả năng chấp nhận việc in kiểu BSD, cÅ©ng " +"đệ trình nó vào CUPS. Chỉ nên đặt gói này nếu máy khác sẽ đệ trình việc in " +"qua mạng bằng dịch vụ « BSD » hay « LPR », và máy khác này không thể được " +"chuyển đổi để sá»­ dụng giao thức IPP mà CUPS dùng." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Bạn có muốn CUPS in việc in lạ nhÆ° là việc thô không?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Giao thức In Mạng (Internet Printing Protocol: IPP) ép buá»™c kiểu MIME cho " +"má»i việc in. Vì không phải tất cả các nguồn việc in có khả năng đính kèm " +"kiểu thích hợp, nhiá»u việc được đệ trình nhÆ° kiểu MIME « application/octet-" +"stream » và có thể bị từ chối nếu CUPS không thể Ä‘oán được định dạng của " +"việc in đó." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS có khả năng quản lý các việc nhÆ° vậy nhÆ° là việc « thô », mà gây ra " +"chúng được gá»­i trá»±c tiếp cho máy in, không xá»­ lý gì." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Khuyên bạn bật tùy chá»n này nếu trình phục vụ sẽ chấp nhận việc in từ máy " +"Windows hay trình phục vụ Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "song song" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "nối tiếp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "ổ cắm" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Hậu phÆ°Æ¡ng liên lạc vá»›i máy in:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"Phần má»m CUPS dùng má»™t số chÆ°Æ¡ng trình hậu phÆ°Æ¡ng để liên lạc vá»›i thiết bị/" +"cổng máy in." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Rất tiếc là má»™t số chÆ°Æ¡ng trình hậu phÆ°Æ¡ng có thể gây ra lá»—i. Chẳng hạn, má»™t " +"số hạt nhân PPC sẽ sụp đổ khi chạy cùng vá»›i hậu phÆ°Æ¡ng song song." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Hãy chá»n chÆ°Æ¡ng trình hậu phÆ°Æ¡ng CUPS cần dùng. Sá»± chá»n mặc định nên thích " +"hợp vá»›i phần lá»›n môi trÆ°á»ng thÆ°á»ng dùng." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Nếu bạn sẽ cần phải nhận việc in từ máy tính chạy hệ Ä‘iá»u hành Windows " +#~ "thì rất có thể là bạn muốn lập tùy chá»n này, vì phần má»m Windows gán má»i " +#~ "việc in IPP được xá»­ lý bởi trình Ä‘iá»u khiển địa phÆ°Æ¡ng, kiểu MIME « " +#~ "application/octet-stream ». Phần má»m Samba cÅ©ng đệ trình các việc in bằng " +#~ "cách đó." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Cổng và/hay tên máy nÆ¡i CUPS se lắng nghe:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Hãy gõ cổng hay tên máy trên mà trình ná»n CUPS sẽ lắng nghe. Cho phép " +#~ "những khuôn dạng theo đây:" + +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " • sổ cổng (v.d. 631)\n" +#~ " • tên máy (v.d. ví_dụ.vnoss.org)\n" +#~ " • máy:cổng (v.d. ví_dụ.vnoss.org:631) • ổ cắm miá»n tập tin (v.d. /var/" +#~ "run/cups/cups.sock)" + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "" +#~ "Bạn có thể kết hợp vài khuôn dạng phân cách bởi khoảng trắng trong danh " +#~ "sách." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "Cổng mặc định 631 dành cho Giao thức In Mạng (Internet Printing Protocol: " +#~ "IPP). Khuyên bạn dùng « localhost:631 » để thiết lập môi trÆ°á»ng Ä‘á»™c lập " +#~ "vì lý do bảo mật. " + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "Phát thanh và/hay lắng nghe thông tin máy in CUPS trên mạng không?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "Trình ná»n CUPS có thể phát thanh thông tin vá» máy in cho trình khách trên " +#~ "mạng nghe, và tá»± Ä‘á»™ng phát hiện máy in nào trên mạng." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Nếu bạn lập tùy chá»n này, trình ná»n CUPS sẽ gởi định kỳ việc phát thanh " +#~ "UDP để phát hiện máy in." + +#~ msgid "Incorrect value entered" +#~ msgstr "Gõ sai giá trị" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "gặp lá»—i khi phân tách số cổng hay tên máy." + +#~ msgid "Please correct your input." +#~ msgstr "Hãy sá»­a dữ liệu gõ." + +#~ msgid "ipp, lpd, parallel, scsi, serial, socket, usb" +#~ msgstr "ipp, lpd, song song, scsi, nối tiếp, ổ cắm, usb" + +#~ msgid "Select the backends you want." +#~ msgstr "Hãy chá»n hậu phÆ°Æ¡ng nào bạn muốn." --- cupsys-1.3.7.orig/debian/po/pt_BR.po +++ cupsys-1.3.7/debian/po/pt_BR.po @@ -0,0 +1,255 @@ +# Brazilian Portuguese translation of cupsys +# This file is distributed under the same license as the aiccu package. +# André Luis Lopes (andrelop) , 2005-2006. +# Felipe Augusto van de Wiel (faw) , 2006-2007. +msgid "" +msgstr "" +"Project-Id-Version: cupsys\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-12-16 15:36+0900\n" +"Last-Translator: Felipe Augusto van de Wiel (faw) \n" +"Language-Team: l10n portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Você quer configurar o servidor de compatibilidade BSD lpd?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"O pacote CUPS contém um servidor que pode aceitar trabalhos de impressão no " +"estilo BSD e enviá-los ao CUPS. Isto deverá ser configurado somente se você " +"possui outros computadores enviando trabalhos de impressão pela rede via " +"serviços \"BSD\" ou \"LPR\" e estes computadores não puderem ser convertidos " +"para usar o protocolo IPP que o CUPS utiliza." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"Você deseja que o CUPS imprima trabalhos desconhecidos como trabalhos \"raw" +"\"?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"O Internet Printing Protocol (IPP - Protocolo de Impressão da Internet) " +"força um tipo MIME para todos os trabalhos de impressão. Como nem todas as " +"fontes de trabalhos de impressão podem anexar um tipo apropriado, muitos " +"trabalhos são enviados como o tipo MIME application/octet-stream e podem " +"ser rejeitados se o CUPS não adivinhar o formato do trabalho." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"O CUPS pode manipular todos estes trabalhos como trabalhos \"raw\", o que " +"faz com que eles sejam enviados diretamente para a impressora sem " +"processamento." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"É recomendado escolher esta opção se o servidor vai aceitar trabalhos de " +"impressão de computadores Windows ou servidores Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paralelo" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "serial" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "\"Backends\" de comunicação com impressoras:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"O CUPS utiliza um programa \"backend\" para comunicação com o dispositivo ou " +"porta de impressão." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Infelizmente, alguns programas \"backend\" causam alguns problemas. Por " +"exemplo, alguns núcleos (\"kernels\") PPC travam com o \"backend parallel" +"\" (paralelo)." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Por favor, selecione o programa \"backend\" a ser usado pelo CUPS. A escolha " +"padrão deve se encaixar na maiorias dos ambientes." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Caso você esteja planejando aceitar trabalhos de impressão de " +#~ "computadores Windows, você provavelmente irá precisar dessa opção " +#~ "habilitada, uma vez que o Windows atribui a todos os trabalhos de " +#~ "impressão IPP processados por um driver local o tipo MIME application/" +#~ "octet-stream. O Samba também envia seus trabalhos de impressão desta " +#~ "maneira." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Porta e/ou nome de host onde o CUPS irá ouvir :" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Por favor, especifique em qual porta ou nome de host o daemon CUPS irá " +#~ "ouvir. Os formatos a seguir são suportados :" + +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Número de porta (631);\n" +#~ " - Nome de host (debian.exemplo.com);\n" +#~ " - Host:Porta (debian.exemplo.com:631);\n" +#~ " - Socket de domínio em arquivo (/var/run/cups/cups.sock)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "" +#~ "Você pode combinar quaisquer um desses formatos especificando os mesmos " +#~ "em uma lista separada por espaços." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "A porta padrão 631 é reservada para o Protocolo de Impressão Internet " +#~ "(IPP). \"localhost:631\" é o recomendado para configuração de um ambiente " +#~ "de trabalho fora de uma rede por razões de segurança." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "" +#~ "Enviar broadcast e/ou ouvir por informações de impressoras CUPS na rede ?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "O daemon CUPS pode enviar informações sobre impressoras via broadcasts " +#~ "para clientes na rede e também detectar impressoras na rede " +#~ "automaticamente." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Caso você habilite esta opção, o daemon CUPS irá periodicamente enviar " +#~ "broadcasts UDP para detectar impressoras." + +#~ msgid "Incorrect value entered" +#~ msgstr "Valor incorreto informado" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "" +#~ "um erro ocorreu durante a leitura do número de porta ou do nome de host." + +#~ msgid "Please correct your input." +#~ msgstr "Por favor, corrija o que foi informado." + +#~ msgid "ipp, lpd, parallel, scsi, serial, socket, usb" +#~ msgstr "ipp, lpd, parallel, scsi, serial, socket, usb" + +#~ msgid "Select the backends you want." +#~ msgstr "Selecione o backend desejado." --- cupsys-1.3.7.orig/debian/po/fr.po +++ cupsys-1.3.7/debian/po/fr.po @@ -0,0 +1,170 @@ +# Translation of cupsys debconf templates to French +# Copyright (C) 2004-2007 Christian Perrier +# This file is distributed under the same license as the cupsys package. +# +# +# Christian Perrier , 2004, 2005, 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-14 11:54+0530\n" +"PO-Revision-Date: 2007-12-14 11:57+0530\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Faut-il installer le serveur compatible avec le démon lpd de BSD ?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Le paquet de CUPS fournit un serveur capable d'accepter des demandes " +"d'impression au style BSD et de les donner à CUPS. Ne le configurez que si " +"des postes du réseau ne sont capable de communiquer avec le serveur qu'avec " +"les services « BSD » ou « LPR » et ne gèrent pas le protocole IPP utilisé par " +"CUPS." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "CUPS doit-il imprimer les demandes sans type MIME sous forme brute ?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Selon le protocole IPP (« Internet Printing Protocol »), chaque demande " +"d'impression doit comporter un type MIME. Comme certaines sources de " +"demandes d'impression ne peuvent pas affecter un type MIME adapté, de " +"nombreuses demandes sont soumises avec le type MIME application/octet-" +"stream. Elles peuvent alors être rejetées si CUPS ne peut en déterminer le " +"format." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS peut traiter toutes ces demandes sans type reconnu comme des demandes " +"au format brut et les envoyer sans aucun traitement à l'imprimante." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Il est recommandé de choisir cette option si le serveur est amené à traiter " +"des demandes d'impression d'ordinateurs Windows ou de serveurs Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "IPP" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallèle" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "SCSI" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "série" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "USB" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "SNMP" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Mode de communication avec les imprimantes :" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS utilise différentes méthodes de communication pour ses échanges avec " +"les imprimantes ou les ports d'impression." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Malheureusement, certaines de ces méthodes sont connues pour provoquer des " +"difficultés comme le gel de certains noyaux PowerPC avec la communication " +"parallèle." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "Le choix par défaut est adapté à la majorité des environnements." --- cupsys-1.3.7.orig/debian/po/nb.po +++ cupsys-1.3.7/debian/po/nb.po @@ -0,0 +1,167 @@ +# translation of nb.po_[sQSfZa].po to Norwegian BokmÃ¥l +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bjørn Steensrud , 2007. +msgid "" +msgstr "" +"Project-Id-Version: nb.po_[sQSfZa]\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-27 19:04+0200\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian BokmÃ¥l \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Vil du sette opp en tjener kompatibel med BSD lpd?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"CUPS-pakka inneholder en tjener som kan ta imot utskriftsjobber som er i BSD-" +"stil og sende dem over til CUPS. Du bør bare sette den opp dersom du har " +"andre datamaskiner som sender utskrifter over nettverket via «BSD» eller " +"«LPR»-tjenester, og disse maskinene ikke kan endres til Ã¥ bruke IPP - " +"Internet Printing Protocol - som CUPS bruker." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Vil du at CUPS skal skrive ut ukjente jobber som rÃ¥ utskrift?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Alle utskriftsjobber i IPP fÃ¥r en MIME-type. Siden ikke alle kilder som " +"sender utskriftsjobber kan legge pÃ¥ en passende type, sÃ¥ blir mange jobber " +"levert som MIME-typen application/octet-stream og kan bli avvist hvis CUPS " +"ikke kan gjette seg til den rette typen." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS kan behandle alle slike jobber som «rå» utskrift, noe som gjør at de " +"sendes direkte til skriveren uten behandling." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Hvis tjeneren kommer til Ã¥ behandle utskriftsjobber fra Windows-maskiner " +"eller Samba-tjenere anbefales det at dette slÃ¥s pÃ¥." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallell" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "seriell" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "sokkel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Kommunikasjonsmotorer for skriver:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS bruker bakgrunns-«motorer» til Ã¥ kommunisere med skriverenheten eller " +"porten." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Dessverre lager noen motorer vanskeligheter. Noen PPD-kjerner, for eksempel, " +"krasjer med parallell-motoren." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Velg motor-program som CUPS skal bruke. Standardvalget passer antakelig i de " +"vanligste miljøene." --- cupsys-1.3.7.orig/debian/po/sv.po +++ cupsys-1.3.7/debian/po/sv.po @@ -0,0 +1,281 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys 1.1.23-13\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-27 08:57+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Vill du konfigurera den BSD-kompatibla lpd-servern?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"CUPS-paketet innehåller en server som kan acceptera utskriftsjobb av BSD-" +"stil och skicka dem till CUPS. Den bör endast konfigureras om du har andra " +"datorer som kommer att skicka jobb över nätverket via \"BSD\" eller \"LPR\"-" +"tjänster och dessa datorer inte kan konverteras till att använda IPP-" +"protokollet som CUPS använder." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Vill du att CUPS ska skriva ut okända jobb som råjobb?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Internet Printing Protocol (IPP) använder en MIME-typ för alla sorters " +"utskriftsjobb. Eftersom inte alla källor för utskriftsjobb kan skicka med en " +"lämplig typ blir många jobb skickade som MIME-typen \"application/octet-" +"stream\" och kan bli nekade om CUPS inte kan gissa jobbtypen." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS kan hantera alla sådan jobb som \"raw\"-jobb vilket orsakar att de " +"skickas direkt till skrivaren utan att först behandlas." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Det är rekommenderat att välja det här alternativet om servern ska acceptera " +"utskriftsjobb från Windows-datorer eller Samba-servrar." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallell" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "seriell" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "uttag" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Bakändar för skrivarkommunikation:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS använder bakändesprogram för att kommunicera med skrivarenheten eller " +"porten." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Tyvärr kan vissa bakändesprogram orsaka en del problem. Till exempel kan " +"vissa PPC-kärnor krascha när den parallella bakänden används." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Välj det bakändesprogram som ska användas av CUPS. Standardvalet bör passa " +"de flesta vanliga miljöer." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Om du vill att utskriftsjobb ska accepteras från Windows-datorer bör du " +#~ "antagligen välja denna funktion eftersom Windows sätter alla IPP-" +#~ "utskriftsjobb som hanteras av en lokal drivare till MIME-typen " +#~ "\"application/octet-stream\". Samba skickar också sina utskriftsjobb på " +#~ "detta sätt." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Port och/eller värdnamn som CUPS lyssnar på:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Vänligen ange porten eller värdnamnet som CUPS-demonen ska lyssna på. " +#~ "Följande format är tillåtna:" + +#, fuzzy +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Portnummer (631);\n" +#~ " - Värdnamn (debian.exempel.se);\n" +#~ " - Värd:Port (debian.exempel.se:631)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "Du kan kombinera flera av dessa genom att avgränsa med mellanslag." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "Standardport 631 är reserverad för Internet Printing Protocol (IPP). " +#~ "\"localhost:631\" är rekommenderad för att ställa in en fristående miljö " +#~ "av säkerhetsskäl." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "" +#~ "Vill du sända ut och/eller lyssna efter skrivarinformation för CUPS på " +#~ "nätverket?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "CUPS-demonen kan sända ut skrivarinformation för klienter på nätverket " +#~ "och automatiskt identifiera skrivare på nätverket." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Om du valde detta alternativ kommer CUPS-demonen att med jämna mellanrum " +#~ "sända UDP-broadcast för att identifiera skrivare." + +#~ msgid "Incorrect value entered" +#~ msgstr "Felaktigt värde angivet" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "ett fel inträffade vid tolkning av portnumret eller värdnamnet." + +#~ msgid "Please correct your input." +#~ msgstr "Vänligen rätt till det." + +#~ msgid "ipp, lpd, parallel, scsi, serial, socket, usb" +#~ msgstr "ipp, lpd, parallell, scsi, seriell, socket, usb" + +#~ msgid "Select the backends you want." +#~ msgstr "Välj det baksystem du vill använda." + +#~ msgid "Specify the port or/and host name that wants to be listened." +#~ msgstr "Ange port och/eller värdnamn som ska lyssnas på." + +#~ msgid "- Port number (631)" +#~ msgstr "- Portnummer (631)" + +#~ msgid "- Host name (debian.example.com)" +#~ msgstr "- Värdnamn (debian.exempel.se)" + +#~ msgid "- Host:Port (debian.example.com:631)" +#~ msgstr "- Värd:Port (debian.exempel.se:631)" + +#~ msgid "It is possible to combine by delimiting two or more values in space." +#~ msgstr "" +#~ "Det är möjligt att kombinera genom att avgränsa två eller fler värden med " +#~ "mellanslag." + +#~ msgid "" +#~ "When this option is accepted, CUPS daemon will broadcast and detect by " +#~ "using UDP periodically." +#~ msgstr "" +#~ "När denna funktion accepteras kommer CUPS-demonen att sända ut och " +#~ "identifiera genom att använda UDP med jämna mellanrum." + +#~ msgid "The wrong value is found in the input." +#~ msgstr "Fel värde matades in." --- cupsys-1.3.7.orig/debian/po/da.po +++ cupsys-1.3.7/debian/po/da.po @@ -0,0 +1,246 @@ +# translation of cupsys_1.1.20final+cvs20040317-3_da.po to Danish +# translation of da.po to Danish +# translation of Debian cupsys debconf to Danish +# +# Claus Hindsgaul , 2004. +# Claus Hindsgaul , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: da\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-27 20:59+0200\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Ønsker du at sætte BSD lpd-kompatibilitetsserveren op?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"CUPS-pakken indeholder en server, der kan modtage print-jobs på BSD-form og " +"sende dem videre til CUPS. Den bør kun sættes op, hvis det er muligt, at " +"andre computere sender jobs over netværket via servicerne \"BSD\" eller \"LPR" +"\", og disse computere ikke kan overgå til at benytte den IPP-protokol, som " +"CUPS benytter." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Ønsker du at CUPS skal udskrive ukendte jobs som rå jobs?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Internet Printing Protocol IPP kræver, at der angives MIME-type for alle " +"printjobs. Da ikke alle printjob-kilder kan medsende den relevante type, vil " +"mange jobs blive sendt med MIME-typen \"application/octet-stream\", og kunne " +"blive afvist, såfremt CUPS ikke kan gætte jobbets format." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS kan håndtere sådanne jobs som \"rå\" jobs, hvilket betyder, at de " +"sendes direkte til printeren uden yderligere behandling." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Det anbefales at vælge denne indstilling, hvis serveren kommer til at " +"modtage printjobs fra Windows-computere eller Samba-servere." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "seriel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "sokkel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Printer-kommunikationsveje:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS bruger bagvedliggende programmer til at kommunikere med printerenheden " +"eller -porten." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Desværre giver nogle af disse bagvedliggende programmer ofte visse problemer " +"(f.eks. bryder kernen sammen på nogle PPC-maskiner med parallel-programmet)." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Vælg det bagvedliggende program, CUPS skal bruge. Det forvalgte burde være " +"passende under de mest almindelige forhold." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Hvis du vil acceptere printjobs fra Windows-computere, bør du acceptere " +#~ "denne funktion, da Windows giver alle IPP-printjobs, som håndteres af en " +#~ "lokal driver MIME-typen \"application/octet-stream\". Samba sender sine " +#~ "jobs på samme måde." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Port og/eller værtsnavn, CUPS skal lytte på:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Angiv port eller værtsnavn, CUPS-dæmonen skal lytte på. Følgende formater " +#~ "er gyldige:" + +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Portnummer (631);\n" +#~ " - værtsnavn (debian.eksempel.dk);\n" +#~ " - Vært:Port (debian.eksempel.dk:631);\n" +#~ " - Fildomænesokkel (/var/run/cups/cups.sock)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "Du kan kombinere disse i en liste adskilt med mellemrum." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "Standardporten 631 er reserveret til Internet-PrinterProtokollen (IPP). " +#~ "\"localhost:631\" anbefales af sikkerhedsgrunde for at sætte et " +#~ "selvstændigt miljø op." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "Rundsend og/eller lyt efter CUPS-printeroplysninger på netværket?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "CUPS-dæmonen kan rundsende printeroplysninger til klienter på netværket " +#~ "og detektere printere på netværket automatisk." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Hvis du vælger denne indstilling, vil CUPS-dæmonen periodisk sende UDP-" +#~ "rundsendinger for at detektere printere." + +#~ msgid "Incorrect value entered" +#~ msgstr "Ugyldig værdi indtastet" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "der opstod en fejl under tolkningaf portnummer eller værtsnavn." + +#~ msgid "Please correct your input." +#~ msgstr "Ret venligst din indtastning." + +#~ msgid "ipp, lpd, parallel, scsi, serial, socket, usb" +#~ msgstr "ipp, lpd, parallel, scsi, seriel, sokkel, usb" + +#~ msgid "Select the backends you want." +#~ msgstr "Vælg det bagvedliggende program, du ønsker." --- cupsys-1.3.7.orig/debian/po/it.po +++ cupsys-1.3.7/debian/po/it.po @@ -0,0 +1,167 @@ +# Italian (it) translation of debconf templates for cupsys +# Copyright (C) 2006 Software in the Public Interest +# This file is distributed under the same license as the cupsys package. +# Luca Monducci , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys 1.2.7 italian debconf templates\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-27 20:09+0200\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Si vuole configurare il server di compatibilità con lpd di BSD?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Il pacchetto CUPS contiene un server che può accettare job di stampa in " +"formato BSD per poi girarli a CUPS. Questo server dovrebbe essere attivato " +"solo se in rete ci sono altri computer che potrebbero inviare job tramite i " +"servizi \"BSD\" o \"LPR\" e che non possono essere configurati per usare il " +"protocollo IPP, cioè quello usato da CUPS." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Si vuole che CUPS stampi i job sconosciuti come job \"raw\"?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Il protocollo IPP (Internet Printing Protocol) assegna un tipo MIME a tutti " +"i job di stampa. Dato che non tutte le sorgenti dichiarano il tipo corretto, " +"molti dei job inviati hanno tipo application/octect-stream e potrebbero " +"essere rifiutati se CUPS non riesce a indovinarne il giusto formato del job." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS può trattare tutti questi job come job \"raw\", ciò comporta l'invio " +"diretto alla stampante, senza ulteriori elaborazioni." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Si raccomanda di attivare questa opzione se il server deve accettare job di " +"stampa da computer con Windows oppure da server Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallela" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "seriale" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Backend di comunicazione con la stampante:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS usa dei programmi di backend per comunicare con il device o la porta " +"della stampante." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Sfortunatamente alcuni programmi di backend porebbero causare dei problemi. " +"Per esempio alcuni kernel per PPC si bloccano con il backend per la porta " +"parallela." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Scegliere quale programma di backend deve usare CUPS. La scelta predefinita " +"dovrebbe essere adatta per la maggioranza dei casi." --- cupsys-1.3.7.orig/debian/po/eu.po +++ cupsys-1.3.7/debian/po/eu.po @@ -0,0 +1,166 @@ +# translation of cupsys-eu.po to librezale +# Piarres Beobide , 2005, 2007. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +msgid "" +msgstr "" +"Project-Id-Version: cupsys-eu\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-27 15:56+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: librezale \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "BSD lpd bateragarritasun zerbitzaria konfiguratu nahi al duzu?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"CUPS paketeak BSD-moduko inprimatze lanak onartu eta CUPS-era bidaltzen " +"dituen zerbitzari bat du. Berau \"BSD\" edo \"LPR\" zerbitzuen bidez sare " +"bidez lanak bidaltzen dituzten eta CUPS-ek erabiltzen duen IPP protokoloa " +"erabili ezin duten ordenagailuak badituzu bakarrik konfiguratu behar da." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "CUPS-ek lan ezezagunak lan gordinak bezala inprimatzea nahi duzu?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Internet Inprimatze Protokoloak (IPP) MIME mota bat indartzen du inprimatze " +"lan guztientzat. Inprimatze lan jatorri guztiek ezin dutenez mota zuzena " +"ezarri, lan asko application/octet-stream MIME mota bezala bidaltzen dira " +"eta ukatu egin daitezke CUPS ez bada lan formatu bezeroa ezagutzeko gauza." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"Posible da CUPS-ek lan hauek guztiak lan \"gordinak\" bezala kudea ditzan, " +"honela lan hauek prozesatu gabe bidaliko dira inprimagailura." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Gomendagarria da aukera hau hautatzea zerbitzariak windows duten ordenagailu " +"edo Samba zerbitzarietatik lanak jasoko baditu." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lds" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paraleloa" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "seriea" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Inprimagailu komunikazio motorea:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS-ek inprimagailu gailu edo atakarekin komunikazioa lortzeko interfaze " +"programakerabiltzen ditu." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Zoritxarrez, zenbait interaze programek arazoak zor ditzakete. (Adibidez " +"zenbait PPC kernel haustura motore paraleloaz)" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Mesedez hautatu CUPS-ek erabiliko duen komunikazio motorea. Aukera " +"lehenetsiak ingurune arruntenetan funtzionatu beharko luke." --- cupsys-1.3.7.orig/debian/po/POTFILES.in +++ cupsys-1.3.7/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] cupsys-bsd.templates +[type: gettext/rfc822deb] cupsys.templates --- cupsys-1.3.7.orig/debian/po/de.po +++ cupsys-1.3.7/debian/po/de.po @@ -0,0 +1,178 @@ +# translation of po-debconf template to German +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# +# Jens Nachtigall , 2004, 2005. +# Matthias Julius , 2007. +msgid "" +msgstr "" +"Project-Id-Version: de\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-31 11:14-0400\n" +"Last-Translator: Matthias Julius \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Möchten Sie den Kompatibilitäts-Server für BSD lpd einrichten?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Dieses Paket enthält einen Server, der BSD-artige Druckaufträge " +"entgegennimmt und diese an CUPS weiterleitet. Sie sollten diesen Server nur " +"einsetzen, wenn andere Rechner über Ihren Rechner Druckaufträge via »bsd« " +"oder »lpr« absetzen und diese Rechner nicht auf das von CUPS verwendete IPP-" +"Protokoll umgestellt werden können." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"Möchten Sie, dass CUPS unbekannte Druckaufträge unbearbeitet (raw) druckt?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Das Internet Printing Protokoll (IPP) erfordert einen MIME-Typ für alle " +"Druckaufträge. Da nicht jeder Erzeuger von Druckaufträgen den geeigneten Typ " +"einfügen kann, werden viele Aufträge mit dem MIME-Typ »application/octet-" +"stream« abgesendet. Diese Druckaufträge können abgewiesen werden, falls CUPS " +"dessen Format nicht ermitteln kann." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS kann all diese Aufträge als »rohe« (engl.: »raw«) Aufträge behandeln. " +"Das bewirkt, dass sie ohne Bearbeitung direkt an den Drucker gesendet werden." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Es wird empfohlen, diese Option zu wählen, falls der Server Druckaufträge " +"von Windows-Rechnern oder Samba-Servern akzeptieren wird." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "IPP" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "SCSI" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "seriell" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "Socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "USB" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "SNMP" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Backends für die Kommunikation mit dem Drucker:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS verwendet Backend-Programme zur Kommunikation mit dem Drucker oder Port." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Leider verursachen manche Backend-Programme Probleme. Zum Beispiel stürzen " +"einige PPC-Kernel mit dem Parallel-Backend ab." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Bitte wählen Sie das Backend-Programm zur Verwendung mit CUPS. Die " +"Voreinstellung sollte den meisten Umgebungen gerecht werden." --- cupsys-1.3.7.orig/debian/po/es.po +++ cupsys-1.3.7/debian/po/es.po @@ -0,0 +1,196 @@ +# cupsys debconf translation to spanish +# Copyright (C) 2003, 2004, 2006, 2007 Software in the Public Interest +# This file is distributed under the same license as the cupsys package. +# +# Changes: +# - Initial translation +# Carlos Valdivia Yagüe , 2003, 2004, 2006 +# - Translation update +# Javier Fernandez-Sanguino , 2007 +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys 1.2.2-1\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-06-21 18:51+0200\n" +"Last-Translator: Carlos Valdivia Yagüe \n" +"Language-Team: Debian L10n Spanish Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "¿Desea configurar el servidor de compatibilidad lpd de BSD?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Este paquete incluye un servidor que acepta trabajos de impresión al estilo " +"BSD y se los envía a CUPS. Configúrelo únicamente en el caso de que haya " +"otras máquinas que envíen trabajos de impresión mediante la red, usando los " +"servicios \"BSD\" o \"LPR\" y no se puede hacer que estos utilice el " +"protocolo IPP que utiliza CUPS." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "¿Quiere que CUPS imprima en bruto los trabajos desconocidos?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"En IPP todos los trabajos de impresión tienen un tipo MIME. Puesto que no " +"todas las fuentes de trabajos de impresión asignan correctamente algún tipo " +"MIME, muchos llegan con el tipo «application/octet-stream» y podrían " +"rechazarse si CUPS no puede adivinar el formato del trabajo." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"Es posible hacer que CUPS trate todos estos trabajos como trabajos «en " +"crudo», con lo que se mandan directamente a la impresora sin procesar." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Se recomienda que escoga esta opción si el servidor va a aceptar trabajos de " +"impresión de ordenadores con Windows o servidores Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paralelo" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "serie" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Motores de comunicación con la impresora:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS utiliza diversos motores para comunicarse con el puerto o dispositivo " +"de la impresora." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Desafortunadamente, ciertos motores pueden causar problemas. Por ejemplo, " +"con el motor del puerto paralelo se producen algunas caídas del núcleo en la " +"arquitectura PPC." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Por favor, elija el motor que utilizará CUPS. La opción predeterminada " +"debería ser apta para los entornos más comunes." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Si va a recibir trabajos de impresión desde sistemas Windows es muy " +#~ "probable que desee activar esta opción, ya que Windows da a los trabajos " +#~ "de impresión IPP que procesa localmente el tipo application/octet-stream. " +#~ "Samba también envía los trabajos de impresión de esta manera." --- cupsys-1.3.7.orig/debian/po/ru.po +++ cupsys-1.3.7/debian/po/ru.po @@ -0,0 +1,253 @@ +# translation of cupsys-ru.po to Russian +# translation of cupsys_1.1.23-12_ru.po to Russian +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Yuri Kozlov , 2005. +# +# Translator: Yuri Kozlov " +msgid "" +msgstr "" +"Project-Id-Version: cupsys_1.2.7-4_ru.po\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-04-05 11:27+0300\n" +"Last-Translator: Sergey Alyoshin \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Хотите уÑтановить Ñервер ÑовмеÑтимоÑти Ñ BSD lpd?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Этот пакет CUPS Ñодержит Ñервер, который может принимать Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿ÐµÑ‡Ð°Ñ‚Ð¸ в " +"Ñтиле BSD и поÑылать их в CUPS. Его рекомендуетÑÑ ÑƒÑтанавливать только в том " +"Ñлучае, еÑли в Ñети еÑÑ‚ÑŒ другие компьютеры, которые отправлÑÑŽÑ‚ Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿Ð¾ " +"Ñети Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ \"BSD\" или \"LPR\" ÑервиÑов, и Ñти компьютеры не могут " +"работать Ñ Ð¿Ñ€Ð¾Ñ‚Ð¾ÐºÐ¾Ð»Ð¾Ð¼ IPP, который иÑпользуетÑÑ Ð² CUPS." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"Хотите чтобы CUPS печатал неизвеÑтные Ð·Ð°Ð´Ð°Ð½Ð¸Ñ ÐºÐ°Ðº необработанные заданиÑ?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Ð’Ñе Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿ÐµÑ‡Ð°Ñ‚Ð¸ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ интернет протокола печати (IPP) имеют тип MIME. " +"Так как не вÑе иÑточники заданий печати могут назначать ÑоответÑтвующий тип, " +"многие Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿Ð¾ÑылаютÑÑ Ñ MIME типом приложение/поток-октетов и могут быть " +"отклонены, еÑли CUPS не определит формат заданий." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS может обÑлуживать вÑе такие Ð·Ð°Ð´Ð°Ð½Ð¸Ñ ÐºÐ°Ðº \"необработанные\", что ведет к " +"их поÑылке напрÑмую к уÑтройÑтву печати без обработки." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"РекомендуетÑÑ Ð²Ñ‹Ð±Ñ€Ð°Ñ‚ÑŒ Ñтот параметр еÑли Ñервер будет получать Ð·Ð°Ð´Ð°Ð½Ð¸Ñ " +"печати от компьютеров Ñ Windows или от Ñерверов Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "serial" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "ИнтерфейÑные программы Ð´Ð»Ñ ÑвÑзи Ñ Ð¿Ñ€Ð¸Ð½Ñ‚ÐµÑ€Ð¾Ð¼:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS иÑпользует интерфейÑные программы Ð´Ð»Ñ ÑвÑзи Ñ ÑƒÑтройÑтвом печати или " +"портом." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"К Ñожалению, некоторые интерфейÑные программы могут вызывать проблемы. " +"Ðапример, некоторые Ñдра PPC рушатÑÑ Ð¿Ñ€Ð¸ иÑпользовании интерфейÑа parallel." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Выберите интерфейÑную программу, ÐºÐ¾Ñ‚Ð¾Ñ€Ð°Ñ Ð±ÑƒÐ´ÐµÑ‚ иÑпользоватьÑÑ CUPS. Выбор по " +"умолчанию должен работать Ñ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ð½Ñтвом оборудованиÑ." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "ЕÑли вы получаете Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿ÐµÑ‡Ð°Ñ‚Ð¸ Ñ ÐºÐ¾Ð¼Ð¿ÑŒÑŽÑ‚ÐµÑ€Ð¾Ð² Ñ Windows, то, вероÑтно, " +#~ "лучше уÑтановить Ñтот параметр, так как Windows приÑваивает вÑем заданиÑм " +#~ "печати IPP, обработанным локальным драйверов MIME тип application/octet-" +#~ "stream. Samba также отправлÑет Ñвои Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿ÐµÑ‡Ð°Ñ‚Ð¸ в таком виде." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "" +#~ "Порт или/и Ð¸Ð¼Ñ Ð¼Ð°ÑˆÐ¸Ð½Ñ‹ через который будет оÑущеÑтвлÑÑ‚ÑŒÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ðµ к " +#~ "CUPS:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Укажите порт или Ð¸Ð¼Ñ Ð¼Ð°ÑˆÐ¸Ð½Ñ‹ на котором будет работать демон CUPS. " +#~ "ДопуÑтимы Ñледующие форматы:" + +#, fuzzy +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Ðомер порта (631);\n" +#~ " - Ð˜Ð¼Ñ Ð¼Ð°ÑˆÐ¸Ð½Ñ‹ (debian.example.com);\n" +#~ " - Машина:Порт (debian.example.com:631)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "Можно иÑпользовать неÑколько любых типов, разделÑÑ Ð¸Ñ… пробелом." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "Порт по умолчанию 631 зарезервирован Ð´Ð»Ñ Ð¿Ñ€Ð¾Ñ‚Ð¾ÐºÐ¾Ð»Ð° печати в Интернет " +#~ "(Internet Printing Protocol, IPP). Ð’ целÑÑ… безопаÑноÑти Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ð½Ð¾Ð¼Ð½Ñ‹Ñ… " +#~ "ÑиÑтем рекомендуетÑÑ Ð¸Ñпользовать наÑтройку \"localhost:631\"." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "ÐнонÑировать и/или Ñлушать CUPS информацию о принтере в Ñети?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "Демон CUPS может анонÑировать информацию о принтере Ð´Ð»Ñ Ñетевых клиентов, " +#~ "и обнаруживать другие принтеры в Ñети автоматичеÑки." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "При выборе Ñтого параметра демон CUPS будет периодичеÑки поÑылать " +#~ "широковещательные UDP пакеты Ð´Ð»Ñ Ð¾Ð±Ð½Ð°Ñ€ÑƒÐ¶ÐµÐ½Ð¸Ñ Ð¿Ñ€Ð¸Ð½Ñ‚ÐµÑ€Ð¾Ð²." + +#~ msgid "Incorrect value entered" +#~ msgstr "Введено недопуÑтимое значение" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "при разборе номера порта или имени машины произошла ошибка." + +#~ msgid "Please correct your input." +#~ msgstr "ПожалуйÑта иÑправьте вводимые данные." --- cupsys-1.3.7.orig/debian/po/gl.po +++ cupsys-1.3.7/debian/po/gl.po @@ -0,0 +1,243 @@ +# Galician translation of cupsys' debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the cupsys package. +# Jacobo Tarrio , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-12-16 15:35+0900\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "" +"causan problemas (por exemplo, algúns núcleos para PPC fallan co adaptador " +"paralelo).<" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"O paquete CUPS contén un servidor que pode aceptar traballos de impresión " +"estilo BSD e envialos a CUPS. Só se debería activar se ten outros " +"ordenadores que poidan enviar traballos pola rede mediante os servizos \"BSD" +"\" ou \"LPR\", e se eses ordenadores non se poden configurar para que " +"empreguen o protocolo IPP que emprega CUPS." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"¿Quere que CUPS imprima os traballos descoñecidos coma traballos en cru?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"O protocolo de impresión por Internet (IPP) obriga a que tódolos traballos " +"de impresión teñan un tipo MIME. Como non todas as fontes de traballos de " +"impresión poden indicar un tipo axeitado, moitos traballos envíanse co tipo " +"MIME application/octet-stream, e poden quedar rexeitados se CUPS non pode " +"determinar o formato do traballo." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS pode tratar todos eses traballos coma traballos \"en cru\", o que fai " +"que se envíen directamente á impresora sen os procesar." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Recoméndase que escolla esta opción se o servidor ha aceptar traballos de " +"impresión de ordenadores Windows ou servidores Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paralelo" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "serie" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Sistemas de comunicación coa impresora:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS emprega programas \"motor\" para se comunicar co dispositivo ou porto " +"da impresora." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Por desgracia, algúns destes programas \"motor\" poden causar problemas. Por " +"exemplo, algúns núcleos para PPC fallan co motor de porto paralelo." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Escolla o programa que debe empregar CUPS. A opción por defecto debería " +"axustarse aos ambientes máis habituais." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Se vai aceptar traballos de impresión de ordenadores con Windows, " +#~ "probablemente sexa mellor activar esta opción, xa que Windows envía os " +#~ "traballos de impresión IPP procesados cun controlador local co tipo MIME " +#~ "application/octet-stream. Samba tamén envía os seus traballos de " +#~ "impresión do mesmo xeito." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Porto e/ou nome de servidor no que CUPS ha escoitar:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Especifique o porto ou nome de servidor no que ha escoitar o servizo de " +#~ "CUPS. Admítense os seguintes formatos:" + +#, fuzzy +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Número de porto (631);\n" +#~ " - Nome de servidor (debian.exemplo.com);\n" +#~ " - Servidor:Porto (debian.exemplo.com:631)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "" +#~ "Pode combinalos facendo unha lista de elementos separados por comas." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "O porto por defecto, 631, está reservado para o Protocolo de Impresión de " +#~ "Internet (IPP). Recoméndase que empregue \"localhost:631\" para crear un " +#~ "sistema aillado por motivos de seguridade." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "¿Emitir e/ou escoitar información de impresoras de CUPS na rede?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "O servizo CUPS pode emitir información de impresoras para os clientes da " +#~ "rede, e pode detectar automaticamente as impresoras da rede." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Se escolle esta opción, o servizo CUPS ha enviar paquetes \"broadcast\" " +#~ "UDP para detectar as impresoras." + +#~ msgid "Incorrect value entered" +#~ msgstr "Introduciuse un valor incorrecto" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "houbo un erro ao analizar o número de porto ou o nome do servidor." + +#~ msgid "Please correct your input." +#~ msgstr "Corrixa o que introduciu." --- cupsys-1.3.7.orig/debian/po/nl.po +++ cupsys-1.3.7/debian/po/nl.po @@ -0,0 +1,258 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys 1.1.20candidate6\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-30 17:47+0100\n" +"Last-Translator: Bart Cornelis \n" +"Language-Team: Debian Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "" +"Wilt u de server die zorgt voor compatibiliteit met de BSD-lpd instellen?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Het pakket 'cupsys-bsd' bevat een server die BSD-stijl afdrukopdrachten " +"accepteert en naar CUPS doorstuurt. Deze server dient enkel ingesteld te " +"worden als er andere computers zijn die afdrukopdrachten over het netwerk " +"sturen via \"BSD\"- of \"LPR\"-diensten, EN deze computers niet kunnen " +"worden ingesteld om het IPP-protocol te gebruiken (CUPS gebruikt dit " +"protocol zelf ook)." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Wilt u dat CUPS onbekende opdrachten onbewerkt naar de printer stuurt?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Het 'Internet Printing Protocol' (IPP) vereist dat alle printtaken een MIME-" +"type hebben. Niet alle printtaken komen van een bron die in staat is om een " +"geschikt MIME-type aan de printtaak te hangen, in zo'n geval worden ze " +"aangeboden met het type application/octet-stream. Als CUPS niet in staat is " +"om het correcte formaat van de taak te raden worden deze printtaak-aanvragen " +"afgewezen." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS kan deze printtaken als 'raw'-taken afhandelen, wat inhoudt dat ze " +"zonder verdere bewerking direct naar de printer gestuurd worden." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Deze optie is aan te raden wanneer deze server printtaken dient te " +"aanvaarden van Windows-computers of Samba-servers." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "parallel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "serieel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Backends voor printercommunicatie:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS gebruikt backend-programma's voor de communicatie met de printer en de " +"printerpoort." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Helaas kunnen sommige backend-programma's problemen veroorzaken. (Bv. " +"sommige PPC-kernels kunnen vastlopen bij gebruik van het 'parallel'-backend.)" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Welk backend-programma wilt u CUPS laten gebruiken?. De standaardwaarde zou " +"voor de meeste omgevingen moeten voldoen." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Als u printopdrachten van Windows-computers wilt accepteren, dan kunt u " +#~ "deze optie het beste aanzetten. Windows geeft namelijk alle " +#~ "afdrukopdrachten die zijn verwerkt door een lokaal stuurprogramma het " +#~ "MIME-type application/octet-stream. Ook Samba verstuurt afdrukopdrachten " +#~ "op deze manier." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Poort en/of domeinnaam waarnaar CUPS moet luisteren:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Gelieve de poort of domeinnaam te specificeren waarnaar de CUPS-" +#~ "achtergronddienst moet luisteren. Volgende formaten zijn toegestaan:" + +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Poortnummer (631);\n" +#~ " - Domeinnaam (debian.example.com);\n" +#~ " - Domeinnaam:Poort (debian.example.com:631)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "" +#~ "U kunt om het even welk hiervan combineren door deze met een spatie te " +#~ "scheiden." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "Standaardpoort 631 is gereserveerd voor het Internet Printing Protocol " +#~ "(IPP). Om veiligheidsredenen is \"localhost:631\" aangewezen om in een " +#~ "afzonderlijke omgeving te installeren." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "" +#~ "Uitzenden en/of luisteren naar CUPS-printerinformatie op het netwerk?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "De CUPS-achtergronddienst kan voor clients op het netwerk automatisch, " +#~ "printerinformatie uitzenden en printers detecteren." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Indien u deze optie kiest, zal de CUPS-achtergronddienst periodiek UDP-" +#~ "uitzendingen verzenden om printers te detecteren." + +#~ msgid "Incorrect value entered" +#~ msgstr "Ongeldige waarde ingevoerd" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "" +#~ "Er is een fout voorgekomen tijdens het inlezen van het poortnummer of de " +#~ "domeinnaam" + +#~ msgid "Please correct your input." +#~ msgstr "U dient uw ingevoerde gegevens te verbeteren." + +#~ msgid "Select the backends you want." +#~ msgstr "Selecteer de backends die u wilt." --- cupsys-1.3.7.orig/debian/po/pt.po +++ cupsys-1.3.7/debian/po/pt.po @@ -0,0 +1,181 @@ +# Portuguese translation for cupsys's debconf messages +# Copyright (C) 2007 Carlos Lisboa +# This file is distributed under the same license as the cupsys package. +# Carlos Lisboa , 2007. +# Miguel Figueiredo , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-04-08 23:35+0100\n" +"Last-Translator: Miguel Figueiredo \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0n\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Deseja configurar o servidor de compatibilidade lpd BSD?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"O pacote cupsys contém um servidor que pode aceitar trabalhos de impressão " +"do estilo BSD e submetê-los ao CUPS. Deve ser apenas configurado se possui " +"outros computadores que submetam trabalhos na rede através de serviços \"BSD" +"\" ou \"LPR\", e que esses computadores não possam ser convertidos para usar " +"o protocolo IPP que o CUPS usa." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"Deseja que o CUPS imprima trabalhos desconhecidos como trabalhos 'raw'?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"O Internet Printing Protocol (IPP) adopta um tipo MIME para todos os " +"trabalhos de impressão. Como nem todas as fontes de trabalhos de impressão " +"podem anexar o tipo apropriado, muitos trabalhos são submetidos com do tipo " +"MIME application/octet-stream e podem ser rejeitados se o CUPS não puder " +"adivinhar o formato do trabalho." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"O CUPS pode lidar com tais trabalhos como trabalhos \"raw\", o que faz com " +"que sejam enviados directamente para a impressora sem que sejam processados." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"É recomendado escolher esta opção se o servidor irá aceitar trabalhos de " +"impressão a partir de computodores com Windows ou de servidores Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paralela" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "série" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "'Backends' de comunicação com a impressora" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"O CUPS usa programas de 'backend' para comunicar com a porta ou dispositivo " +"da impressora." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Infelizmente, alguns programas de 'backend' podem causar alguns problemas. " +"Por exemplo, alguns kernels PPC bloqueiam' com o 'backend' paralelo." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Escolha qual o 'backend' a ser usado pelo CUPS. A escolha por omissão deve " +"servir a maioria dos ambientes mais comuns." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Se for aceitar trabalhos de impressão de computadores Windows, " +#~ "provavelmente quererá esta opção configurada, já que o Windows anexa a " +#~ "todos os trabalhos de impressão processados por uma impressora local o " +#~ "tipo MIME 'application/octet-stream'. Os trabalhos de impressão do samba " +#~ "também são submetidos desta forma." --- cupsys-1.3.7.orig/debian/po/tr.po +++ cupsys-1.3.7/debian/po/tr.po @@ -0,0 +1,189 @@ +# Turkish translation of cupsys. +# This file is distributed under the same license as the cupsys package. +# Gürkan Aslan , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2004-04-25 10:34+0300\n" +"Last-Translator: Gürkan Aslan \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "BSD lpd uyumlu sunucuyu ayarlamak ister misiniz?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +#, fuzzy +msgid "" +"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." +msgstr "" +"Bu paket BSD tipi baskı görevlerini kabul edebilen ve onları CUPS'a gönderen " +"bir sunucu içerir. EÄŸer diÄŸer bilgisayarlar \"BSD\" veya \"LPR\" servisleri " +"ile aÄŸ üzerinden görevler gönderiyor ve bu bilgisayarların CUPS'ın " +"kullandığı IPP protokolünü kullanmalarını saÄŸlamak mümkün olmuyorsa bu " +"paketin ayarlanması önerilir." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "CUPS'ın bilinmeyen ham (raw) görevleri yazdırmasını istiyor musunuz?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +#, fuzzy +msgid "" +"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." +msgstr "" +"IPP içindeki tüm yazdırma görevlerine bir MIME tipi atanır. Her yazdırma " +"görevine uygun bir MIME tipi atanamayabileceÄŸinden, bir çok görev " +"application/octet-stream MIME tipiyle gönderilir. Bundan dolayı, CUPS bir " +"görevi bu MIME tipinde aldığında, onun hangi biçemde olduÄŸunu saptamaya " +"çalışır. Öntanımlı olarak, eÄŸer tam olarak hangi tipte olduÄŸunu " +"saptayamazsa, görevi geri çevirir." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +#, fuzzy +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS'ın bu MIME tipindeki tanınmayan bütün yazıcı görevlerine \"raw\" " +"görevler olarak muamele etmesini saÄŸlamak mümkündür. Böylece bu tip " +"görevler herhangi bir iÅŸleme tâbî tutulmadan yazıcıya gönderilecektir." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +#, fuzzy +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS, yazıcı aygıtı veya portu ile iletiÅŸim kurmak için arkayüz programını " +"kullanır." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +#, fuzzy +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Malesef bazı arkayüz programları sorun çıkartmaktadır. (ÖrneÄŸin, paralel " +"arkayüz ile bazı PPC çekirdek çökmeleri gibi)" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Lütfen CUPS tarafından kullanılacak arkayüz programını seçin. Öntanımlı " +"seçim çoÄŸu ortam için uygundur." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "EÄŸer Windows bilgisayarlardan gelen yazıcı görevlerini kabul etmek " +#~ "istiyorsanız, muhtemelen bu seçeneÄŸi tercih edeceksiniz. Zira Windows " +#~ "yerel sürücüdeki tüm IPP yazıcı görevlerine application/octet-stream MIME " +#~ "tipini atar. Samba da görevleri bu ÅŸekilde gönderir." + +#~ msgid "ipp, lpd, parallel, scsi, serial, socket, usb" +#~ msgstr "ipp, lpd, paralel, scsi, seri, soket, usb" + +#~ msgid "Select the backends you want." +#~ msgstr "Ä°stediÄŸiniz arkayüzü seçin." --- cupsys-1.3.7.orig/debian/po/ja.po +++ cupsys-1.3.7/debian/po/ja.po @@ -0,0 +1,174 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys 1.2\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-12-16 15:35+0900\n" +"Last-Translator: Kenshi Muto \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "BSD lpd 互æ›ã‚µãƒ¼ãƒã‚’セットアップã—ã¾ã™ã‹?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"CUPS パッケージ㯠BSD スタイルã®å°åˆ·ã‚¸ãƒ§ãƒ–ã‚’å—ã‘付ã‘ã€CUPS ã«ãれをé€ã‚‹ã‚µãƒ¼ãƒ" +"ã‚’å«ã‚“ã§ã„ã¾ã™ã€‚\"BSD\" ã¾ãŸã¯ \"LPR\" サービス経由ã§ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯è¶Šã—ã«ã‚¸ãƒ§ãƒ–" +"ã‚’é€ã‚‹ã»ã‹ã®ã‚³ãƒ³ãƒ”ュータãŒã‚ã‚Šã€ã‹ã¤ãれらã®ã‚³ãƒ³ãƒ”ュータ㯠CUPS ã®ä½¿ã£ã¦ã„ã‚‹ " +"IPP プロトコルを使ã†ã‚ˆã†å¤‰æ›´ã§ããªã„ã€ã¨ã„ã†å ´åˆã«ã®ã¿ã‚»ãƒƒãƒˆã‚¢ãƒƒãƒ—ã™ã¹ãã§" +"ã™ã€‚" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "未知ã®ã‚¸ãƒ§ãƒ–を生データ (raw) ジョブã¨ã—㦠CUPS ã«å°åˆ·ã•ã›ã¾ã™ã‹?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"Internet Printing Protocol (IPP) ã§ã®ã™ã¹ã¦ã®å°åˆ·ã‚¸ãƒ§ãƒ–㯠MIME å½¢å¼ã‚’æŒã¡ã¾" +"ã™ã€‚å°åˆ·ã‚¸ãƒ§ãƒ–ã®ã™ã¹ã¦ã®ã‚½ãƒ¼ã‚¹ã«é©åˆ‡ãªå½¢å¼ãŒä»˜ã„ã¦ã„ã‚‹ã¨ã¯é™ã‚‰ãšã€å¤šãã®ã‚¸ãƒ§" +"ブ㯠MIME å½¢å¼ application/octet-stream ã¨ã—ã¦é€ã‚‰ã‚Œ,CUPS ãŒãã®ã‚¸ãƒ§ãƒ–ã®" +"フォーマットを推測ã§ããªã‹ã£ãŸã¨ãã«ã¯æ‹’å¦ã•ã‚Œã¾ã™ã€‚" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"ãã®ã‚ˆã†ãªã‚¸ãƒ§ãƒ–ã‚’ã€ã™ã¹ã¦ç”Ÿãƒ‡ãƒ¼ã‚¿ (\"raw\") ジョブã¨ã—ã¦åŠ å·¥ãªã—ã«ç›´æŽ¥ãƒ—リン" +"ã‚¿ã«é€ã‚‹ã‚ˆã†ã« CUPS を設定ã§ãã¾ã™ã€‚" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"サーãƒãŒ Windows コンピュータã‚ã‚‹ã„㯠Samba サーãƒã‹ã‚‰ã®å°åˆ·ã‚¸ãƒ§ãƒ–ã‚’å—ã‘付ã‘" +"ã‚‹å ´åˆã¯ã€ã“ã®é¸æŠžè‚¢ã§ã€Œã¯ã„ã€ã¨ç­”ãˆã‚‹ã“ã¨ã‚’ãŠå‹§ã‚ã—ã¾ã™ã€‚" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "IPP" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "LPD" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "パラレル" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "SCSI" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "シリアル" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "ソケット" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "USB" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "SNMP" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "プリンタ通信ãƒãƒƒã‚¯ã‚¨ãƒ³ãƒ‰:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS ã¯ãƒ—リンタデãƒã‚¤ã‚¹ã¾ãŸã¯ãƒãƒ¼ãƒˆã¨ä¼šè©±ã™ã‚‹ã®ã«ãƒãƒƒã‚¯ã‚¨ãƒ³ãƒ‰ãƒ—ログラムを使ã„" +"ã¾ã™ã€‚" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"å›°ã£ãŸã“ã¨ã«ã€ã„ãã¤ã‹ã®ãƒãƒƒã‚¯ã‚¨ãƒ³ãƒ‰ãƒ—ログラムã¯ç¨®ã€…ã®å•é¡Œã‚’引ãèµ·ã“ã—ã¾ã™ã€‚" +"ãŸã¨ãˆã°ã€ã‚る種㮠PPC カーãƒãƒ«ã¯ parallel ãƒãƒƒã‚¯ã‚¨ãƒ³ãƒ‰ã§ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ã—ã¾ã™ã€‚" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"CUPS ã§åˆ©ç”¨ã—ãŸã„ãƒãƒƒã‚¯ã‚¨ãƒ³ãƒ‰ãƒ—ログラムをé¸æŠžã—ã¦ãã ã•ã„。デフォルトã®é¸æŠžã¯" +"ãŸã„ã¦ã„ã®ä¸€èˆ¬çš„ãªç’°å¢ƒã«åˆã£ã¦ã„ã¾ã™ã€‚" --- cupsys-1.3.7.orig/debian/po/ca.po +++ cupsys-1.3.7/debian/po/ca.po @@ -0,0 +1,181 @@ +# +# Catalan translation for cupsys package. +# Copyright (C) 2007 Debian CUPS Maintainers. +# This file is distributed under the same license as the cupsys package. +# +# Jordà Polo , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: 1.2.7-4\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-03-27 11:01+0200\n" +"Last-Translator: Jordà Polo \n" +"Language-Team: Català \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Voleu configurar el servidor compatible amb l'lpd de BSD?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Aquest paquet inclou un servidor que pot acceptar tasques d'impressió de " +"tipus BSD, i enviar-les a CUPS. Només s'hauria d'utilitzar si teniu altres " +"ordinadors que enviïn tasques mitjançant els serveis «BSD» o «LPR», i no " +"podeu convertir-los al protocol IPP que utilitza CUPS." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "" +"Voleu que CUPS imprimeixi les tasques desconegudes com tasques en brut?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"El protocol d'impressió d'Internet (IPP, «Internet Printing Protocol») força " +"l'existència d'un tipus MIME en totes les tasques d'impressió. Com no sempre " +"s'indica un tipus adequat, moltes d'aquestes tasques s'envien amb el MIME " +"«application/octet-stream» i poden ser rebutjades si CUPS no és capaç de " +"trobar quin és el seu format." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"CUPS pot tractar totes aquestes tasques com tasques en brut, que fa que " +"s'enviïn directament a la impressora sense cap mena de processament." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"És recomanable que trieu aquesta opció si el servidor ha d'acceptar tasques " +"d'impressió d'ordinadors Windows o servidors Samba." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paral·lel" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "sèrie" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "sòcol" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "Mecanisme de comunicació amb la impressora:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "" +"CUPS utilitza programes externs per comunicar-se amb el dispositiu o port " +"d'impressora." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Malauradament, alguns d'aquests programes poden ser problemàtics. (Per " +"exemple, algun nucli PPC falla si s'utilitza el port paral·lel.)" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Si us plau, trieu el programa que CUPS hauria d'utilitzar per comunicar-se " +"amb la impressora. L'opció predeterminada és vàlida en la majoria d'entorns." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Si heu d'acceptar tasques d'ordinadors amb Windows, probablement us " +#~ "interessi activar aquesta opció, ja que Windows assigna el tipus MIME " +#~ "«application/octet-stream» a totes les tasques d'impressió IPP que són " +#~ "processades per un controlador local. Samba també envia les impressions " +#~ "d'aquesta manera." --- cupsys-1.3.7.orig/debian/po/cs.po +++ cupsys-1.3.7/debian/po/cs.po @@ -0,0 +1,244 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cupsys\n" +"Report-Msgid-Bugs-To: Source: cupsys@packages.debian.org\n" +"POT-Creation-Date: 2007-12-16 15:35+0900\n" +"PO-Revision-Date: 2007-12-16 15:37+0900\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "Do you want to set up the BSD lpd compatibility server?" +msgstr "Chcete spustit server kompatibilní s BSD lpd?" + +#. Type: boolean +#. Description +#: ../cupsys-bsd.templates:2001 +msgid "" +"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." +msgstr "" +"Tento CUPS balík obsahuje server, který umí pÅ™ijímat tiskové úlohy ve stylu " +"BSD a pÅ™eposílat je systému CUPS. MÄ›li byste jej povolit pouze v případÄ›, že " +"máte na síti poÄítaÄe, které posílají úlohy pÅ™es služby \"BSD\" nebo \"LPR\" " +"a nedají se pÅ™emluvit, aby používaly protokol IPP." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "Do you want CUPS to print unknown jobs as raw jobs?" +msgstr "Chcete, aby CUPS tisknul neznámé úlohy jako typ \"raw\"?" + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"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." +msgstr "" +"VÅ¡echny tiskové úlohy IPP (Internet Printing Protocol) mají pÅ™iÅ™azen typ " +"MIME, podle kterého CUPS pozná, v jakém formátu je úloha zaslána. Protože ne " +"vÅ¡echny zdroje tiskových úloh umí nastavit správný typ, je mnoho úloh " +"zasíláno s MIME typem application/octet-stream a CUPS pak musí hádat, o jaký " +"formát dat se jedná. Pokud CUPS formát neuhodne, implicitnÄ› úlohu odmítne." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"CUPS can handle all such jobs as \"raw\" jobs, which causes them to be sent " +"directly to the printer without processing." +msgstr "" +"Zde můžete nastavit, aby CUPS považoval vÅ¡echny nerozpoznané úlohy jako " +"úlohy typu \"raw\". Takové úlohy se nijak nezpracovávají a jsou odesílány " +"rovnou na tiskárnu." + +#. Type: boolean +#. Description +#: ../cupsys.templates:2001 +msgid "" +"It is recommended to choose this option if the server will be accepting " +"print jobs from Windows computers or Samba servers." +msgstr "" +"Jestliže bude server akceptovat tiskové úlohy z Windows poÄítaÄů nebo ze " +"Samba serverů, je doporuÄeno tuto možnost povolit." + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "ipp" +msgstr "ipp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "lpd" +msgstr "lpd" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "parallel" +msgstr "paralelní" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "scsi" +msgstr "scsi" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "serial" +msgstr "sériový" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "socket" +msgstr "socket" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "usb" +msgstr "usb" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "snmp" +msgstr "snmp" + +#. Type: multiselect +#. Choices +#: ../cupsys.templates:3001 +msgid "dnssd" +msgstr "dnssd" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "Printer communication backends:" +msgstr "OvladaÄe pro komunikaci s tiskárnou:" + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"CUPS uses backend programs to communicate with the printer device or port." +msgstr "CUPS používá ovladaÄe pro komunikaci s tiskárnou nebo jejím portem." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Unfortunately, some backend programs are likely to cause some trouble. For " +"example, some PPC kernels crash with the parallel backend." +msgstr "" +"Bohužel, nÄ›které ovladaÄe nejsou zcela stabilní. Například nÄ›která PPC jádra " +"v kombinaci s paralelním ovladaÄem spadnou." + +#. Type: multiselect +#. Description +#: ../cupsys.templates:3002 +msgid "" +"Please choose the backend program to be used by CUPS. The default choice " +"should fit the most common environments." +msgstr "" +"Vyberte ovladaÄ, který má CUPS použít. Implicitní volba se hodí do vÄ›tÅ¡iny " +"běžných prostÅ™edí." + +#~ msgid "" +#~ "If you will be accepting print jobs from Windows computers, you probably " +#~ "want this option set, as Windows gives all IPP print jobs processed by a " +#~ "local driver the MIME type application/octet-stream. Samba also submits " +#~ "its print jobs this way." +#~ msgstr "" +#~ "Pokud budete pÅ™ijímat tisky z windowsových poÄítaÄů, pravdÄ›podobnÄ› budete " +#~ "chtít tuto volbu zapnout, protože Windows nastavují vÅ¡em tiskům pÅ™es IPP " +#~ "(zpracovaných lokálním ovladaÄem) MIME typ application/octet-stream. " +#~ "StejnÄ› pracuje i Samba." + +#~ msgid "Port or/and host name where CUPS will listen to:" +#~ msgstr "Port a/nebo jméno poÄítaÄe, na kterém má CUPS naslouchat:" + +#~ msgid "" +#~ "Please specify the port or the host name CUPS daemon will listen to. The " +#~ "following formats are allowed:" +#~ msgstr "" +#~ "Zadejte prosím port nebo jméno poÄítaÄe, na kterém má daemon CUPS " +#~ "naslouchat příchozím spojením. Povoleny jsou následující formáty:" + +#~ msgid "" +#~ " - Port number (631);\n" +#~ " - Host name (debian.example.com);\n" +#~ " - Host:Port (debian.example.com:631);\n" +#~ " - File domain socket (/var/run/cups/cups.sock)." +#~ msgstr "" +#~ " - Číslo portu (631);\n" +#~ " - Jméno poÄítaÄe (debian.priklad.cz);\n" +#~ " - PoÄítaÄ:Port (debian.priklad.cz:631). - Socket (/var/run/" +#~ "cups/cups.sock)." + +#~ msgid "" +#~ "You can combine any of these by delimiting in a space-separated list." +#~ msgstr "Můžete jich zadat libovolný poÄet, staÄí je oddÄ›lit mezerami." + +#~ msgid "" +#~ "The default port 631 is reserved for the Internet Printing Protocol " +#~ "(IPP). \"localhost:631\" is recommended to setup a standalone environment " +#~ "for security reasons." +#~ msgstr "" +#~ "Výchozí port 631 je rezervovaný právÄ› pro Internet Printing Protocol " +#~ "(IPP). Pro samostatný poÄítaÄ se z bezpeÄnostních důvodů doporuÄuje " +#~ "nastavení \"localhost:631\"." + +#~ msgid "Broadcast and/or listen for CUPS printer information on the network?" +#~ msgstr "Vysílat a/nebo poslouchat na síti informace o CUPS tiskárnách?" + +#~ msgid "" +#~ "CUPS daemon can broadcast printer information for clients on the network, " +#~ "and detect printers on the network automatically." +#~ msgstr "" +#~ "Daemon CUPS může do sítÄ› vysílat své informace o tiskárnách a také umí na " +#~ "síti zjiÅ¡Å¥ovat tiskárny nové." + +#~ msgid "" +#~ "If you choose this option, the CUPS daemon will periodically send UDP " +#~ "broadcasts to detect printers." +#~ msgstr "" +#~ "Povolíte-li tuto volbu, daemon CUPS bude periodicky vysílat celoploÅ¡né " +#~ "UDP dotazy, kterými bude zjiÅ¡Å¥ovat nové tiskárny." + +#~ msgid "Incorrect value entered" +#~ msgstr "Zadána chybná hodnota" + +#~ msgid "an error occurred while parsing the port number or the host name." +#~ msgstr "PÅ™i zpracovávání Äísla portu nebo názvu poÄítaÄe se vyskytla chyba." + +#~ msgid "Please correct your input." +#~ msgstr "Opravte prosím svou odpovÄ›Ä." --- cupsys-1.3.7.orig/debian/cupsys-bsd.templates +++ cupsys-1.3.7/debian/cupsys-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: cupsys-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. --- cupsys-1.3.7.orig/debian/cupsys.examples +++ cupsys-1.3.7/debian/cupsys.examples @@ -0,0 +1,2 @@ +debian/filters/* +debian/printer.schema --- cupsys-1.3.7.orig/debian/cupsys-bsd.postinst +++ cupsys-1.3.7/debian/cupsys-bsd.postinst @@ -0,0 +1,80 @@ +#! /bin/sh +# postinst script for cupsys +# +# 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/cupsys ]; then + if [ ! -e /usr/share/doc/cupsys-bsd ]; then + ln -sf cupsys-common /usr/share/doc/cupsys-bsd + fi + fi + + # Add cups-lpd to inetd.conf + db_get cupsys-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 + + --- cupsys-1.3.7.orig/debian/libcupsys2-dev.preinst +++ cupsys-1.3.7/debian/libcupsys2-dev.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for libcupsys2-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/libcupsys2-dev ]; then + rm -rf /usr/share/doc/libcupsys2-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 + + --- cupsys-1.3.7.orig/debian/cupsys-bsd.prerm +++ cupsys-1.3.7/debian/cupsys-bsd.prerm @@ -0,0 +1,45 @@ +#! /bin/sh +# prerm script for cupsys-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/cupsys-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 + + --- cupsys-1.3.7.orig/debian/watch +++ cupsys-1.3.7/debian/watch @@ -0,0 +1,3 @@ +version=3 +ftp://ftp.easysw.com/pub/cups/([\d\.]+)/cups-(.*)-source\.tar\.gz \ + debian uupdate --no-symlink --- cupsys-1.3.7.orig/debian/HOWTO_BUGREPORT.txt +++ cupsys-1.3.7/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/cupsys 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 --- cupsys-1.3.7.orig/debian/libcupsimage2-dev.files +++ cupsys-1.3.7/debian/libcupsimage2-dev.files @@ -0,0 +1,4 @@ +usr/lib/libcupsimage.so +usr/lib/libcupsimage.a +usr/include/cups/image.h +usr/include/cups/raster.h --- cupsys-1.3.7.orig/debian/libcupsys2.postinst +++ cupsys-1.3.7/debian/libcupsys2.postinst @@ -0,0 +1,45 @@ +#! /bin/sh +# postinst script for cupsys +# +# 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 + + --- cupsys-1.3.7.orig/debian/libcupsys2.shlibs +++ cupsys-1.3.7/debian/libcupsys2.shlibs @@ -0,0 +1 @@ +libcups 2 libcupsys2 (>= 1.3.4) --- cupsys-1.3.7.orig/debian/cupsys.dirs +++ cupsys-1.3.7/debian/cupsys.dirs @@ -0,0 +1,12 @@ +var/run/cups +usr/share/doc/cupsys +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 --- cupsys-1.3.7.orig/debian/cupsys.pam +++ cupsys-1.3.7/debian/cupsys.pam @@ -0,0 +1,3 @@ +@include common-auth +@include common-account +@include common-session --- cupsys-1.3.7.orig/debian/cupsys-client.files +++ cupsys-1.3.7/debian/cupsys-client.files @@ -0,0 +1,33 @@ +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/accept +usr/sbin/lpadmin +usr/sbin/lpinfo +usr/sbin/lpmove +usr/sbin/reject +usr/sbin/cupsdisable +usr/sbin/cupsenable +usr/sbin/cupsctl +usr/share/man/man1/cupstestppd.1.gz +usr/share/man/man1/cupstestdsc.1.gz +usr/share/man/man1/lp.1.gz +usr/share/man/man1/lpoptions.1.gz +usr/share/man/man1/lppasswd.1.gz +usr/share/man/man1/lpstat.1.gz +usr/share/man/man1/cancel.1.gz +usr/share/man/man5/client.conf.5.gz +usr/share/man/man8/cupsaddsmb.8.gz +usr/share/man/man8/cupsenable.8.gz +usr/share/man/man8/lpadmin.8.gz +usr/share/man/man8/lpinfo.8.gz +usr/share/man/man8/lpmove.8.gz +usr/share/man/man8/reject.8.gz +usr/share/man/man8/cupsdisable.8.gz +usr/share/man/man8/accept.8.gz +usr/share/man/man8/cupsctl.8.gz --- cupsys-1.3.7.orig/debian/libcupsys2-dev.files +++ cupsys-1.3.7/debian/libcupsys2-dev.files @@ -0,0 +1,15 @@ +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/transcode.h +usr/include/cups/adminutil.h +usr/share/man/man1/cups-config.1.gz --- cupsys-1.3.7.orig/debian/cupsys.postrm +++ cupsys-1.3.7/debian/cupsys.postrm @@ -0,0 +1,46 @@ +#! /bin/sh +# postrm script for cupsys +# +# 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 --- cupsys-1.3.7.orig/debian/cupsys-client.preinst +++ cupsys-1.3.7/debian/cupsys-client.preinst @@ -0,0 +1,40 @@ +#! /bin/sh +# preinst script for cupsys-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/cupsys-client ]; then + rm -rf /usr/share/doc/cupsys-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 + + --- cupsys-1.3.7.orig/debian/cupsys.init.d +++ cupsys-1.3.7/debian/cupsys.init.d @@ -0,0 +1,94 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: cupsys +# 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 -f $DAEMON || exit 0 + +set -e + +if [ -r /etc/default/cupsys ]; then + . /etc/default/cupsys +fi + +. /lib/lsb/init-functions + +# Get the timezone set. +if [ -z "$TZ" -a -e /etc/timezone ]; then + TZ=`cat /etc/timezone` + export TZ +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 + + log_end_msg $? + ;; + stop) + log_begin_msg "Stopping $DESC: $NAME" + start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile $PIDFILE --name $NAME + log_end_msg $? + ;; + reload|force-reload) + log_begin_msg "Reloading $DESC: $NAME" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --name $NAME --signal 1 + log_end_msg $? + ;; + 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 + fi + log_end_msg $? + ;; + 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 --- cupsys-1.3.7.orig/debian/libcupsimage2.shlibs +++ cupsys-1.3.7/debian/libcupsimage2.shlibs @@ -0,0 +1 @@ +libcupsimage 2 libcupsimage2 (>= 1.3.0) --- cupsys-1.3.7.orig/debian/filters/dvipipetops.convs +++ cupsys-1.3.7/debian/filters/dvipipetops.convs @@ -0,0 +1,4 @@ +# If you'd like to use dvi filter, install tetex-bin or dvipsk-ja package. +# You can setup dvips options with /etc/default/cupsys. + +application/x-dvi application/postscript 33 dvipipetops --- cupsys-1.3.7.orig/debian/filters/samba-postscript.types +++ cupsys-1.3.7/debian/filters/samba-postscript.types @@ -0,0 +1,14 @@ +# This evil type, which I have made up, catches files coming in via Samba, when +# the Windows client is configured to print to the PostScript counterpart to +# your non-PostScript printer (in my case, I have a Hewlett-Packard LaserJet 5P +# and configure Windows to use the "HP LaserJet 5P/5MP PostScript" driver so +# that it will send PostScript straight on rather than convert it to PCL before +# sending it -- useful to print to files and so on.). I do not know what +# combinations produce the finest output. See the conversion script +# samba-ps-to-ps for more information. + +# The MIME type used here must sort alphbetically before application/postscript +# (CUPS has a dozen manuals, and this information seemed available only in a +# comment in mime.types!). If this were a real MIME type, I think it would be +# non-conformant. +application/a-x-postscript-with-pjl-header string(78,"%!PS-Adobe-") --- cupsys-1.3.7.orig/debian/filters/dvipipetops +++ cupsys-1.3.7/debian/filters/dvipipetops @@ -0,0 +1,190 @@ +#!/bin/sh + +# CUPS (Common Unix Printing System) filter for DVI files + +## Copyright (C) 2004 Matthew Swift +## +## 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., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +## Documentation +# +# This script has several advantages (some involving security and privacy) over +# the script of the same name by Decklin Foster dated 2002 and (on the present +# date) distributed with the Debian cupsys package in +# /usr/share/doc/cupsys/examples/filters/dvipipetops. +# +# This script... +# +# - works with Debian cupsys version 1.1.20final+cvs20040330-1. +# - uses the -R option to dvips for greater security. +# - creates a temporary file only when necessary. +# - is more aggressive about cleaning up its temporary file. +# - uses an absolute pathname for dvips, for greater security. +# - avoids a security problem when $TMPDIR contains a space. +# - is better documented. +# - gives better diagnostic output to CUPS. +# +# See http://localhost:631/spm.html#WRITING_FILTERS for information. +# Note that the documentation as of this date is conflicting and misleading on +# the subject of arguments passed to filters. + +## History +# initial version: 1.0 [28 April 2004] + +# TODO +# add/remove trapped signals; are they portable? +# are there bashisms? if so, should they be removed, or should bash be invoked explicitly? +# should we heed the "copies" argument? my interpretation of the spec quoted +# below is that we should not. +# something interesting to do with page accounting? +# is including $prog in the diagnostic output redundant? + +## Variables you may want to tweak. + +# on error, exit with this status. +CUPS_DVIPS_ERREXIT=2 +# absolute pathname to dvips executable +CUPS_DVIPS=/usr/bin/dvips + +# If you want to give options to dvips that should not go into the normal +# config.ps, include them here. A good method would be to include, e.g., +# "-Pcups" and put all your configuration into cups.ps in the right place for +# your dvips (e.g., /etc/texmf/dvips for a standard Debian TeX installation). +# Note that CUPS passes information in the environment and the command line +# that can be used here to determine the options, if you wanted. +## +# additional options to give to dvips +CUPS_DVIPS_OPTS="" + +# Load configuration from default file. +. /etc/default/cupsys + +## I do not expect you to want to change anything below here, +## except possibly to (dis)include the debugging statements. +############################################################# + +prog=$(basename "$0") +# This statement needs bash I think. +echo "DEBUG: $prog: \"$0\" has been called with these arguments:" >&2 +count=1 +for x; do + echo "DEBUG: $prog: arg $((count++)): \"$x\"" >&2 +done +echo "DEBUG: $prog: \$CUPS_DVIPS_OPTIONS=$CUPS_DVIPS_OPTIONS" >&2 + +#### echo " $prog: test debug without prefix" >&2 +#### echo "DEBUG: $prog: test debug with prefix" >&2 +#### echo "INFO: $prog: test info" >&2 +#### echo "WARNING: $prog: test warning" >&2 +#### echo "ERROR: $prog: test error" >&2 +#### echo "PAGE: $prog: test page" >&2 + +# Get rid of the irrelevant command line arguments. +if ! shift 5; then + echo "ERROR: $prog: expected 5 or 6 arguments and received <5" >&2 + exit $CUPS_DVIPS_ERREXIT +elif [ $# -gt 1 ]; then + echo "ERROR: $prog: expected 5 or 6 arguments and received >6" >&2 + exit $CUPS_DVIPS_ERREXIT +elif [ $# -eq 1 ]; then + file=$1 +else + # Dvips needs seekable input, so if input is on stdin, we need to save it + # to a temporary file. + + # tempfile(1) is in the debianutils Debian package (28 April 2004) and is + # recommended over mktemp(1). + if ! file=$(/bin/tempfile); then + echo "ERROR: $prog: invocation of /bin/tempfile failed" >&2 + exit $CUPS_DVIPS_ERREXIT + fi + # 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL + # 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE + # 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 + # 13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD + # etc. + trap "rm -f \"$file\" 2>/dev/null" EXIT 1 2 3 9 15 + # Be sure that no prior commands use up the script's stdin. Duplicate stdin if necessary. + cat - >"$file" +fi +# Dvips options: +# -q be quiet (not used: output is always sent to CUPS; +# CUPS variables LogLevel etc. control what +# is actually logged and where.) +# -R run securely (recommended) +# -f run as a filter (necessary) +## + +# If the INFO: level output is not actually going to be logged, we are wasting +# a time generating it. While in this script, the wasted time is negligible, +# it does to me a very reasonable wish that CUPS provide the LogLevel to +# filters via an environment variable. For example, we could choose whether to +# give debugging options to dvips or not. +## +# Make the shell's fd3 point to the shell's stdout. +exec 3>&1 +# Make the error text of dvips go to the command's stdout and thus through the +# pipe to the {}-subshell; make the normal text of dvips go to the shell's +# stdout (fd3); make the {}-subshell's normal output go to the shell's +# stderr (fd2 as usual). I think it's good form to close fd3 for the dvips and +# {}-subshell commands, but this may be unnecessary. +"$CUPS_DVIPS" -R -f $CUPS_DVIPS_OPTS <"$file" 2>&1 1>&3- | \ + { while read -r -a line; do echo "INFO: $prog: ${line[*]}" >&2; done 3>&-; } +# Close fd3 for the shell. +exec 3>&- + +exit + +####### +#NOTES# +####### + +# MSS as of this date, arguments passed to filters seem to be, starting with $1: +# +# job user title copies options [filename] +# +# Remainder from official documentation: +# +# job The numeric job ID for the job being printed +# user The string from the originating-user-name attribute +# title The string from the job-name attribute +# copies The numeric value from the number-copies attribute +# options String representations of the job template attributes, separated by +# spaces. Boolean attributes are provided as "name" for true values and +# "noname" for false values. All other attributes are provided as +# "name=value" for single-valued attributes and +# "name=value1,value2,...,valueN" for set attributes +# filename The request file + +# The filename argument is provided to only the first filter in the chain. + +# The copies argument specifies the number of copies to produce of the input +# file. In general, you should only generate copies if the filename argument is +# supplied. The only exception to this are filters that produce +# device-independent PostScript output (without any printer commands from the +# printer's PPD file), since the PostScript filter pstops is responsible for +# copy generation. + +# The type of message is determined by an initial prefix sent on each line: +# DEBUG: - a debug message +# INFO: - an informational message +# WARNING: - a warning message +# ERROR: - an error message +# PAGE: - a page accounting message + +# If the line of text does not begin with any of the above prefixes, it is +# treated as a debug message. Text following the prefix is copied to the +# printer-state-message attribute for the printer, and also added to the +# error_log unless it is an informational or page accounting message. --- cupsys-1.3.7.orig/debian/filters/dvipipetops.INSTALL +++ cupsys-1.3.7/debian/filters/dvipipetops.INSTALL @@ -0,0 +1,7 @@ +To use the dvipipetops filter: +- create an /etc/cups/local.convs file and add the contents of + dvipipetops.convs to it +- add the contents of dvipipetops.types to /etc/cups/mime.types +- uncompress dvipipetops, give it exec permissions and put it in + /usr/lib/cups/filter +- restart cups with /etc/init.d/cupsys restart --- cupsys-1.3.7.orig/debian/filters/mailto +++ cupsys-1.3.7/debian/filters/mailto @@ -0,0 +1,161 @@ +#!/usr/bin/python + +# +# $Id: mailto,v 1.3 2003/01/02 17:59:19 gurubert Exp $ +# + +# +# This is a mailto backend for CUPS (www.cups.org) +# +# (C) 2002 Robert Sander +# +# Released under GPL +# +# NO WARRANTY AT ALL +# + +import sys, os, tempfile, MimeWriter, mimetools, mimetypes + +log = "\nLog:\n" + +def guess_type(file): + global log + + type, enc = mimetypes.guess_type(file) + if (not type) or (type == 'application/octet-stream'): + enc = None + try: + type = os.popen("/usr/bin/file -bi %s 2> /dev/null" % file).read().rstrip() + if type == "" or type == "data": + type = "application/octet-stream" + except: + type = "application/octet-stream" + if log: + log = "%stype is %s\n" % (log, type) + return (type, enc) + +def guess_extension(mimetype): + return(mimetypes.guess_extension(mimetype)) + +argc = len(sys.argv) + +if argc == 1: + print "network mailto \"Unknown\" \"SMTP\"" + sys.exit(0) + +sys.stderr.write("INFO: mailto argv[%s] =" % argc) +if log: + log = "%smailto argv[%s] =" % (log, argc) +for arg in sys.argv[1:]: + sys.stderr.write(" '%s'" % arg) + if log: + log = "%s '%s'" % (log, arg) +sys.stderr.write("\n") +if log: + log = "%s\n" % log + +if argc < 6 or argc > 7: + sys.stderr.write("ERROR: %s job-id user title copies options [file]\n" % sys.argv[0]) + sys.exit(1) + +jobid = sys.argv[1] +user = sys.argv[2] +title = sys.argv[3] +opts = sys.argv[5].split(" ") + +if argc == 7: + sys.stderr.write("INFO: file is %s\n" % sys.argv[6]) + if log: + log = "%sfile is %s\n" % (log, sys.argv[6]) + infilename = sys.argv[6] +else: + infilename = tempfile.mktemp(".mailto") + try: + infile = open(infilename, "w") + except: + sys.stderr.write("ERROR: unable to create tmp file %s\n" % infilename) + sys.exit(1) + sys.stderr.write("INFO: file is stdin\n") + try: + infile.write(sys.stdin.read()) + except: + sys.stderr.write("ERROR: unable to copy into tmpfile\n") + sys.exit(1) + infile.close() + if log: + log = "%scopied stdin to %s\n" % (log, infilename) + +infile = open(infilename, "r") + +sys.stderr.write("INFO: creating tmp mail file\n") + +try: + mimemailfile = tempfile.TemporaryFile() + mimemail = MimeWriter.MimeWriter(mimemailfile) +except: + sys.stderr.write("ERROR: unable to create tmp file for MIME_MAIL\n") + sys.exit(1) + +mailto = None +mailfrom = None +for opt in opts: + if log: + log = "%sopt = '%s'\n" % (log, opt) + if opt[:7] == "mailto=": + mailto = opt[7:] + if log: + log = "%smailto = '%s'\n" % (log, mailfrom) + if opt[:9] == "mailfrom=": + mailfrom = opt[9:] + if log: + log = "%smailfrom = '%s'\n" % (log, mailfrom) +if not mailto: + if user: + mailto = user + else: + mailto = mailfrom +else: + if not mailfrom: + if user: + mailfrom = user +if not mailfrom: + mailfrom = "lp" + +# Essential lines to put into the header of a MIME mail. +mimemail.addheader("From", mailfrom) +mimemail.addheader("To", mailto) +mimemail.addheader("Subject", title) +mimemail.addheader("MIME-Version", "1.0") +if mailto != user and mailfrom != user: + mimemail.addheader("X-CUPS-mailto-started-by", user) + +mimemail.startmultipartbody("mixed") + +body = mimemail.nextpart() + +body.addheader("Content-Transfer-Encoding", "8bit") + +body.startbody("text/plain").write("You printed %s with jobid %s\n%s" % (title, jobid, log)) + +attachment = mimemail.nextpart() +type, enc = guess_type(infilename) +ext = guess_extension(type) +if not ext: + ext = "" +attachment.addheader("Content-Transfer-Encoding", "base64") +att = attachment.startbody('%s; name="%s%s"' % (type, os.path.basename(title), ext)) +mimetools.encode(infile, att, "base64") +mimemail.lastpart() + +mimemailfile.seek(0) + +os.popen("/usr/sbin/sendmail -t -f%s" % mailfrom, "w").write(mimemailfile.read()) + +att.close() +infile.close() +mimemailfile.close() + +if argc == 6: + os.unlink(infilename) + +sys.exit(0) --- cupsys-1.3.7.orig/debian/filters/samba-to-ps +++ cupsys-1.3.7/debian/filters/samba-to-ps @@ -0,0 +1,56 @@ +#!/bin/sh + +# CUPS (Common Unix Printing System) filter to fix certain "broken" PostScript files + +# The files generated by Hewlett-Packard's Windows drivers for the "LaserJet +# 5P/5MP PostScript" printer include a PJL header (that switches that printer +# to PostScript) before the actual PostScript file, and some weird additional +# comments within the PostScript. If you are sending these files (via Samba) +# to a plain LaserJet 5P (i.e., without PostScript), you need to remove the +# header and the weird additional comments before sending the file to +# ghostscript. Though it is a reasonable guess that the same situation applies +# to other pairs of HP printers with and without native PostScript +# capabilities, I have tested this script only with the LaserJet 5P. + +# The garbage we are trimming at top and bottom of the file is fixed-length, so +# we could use something simpler than awk to trim it, but we have to use awk +# anyway to skip those weird comment lines (3d line of the program below), so +# let's just use awk for the whole thing. + +# I wrote this awk script in the mid-1990s when I bought this printer, and it +# still serves me well today, with the latest versions of Windows, Debian, and +# Samba, and with CUPS instead of old BSD lpd and magicfilter. I adapted it +# for CUPS in April 2004. I put this code into the public domain. I am not +# putting my name on it because I do not want to receive emails with questions +# about things I do not know much about. + +# TODO +# does the code here involve gawk extensions? + +# on error, exit with this status. +CUPS_SAMBAPS_ERREXIT=2 + +prog=$(basename "$0") +# This statement needs bash I think. +echo "DEBUG: $prog: \"$0\" has been called with these arguments:" >&2 +count=1 +for x; do + echo "DEBUG: $prog: arg $((count++)): \"$x\"" >&2 +done + +if ! shift 5; then + echo "ERROR: $prog: expected 5 or 6 arguments and received <5" >&2 + exit $CUPS_SAMBAPS_ERREXIT +elif [ $# -gt 1 ]; then + echo "ERROR: $prog: expected 5 or 6 arguments and received >6" >&2 + exit $CUPS_SAMBAPS_ERREXIT +fi + +# variable `printme' starts as 0 +/usr/bin/awk \ + '/^%\!PS-Adobe-/ {printme = 1} + /^%%EOF/ {print; printme = 0} + /\(%%\[ ?(ProductName:|Page:|LastPage ?)/ {next} + { if (printme) print; else next }' \ + ${1--} +exit --- cupsys-1.3.7.orig/debian/filters/pdf.ppd +++ cupsys-1.3.7/debian/filters/pdf.ppd @@ -0,0 +1,136 @@ +*PPD-Adobe: "4.3" +*% +*% "$Id: pdf.ppd,v 1.3 2003/01/02 23:32:42 gurubert Exp $" +*% +*% Printer description for a printer that uses the pstopdf filter +*% +*% This file is based on the laserjet.ppd that comes with CUPS. +*% +*FormatVersion: "4.3" +*FileVersion: "1.1" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "PDF.PPD" +*Manufacturer: "Robert Sander " +*Product: "(CUPS v1.1)" +*cupsVersion: 1.1 +*cupsManualCopies: False +*cupsFilter: "application/vnd.cups-postscript 33 pstopdf" +*ModelName: "PDF Converter" +*ShortNickName: "PDF Converter" +*NickName: "PDF Converter CUPS v1.1" +*PSVersion: "(3010.000) 550" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "8" +*LandscapeOrientation: Plus90 +*VariablePaperSize: False +*TTRasterizer: Type42 + +*OpenUI *PageSize/Media Size: PickOne +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: A4 +*PageSize Letter/US Letter: "<>setpagedevice" +*PageSize Legal/US Legal: "<>setpagedevice" +*PageSize Executive/US Executive: "<>setpagedevice" +*PageSize Tabloid/US Tabloid: "<>setpagedevice" +*PageSize A3/A3: "<>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: A4 +*PageRegion Letter/US Letter: "<>setpagedevice" +*PageRegion Legal/US Legal: "<>setpagedevice" +*PageRegion Executive/US Executive: "<>setpagedevice" +*PageRegion Tabloid/US Tabloid: "<>setpagedevice" +*PageRegion A3/A3: "<>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: A4 +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea Legal/US Legal: "18 36 594 972" +*ImageableArea Executive/US Executive: "18 36 504 684" +*ImageableArea Tabloid/US Tabloid: "18 36 774 1188" +*ImageableArea A3/A3: "18 36 824 1155" +*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: A4 +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension Legal/US Legal: "612 1008" +*PaperDimension Executive/US Executive: "522 756" +*PaperDimension Tabloid/US Tabloid: "792 1224" +*PaperDimension A3/A3: "842 1191" +*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" + +*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: pdf.ppd,v 1.3 2003/01/02 23:32:42 gurubert Exp $". +*% --- cupsys-1.3.7.orig/debian/filters/dvipipetops.types +++ cupsys-1.3.7/debian/filters/dvipipetops.types @@ -0,0 +1 @@ +application/x-dvi dvi string(0,<02>) --- cupsys-1.3.7.orig/debian/filters/samba-postscript.convs +++ cupsys-1.3.7/debian/filters/samba-postscript.convs @@ -0,0 +1 @@ +application/a-x-postscript-with-pjl-header application/postscript 10 samba-ps-to-ps --- cupsys-1.3.7.orig/debian/filters/pstopdf +++ cupsys-1.3.7/debian/filters/pstopdf @@ -0,0 +1,37 @@ +#!/bin/sh + +# $Id: pstopdf,v 1.3 2003/02/15 15:21:00 gurubert Exp $ +# +# This is a Postscript to PDF filter for CUPS +# +# (C) 2003 Robert Sander +# +# Released under GPL +# +# NO WARRANTY AT ALL +# + +set -e + +PSTOPDF=/usr/bin/ps2pdf13 +OPTIONS="-r150 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dNOPLATFONTS" + +echo "INFO: pstopdf argv[$#] = $@" >&2 + +if [ $# -lt 5 -o $# -gt 6 ]; then + + echo "ERROR: $0 job-id user title copies options [file]" >&2 + exit 1 + +fi + +jobid="$1" +outfile=$(mktemp "${TMPDIR:-/tmp}/$jobid.pstopdf.out.XXXXXX") +trap 'rm -f "$outfile"' 0 1 2 13 15 + +infile="${6:--}" + +$PSTOPDF $OPTIONS "$infile" "$outfile" >&2 + +cat "$outfile" + --- cupsys-1.3.7.orig/debian/cupsys.docs +++ cupsys-1.3.7/debian/cupsys.docs @@ -0,0 +1,3 @@ +CREDITS.txt +README.txt +debian/HOWTO_BUGREPORT.txt --- cupsys-1.3.7.orig/debian/cupsys-bsd.config +++ cupsys-1.3.7/debian/cupsys-bsd.config @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Debconf library +. /usr/share/debconf/confmodule + +db_input medium cupsys-bsd/setuplpd || true +db_go --- cupsys-1.3.7.orig/debian/changelog +++ cupsys-1.3.7/debian/changelog @@ -0,0 +1,4531 @@ +cupsys (1.3.7-1ubuntu3.13) hardy-security; urgency=low + + * SECURITY UPDATE: arbitrary code execution via missing code words + - debian/patches/CVE-2011-2896.dpatch: improve logic in + filter/image-gif.c. + - CVE-2011-2896 + * SECURITY UPDATE: arbitrary code execution via incorrect code word + handling + - debian/patches/CVE-2011-3170.dpatch: don't overflow in + filter/image-gif.c. + - CVE-2011-3170 + + -- Marc Deslauriers Mon, 12 Sep 2011 09:41:09 -0400 + +cupsys (1.3.7-1ubuntu3.12) hardy-security; urgency=low + + * SECURITY UPDATE: denial of service and possible code execution via + invalid free + - debian/patches/CVE-2010-2941.dpatch: skip over and reserve unused + tags in cups/ipp.{c,h}. + - CVE-2010-2941 + + -- Marc Deslauriers Tue, 02 Nov 2010 11:22:58 -0400 + +cupsys (1.3.7-1ubuntu3.11) hardy-security; urgency=low + + * SECURITY UPDATE: cross-site request forgery in admin interface + - debian/patches/CVE-2010-0540.dpatch: add unpredictable session token + to cgi-bin/admin.c, cgi-bin/cgi.h, cgi-bin/ipp-var.c, + cgi-bin/template.c, cgi-bin/var.c, scheduler/client.c, + templates/*.tmpl. + - CVE-2010-0540 + * SECURITY UPDATE: denial of service or arbitrary code execution in + texttops image filter + - debian/patches/CVE-2010-0542.dpatch: make sure calloc succeeded in + filter/texttops.c. + - CVE-2010-0542 + * SECURITY UPDATE: web interface memory disclosure + - debian/patches/CVE-2010-1748.dpatch: validate data in cgi-bin/var.c. + - CVE-2010-1748 + * SECURITY UPDATE: file overwrite vulnerability + - debian/patches/security-str3510.dpatch: introduce cups_open() in + cups/file.c and use to make sure hard-linked or symlinked files don't + get overwritten as root. + - No CVE number + + -- Marc Deslauriers Fri, 18 Jun 2010 10:32:12 -0400 + +cupsys (1.3.7-1ubuntu3.9) hardy-proposed; urgency=low + + * debian/patches/fix-lpstat.dpatch: Fix lpstat to work correctly against + CUPS 1.4 servers. (LP: #497606) + + -- Evan Broder Wed, 03 Mar 2010 18:06:14 -0500 + +cupsys (1.3.7-1ubuntu3.8) hardy-security; urgency=low + + * SECURITY UPDATE: denial of service via use-after-free + - debian/patches/CVE-2009-3553.dpatch: check fdptr->use and + cupsd_inactive_fds in scheduler/select.c. + - CVE-2009-3553 + - CVE-2010-0302 + * SECURITY UPDATE: privilege escalation via lppasswd tool + - debian/patches/CVE-2010-0393.dpatch: don't allow environment + variables to override directories in cups/globals.c and + systemv/lppasswd.c. + - CVE-2010-0393 + + -- Marc Deslauriers Thu, 25 Feb 2010 11:00:51 -0500 + +cupsys (1.3.7-1ubuntu3.6) hardy-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:38:14 -0400 + +cupsys (1.3.7-1ubuntu3.5) hardy-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:32:52 -0400 + +cupsys (1.3.7-1ubuntu3.4) hardy-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:19:42 -0500 + +cupsys (1.3.7-1ubuntu3.3) hardy-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: unauthorized access to RSS subscription functions in + web interface (LP: #298241) + - debian/patches/CVE-2008-5184.dpatch: make sure user is authenticated + in /cgi-bin/admin.c. + - CVE-2008-5184 + * SECURITY UPDATE: arbitrary code execution via integer overflow from a PNG + image with a large height value + - This issue was introduced in the patch for CVE-2008-1722. + - debian/patches/CVE-2008-1722.dpatch: adjust patch to multiply img->xsize + instead of img->ysize so we don't overflow in filter/image-png.c. + - CVE-2008-5286 + * SECURITY UPDATE: arbitrary file overwrite via temp log file symlink attack + - debian/filters/pstopdf: use the cleaned-up version from Debian. + - CVE-2008-5377 + + -- Marc Deslauriers Thu, 08 Jan 2009 10:29:38 -0500 + +cupsys (1.3.7-1ubuntu3.2) hardy-proposed; urgency=low + + * debian/rules: Install the serial backend with 0700 permissions to make it + run as root, since /dev/ttyS* are root:dialout and thus not accessible as + user "lp". (LP: #154277) + + -- Martin Pitt Wed, 26 Nov 2008 14:30:00 +0000 + +cupsys (1.3.7-1ubuntu3.1) hardy-security; urgency=low + + * SECURITY UPDATE: heap-based buffer overflow due to unchecked boundary in + the SGI filter + - debian/patches/CVE-2008-3639_sgi_filter_overflow.dpatch: adjust + filter/image-sgilib.c to properly check for xsize. Taken from Debian + patch by Martin Pitt. + - STR #2918 + - CVE-2008-3639 + * SECURITY UPDATE: integer overflow in texttops filter which could lead + to heap-based overflow + - debian/patches/CVE-2008-3640_texttops_overflow.dpatch: adjust + textcommon.c and texttops.c to check for too large or negative page + metrics. Taken from Debian patch by Martin Pitt. + - STR #2919 + - CVE-2008-3640 + * SECURITY UPDATE: buffer overflow in HPGL filter which could lead to + arbitrary code execution + - debian/patches/CVE-2008-3641_hpgl_filter_overflow.dpatch: adjust + hpgl-attr.c to properly check for an invalid number of pens. Also + includes fix for regression in orginal upstream patch which changed + the color mapping and an off-by-one loop error. Taken from Debian patch + by Martin Pitt. + - STR #2911 + - STR #2966 + - CVE-2008-3641 + + -- Jamie Strandboge Tue, 14 Oct 2008 13:17:07 -0500 + +cupsys (1.3.7-1ubuntu3) hardy; urgency=low + + * 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]. Taken from Debian SVN head. + + -- Martin Pitt Mon, 21 Apr 2008 17:54:33 +0200 + +cupsys (1.3.7-1ubuntu2) hardy; urgency=low + + * debian/control: Add missing build dependency lsb-release. This will bring + back the lost AppArmor profile. (LP: #211375) Also wrap long fields, so + that they are easier to edit. + + -- Martin Pitt Sun, 06 Apr 2008 10:24:39 -0600 + +cupsys (1.3.7-1ubuntu1) hardy; urgency=low + + * Merge new upstream bug fix release from unstable. + - Fixes CUPS GIF image filter overflow [CVE-2008-1373]. (LP: #210718) + + -- Martin Pitt Wed, 02 Apr 2008 11:16:39 +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-3ubuntu1) hardy; urgency=low + + * Merge recent bug fixes and security fix from Debian unstable. + + -- Martin Pitt Sat, 22 Mar 2008 12:48:56 +0100 + +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-2ubuntu2) hardy; urgency=low + + * debian/cupsys.postinst: Fix 'revert to single file' transitional code to + also apply to newer versions in dapper-updates, remove a debugging + statement, and fix syntax of the check. + * debian/rules: Do not try to build a -dbg on Ubuntu, we removed it from the + control file. + + -- Martin Pitt Mon, 17 Mar 2008 17:01:32 +0100 + +cupsys (1.3.6-2ubuntu1) hardy; urgency=low + + * Merge with Debian unstable, where I applied most of our remaining Delta; + Remaining Ubuntu changes: + - debian/cupsys.{pre,post}inst, debian/cupsys.preinst: + + Revert to single cupsd.conf file for upgrade from Dapper, can be + dropped after releasing Hardy. + + Revert usr/share/doc symlink/directory breakage for upgrade from + Gutsy, can be dropped after releasing Hardy. + - debian/control, debian/rules: Drop cupsys-dbg package. This is not worth + keeping as the only delta, so we can sync this package after Hardy's + release. + + -- Martin Pitt Sun, 16 Mar 2008 22:57:04 +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-1ubuntu2) hardy; urgency=low + + * debian/cupsys.preinst: + - only chown /var/run/cups if it exists (LP: #156634) + + -- Michael Vogt Mon, 10 Mar 2008 11:25:29 +0100 + +cupsys (1.3.6-1ubuntu1) hardy; urgency=low + + * Merge with Debian unstable to bring in the new upstream bugfix-only + release and some packaging fixes. See 1.3.5-1ubuntu1 for list of remaining + changes. + + -- Martin Pitt Tue, 26 Feb 2008 14:36:47 +0100 + +cupsys (1.3.6-1) unstable; urgency=low + + * New upstream bugfix release. + - Fixes (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-2ubuntu1) hardy; urgency=low + + * debian/local/apparmor-profile: Added Kerberos authentication support + to the AppArmor profile (LP: #189022). + + -- Till Kamppeter Sat, 23 Feb 2008 18:01:06 +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-1ubuntu3) hardy; urgency=low + + [ Martin Pitt ] + * debian/cupsys.init.d: Add Should-Start: avahi. (LP: #181122) + + [ Till Kamppeter ] + * 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). + + -- Till Kamppeter Tue, 29 Jan 2008 19:01:06 +0000 + +cupsys (1.3.5-1ubuntu2) hardy; urgency=low + + * No-change rebuild against libldap-2.4-2. + + -- Steve Langasek Tue, 22 Jan 2008 16:52:31 +0000 + +cupsys (1.3.5-1ubuntu1) hardy; urgency=low + + * Merge with Debian unstable; remaining Ubuntu changes: + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control, debian/rules: Drop cupsys-dbg package. + - debian/cupsys.{pre,post}inst, debian/cupsys.preinst: Various upgrade + fixes that need to be kept until after the next LTS: + + Revert to single cupsd.conf file. + + Remove obsolete rc.d links. + + Revert usr/share/doc symlink/directory breakage. + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + - Add AppArmor profile: + + debian/local/apparmor-profile + + debian/cupsys.postinst: Reload AA profile on configuration. + + -- Martin Pitt Wed, 02 Jan 2008 13:29:53 +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, lp: #173470). + + [ 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-2ubuntu3) hardy; urgency=low + + * 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, LP: #173470). + + -- Till Kamppeter Mon, 10 Dec 2007 0:01:06 +0000 + +cupsys (1.3.4-2ubuntu2) hardy; urgency=low + + [ Martin Pitt ] + * debian/local/apparmor-profile: Run drivers (PPD generators) unconfined, + since they run as non-root and there are third-party ones we cannot + control. + + [ Till Kamppeter ] + * 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. + + -- Martin Pitt Mon, 03 Dec 2007 11:22:57 +0100 + +cupsys (1.3.4-2ubuntu1) hardy; urgency=low + + * Merge with Debian unstable. Remaining Ubuntu changes: + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control, debian/rules: Drop cupsys-dbg package. + - debian/cupsys.{pre,post}inst, debian/cupsys.preinst: Various upgrade + fixes that need to be kept until after the next LTS: + + Revert to single cupsd.conf file. + + Remove obsolete rc.d links. + + Revert usr/share/doc symlink/directory breakage. + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + - Add AppArmor profile: + + debian/local/apparmor-profile + + debian/cupsys.postinst: Reload AA profile on configuration. + * Revert most of the doc symlinking changes from 1.3.2-1ubuntu4, since + Ubuntu's cdbs does it by default now. Clean up a few other pieces of + Debian-Ubuntu delta noise along the way. + * debian/local/apparmor-profile: Only restrict backends which are shipped by + cupsys itself (or known packages like cups-pdf). All other backends remain + unrestricted, since we cannot predict which privileges they need. + * debian/local/apparmor-profile: Run bluetooth backend confined again and + allow opening bluetooth sockets. + + -- Martin Pitt Mon, 03 Dec 2007 10:01:48 +0100 + +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-1ubuntu4) hardy; urgency=low + + * correct Replaces line in cupsys-common to make dapper->hardy + upgrades work + + -- Michael Vogt Fri, 30 Nov 2007 11:28:44 +0100 + +cupsys (1.3.4-1ubuntu3) hardy; urgency=low + + * debian/local/apparmor-profile: + - Allow rw access to /dev/parport* and ro access to + /proc/sys/dev/parport/**, so that parallel port printer detection works. + - Allow unconfined execution of the bluetooth backend. AppArmor currently + forbids creation of bluetooth sockets without providing a profile option + to allow it (see bug #172534). (LP: #147800) + - Permit reading /etc/pnm2ppa.conf. (LP: #155530) + - Disable AA profile for Samsung's MFP driver, since it needs very high + and unknown privileges and is a third-party driver which we cannot + control. (LP: #152537) + + -- Martin Pitt Wed, 28 Nov 2007 12:05:30 +0100 + +cupsys (1.3.4-1ubuntu2) hardy; urgency=low + + * debian/local/backends/dnssd, debian/rules, debian/cupsys.install, + debian/cupsys.postinst, debian/cupsys.prerm, debian/cupsys.templates, + debian/control: + Added printer discovery backend "dnssd". 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 choises for unknown printer models. + + -- Till Kamppeter Fri, 23 Nov 2007 12:01:06 +0000 + +cupsys (1.3.4-1ubuntu1) hardy; urgency=low + + * Merge new upstream version from Debian. + + -- Martin Pitt Wed, 07 Nov 2007 14:25:15 -0500 + +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-1ubuntu7) gutsy; urgency=low + + * debian/cupsys.postinst: Drop ancient transitional code to remove root from + group lpadmin. Under very odd circumstances ("root" has the same UID than + the user) this could cause the user to be removed from group 'lpadmin'. + Quite unlikely that this is the prime reason for LP #134503, but it's much + cleaner in any case. + + -- Martin Pitt Mon, 15 Oct 2007 12:32:16 +0200 + +cupsys (1.3.2-1ubuntu6) gutsy; urgency=low + + * debian/local/apparmor-profile: Allow 'm' (executable mmapping) of + /etc/shadow. This does not actually extend privileges since it is already + readable, and does not actually make sense, but some weird backends want + to do it nevertheless. (LP: #152061) + + -- Martin Pitt Sun, 14 Oct 2007 22:01:31 +0200 + +cupsys (1.3.2-1ubuntu5) gutsy; urgency=low + + * Revert previous approach to symlinking of documentation directories, and + do it in a way that's more in line with the existing code in + debian/rules. + * debian/cupsys.docs: Remove duplicate files (LP: #149106). + * Make libcupsys2 replace the broken version of cupsys to help out people + who used dpkg --force-overwrite wrongly. + * Fix dh_compress arguments to cope with moved examples. + * debian/cupsys.preinst, debian/cupsys-common.preinst: Remove old + directories before unpack, since dpkg won't replace directories with + symlinks. + + -- Colin Watson Fri, 05 Oct 2007 02:46:34 +0100 + +cupsys (1.3.2-1ubuntu4) gutsy; urgency=low + + * cupsys-common: Depend on libcupsys2. + * Symlink doc directories to avoid duplicate files. + + -- Matthias Klose Thu, 04 Oct 2007 17:45:31 +0200 + +cupsys (1.3.2-1ubuntu3) gutsy; urgency=low + + * No-change upload of 1ubuntu1, to revert the 1ubuntu2 upload which should + never have happened. + + -- Martin Pitt Thu, 04 Oct 2007 13:42:28 +0200 + +cupsys (1.3.2-1ubuntu1) gutsy; urgency=low + + * Merge from Debian to get new upstream bug fix microrelease. (LP: #140877) + * Removed debian/patches/fix_auto_rotate_images.dpatch: Fixed upstream + (although slightly differently). + * debian/local/apparmor-profile: Allow 'm' access to /etc/{passwd,group}. + Apparently some backends want it that way. (part of LP #139665) + * debian/local/apparmor-profile: Add forgotten /usr/lib/cups/cgi-bin/* rule + to unbreak the web interface (regression from 1.3.0-4ubuntu2). + + -- Martin Pitt Wed, 19 Sep 2007 08:39:59 +0200 + +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-4ubuntu4) gutsy; urgency=low + + [ Martin Pitt ] + * debian/local/apparmor-profile: Allow cups-pdf to read /etc/papersize. + + [ Till Kamppeter ] + * debian/patches/fix_auto_rotate_images.dpatch: Fix auto-rotation for best + fit of images on the paper (CUPS STRs #2502 and #2513). + + -- Martin Pitt Wed, 12 Sep 2007 19:06:02 +0200 + +cupsys (1.3.0-4ubuntu3) gutsy; urgency=low + + * debian/local/apparmor-profile: Use abstraction tunable variables for + /proc and /home. + + -- Kees Cook Wed, 12 Sep 2007 22:07:50 -0700 + +cupsys (1.3.0-4ubuntu2) gutsy; urgency=low + + * debian/local/apparmor-profile: #139105 was not a bug after all, but rather + a misunderstood concept of AppArmor. Change the profile to allow + unrestricted execution of filters, which are always run as unprivileged + system user anyway. This should unbreak most third-party printer drivers. + + -- Martin Pitt Wed, 12 Sep 2007 19:02:43 +0200 + +cupsys (1.3.0-4ubuntu1) gutsy; urgency=low + + * Merge bugfixes from Debian. + * debian/local/apparmor-profile: Append slashes to directory names, since + AppArmor 2.1 wants it that way. + * debian/local/apparmor-profile: Open up the profile for third-party printer + drivers (like Turboprint, and other stuff in /usr/local/). This requires + opening up the profile much more than necessary, due to AppArmor bug + #139105. (LP: #133818) + + -- Martin Pitt Wed, 12 Sep 2007 15:34:13 +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-3ubuntu1) gutsy; urgency=low + + * Merge bugfixes from Debian. + * debian/local/apparmor-profile: Allow dac_override for now; this is + slightly nasty, but cups chowns a lot of files (e. g. in + /var/spool/cups/tmp) to 'lp' and thus cannot read/write them any more + afterwards. Since we confine file access pretty tightly, this should not + be much of a problem. (LP: #133015) + * debian/local/apparmor-profile: cupsd should manage /etc/printcap. + (LP: #132969) + + -- Martin Pitt Tue, 21 Aug 2007 07:48:34 +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-2ubuntu2) gutsy; urgency=low + + * debian/local/postscript.ppd: New generic PostScript PPD file for + unknown PostScript printers added. + + -- Till Kamppeter Thu, 16 Aug 2007 18:01:06 +0100 + +cupsys (1.3.0-2ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control, debian/rules: Drop cupsys-dbg package. + - debian/cupsys.postinst: Various transitions that need to be kept until + the next LTS: + + Auto-enable snmp, scsi, and serial backends on upgrade. + + Revert to single cupsd.conf file. + + Remove obsolete rc.d links. + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + - Add AppArmor profile: + + debian/local/apparmor-profile + + debian/cupsys.postinst: Reload AA profile on configuration. + + -- Martin Pitt Wed, 15 Aug 2007 09:39:08 +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.3.0-0ubuntu1) gutsy; 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, ubuntu-disable-browsing.dpatch, + ubuntu-default-error-policy-retry-job.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 ] + * debian/local/apparmor-profile: Some more updates to work with third-party + printer drivers (also under /opt). + * Bump library shlibs to >= 1.3.0. + + -- Martin Pitt Tue, 14 Aug 2007 20:00:00 +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-3ubuntu3) gutsy; urgency=low + + * debian/local/apparmor-profile: Allow unrestricted access to hplip. This + has not been confined before and unbreaks hplip until we get an actual + profile for it. (LP: #131470) + + -- Martin Pitt Tue, 14 Aug 2007 17:08:50 +0200 + +cupsys (1.2.12-3ubuntu2) gutsy; urgency=low + + * cupsys.logrotate: Fix last occurence of 'cupsys' user. + * 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). + (LP: #125300) + * debian/local/apparmor-profile: Unbreak library access (for e. g. + ghostscript and gutenprint) and allow execution of pdftops and pstops. + * debian/local/apparmor-profile: Update profile to work with cups-pdf. + + -- Martin Pitt Sat, 11 Aug 2007 16:44:13 +0200 + +cupsys (1.2.12-3ubuntu1) gutsy; urgency=low + + * Merge latest fixes from Debian unstable. (LP: #29050) + * debian/local/apparmor-profile: + - Use abstractions/authentication and drop the passwd/shadow/pam rules. + - Drop the redundant "/usr/lib/** mr" rule (already in 'base'). + - Enforce by default, so that we get actual protection. + + -- Martin Pitt Thu, 09 Aug 2007 21:16:34 +0200 + +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-2ubuntu2) gutsy; urgency=low + + * cupsys.init.d: Remove stray chown'ing to 'cupsys' which does not exist any + more.' + + -- Martin Pitt Wed, 08 Aug 2007 12:56:01 +0200 + +cupsys (1.2.12-2ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control, debian/rules: Drop cupsys-dbg package. + - debian/cupsys.postinst: Various transitions that need to be kept until + the next LTS: + + Auto-enable snmp, scsi, and serial backends on upgrade. + + Revert to single cupsd.conf file. + + Remove obsolete rc.d links. + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + - Add AppArmor profile: + + debian/local/apparmor-profile + + debian/cupsys.postinst: Reload AA profile on configuration. + + -- Martin Pitt Mon, 06 Aug 2007 16:24:49 +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-1ubuntu3) gutsy; urgency=low + + * debian/rules: Install the D-Bus config file so that CUPS reports + job progress to the applet of sytem-config-printer + * debian/rules, devian/textonly.ppd, debian/textonly.filter: Added text-only + printer driver from Red Hat. + + -- Till Kamppeter Sun, 5 Aug 2007 20:22:06 +0100 + +cupsys (1.2.12-1ubuntu2) gutsy; urgency=low + + * Drop our 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. (LP: #119289, LP: #129634) + - 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 and --enable-privilege-dropping configure + options. + + 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 profile. + * debian/cupsys.preinst: Fix file permissions on upgrades (owner cupsys -> + root). + * Add debian/local/apparmor-profile: AppArmor profile for cupsys, to replace + the former derooting patches. This uses complain mode for now, until we + got some more testing. Install it to /etc/apparmor.d/usr.sbin.cupsd in + debian/rules and reload apparmor in debian/cupsys.postinst on configure. + + -- Martin Pitt Thu, 02 Aug 2007 14:06:05 +0200 + +cupsys (1.2.12-1ubuntu1) gutsy; urgency=low + + * Merge to Debian's svn head to get upstream fixes. + * debian/patches/10_external_pam_helper.dpatch: Close pipes in the case of + errors, too. This can not really be responsible for the mess in #112803, + but should be fixed anyway. + + -- Martin Pitt Mon, 16 Jul 2007 15:58:08 +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-2ubuntu2) gutsy; urgency=low + + * debian/oopstops*, debian/rules: Added 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). + + -- Till Kamppeter Mon, 4 Jun 2007 11:22:06 +0100 + +cupsys (1.2.11-2ubuntu1) gutsy; urgency=low + + * Merge ipp fix from Debian unstable. + + -- Martin Pitt Wed, 16 May 2007 09:16:33 +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-1ubuntu1) gutsy; urgency=low + + * Synchronize to Debian; remaining Ubuntu changes: + - Snakeoil SSL cert support: + + debian/control: Add ssl-cert dependency. + + debian/cupsys.postinst: Symlink snakeoil SSL certificate if present. + + debian/cupsys.preinst: Fix global SSL certificate owner/mode breakage + (see 1.2.1-2ubuntu2); this needs to be kept until the next LTS + release. + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/cupsys.postinst: Remove obsolete rc.d links. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control: Drop cupsys-dbg. + - debian/cupsys.{config,postinst}: Transition to enable additional + backends on upgrades. Needs to be kept until next LTS release. + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + * Drop patches which are upstream now: + - 80_brother_no_backchannel.dpatch + - 92_texttops-prettyprint-crash.dpatch + - 94_doc-port-in-client-conf.dpatch + - 96_more-bug-fixes-between-cups-1.2.8-1.2.9.dpatch + - 90_testpage-on-large-paper-sizes.dpatch + + -- Martin Pitt Mon, 14 May 2007 11:07:42 +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.8-0ubuntu8) feisty; urgency=low + + * debian/cupsys.postinst: Clean up the mess which cupsys_1.2.8-0ubuntu3 and + later caused by activating all the CUPS backends (closes: LP#92042). + * debian/cupsys.postinst, debian/rules: Removed directories /opt/share/ppd + and /usr/local/share/ppd. LSB 3.2 will only require /usr/share/ppd + (PPD files and directories at other places should be symlinked to here) + to not conflict with FHS (closes: LP#94353). + + -- Till Kamppeter Tue, 3 Apr 2007 17:22:06 +0100 + +cupsys (1.2.8-0ubuntu7) feisty; urgency=low + + * debian/cupsys.postinst: Sync /usr/lib/cups/backend always with the + debconf settingsm, as otherwise sooner or later the backend directory + will be empty (closes: LP#92042). + * 96_more-bug-fixes-between-cups-1.2.8-1.2.9.dpatch: Generated some garbage + files. Fixed. + + -- Till Kamppeter Tue, 14 Mar 2007 16:22:06 +0000 + +cupsys (1.2.8-0ubuntu6) feisty; urgency=low + + * 98_search_mime_files_in_usr_share.dpatch: CUPS failed reading the + *.types and *.convs files in /etc/cups when /usr/share/cups/mime + did not exist. Fixed (closes: LP#92205). + + -- Till Kamppeter Tue, 14 Mar 2007 12:22:06 +0000 + +cupsys (1.2.8-0ubuntu5) feisty; urgency=low + + * debian/cupsys.postinst: Assure that special permissions of lpd backend + are always correctly set for the link in /usr/lib/cups/backend (closes: + LP#91382). + * 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 + (All files in /etc get considered as conffiles, closes: LP#36532). + * 96_more-bug-fixes-between-cups-1.2.8-1.2.9.dpatch: Keep up with upstream + bug fixes: + o cupsd crash in get_jobs: In get_jobs when my-jobs is set, we compare + the job username before it is loaded (upstream STR #2288). + o Fixed messed-up french translation (upstream STR #2287). + o The scheduler's openssl certificate generation code was + broken on some platforms (upstream STR #2282). + o The scheduler's log rotation check for devices was + broken (upstream STR #2278). + o The LPD mini-daemon did not handle the document-format + option correctly (upstream STR #2266). + + -- Till Kamppeter Mon, 12 Mar 2007 15:22:06 +0000 + +cupsys (1.2.8-0ubuntu4) feisty; urgency=low + + * debian/cupsys.postinst: (De)activate backends also if the user initially + installs cupsys (no update from older cupsys package). + * 96_more-bug-fixes-between-cups-1.2.8-1.2.9.dpatch: Keep up with upstream + bug fixes: + o The pdftops filter ignored the "match" size option in the + pdftops.conf file (upstream STR #2285) + o cupstestppd now validates UTF-8 text strings in + globalized PPD files (STR #2283) + o The outputorder=reverse option did not work with all + printers (STR #2279) + + -- Till Kamppeter Sun, 11 Mar 2007 17:22:06 +0000 + +cupsys (1.2.8-0ubuntu3) feisty; urgency=low + + * debian/cupsys.templates: Re-activated CUPS backeds "snmp", "serial", and + "scsi" which were deactivated by Debian. With these backends activated + many more 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.config, debian/cupsys.postinst: (De)activate only if the + user has called the configuration interface (eg by calling + "dpkg-reconfigure cupsys") and changed something there. + * debian/cupsys.postinst: On an update from any older cupsys package to + this one or newer activate the snmp, scsi, and serial backends. + * 96_more-bug-fixes-between-cups-1.2.8-1.2.9.dpatch: Keep up with upstream + bug fixes: + o Classes containing other classes did not always work (upstream STR + #2255) + o Printer location and description information was lost if the + corresponding string contained the "#" character (upstream STR #2254) + o cupsRemoveOption() did not work properly (upstream STR #2264) + + -- Till Kamppeter Mon, 5 Mar 2007 19:22:06 +0000 + +cupsys (1.2.8-0ubuntu2) feisty; urgency=low + + * 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. + * 80_brother_no_backchannel.dpatch: Brother printers are not accessible + any more when they have printed one job through the CUPS "usb" backend. + The problem is solved by letting the backend not querying the backchannel + on these printers any more (closes: LP#57050, upstream STR #2243). + * 90_testpage-on-large-paper-sizes.dpatch: The labels at the rulers on the + borders of the CUPS test page got too big on large paper sizes (closes: + LP#85339, upstream STR #2252). + * 92_texttops-prettyprint-crash.dpatch: The plain text filter of CUPS + crashed when using the prettyprint option (upstream STR #2158). + * 94_doc-port-in-client-conf.dpatch: The documentation did not tell + how to specify a port in client.conf. + + -- Till Kamppeter Thu, 22 Feb 2007 12:22:06 +0000 + +cupsys (1.2.8-0ubuntu1) feisty; urgency=low + + * New upstream bugfix release. + * Removed patches: 00_NNstrXXXX.dpatch, 65_detect_http_shutdown.dpatch: + These were backported from SVN and are now part of 1.2.8. + * debian/patches/09_runasuser_autoconf.dpatch: Adapt to new upstream + version. + * debian/control: Set Ubuntu maintainer. + + -- Martin Pitt Wed, 21 Feb 2007 14:22:44 +0100 + +cupsys (1.2.7-4ubuntu2) feisty; urgency=low + + * debian/local/enable_sharing: Fix regex to find both 127.0.0.1 and + 'localhost' to fix enabling sharing the second time. Closes: LP#75903 + * debian/patches/09_runasuser.dpatch: Drop root privileges of cups-polld + after creating the socket. This allows cupsd to kill polld on shutdown, + and has the nice side effect of improving security. Closes: LP#30965 + + -- Martin Pitt Wed, 7 Feb 2007 17:48:28 +0100 + +cupsys (1.2.7-4ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - Snakeoil SSL cert support: + + debian/control: Add ssl-cert dependency. + + debian/cupsys.postinst: Symlink snakeoil SSL certificate if present. + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/cupsys.postinst: Remove obsolete rc.d links. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control: Drop libcupsys2-gnutls10 and cupsys-dbg packages. + - Run cupsd as system user 'cupsd' instead of root to confine impact of + security vulnerabilities: + + cupsys{,-client}.postinst: Set up cupsys user and put it into the + appropriate groups. + + debian/cupsys.init.d: Set up proper permissions of log files. + + debian/cupsys.init.d: Disable 'reload', force-reload does restart, + since cupsd cannot reload as non-root. + + debian/cupsys.logrotate: Own the log files to cupsys:lpadmin. + + Add debian/patches/ubuntu-external-pam-helper.dpatch: Helper program + cups-check-pam-auth which performs PAM authentication and returns the + status as exit code. + + debian/cupsys.files: Install cups-check-pam-auth. + + debian/cupsys.postinst: Set permissions of cups-check-pam-auth to + cupsys:shadow 2754. + + debian/rules: Configure with --enable-privilege-dropping. + + debian/rules: Install lpd backend suid root so that it can bind to a + privileged port. + - Support user-installed PPDs: + - debian/cupsys.dirs: Add usr/share/ppd/custom. + - debian/cupsys.init.d: Set up this dir as root:lpadmin 03775. + - debian/patches/14_dont_force_ssl.dpatch: Do not require SSL for the web + frontend since gnome-cups-manager does not cope with that. + - 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. (So + this does not need to be configured in two different places). + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + - Changed dependency in cupsys-bsd for netbase into update-inetd. + - Removed obsolete emacs config settings at the end of changelog. + * debian/cupsys.init.d: Fixed parallel port module loading in the + init script, the "ppdev" module got only loaded when the "lp" + module was not loaded yet (closes LP#29050). + * debian/cupsys.init.d: Set permissions of log files again after + starting the CUPS daemon, as the daemon sets them to a bad state + so that it cannot log after dropping privileges (closes LP#54277). + + -- Till Kamppeter Tue, 6 Feb 2007 13:22:06 +0000 + +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-2ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - Snakeoil SSL cert support: + + debian/control: Add ssl-cert dependency. + + debian/cupsys.postinst: Symlink snakeoil SSL certificate if present. + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/cupsys.postinst: Remove obsolete rc.d links. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control: Drop libcupsys2-gnutls10 and cupsys-dbg packages. + - Run cupsd as system user 'cupsd' instead of root to confine impact of + security vulnerabilities: + + cupsys{,-client}.postinst: Set up cupsys user and put it into the + appropriate groups. + + debian/cupsys.init.d: Set up proper permissions of log files. + + debian/cupsys.init.d: Disable 'reload', force-reload does restart, + since cupsd cannot reload as non-root. + + debian/cupsys.logrotate: Own the log files to cupsys:lpadmin. + + Add debian/patches/ubuntu-external-pam-helper.dpatch: Helper program + cups-check-pam-auth which performs PAM authentication and returns the + status as exit code. + + debian/cupsys.files: Install cups-check-pam-auth. + + debian/cupsys.postinst: Set permissions of cups-check-pam-auth to + cupsys:shadow 2754. + + debian/rules: Configure with --enable-privilege-dropping. + + debian/rules: Install lpd backend suid root so that it can bind to a + privileged port. + - Support user-installed PPDs: + - debian/cupsys.dirs: Add usr/share/ppd/custom. + - debian/cupsys.init.d: Set up this dir as root:lpadmin 03775. + - debian/patches/14_dont_force_ssl.dpatch: Do not require SSL for the web + frontend since gnome-cups-manager does not cope with that. + - 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. (So + this does not need to be configured in two different places). + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + - Changed dependency in cupsys-bsd for netbase into update-inetd. + - Removed obsolete emacs config settings at the end of changelog. + + * Added directories and links for PPD files according to the FHS + extension for a distribution-independent printer driver location: + http://lists.freestandards.org/pipermail/printing-architecture/2006/001512.html + (Debian bug #408154). + + -- Till Kamppeter Fri, 26 Jan 2007 13:22:06 +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-1ubuntu2) feisty; urgency=low + + * Change dependency in cupsys-bsd for netbase into update-inetd. + * Remove obsolete emacs config settings at the end of changelog. + + -- Tollef Fog Heen Thu, 14 Dec 2006 11:37:58 +0100 + +cupsys (1.2.7-1ubuntu1) feisty; urgency=low + + * Merge to Debian unstable to get new upstream bugfix release. + + -- Martin Pitt Fri, 24 Nov 2006 17:53:12 +0100 + +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-1ubuntu1) feisty; urgency=low + + * Merge to Debian svn head. Remaining Ubuntu changes: + - Snakeoil SSL cert support: + + debian/control: Add ssl-cert dependency. + + debian/cupsys.postinst: Symlink snakeoil SSL certificate if present. + - TearDown (fast shutdown): + + debian/control: Add sysv-rc (>= 2.86.ds1-14.1ubuntu2) dependency. + + debian/cupsys.postinst: Remove obsolete rc.d links. + + debian/rules: Use 'multiuser' update-rc.d mode. + - debian/control: Drop libcupsys2-gnutls10 and cupsys-dbg packages. + - Run cupsd as system user 'cupsd' instead of root to confine impact of + security vulnerabilities: + + cupsys{,-client}.postinst: Set up cupsys user and put it into the + appropriate groups. + + debian/cupsys.init.d: Set up proper permissions of log files. + + debian/cupsys.init.d: Disable 'reload', force-reload does restart, + since cupsd cannot reload as non-root. + + debian/cupsys.logrotate: Own the log files to cupsys:lpadmin. + + Add debian/patches/ubuntu-external-pam-helper.dpatch: Helper program + cups-check-pam-auth which performs PAM authentication and returns the + status as exit code. + + debian/cupsys.files: Install cups-check-pam-auth. + + debian/cupsys.postinst: Set permissions of cups-check-pam-auth to + cupsys:shadow 2754. + + debian/rules: Configure with --enable-privilege-dropping. + + debian/rules: Install lpd backend suid root so that it can bind to a + privileged port. + - Support user-installed PPDs: + - debian/cupsys.dirs: Add usr/share/ppd/custom. + - debian/cupsys.init.d: Set up this dir as root:lpadmin 03775. + - debian/patches/14_dont_force_ssl.dpatch: Do not require SSL for the web + frontend since gnome-cups-manager does not cope with that. + - 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. (So + this does not need to be configured in two different places). + - debian/patches/ubuntu-default-error-policy-retry-job.dpatch: Retry a + failed job instead of stopping the print queue. + - debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default. + + -- Martin Pitt Fri, 3 Nov 2006 11:15:14 +0100 + +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-2ubuntu3) edgy; urgency=low + + * Add debian/patches/15_usb-devname.dpatch: + - Removing the first USB printer caused other USB printers to be + inaccessible. + - Upstream: STR#2017 + - Closes: LP#64725 + + -- Matthias Urlichs Sun, 8 Oct 2006 18:06:23 +0200 + +cupsys (1.2.4-2ubuntu2) edgy; urgency=low + + * debian/rules: Do not install http/ipp backend with 0700 permissions + (regression from 1.2.4-2). Closes: LP#63707 + * Add debian/patches/00_dsc-comment-encoding.dpatch: + - Fix printing of jobs with invalid/misinterpreted characters in the name. + - Patch taken from upstream SVN, thanks to Till Kamppeter for porting it + to 1.2.4. (STR#1988) + - Closes: LP#57445 + + -- Martin Pitt Thu, 5 Oct 2006 10:30:24 +0200 + +cupsys (1.2.4-2ubuntu1) edgy; urgency=low + + * Merge recent Debian changes to get some bug fixes and new upstream version + 1.2.4 (UVF exception approved by Matt Zimmerman): + - The --with-printcap configure option did not work (STR #1984) + - The character set reported by cupsLangGet() did not always reflect the + default character set of a given locale (STR #1983) + - Older Lexmark and Tektronix printers did not work with IPP (STR #1980) + - Failsafe printing did not work (PR #6328) + - Some web interface redirects did not work (STR #1978) + - The web interface change settings button could introduce a "Port 0" line + in cupsd.conf if there was no loopback connection available (STR #1979) + - The web interface change settings and edit configuration file buttons + would truncate the cupsd.conf file (STR #1976) + - The German web interface used the wrong printer icon images (STR #1973) + - (The other changes of 1.2.4 were already present as patch in the + previous version.) + - Remove transitional PPD symlink which is not necessary any more and just + causes loops. Closes: LP#62198 + - Fix CPU hogging of gnome-cups-manager. Closes: LP#44196 + * Add debian/patches/ubuntu-default-error-policy-retry-job.dpatch: + - Do not stop the printer if a job failed, just reattempt it. The default + policy might be suitable for large offices with an admin, but it + puts home users at loss. Thanks to Till Kamppeter for the patch! + Closes: LP#41313 + + -- Martin Pitt Mon, 2 Oct 2006 16:08:27 +0200 + +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-1ubuntu3) edgy; urgency=low + + * debian/control: Bump Conflicts/Replaces of cupsys-common to also apply to + dapper-updates, to fix dapper-updates->edgy upgrade. + + -- Martin Pitt Fri, 22 Sep 2006 13:37:04 +0200 + +cupsys (1.2.3-1ubuntu2) edgy; urgency=low + + * 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. + * debian/rules: Install 'lpd' backend suid root (root:lp 4754), so that + cupsd can print to RFC compliant lpd servers (which require the source + port to be < 1024). Closes: LP#47773 + + -- Martin Pitt Fri, 15 Sep 2006 19:50:29 +0200 + +cupsys (1.2.3-1ubuntu1) edgy; urgency=low + + * Merge recent bug fixes from Debian (see Kenshi's changes in 1.2.3-1 for + Ubuntu-relevant details). 00_r5958.dpatch has the following fixes from + upstream: + - The "All Documents" link in the on-line help was missing a trailing + slash (STR #1971) + - The Polish web interface translation used the wrong URLs for the job + history (STR #1963) + - The "reprint job" button did not work (STR #1956) + - The scheduler did not always report printer or job events properly (STR + #1955) + - The scheduler always stopped the queue on error, regardless of the exit + code, if the error policy was set to "stop-printer" (STR #1959) + - ppdEmitJCL() included UTF-8 characters in the JCL job name, which caused + problems on some printers (STR #1959) + - Fixed a buffering problem that cause high CPU usage (STR #1968) + (Closes: LP#59542) + - The command-line applications did not convert command-line strings to + UTF-8 as needed (STR #1958) + - cupsDirRead() incorrectly aborted when reading a symbolic link that + pointed to a file/directory that did not exist (STR #1953) + - The cupsInterpretRasterPPD() function did not handle custom page sizes + properly. + * debian/cupsys.init.d: Always make sure that log files have proper + permissions. Closes: LP#54277 + + -- Martin Pitt Tue, 12 Sep 2006 12:02:43 +0200 + +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.3-0ubuntu1) edgy; urgency=medium + + * New upstream bugfix release (UVF exception approved by Colin Watson). + * Merged with Debian sid. + * debian/control: Revert Debian's addition of -dbg package, since we will + have ddebs soon. + * debian/patches/44_fixconfdirperms.dpatch: Fix file mode specification: + 3755 -> 03755 (regression of svn commit 353). + + -- Martin Pitt Fri, 8 Sep 2006 11:09:05 +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.2-0ubuntu4) edgy; urgency=low + + * Add appropriate Replaces: to cupsys-common to unbreak upgrades. + + -- Martin Pitt Mon, 4 Sep 2006 08:53:07 +0200 + +cupsys (1.2.2-0ubuntu3) edgy; urgency=low + + * Rebuild against dbus 0.90 + + -- Sebastian Dröge Thu, 24 Aug 2006 17:30:02 +0200 + +cupsys (1.2.2-0ubuntu2) edgy; urgency=low + + * debian/patches/ubuntu-disable-browsing.dpatch: Re-add BrowseAddress + @LOCAL@ to fix browsing. + * Enable web interface by default: + - Add debian/patches/ubuntu-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. + - debian/cupsys.files: Install helper. + - debian/cupsys.postinst: Set permissions of helper to cupsys:shadow 2754. + * Remove debian/patches/ubuntu-nowebadmin.dpatch, remove explanation of + disabled web interface from debian/README.Debian. This version enables the + web interface by default. Closes: LP#50886 + * debian/cupsys.postinst: Remove cupsys from the shadow group on upgrades, + so that users who previously enabled the web interface get the benefit of + privilege separation as well. + + -- Martin Pitt Wed, 26 Jul 2006 18:11:22 +0200 + +cupsys (1.2.2-0ubuntu1) edgy; urgency=low + + * Merge to Debian unstable: + - This gets rid of /etc/cups/conf.d/ again and re-merges the separate + browsing and ports settings to /etc/cups/cupsd.conf again. Separating + was nice for preserving an unchanged conffile for the most important + settings, but it broke KDE and the web interface and generated way too + many bugs. Closes: LP#37892, LP#50804, LP#53582 + * Update to new upstream version 1.2.2 (UVF exception granted by by Matt + Zimmerman): + - Fixes printing to 1.1.x servers. Closes: LP#42513, LP#42802 + - Fixes parsing of some PostScript files which previously generated empty + pages. Closes: LP#51432 + - Fixes parsing of network masks. Closes: LP#52390 + - Lots of more fixes, see upstream changelog. + * debian/cupsys.preinst: Drop some obsolete migration bits for + Breezy->Dapper upgrade. + * debian/control: Add libdbus-1-dev build dependency to enable dbus support. + * debian/cupsys.examples: Do not ship .svn files (upstream Makefiles install + them). + * cupsys.postinst: Fix permissions of cupsd.conf to be writable by user + cupsys world-readable. + * debian/local/enable_{sharing,browsing}, {sharing,browsing}_status: Adapt + to new single configuration file format. + * debian/rules: Clean cups/raster.h symlink to unbreak source package build. + * Add debian/patches/ubuntu-disable-browsing.dpatch: Disable browsing by + default to avoid open port and stay compatible to previous releases. + + -- Martin Pitt Mon, 24 Jul 2006 11:20:04 +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-2ubuntu4) edgy; urgency=low + + * Add forgotten versioned-dependency on sysv-rc to get new update-rc.d + behaviour. Go me. + + -- Scott James Remnant Fri, 21 Jul 2006 01:20:39 +0100 + +cupsys (1.2.1-2ubuntu3) edgy; urgency=low + + * Remove stop links from rc0 and rc6 + + -- Scott James Remnant Thu, 20 Jul 2006 22:13:25 +0100 + +cupsys (1.2.1-2ubuntu2) edgy; urgency=low + + * debian/patches/44_fixconfdirperms.dpatch: + - Do not change owner and mode of SSL certificate, in order to not break + the SSL snakeoil cert/key (and customized global ones). (Grrr, cups, no, + you cannot own the world!) + * debian/cupsys.preinst: Add transitional code to fix snakeoil SSL cert/key + owner and mode. + + -- Martin Pitt Tue, 27 Jun 2006 16:05:38 +0200 + +cupsys (1.2.1-2ubuntu1) edgy; urgency=low + + * Merge to current SVN head of Debian. + * Removed debian/patches/svn*.dpatch, these were backported from 1.2.1 in + 1.2.0-0ubuntu3. + * Do not build libcupsys2-gnutls10 any more (it was a transitional package). + * snakeoil SSL certificate support: + - debian/cupsys.postinst: Symlink snakeoil SSL certificate/key to + /etc/cups/ssl/ and put cupsys into ssl-cert on upgrades or fresh + installs. + - debian/control: Depend on ssl-cert. + + -- Martin Pitt Thu, 15 Jun 2006 20:54:51 +0200 + +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.2.0-0ubuntu5) dapper; urgency=low + + * Remove debian/patches/56_revert_svn_5438.dpatch: The reason for this + reversion has now been fixed in gnome-cups-manager 0.31-1.1ubuntu8. This + fixes the handling of spaces in manufacturer names. Closes: LP#33545 + + -- Martin Pitt Wed, 17 May 2006 13:18:05 +0200 + +cupsys (1.2.0-0ubuntu4) dapper; urgency=low + + * Add debian/patches/svn5530_str1667_octet_stream.dpatch: Fix printing of + application/octet-stream jobs (usually from Windows clients with locally + installed driver). (STR #1667) Closes: LP#43145 + + -- Martin Pitt Wed, 17 May 2006 08:58:16 +0200 + +cupsys (1.2.0-0ubuntu3) dapper; urgency=low + + * Pull some bug fixes from SVN head: + * Add debian/patches/svn5512_KCMYcm_fix.dpatch: Fix bug in KCMYcm handling + (typo in variable name). + * Add debian/patches/svn5518_12bitraster.dpatch: Make sure we swap 12/16 bit + chunky data in raster filter. + * Add debian/patches/svn5523_1_2_4bit_raster.dpatch: + - Fix imagetoraster generation of 1/2/4-bit raster data. + - Fix cupsRasterWritePixels() - bad double line termination. + * Add debian/patches/svn5526_str1676_stopped_jobs_active.dpatch: Fix stopped + jobs to be considered active (STR #1676). + * Add debian/patches/svn5527_LDAP_define.dpatch: Fix typo in #ifdef: + s/OPENDAP/OPENLDAP/. + * Add debian/patches/svn5527_str1683_lpstaterror.dpatch: The lpstat command + displayed the wrong error message for a missing destination (STR #1683). + * Add debian/patches/svn5527_str1689_printeroptions.dpatch: "Set Printer + Options" in the web interface did not update the DefaultImageableArea or + DefaultPaperDimension attributes in the PPD file (STR #1689). + * Add debian/patches/svn5528_str1680_load_custom_options.dpatch: ppdOpen*() + did not load custom options properly (STR #1680). + + -- Martin Pitt Tue, 16 May 2006 12:39:35 +0200 + +cupsys (1.2.0-0ubuntu2) dapper; urgency=low + + * debian/cupsys.init: + - Load the 'lp' module. Earlier installers did not put it in /etc/modules + and we keep getting dozens of bug reports about that, so let's just fix it + here once and for all. + - Load the 'ppdev' module. This should fix detection of parallel printers. + Closes: LP#29050 + + -- Martin Pitt Thu, 11 May 2006 11:09:59 +0200 + +cupsys (1.2.0-0ubuntu1) dapper; urgency=low + + * Final 1.2.0 upstream release (bug fixes only). Closes: LP#43898 + * Remove debian/patches/01_cupsimage.dpatch, fixed upstream. + * Remove debian/patches/57_svn_5461.dpatch, fixed upstream. + * debian/patches/58_cupsd.conf-AllowLocal.dpatch: Fix typo: @LOCAL@ -> + @LOCAL. Closes: LP#43933 + + -- Martin Pitt Wed, 10 May 2006 12:09:54 +0200 + +cupsys (1.1.99.rc3-0ubuntu4) dapper; urgency=low + + * Add debian/patches/58_cupsd.conf-AllowLocal.dpatch: Add 'Allow @LOCAL' + to server ACL to actually allow LAN computers to access the printer if + sharing is enabled. This avoid having to change two things for enabling + printer sharing (a source of much confusion and a FAQ). This does not + change the default behavior (port only listens on localhost by default). + + -- Martin Pitt Tue, 9 May 2006 17:53:02 +0200 + +cupsys (1.1.99.rc3-0ubuntu3) dapper; urgency=low + + * debian/cupsys.config: Print migration note to stderr, not stdout, to not + confuse debconf. Closes: LP#41716 + * debian/cupsys.postinst: Fix ownership of files in /var/cache/cups/ so that + they are writable by non-root cupsd. Earlier dapper versions got the + ownership wrong, so fix this for intra-dapper upgrades. Closes: LP#40795 + * Add debian/local/{sharing_status,enable_sharing}: Scripts to control + printer sharing (by opening or closing the TCP port). Thanks to Ante + Karamatić for his initial scripts and research! + + -- Martin Pitt Tue, 9 May 2006 16:33:19 +0200 + +cupsys (1.1.99.rc3-0ubuntu2) dapper; urgency=low + + * debian/cupsys.init.d: Fix log creation for real. Closes: LP#41267 + * debian/cupsys.logrotate: Create files as cupsys:lpadmin, not root:lp. + (Also part of LP#41267) + + -- Martin Pitt Tue, 2 May 2006 19:36:22 +0200 + +cupsys (1.1.99.rc3-0ubuntu1) dapper; urgency=low + + * New upstream bug fix release 1.2RC3, UVF exception approved by Matt + Zimmerman. + * Add debian/patches/56_revert_svn_5438.dpatch: Revert upstream svn commit + 5438 (fixed handling of products/manufacturers with spaces in the name) + for now since it causes regressions in gnome-cups-add. Will be reactivated + later when the issue is sorted out with upstream. + * Update patches for new upstream release. + * Remove debian/patches/20_httpGetHostname_crash.dpatch, fixed upstream. + * Add debian/patches/14_dont_force_ssl.dpatch: Upstream now requires + encryption by default for accessing /admin/, but our GUI frontends do not + yet cope with that. Disable SSL requirement for now to revert to the old + behaviour. + * 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). Since enable_browsing + now works for exporting printers, too, this Closes: LP#17981 + - 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. + * debian/cupsys.init.d: Pre-create error_log, too, and clean up code a bit. + Closes: LP#41267 + * debian/cupsys.postinst: If upgrading from Breezy, adapt the inclusion of + external browsing configuration in cupsd.conf to retain the correct + setting for modified cupsd.conf files. + * debian/cupsys.config: + - Fix handling of cupsd-browsing.conf -> cups.d/browse.conf transition for + breezy->dapper upgrades. + - Fix browse.conf parsing to set the correct debconf default value, so + that the browse setting is not reset to 'off' on upgrades. + Closes: LP#38704 + * Add debian/patches/57_svn_5461.dpatch: + - Properly HTML-quote the printer name so that names containing e. g. '+' + work properly in the web interface. + - Upstream svn commit 5461. + - Closes: LP#37018 + + -- Martin Pitt Tue, 25 Apr 2006 20:09:37 +0200 + +cupsys (1.1.99.rc2-0ubuntu2) dapper; urgency=low + + * debian/cupsys-client.links: Fix cupsenable/cupsdisable manpage link. + Closes: LP#40725 + * 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. + + -- Martin Pitt Mon, 24 Apr 2006 19:17:12 +0200 + +cupsys (1.1.99.rc2-0ubuntu1) dapper; urgency=low + + * Many changes have been applied in Debian now; reapply remaining Ubuntu + changes from scratch to clean up some cruft (see below for details). Also, + maintain Ubuntu package as SVN branch of the Debian one. + * debian/rules: Enable --with-cups-user=cupsys and + --enable-privilege-dropping to not run cupsd as root. + * debian/control: Remove libdbus-1-dev build dependency, dbus support is not + something for dapper. + * debian/cupsys.init.d: Disable reload (it doesn't work as normal user), + change force-reload to restart. + * debian/cupsys.init.d: Pre-create access_log and error_log since cupsd + can't create them as normal user. + * debian/rules: Set rc runlevel priority to 19. + * debian/cupsys.{postinst,postrm}, debian/cupsys-client.postinst: + Setup/remove cupsys user and its needed groups. + * debian/cupsys.templates: Disable browsing by default due to our 'no open + ports in the default install' policy. + * debian/README.Debian: Explain disabling of administrative functions in web + interface and describe how to re-enable it. + * debian/cupsys.preinst: + - Migrate /etc/cups/cupsd-browsing.conf to /etc/cups/cups.d/browse.conf + for smooth upgrades from Hoary. + - Fix owner of /etc/cups/ppd/* on upgrades. + * debian/patches/ubuntu-nowebadmin.dpatch: Explain disabling of + administrative functions in the web interface and point to doc how to + reenable it. + * 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/libcupsys2.shlibs: Remove Debian revision to allow -0ubuntuN + number. + * Support custom PPD installation by lpadmin members (through e. g. + gnome-cups-manager): + - debian/cupsys.dirs: Create /usr/share/ppd/custom/. + - debian/cupsys.init.d: Fix permissions of that dir to root:lpadmin 3775. + - debian/rules: Install compatibility symlink + /usr/share/cups/model/custom. + * 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. + + -- Martin Pitt Fri, 21 Apr 2006 16:19:37 +0200 + +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.r4929-0ubuntu9) dapper; urgency=low + + * Correct permissions of /var/run/cups in the init script. + + -- Scott James Remnant Wed, 19 Apr 2006 14:15:14 +0100 + +cupsys (1.1.99.b1.r4929-0ubuntu8) dapper; urgency=low + + * Disable 53_usr_share_ppd_support.dpatch again, too many + packages still have /usr/share/cups/model hardcoded. + * Symlink /usr/share/cups/model/cups-included to /usr/share/ppd/cups-included. + * Place ppd files in manufacturer specific subdirectories. + * Change "Oki" manufacturer name to "Okidata". + * Symlink /usr/share/cups/model/custom to /usr/share/ppd/custom. + + -- Matthias Klose Wed, 12 Apr 2006 19:26:18 +0200 + +cupsys (1.1.99.b1.r4929-0ubuntu7) dapper; urgency=low + + * debian/cupsys.init.d: Move log_end_msg to the right place again. + * Add debian/patches/53_usr_share_ppd_support.dpatch: + - Look for PPDs in /usr/share/ppd, according to + http://wiki.debian.org/PpdFileStructureSpecification. + - Fixes Debian bug #358186. + * debian/rules: Install PPD files into /usr/share/ppd/cups-included, + according to above specification. + * 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/libcupsys2.shlibs: Bump version number so that other packages can + rely on cups-config's modeldir. + * Re-add debian/patches/51_dont_log_ipp_printer_query.dpatch, since these + log messages are routed through a different code path. + * debian/cupsys.init.d: Change custom PPD path from /usr/share/cups/ppd to + /usr/share/ppd/custom. + + -- Martin Pitt Fri, 7 Apr 2006 17:14:25 +0200 + +cupsys (1.1.99.b1.r4929-0ubuntu6) dapper; urgency=low + + * Add debian/patches/51_ipp_log_severity_info.dpatch: Drop successful IPP + messages to log level 'debug' and unsuccessful ones to 'info'. This is a + more generic approach to avoid ridiculously huge logs due to polling by + gnome-cups-icon and friends. + * Drop debian/patches/51_dont_log_ipp_printer_query.dpatch, obsoleted by + above patch. + * Add debian/patches/52_default_log_level_warning.dpatch: Raise default log + level from info to warning. Closes: LP#38042 + + -- Martin Pitt Thu, 6 Apr 2006 12:05:45 +0200 + +cupsys (1.1.99.b1.r4929-0ubuntu5) dapper; urgency=low + + * debian/patches/51_dont_log_ipp_printer_query.dpatch: Suppress logging of + successful CUPS_GET_DEFAULT messages, too. Closes: LP#29895 + * debian/pdftops: Fix reading from stdin. Closes: LP#17124 + + -- Martin Pitt Thu, 30 Mar 2006 19:52:20 +0200 + +cupsys (1.1.99.b1.r4929-0ubuntu4) dapper; urgency=low + + * debian/cupsys.postinst: Make sure that the scanner group exists before + trying to add the cupsys user to it. + + -- Colin Watson Thu, 9 Mar 2006 08:20:02 +0000 + +cupsys (1.1.99.b1.r4929-0ubuntu3) dapper; urgency=low + + * debian/rules: Do not install dangling pdftops.conf symlink. (Malone #26785) + * debian/cupsys.preinst: Remove a dangling pdftops.conf symlink on upgrades + to this version. + * debian/cupsys.postinst: Add cupsys to group 'scanner' to be able to access + printer/scanner combined devices. (Malone #29050) + * debian/patches/44_fixconfdirperms.dpatch: Make /etc/cups/ppd group + writable. (Malone #31533) + * debian/cupsys.init.d: Make sure that page_log exists with the right + permissions. (Malone #33409) + * Add debian/patches/51_dont_log_ipp_printer_query.dpatch: Do not flood + access_log with successful CUPS-Get-Printers and Get-Printer-Attributes + queries (which are generated by gnome-cups-icon every 3 seconds). This is + a hideous and hackish patch, but it has to do until we dbusify cupsys + properly. (Malone #29895) + + -- Martin Pitt Mon, 6 Mar 2006 16:08:32 +0100 + +cupsys (1.1.99.b1.r4929-0ubuntu2) dapper; urgency=low + + * Add 50_truncate_ppd.dpatch: + - cups/file.c: Do not forget to write the pending uncompressed tail when + copying a compressed file. Fixes cropped PPD files in /etc/cups/ppd. + - Patch taken from upstream svn commit 4942. + - Malone #28642 + * debian/cupsys.init.d: Create access_log with proper permissions if it does + not yet exist. (Malone #28492) + * debian/cupsys.preinst: If we upgrade from a version earlier than this one, + change all root-owned PPD files in /etc/cups/ppd to be owned by cupsys. + (Malone #12879) + + -- Martin Pitt Thu, 19 Jan 2006 16:55:51 +0100 + +cupsys (1.1.99.b1.r4929-0ubuntu1) dapper; urgency=low + + * New upstream snapshot with lots of bug fixes. + * Remove debian/patches/50_local_username_check.dpatch: Adopted upstream. + * debian/patches/02_configure.patch: Greatly simplified to be more robust + against upstream changes; renamed to debian/patches/02_disable_pie.patch + for clarity. + * Disable debian/patches/48_stdlib.dpatch, it shouldn't be necessary on at + least our platforms. + + -- Martin Pitt Tue, 17 Jan 2006 16:44:47 +0100 + +cupsys (1.1.99.b1.r4892-0ubuntu1) dapper; urgency=low + + * New upstream snapshot. + * Adapt patches to new upstream version: + - 02_configure.dpatch + - 48_stdlib.dpatch + - ubuntu-nowebadmin.dpatch + * Add debian/patches/50_local_username_check.dpatch: Fix the restriction + of changing/cancelling of print jobs to the owner. + - scheduler/auth.c: Disable weird code that bypasses user name check for + local authentication. + - scheduler/ipp.c: Copy the determined user name of the connection to the + con structure, so that cupsdCheckPolicy() has a chance to actually + verify it. + - Ubuntu #12177 + + -- Martin Pitt Fri, 13 Jan 2006 15:28:22 +0100 + +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-1ubuntu8) dapper; urgency=low + + * debian/cupsys.init.d: Remove the hideous killing hacks and just invoke + start-stop-daemon with the correct arguments. + + -- Martin Pitt Wed, 11 Jan 2006 19:23:47 +0100 + +cupsys (1.1.99.b1.r4841-1ubuntu7) dapper; urgency=low + + * debian/cupsys.init.d: Make sure that the PID file directory /var/run/cups + exists. The new approach of mounting /var/run as tmpfs removes the + directory that is shipped in the deb. (Ubuntu #22261) + + -- Martin Pitt Wed, 11 Jan 2006 13:47:45 +0100 + +cupsys (1.1.99.b1.r4841-1ubuntu6) dapper; urgency=low + + * debian/cupsys.init: Call stop/start in the 'restart/force-reload' section + to make use of the much more robust 'stop' handling. This should avoid + frequent failures of force-reload. (Ubuntu #21787) + * debian/cupsys.postinst: + - Set permissions of /etc/cups/interfaces to root:lpadmin 2775. + - Make /etc/printcap writable for group lpadmin. + - This fixes third-party printer drivers and command line tools. + - Ubuntu #20891 + + -- Martin Pitt Thu, 5 Jan 2006 18:11:51 +0100 + +cupsys (1.1.99.b1.r4841-1ubuntu5) dapper; urgency=low + + * Synchronize to Debian's svn head to get the various configuration handling + RC bug fixes, but keep Ubuntu upstream version at r4841 since 4885 has + serious regressions. + * All non-Ubuntu specific patches have been applied in Debian now. + * Drop the following patches (accepted in Debian): + - ubuntu-sanitize-conffile-handling.dpatch + - ubuntu-localports.dpatch + - ubuntu-include-conf.d.dpatch + - ubuntu-nowebadmin.dpatch + - ubuntu-cupsimage.dpatch + * ubuntu-runasuser.dpatch: Remove the upstream code fixes (already in Debian + now), just add the 'RunAsUser' directive to cupsd.conf. + * debian/cupsys.templates: Disable browsing by default. + + -- Martin Pitt Thu, 22 Dec 2005 15:08:51 +0100 + +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-10ubuntu4) breezy; urgency=low + + * Add debian/patches/ubuntu-disable-conffile-chmod.dpatch: + - Stop fiddling with the /etc/cups/cupsd.conf permissions at server + startup. The default permissions as shipped (root:root 0644) are just + fine for that file, and cupsys modifies it in a way that normal users + cannot read them any more, which breaks gnome-cups-manager. + - Ubuntu #15165 + * debian/cupsys.postinst: + - If the package is upgraded from a version earlier than this one, correct + permissions of cupsd.conf. + + -- Martin Pitt Wed, 14 Sep 2005 14:52:13 +0200 + +cupsys (1.1.23-10ubuntu3) breezy; urgency=low + + * Fix installation of /usr/share/cups/{enable-browsing,browsing_status} to + ship these scripts again. (Ubuntu #14546 ) + + -- Martin Pitt Fri, 2 Sep 2005 12:00:02 +0200 + +cupsys (1.1.23-10ubuntu2) breezy; urgency=low + + * Added debian/patches/ubuntu-confpermissions.dpatch: + - Add and document ConfigFilePerm to cupsd.conf and set it to 0600 to + avoid exposing SMB passwords to lpadmin members. This makes it slightly + harder to intercept the password. (Ubuntu #12036) + + -- Martin Pitt Thu, 23 Jun 2005 12:44:14 +0200 + +cupsys (1.1.23-10ubuntu1) breezy; urgency=low + + * Debian adopted many changes and MOM output was messy; reapplied remaining + Ubuntu changes to pristine Debian version. Mention them here again to + ease further merges and Debian adoptions. + * Convert Ubuntu patches to dpatch and added descriptions. + * Convert to poppler: + - debian/patches/ubuntu-pdf2ps_poppler.dpatch: Replace pdftops/pdftops.cxx + with a port from xpdf-utils to libpoppler. + - debian/control: Add build dependency libpoppler-dev, remove xpdf-utils + dependency. + - Disable 06_replacepdftops.dpatch to build the pdftops/ subdir again. + - debian/rules: Install newly built pdftops into /usr/lib/cups/. + * Run as user 'cupsys' instead of root: + - debian/patches/ubuntu-runasuser.dpatch: Enable RunAsUser in + configuration. + - debian/patches/ubuntu-auxgroups.dpatch: When running as non-root, call + initgroups() instead of setgroups() to allow auxiliary groups. + - debian/rules: Configure with --with-cups-user=cupsys. + - debian/cupsys.postinst, debian/cupsys-client.postinst: Create cupsys + user and setup permissions. + - debian/cupsys.postrm: Remove cupsys user on purge. + * Disable web interface to avoid putting the user 'cupsys' into group + shadow: + - debian/README.Debian: Explain the change. + - debian/patches/ubuntu-nowebadmin.dpatch: Explain the disabled + administrator pages in the web interface. + - Add debian/local/ja-nowebadmin.ptch: Add the same explanation to the + Japanese translation in patches/ja.tar.gz.uu. + - debian/rules: Apply debian/local/ja-nowebadmin.ptch. + * Automatic detection of LAN printers (browsing): + - Add debian/local/{enable_browsing,browsing_status,cupsd-browsing.conf} + and install them in debian/rules. + - debian/patches/ubuntu-externalbrowseconf.dpatch: Externalize browsing + setting to cupsd-browsing.conf. + * Listen to local port only by default to comply to Ubuntu Security Policy: + - debian/patches/ubuntu-localports.dpatch + * debian/cupsys.init.d: LSB init script. + + -- Martin Pitt Thu, 23 Jun 2005 11:23:37 +0200 + +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-7ubuntu2) breezy; urgency=low + + * debian/control: + - Add build dependency libpoppler-dev. + - Drop cupsys dependency xpdf-utils. + * Added debian/patches/ubuntu-pdf2ps_poppler.patch: + - Replace pdftops/pdftops.cxx with the latest version from xpdf-3.00 code; + it was modified to use poppler's include files and use GooString instead + of GString (a simple rename in poppler). + - Adapt build rule. + * debian/rules: Install newly built pdftops into /usr/lib/cups/. + * debian/pdftops: Change path to pdftops from /usr/bin to /usr/lib/cups. + * Removed debian/patches/06replacepdftops.patch: This patch prevented the + building of pdftops/, but we want that again. + + -- Martin Pitt Tue, 24 May 2005 14:39:14 +0200 + +cupsys (1.1.23-7ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. (#9281) + * Fixed merging conflicts in debian/rules. + * Dropped patch ubuntu-lppasswd_noexistingconf.patch, now included in + Debian. + * debian/cupsys.postinst: Include /etc/default/cupsys to make the + #298040 patch effective (this somehow got lost in MOM). + + -- Martin Pitt Fri, 15 Apr 2005 13:20:17 +0200 + +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-1ubuntu12) hoary; urgency=low + + * debian/cupsys.init.d: + - Make the start-stop-daemon invocation in restart use the schedule + syntax (--retry TERM/10) to keep trying to kill cupsd for 10 + seconds before it gives up. If it does fail, restart now fails + gracefully, rather than bringing down the shell. (Ubuntu #7847) + - Make the same changes to the stop target for consistency. + + -- Adam Conrad Tue, 22 Mar 2005 03:40:51 +0000 + +cupsys (1.1.23-1ubuntu11) hoary; urgency=low + + * debian/cupsys.postinst: + - cleanup kill code somewhat - use pidof instead of ps aux output. + should fix Debian bug#298040 + - Don't die if the kill fails. + + -- LaMont Jones Thu, 17 Mar 2005 16:10:27 -0700 + +cupsys (1.1.23-1ubuntu10) hoary; urgency=low + + * debian/cupsys.postinst: + - Remove "--home /" from adduser invocation; sometimes adduser chowns the + home directory even if --no-create-home is given. + - If upgrading from a previous version, chown / to 0:0 to fix the bug from + previous releases. + + -- Martin Pitt Thu, 10 Mar 2005 08:30:42 +0100 + +cupsys (1.1.23-1ubuntu9) hoary; urgency=low + + * Updated debian/patches/ubuntu-fixconfdirperms.patch: + - chmod /etc/cups/ppd to 2775 instead of 755 so that cupsd can actually + write into it. (Ubuntu #6816) + * Added debian/patches/ubuntu-slashprinternames.patch: + - When determining the path to a PPD or interface file, replace slashes + with underscores; otherwise the server will try to write into + nonexisting subdirectories of e. g. /etc/cups/ppd/. (Ubuntu #6816) + * Updated debian/patches/ubuntu-nowebadmin.patch: + - Corrected the gnome-cumps-manager menu path on all web pages and + translations. (Ubuntu #4725) + + -- Martin Pitt Mon, 28 Feb 2005 19:04:51 +0100 + +cupsys (1.1.23-1ubuntu8) hoary; urgency=low + + * debian/patches/ubuntu-localports.patch: + - Removed "Browsing" patch hunk. + * Added debian/patches/ubuntu-externalbrowseconf.patch: + - Replace "Browsing" setting by "Include cupsd-browsing.conf" and update + the documentation comment; this allows to enable/disable browsing + without changing the main configuration file (which avoids dpkg + questions on upgrades). + - Enable "BrowseAddress @LOCAL" by default. + * Added debian/local/cupsd-browsing.conf (single "Browsing" configuration + parameter, default Off) and install it to /etc/cups/. + * Added scripts to manage browsing status to debian/local and install them + to /usr/share/cups/: + - browsing_status: Return whether browsing is currently disabled (0), + enabled (1) or there is a custom configuration (2). + - enable_browsing: Enable (1) or disable (0) browsing. Only possible with + non-custom configurations and with root privileges. + * Backend part of Ubuntu bug #2251 (user-friendly browsing configuration). + + -- Martin Pitt Tue, 22 Feb 2005 13:46:02 +0100 + +cupsys (1.1.23-1ubuntu7) hoary; urgency=low + + * Reapply patch to background cupsd during startup. + + -- Thom May Thu, 20 Jan 2005 17:28:30 +0000 + +cupsys (1.1.23-1ubuntu6) hoary; urgency=low + + * Must create cupsys user _AFTER_ we create the lpadmin group. sigh. + + -- LaMont Jones Fri, 14 Jan 2005 15:01:21 -0700 + +cupsys (1.1.23-1ubuntu5) hoary; urgency=low + + * Need to possibly add cupsys user in cupsys-client postinst, too. + + -- LaMont Jones Fri, 14 Jan 2005 12:08:14 -0700 + +cupsys (1.1.23-1ubuntu4) hoary; urgency=low + + * Fix postrm to not horribly break debconf and die. + + -- LaMont Jones Thu, 13 Jan 2005 11:35:39 -0700 + +cupsys (1.1.23-1ubuntu3) hoary; urgency=low + + * debian/control: Added missing cupsys dependency 'procps'. + * Moved lppasswd permission setup from cupsys.postinst to + cupsys-client.postinst (to where it belongs). + + -- Martin Pitt Thu, 13 Jan 2005 11:27:09 +0100 + +cupsys (1.1.23-1ubuntu2) hoary; urgency=low + + * Added debian/patches/ubuntu-build_avoid_unknown_chown.patch: + - systemv/Makefile: do not try to install lppasswd with owner CUPS_USER + during build since user "cupsys" does not exist on the buildds; install + it as root:root 755 instead + * debian/cupsys.postinst: setup permissions of lppasswd to cupsys:root 4755 + * Added debian/patches/ubuntu-lppasswd_noexistingconf.patch: + - lppasswd tries to rename /etc/passwd.md5 to /etc/passwd.old; do not fail + if the former does not exist (at the very first invocation of the + program) + * debian/rules: removed silly "DEB_DH_INSTALLINIT_ARGS := -n" introduced by + some Ubuntu upload; this completely broke install/upgrade service + stopping/starting/restarting + * Added debian/patches/ubuntu-fixconfdirperms.patch: + - scheduler/conf.c: chmod /etc/cups to 3755 instead of 755: + + setgid forces the correct group (lpadmin) to files like passwd.md5 + + sticky denies removing root-owned files by lpadmin members + + -- Martin Pitt Wed, 12 Jan 2005 12:06:30 +0100 + +cupsys (1.1.23-1ubuntu1) hoary; urgency=low + + * Merged new Debian version + * Dropped patches (merged upstream): + + 39CAN-2004-1125.patch + + 40CAN-2004-1267.patch + + 41CAN-2004-1268+1269+1270.patch + * Moved change to cups/cups_C.h to ubuntu-nowebadmin.patch + * Reworked the following patches to work with new version: + + ubuntu-init.d.patch + + ubuntu-runasuser.patch + * Applied and removed Ubuntu-specific patches which patch files in debian/; + this plays better with merge-o-matic and my fellow developers like it that + way; however, it will make manual merges a pain: + + ubuntu-init.d.patch + + ubuntu-logrotate.patch + + ubuntu-runasuser.patch (only the parts touching debian/) + + ubuntu-runlevel-19.patch + + -- Martin Pitt Thu, 6 Jan 2005 10:21:18 +0100 + +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-10ubuntu8) hoary; urgency=low + + * debian/patches patches patching debian/. sigh. + + -- LaMont Jones Tue, 4 Jan 2005 09:29:48 -0700 + +cupsys (1.1.20final+rc1-10ubuntu7) hoary; urgency=low + + * Ignore errors on the stop phase of restart. Closes: warty#4504 + + -- LaMont Jones Mon, 3 Jan 2005 20:10:54 -0700 + +cupsys (1.1.20final+rc1-10ubuntu6) hoary; urgency=low + + * SECURITY UPDATE: fixed multiple buffer overflows + * Added patch 39CAN-2004-1125.patch: + - cupsys contains code from xpdf, therefore CAN-2004-1125 applies, too. + - References: + CAN-2004-1125 + http://www.idefense.com/application/poi/display?id=172 + * Added patch 40CAN-2004-1267.patch: + - filter/hpgl-input.c, ParseCommand(): Prevent reading an arbitrary string + into statically sized buffer "buf"; clip string if necessary. + - patch taken from http://www.cups.org/str.php?L1024+P0+S-2+C0+I0+E0+Qhpgl + - Thanks to Ariel Berkman for spotting this. + - References: + CAN-2004-1267 + http://tigger.uic.edu/~jlongs2/holes/cups.txt + * Added patch 41CAN-2004-1268+1269+1270.patch: fix several vulns in + systemv/lppasswd.c: + - Check return value of fputs() and fprintf() when writing to the new + password file. When ignoring them, an user can truncate the new passwd + file by filling up the disk at the right moment. Now unlink the file on + error and print out a message. + - If the passwd.new file reaches the maximum file size system limit, the + new file was not deleted, thus lppasswd could not be used again. Now + ignores all relevant signals and unlinks the new file on write error. + - Check that the output file is not stdin, stdout, or stderr; otherwise + error messages would be written into the output file which would destroy + it. + - Thanks to Bartlomiej Sieka for spotting this. + - References: + CAN-2004-1268 + CAN-2004-1269 + CAN-2004-1270 + http://tigger.uic.edu/~jlongs2/holes/cups2.txt + + -- Martin Pitt Thu, 23 Dec 2004 11:18:50 +0100 + +cupsys (1.1.20final+rc1-10ubuntu5) hoary; urgency=low + + * Start cupsys using its -F switch and explicitly background it with + start-stop-daemon; this shaves seconds off the boot process. + * Rename debian/patches/ubuntu-runlevel-12.patch to + ubuntu-runlevel-19.patch, moving the start point from 12 to 19 and + migrating users who were at both 20 and 12. + + -- Scott James Remnant Thu, 9 Dec 2004 09:28:35 +0100 + +cupsys (1.1.20final+rc1-10ubuntu4) hoary; urgency=low + + * Unbreak debian/patches/ubuntu-nowebadmin.patch, so that it does not create + other patches in debian/patches (jp-nowebadmin.patch moved to + debian/local), or .orig files. + * Add debian/patches/ubuntu-runlevel-12.patch, which moves the runlevel of + the init script to 12, and performs the migration accordingly. + + -- Daniel Stone Mon, 6 Dec 2004 17:30:45 +0100 + +cupsys (1.1.20final+rc1-10ubuntu3) hoary; urgency=low + + * SECURITY: still CAN-2004-0888. Updated patch 36pdftopsoverflow.patch: + - pdftops/gmem.[ch]: change declarations of gmalloc and grealloc to use size_t + instead of int; int truncated sizes to 32 bits, which made xpdf still + vulnerable to integer (and eventually buffer) overflow attacks on 64 bit + platforms like amd64. + - pdftops/Xref.cxx: fix several unchecked negative integer conditions + * Thanks to Marcus Meissner for providing the patches. + + -- Martin Pitt Mon, 1 Nov 2004 14:37:58 +0100 + +cupsys (1.1.20final+rc1-10ubuntu2) hoary; urgency=low + + * Fixed debian/patches/ubuntu-localports.patch: do not comment out the + 'Listen' statement (Warty bug #3009). + + -- Martin Pitt Fri, 29 Oct 2004 08:50:56 +0200 + +cupsys (1.1.20final+rc1-10ubuntu1) hoary; urgency=low + + * Resynchronized to Debian + * Now keep all Ubuntu specific modification as patches prefixed with + "ubuntu-" to ease further merges: + - ubuntu-auxgroups: allow cupsd to run in auxilliary groups + - ubuntu-init.d: pretty initscript, make /usr/share/cups/model + lpadmin-writeable to install custom printer drivers + - ubuntu-localports: listen on localhost port only by default + - ubuntu-logrotate: use 'restart', not 'reload' to restart cupsd after log + rotation (reload does not exist any more) + - ubuntu-nowebadmin: display a red warning on the web interface that + administrative functions are disabled for security reasons + - ubuntu-runasuser: do not run as 'root', but as 'cupsys' by default + * Ubuntu-specific debian/rules (can't be patched): + - configure with --with-cups-user=cupsys + - apply patch debian/patches/ja-nowebadmin.ptch (must be done after + uudecoding ja.tar.gz.uu) + + -- Martin Pitt Thu, 28 Oct 2004 23:56:54 +0200 + +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 + --- cupsys-1.3.7.orig/debian/libcupsys2.lintian +++ cupsys-1.3.7/debian/libcupsys2.lintian @@ -0,0 +1 @@ +libcupsys2: package-name-doesnt-match-sonames libcups2 --- cupsys-1.3.7.orig/debian/libcupsimage2.files +++ cupsys-1.3.7/debian/libcupsimage2.files @@ -0,0 +1,2 @@ +usr/lib/libcupsimage.so.* +usr/lib64/libcupsimage.so.* --- cupsys-1.3.7.orig/debian/cupsys-bsd.files +++ cupsys-1.3.7/debian/cupsys-bsd.files @@ -0,0 +1,10 @@ +usr/sbin/lpc +usr/bin/lpq +usr/bin/lpr +usr/bin/lprm +usr/lib/cups/daemon/cups-lpd +usr/share/man/man1/lpr.1.gz +usr/share/man/man1/lprm.1.gz +usr/share/man/man1/lpq.1.gz +usr/share/man/man8/cups-lpd.8.gz +usr/share/man/man8/lpc.8.gz --- cupsys-1.3.7.orig/debian/dirs +++ cupsys-1.3.7/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- cupsys-1.3.7.orig/debian/libcupsys2.examples +++ cupsys-1.3.7/debian/libcupsys2.examples @@ -0,0 +1 @@ +debian/client.conf --- cupsys-1.3.7.orig/debian/libcupsimage2.preinst +++ cupsys-1.3.7/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 + + --- cupsys-1.3.7.orig/debian/patches/removecvstag.dpatch +++ cupsys-1.3.7/debian/patches/removecvstag.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 07_removecvstag.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Forwarded upstream: http://www.cups.org/str.php?L2369 + +@DPATCH@ +diff -urNad cups-1.2~/conf/Makefile cups-1.2/conf/Makefile +--- cups-1.2~/conf/Makefile 2006-04-25 12:16:07.000000000 +0200 ++++ cups-1.2/conf/Makefile 2006-04-25 12:17:11.000000000 +0200 +@@ -65,6 +65,8 @@ + chgrp $(CUPS_GROUP) $(SERVERROOT)/$$file.N || true; \ + else \ + $(INSTALL_CONFIG) $$file $(SERVERROOT) ; \ ++ grep -v "\$$Id:" $(SERVERROOT)/$$file > $(SERVERROOT)/$$file.n ; \ ++ mv $(SERVERROOT)/$$file.n $(SERVERROOT)/$$file ; \ + chgrp $(CUPS_GROUP) $(SERVERROOT)/$$file || true; \ + fi ; \ + done +@@ -75,6 +77,8 @@ + $(MV) $(SERVERROOT)/$$file $(SERVERROOT)/$$file.O ; \ + fi ; \ + $(INSTALL_DATA) $$file $(SERVERROOT) ; \ ++ grep -v "\$$Id:" $(SERVERROOT)/$$file > $(SERVERROOT)/$$file.n ; \ ++ mv $(SERVERROOT)/$$file.n $(SERVERROOT)/$$file ; \ + done + -if test x$(PAMDIR) != x; then \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(PAMDIR); \ --- cupsys-1.3.7.orig/debian/patches/ubuntu-disable-browsing.dpatch +++ cupsys-1.3.7/debian/patches/ubuntu-disable-browsing.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh -e +## ubuntu-disable-browsing.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Disable Browsing by default on Ubuntu (not sanctioned yet by +## DP: https://wiki.ubuntu.com/DefaultNetworkServices). This is only applied +## DP: when building on Ubuntu. + +[ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ] || { echo -n '(ignored)' >&2; exit 0; } +. /usr/share/dpatch/dpatch-run + +@DPATCH@ +diff -urNad cupsys-1.3.0~rc2~/conf/cupsd.conf.in cupsys-1.3.0~rc2/conf/cupsd.conf.in +--- cupsys-1.3.0~rc2~/conf/cupsd.conf.in 2007-07-25 01:40:03.000000000 +0100 ++++ cupsys-1.3.0~rc2/conf/cupsd.conf.in 2007-08-01 15:27:56.000000000 +0100 +@@ -19,9 +19,10 @@ + @CUPS_LISTEN_DOMAINSOCKET@ + + # Show shared printers on the local network. +-Browsing On ++Browsing Off + BrowseOrder allow,deny + BrowseAllow all ++BrowseAddress @LOCAL + + # Default authentication type, when authentication is required... + DefaultAuthType Basic --- cupsys-1.3.7.orig/debian/patches/security-str3510.dpatch +++ cupsys-1.3.7/debian/patches/security-str3510.dpatch @@ -0,0 +1,142 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix file overwrite vulnerability +# Origin: backport, r9149 from trunk +# Bug: http://www.cups.org/str.php?L3510 + +@DPATCH@ +diff -urNad cupsys-1.3.7~/cups/file.c cupsys-1.3.7/cups/file.c +--- cupsys-1.3.7~/cups/file.c 2007-09-17 16:35:54.000000000 -0400 ++++ cupsys-1.3.7/cups/file.c 2010-06-18 10:32:02.000000000 -0400 +@@ -62,6 +62,7 @@ + #include + #include + #include ++#include + #include + #include "http-private.h" + #include "globals.h" +@@ -128,6 +129,7 @@ + static ssize_t cups_compress(cups_file_t *fp, const char *buf, size_t bytes); + #endif /* HAVE_LIBZ */ + static ssize_t cups_fill(cups_file_t *fp); ++static int cups_open(const char *filename, int mode); + static ssize_t cups_read(cups_file_t *fp, char *buf, size_t bytes); + static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes); + +@@ -811,7 +813,8 @@ + switch (*mode) + { + case 'a' : /* Append file */ +- fd = open(filename, O_RDWR | O_CREAT | O_APPEND | O_LARGEFILE | O_BINARY, 0666); ++ fd = cups_open(filename, ++ O_RDWR | O_CREAT | O_APPEND | O_LARGEFILE | O_BINARY); + break; + + case 'r' : /* Read file */ +@@ -819,7 +822,17 @@ + break; + + case 'w' : /* Write file */ +- fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT | O_LARGEFILE | O_BINARY, 0666); ++ fd = cups_open(filename, O_WRONLY | O_LARGEFILE | O_BINARY); ++ if (fd < 0 && errno == ENOENT) ++ { ++ fd = cups_open(filename, ++ O_WRONLY | O_CREAT | O_EXCL | O_LARGEFILE | O_BINARY); ++ if (fd < 0 && errno == EEXIST) ++ fd = cups_open(filename, O_WRONLY | O_LARGEFILE | O_BINARY); ++ } ++ ++ if (fd >= 0) ++ ftruncate(fd, 0); + break; + + case 's' : /* Read/write socket */ +@@ -2019,6 +2032,87 @@ + + + /* ++ * 'cups_open()' - Safely open a file for writing. ++ * ++ * We don't allow appending to directories or files that are hard-linked or ++ * symlinked. ++ */ ++ ++static int /* O - File descriptor or -1 otherwise */ ++cups_open(const char *filename, /* I - Filename */ ++ int mode) /* I - Open mode */ ++{ ++ int fd; /* File descriptor */ ++ struct stat fileinfo; /* File information */ ++#ifndef WIN32 ++ struct stat linkinfo; /* Link information */ ++#endif /* !WIN32 */ ++ ++ ++ /* ++ * Open the file... ++ */ ++ ++ if ((fd = open(filename, mode, 0666)) < 0) ++ return (-1); ++ ++ /* ++ * Then verify that the file descriptor doesn't point to a directory or hard- ++ * linked file. ++ */ ++ ++ if (fstat(fd, &fileinfo)) ++ { ++ close(fd); ++ return (-1); ++ } ++ ++ if (fileinfo.st_nlink != 1) ++ { ++ close(fd); ++ errno = EPERM; ++ return (-1); ++ } ++ ++ if (S_ISDIR(fileinfo.st_mode)) ++ { ++ close(fd); ++ errno = EISDIR; ++ return (-1); ++ } ++ ++#ifndef WIN32 ++ /* ++ * Then use lstat to determine whether the filename is a symlink... ++ */ ++ ++ if (lstat(filename, &linkinfo)) ++ { ++ close(fd); ++ return (-1); ++ } ++ ++ if (S_ISLNK(linkinfo.st_mode) || ++ fileinfo.st_dev != linkinfo.st_dev || ++ fileinfo.st_ino != linkinfo.st_ino || ++ fileinfo.st_nlink != linkinfo.st_nlink || ++ fileinfo.st_mode != linkinfo.st_mode) ++ { ++ /* ++ * Yes, don't allow! ++ */ ++ ++ close(fd); ++ errno = EPERM; ++ return (-1); ++ } ++#endif /* !WIN32 */ ++ ++ return (fd); ++} ++ ++ ++/* + * 'cups_read()' - Read from a file descriptor. + */ + --- cupsys-1.3.7.orig/debian/patches/CVE-2011-3170.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2011-3170.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: Fix arbitrary code execution via incorrect code word handling +# Origin: upstream, r9865 +# Bug: http://cups.org/str.php?L3914 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cupsys-1.3.7~/filter/image-gif.c cupsys-1.3.7/filter/image-gif.c +--- cupsys-1.3.7~/filter/image-gif.c 2011-09-12 09:40:58.852352217 -0400 ++++ cupsys-1.3.7/filter/image-gif.c 2011-09-12 09:41:04.382352254 -0400 +@@ -647,11 +647,13 @@ + + if (code == max_code) + { +- *sp++ = firstcode; +- code = oldcode; ++ if (sp < (stack + 8192)) ++ *sp++ = firstcode; ++ ++ code = oldcode; + } + +- while (code >= clear_code) ++ while (code >= clear_code && sp < (stack + 8192)) + { + *sp++ = table[1][code]; + if (code == table[0][code]) +@@ -660,8 +662,10 @@ + code = table[0][code]; + } + +- *sp++ = firstcode = table[1][code]; +- code = max_code; ++ if (sp < (stack + 8192)) ++ *sp++ = firstcode = table[1][code]; ++ ++ code = max_code; + + if (code < 4096) + { --- cupsys-1.3.7.orig/debian/patches/confdirperms.dpatch +++ cupsys-1.3.7/debian/patches/confdirperms.dpatch @@ -0,0 +1,88 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 44_fixconfdirperms.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.3.0~rc2~/man/lppasswd.man cupsys-1.3.0~rc2/man/lppasswd.man +--- cupsys-1.3.0~rc2~/man/lppasswd.man 2007-07-11 22:46:42.000000000 +0100 ++++ cupsys-1.3.0~rc2/man/lppasswd.man 2007-08-02 16:30:14.000000000 +0100 +@@ -50,6 +50,7 @@ + that could grant super-user privileges to unprivileged users, + paranoid system administrators may wish to disable or change the + ownership of the program to an unprivileged account. ++(So Debian installs \fllppasswd\fR command with setuid to lp) + .SH SEE ALSO + \fIlp(1)\fR, \fIlpr(1)\fR, + .br +diff -urNad cupsys-1.3.0~rc2~/scheduler/conf.c cupsys-1.3.0~rc2/scheduler/conf.c +--- cupsys-1.3.0~rc2~/scheduler/conf.c 2007-07-30 17:47:10.000000000 +0100 ++++ cupsys-1.3.0~rc2/scheduler/conf.c 2007-08-02 16:30:54.000000000 +0100 +@@ -683,22 +683,10 @@ + + cupsdLogMessage(CUPSD_LOG_NOTICE, + "Group and SystemGroup cannot use the same groups!"); +- cupsdLogMessage(CUPSD_LOG_INFO, "Resetting Group to \"nobody\"..."); ++ cupsdLogMessage(CUPSD_LOG_INFO, "Resetting Group to \"root\"..."); + +- group = getgrnam("nobody"); + endgrent(); +- +- if (group != NULL) +- Group = group->gr_gid; +- else +- { +- /* +- * Use the (historical) NFS nobody group ID (-2 as a 16-bit twos- +- * complement number...) +- */ +- +- Group = 65534; +- } ++ Group = 0; + } + } + +@@ -752,21 +740,10 @@ + if (ServerCertificate[0] != '/') + cupsdSetStringf(&ServerCertificate, "%s/%s", ServerRoot, ServerCertificate); + +- if (!strncmp(ServerRoot, ServerCertificate, strlen(ServerRoot))) +- { +- chown(ServerCertificate, RunUser, Group); +- chmod(ServerCertificate, 0600); +- } +- + # if defined(HAVE_LIBSSL) || defined(HAVE_GNUTLS) + if (ServerKey[0] != '/') + cupsdSetStringf(&ServerKey, "%s/%s", ServerRoot, ServerKey); + +- if (!strncmp(ServerRoot, ServerKey, strlen(ServerRoot))) +- { +- chown(ServerKey, RunUser, Group); +- chmod(ServerKey, 0600); +- } + # endif /* HAVE_LIBSSL || HAVE_GNUTLS */ + #endif /* HAVE_SSL */ + +@@ -781,7 +758,7 @@ + Group, 1, 1) < 0 || + cupsdCheckPermissions(StateDir, NULL, 0755, RunUser, + Group, 1, 1) < 0 || +- cupsdCheckPermissions(StateDir, "certs", RunUser ? 0711 : 0511, User, ++ cupsdCheckPermissions(StateDir, "certs", 0711, 0, + SystemGroupIDs[0], 1, 1) < 0 || + cupsdCheckPermissions(ServerRoot, NULL, 0755, RunUser, + Group, 1, 0) < 0 || +@@ -789,8 +766,10 @@ + Group, 1, 1) < 0 || + cupsdCheckPermissions(ServerRoot, "ssl", 0700, RunUser, + Group, 1, 0) < 0 || ++ /* Never alter permissions of central conffile + cupsdCheckPermissions(ServerRoot, "cupsd.conf", ConfigFilePerm, RunUser, + Group, 0, 0) < 0 || ++ */ + cupsdCheckPermissions(ServerRoot, "classes.conf", 0600, RunUser, + Group, 0, 0) < 0 || + cupsdCheckPermissions(ServerRoot, "printers.conf", 0600, RunUser, --- cupsys-1.3.7.orig/debian/patches/CVE-2010-2941.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2010-2941.dpatch @@ -0,0 +1,53 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix denial of service and possible code execution via +# invalid free +# Bug: http://www.cups.org/str.php?L3648 +# Origin: other, backported from Mike Sweet's original patch + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cupsys-1.3.7~/cups/ipp.c cupsys-1.3.7/cups/ipp.c +--- cupsys-1.3.7~/cups/ipp.c 2008-02-15 19:45:36.000000000 -0500 ++++ cupsys-1.3.7/cups/ipp.c 2010-11-02 11:22:40.000000000 -0400 +@@ -1187,15 +1187,18 @@ + + attr->value_tag = tag; + } +- else if (value_tag >= IPP_TAG_TEXTLANG && +- value_tag <= IPP_TAG_MIMETYPE) ++ else if (value_tag == IPP_TAG_TEXTLANG || ++ value_tag == IPP_TAG_NAMELANG || ++ (value_tag >= IPP_TAG_TEXT && ++ value_tag <= IPP_TAG_MIMETYPE)) + { + /* + * String values can sometimes come across in different + * forms; accept sets of differing values... + */ + +- if (tag < IPP_TAG_TEXTLANG || tag > IPP_TAG_MIMETYPE) ++ if (tag != IPP_TAG_TEXTLANG && tag != IPP_TAG_NAMELANG && ++ (tag < IPP_TAG_TEXT || tag > IPP_TAG_MIMETYPE)) + return (IPP_ERROR); + } + else if (value_tag != tag) +@@ -2523,6 +2526,7 @@ + { + case IPP_TAG_TEXT : + case IPP_TAG_NAME : ++ case IPP_TAG_RESERVED_STRING : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cupsys-1.3.7~/cups/ipp.h cupsys-1.3.7/cups/ipp.h +--- cupsys-1.3.7~/cups/ipp.h 2007-10-31 14:35:56.000000000 -0400 ++++ cupsys-1.3.7/cups/ipp.h 2010-11-02 11:20:16.000000000 -0400 +@@ -94,7 +94,8 @@ + IPP_TAG_END_COLLECTION, /* End of collection value */ + IPP_TAG_TEXT = 0x41, /* Text value */ + IPP_TAG_NAME, /* Name value */ +- IPP_TAG_KEYWORD = 0x44, /* Keyword value */ ++ IPP_TAG_RESERVED_STRING, /* Reserved for future string value @private@ */ ++ IPP_TAG_KEYWORD, /* Keyword value */ + IPP_TAG_URI, /* URI value */ + IPP_TAG_URISCHEME, /* URI scheme value */ + IPP_TAG_CHARSET, /* Character set value */ --- cupsys-1.3.7.orig/debian/patches/classes_crash.dpatch +++ cupsys-1.3.7/debian/patches/classes_crash.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 62_classes_crash.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: TODO: forward upstream, find details + +@DPATCH@ +diff -urNad cupsys-1.2.3~/scheduler/classes.c cupsys-1.2.3/scheduler/classes.c +--- cupsys-1.2.3~/scheduler/classes.c 2006-02-22 22:43:17.000000000 +0000 ++++ cupsys-1.2.3/scheduler/classes.c 2006-09-15 12:33:25.000000000 +0000 +@@ -279,6 +279,11 @@ + if (i >= c->num_printers) + i = 0; + ++ if (c->num_printers == 0) { ++ cupsdLogMessage(CUPSD_LOG_ERROR, "Class \"%s\" hasn't any printers!", name); ++ return (NULL); ++ } ++ + if (c->printers[i]->accepting && + (c->printers[i]->state == IPP_PRINTER_IDLE || + ((c->printers[i]->type & CUPS_PRINTER_REMOTE) && !c->printers[i]->job))) --- cupsys-1.3.7.orig/debian/patches/CVE-2008-3639_sgi_filter_overflow.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2008-3639_sgi_filter_overflow.dpatch @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2008-3639_sgi_filter_overflow.dpatch by Jamie Strandboge +## DP: Upstream: STR #2918 +## DP: fix heap-based overflow in SGI filter (CVE-2008-3639) + +@DPATCH@ +diff -urNad cupsys-1.3.7~/filter/image-sgilib.c cupsys-1.3.7/filter/image-sgilib.c +--- cupsys-1.3.7~/filter/image-sgilib.c 2008-01-16 16:20:33.000000000 -0600 ++++ cupsys-1.3.7/filter/image-sgilib.c 2008-10-14 13:15:26.000000000 -0500 +@@ -640,13 +640,14 @@ + if (ch & 128) + { + for (i = 0; i < count; i ++, row ++, xsize --, length ++) +- *row = getc(fp); ++ if (xsize > 0) ++ *row = getc(fp); + } + else + { + ch = getc(fp); + length ++; +- for (i = 0; i < count; i ++, row ++, xsize --) ++ for (i = 0; i < count && xsize > 0; i ++, row ++, xsize --) + *row = ch; + } + } +@@ -685,13 +686,14 @@ + if (ch & 128) + { + for (i = 0; i < count; i ++, row ++, xsize --, length ++) +- *row = getshort(fp); ++ if (xsize > 0) ++ *row = getshort(fp); + } + else + { + ch = getshort(fp); + length ++; +- for (i = 0; i < count; i ++, row ++, xsize --) ++ for (i = 0; i < count && xsize > 0; i ++, row ++, xsize --) + *row = ch; + } + } --- cupsys-1.3.7.orig/debian/patches/quiesce_ipp_logging.dpatch +++ cupsys-1.3.7/debian/patches/quiesce_ipp_logging.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 12_quiesce_ipp_logging.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.2.2~/scheduler/log.c cupsys-1.2.2/scheduler/log.c +--- cupsys-1.2.2~/scheduler/log.c 2006-08-13 04:49:19.000000000 +0000 ++++ cupsys-1.2.2/scheduler/log.c 2006-08-13 05:17:06.000000000 +0000 +@@ -354,6 +354,12 @@ + "STATUS" + }; + ++ /* Do not flood the log with CUPS-Get-Printers requests */ ++ if (con->request && code == HTTP_OK && ( ++ con->request->request.op.operation_id == CUPS_GET_PRINTERS || ++ con->request->request.op.operation_id == CUPS_GET_DEFAULT || ++ con->request->request.op.operation_id == IPP_GET_PRINTER_ATTRIBUTES)) ++ return (1); + + #ifdef HAVE_VSYSLOG + /* --- cupsys-1.3.7.orig/debian/patches/pdftops-cups-1.4.dpatch +++ cupsys-1.3.7/debian/patches/pdftops-cups-1.4.dpatch @@ -0,0 +1,370 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## pdftops-cups-1.4.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: 1.4 uses a small filter/pdftops.c wrapper instead of xpdf. Backport this +## DP: since it generally works much better than the 1.3 current one. +## DP: Test suite fix is http://www.cups.org/str.php?L2759 + +@DPATCH@ +diff -urNad trunk~/filter/Makefile trunk/filter/Makefile +--- trunk~/filter/Makefile 2007-07-20 01:27:49.000000000 +0200 ++++ trunk/filter/Makefile 2008-04-02 00:52:41.000000000 +0200 +@@ -19,7 +19,7 @@ + + + FILTERS = gziptoany hpgltops texttops pstops $(IMGFILTERS) \ +- rastertolabel rastertoepson rastertohp ++ rastertolabel rastertoepson rastertohp pdftops + TARGETS = $(FILTERS) \ + $(LIBCUPSIMAGE) \ + libcupsimage.a \ +@@ -41,7 +41,7 @@ + OBJS = $(HPGLOBJS) $(IMAGEOBJS) $(FORMOBJS) \ + gziptoany.o imagetops.o imagetoraster.o common.o pstops.o \ + rasterbench.o rastertoepson.o rastertohp.o rastertolabel.o \ +- testimage.o testraster.o textcommon.o texttops.o ++ testimage.o testraster.o textcommon.o texttops.o pdftops.o + + + # +@@ -322,6 +322,9 @@ + echo Linking $@... + $(CC) $(LDFLAGS) -o $@ pstops.o common.o $(LIBS) -lm + ++pdftops: pdftops.o common.o ../cups/$(LIBCUPS) ++ echo Linking $@... ++ $(CC) $(LDFLAGS) -o $@ pdftops.o common.o $(LIBS) -lm + + # + # rastertolabel +diff -urNad trunk~/filter/pdftops.c trunk/filter/pdftops.c +--- trunk~/filter/pdftops.c 1970-01-01 01:00:00.000000000 +0100 ++++ trunk/filter/pdftops.c 2008-04-02 00:52:41.000000000 +0200 +@@ -0,0 +1,314 @@ ++/* ++ * "$Id$" ++ * ++ * PDF to PostScript filter front-end for the Common UNIX Printing ++ * System (CUPS). ++ * ++ * Copyright 2007-2008 by Apple Inc. ++ * Copyright 1997-2006 by Easy Software Products. ++ * ++ * These coded instructions, statements, and computer programs are the ++ * property of Apple Inc. 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 ++ * file is missing or damaged, see the license at "http://www.cups.org/". ++ * ++ * Contents: ++ * ++ * main() - Main entry for filter... ++ * cancel_job() - Flag the job as canceled. ++ */ ++ ++/* ++ * Include necessary headers... ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++ ++ ++/* ++ * Local functions... ++ */ ++ ++static void cancel_job(int sig); ++ ++ ++/* ++ * 'main()' - Main entry for filter... ++ */ ++ ++int /* O - Exit status */ ++main(int argc, /* I - Number of command-line args */ ++ char *argv[]) /* I - Command-line arguments */ ++{ ++ int fd; /* Copy file descriptor */ ++ char *filename, /* PDF file to convert */ ++ tempfile[1024]; /* Temporary file */ ++ char buffer[8192]; /* Copy buffer */ ++ int bytes; /* Bytes copied */ ++ int num_options; /* Number of options */ ++ cups_option_t *options; /* Options */ ++ const char *val; /* Option value */ ++ int orientation; /* Output orientation */ ++ ppd_file_t *ppd; /* PPD file */ ++ ppd_size_t *size; /* Current page size */ ++ int pdfpid, /* Process ID for pdftops */ ++ pdfstatus, /* Status from pdftops */ ++ pdfargc; /* Number of args for pdftops */ ++ char *pdfargv[100], /* Arguments for pdftops */ ++ pdfwidth[255], /* Paper width */ ++ pdfheight[255]; /* Paper height */ ++#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) ++ struct sigaction action; /* Actions for POSIX signals */ ++#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ ++ ++ ++ /* ++ * Make sure status messages are not buffered... ++ */ ++ ++ setbuf(stderr, NULL); ++ ++ /* ++ * Make sure we have the right number of arguments for CUPS! ++ */ ++ ++ if (argc < 6 || argc > 7) ++ { ++ fprintf(stderr, ++ _("Usage: %s job user title copies options [filename]\n"), ++ argv[0]); ++ return (1); ++ } ++ ++ /* ++ * Register a signal handler to cleanly cancel a job. ++ */ ++ ++#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ ++ sigset(SIGTERM, cancel_job); ++#elif defined(HAVE_SIGACTION) ++ memset(&action, 0, sizeof(action)); ++ ++ sigemptyset(&action.sa_mask); ++ action.sa_handler = cancel_job; ++ sigaction(SIGTERM, &action, NULL); ++#else ++ signal(SIGTERM, cancel_job); ++#endif /* HAVE_SIGSET */ ++ ++ /* ++ * Copy stdin if needed... ++ */ ++ ++ if (argc == 6) ++ { ++ /* ++ * Copy stdin to a temp file... ++ */ ++ ++ if ((fd = cupsTempFd(tempfile, sizeof(tempfile))) < 0) ++ { ++ perror(_("ERROR: Unable to copy PDF file")); ++ return (1); ++ } ++ ++ fprintf(stderr, "DEBUG: pdftops - copying to temp print file \"%s\"\n", ++ tempfile); ++ ++ while ((bytes = fread(buffer, 1, sizeof(buffer), stdin)) > 0) ++ write(fd, buffer, bytes); ++ ++ close(fd); ++ ++ filename = tempfile; ++ } ++ else ++ { ++ /* ++ * Use the filename on the command-line... ++ */ ++ ++ filename = argv[6]; ++ tempfile[0] = '\0'; ++ } ++ ++ /* ++ * Load the PPD file and mark options... ++ */ ++ ++ ppd = ppdOpenFile(getenv("PPD")); ++ num_options = cupsParseOptions(argv[5], 0, &options); ++ ++ ppdMarkDefaults(ppd); ++ cupsMarkOptions(ppd, num_options, options); ++ ++ /* ++ * Build the command-line for the pdftops filter... ++ */ ++ ++ pdfargv[0] = (char *)"pdftops"; ++ pdfargc = 1; ++ ++ if (ppd) ++ { ++ /* ++ * Set language level and TrueType font handling... ++ */ ++ ++ if (ppd->language_level == 1) ++ { ++ pdfargv[pdfargc++] = (char *)"-level1"; ++ pdfargv[pdfargc++] = (char *)"-noembtt"; ++ } ++ else if (ppd->language_level == 2) ++ { ++ pdfargv[pdfargc++] = (char *)"-level2"; ++ if (!ppd->ttrasterizer) ++ pdfargv[pdfargc++] = (char *)"-noembtt"; ++ } ++ else ++ pdfargv[pdfargc++] = (char *)"-level3"; ++ ++ /* ++ * Set output page size... ++ */ ++ ++ size = ppdPageSize(ppd, NULL); ++ if (size) ++ { ++ /* ++ * Got the size, now get the orientation... ++ */ ++ ++ orientation = 0; ++ ++ if ((val = cupsGetOption("landscape", num_options, options)) != NULL) ++ { ++ if (strcasecmp(val, "no") != 0 && strcasecmp(val, "off") != 0 && ++ strcasecmp(val, "false") != 0) ++ orientation = 1; ++ } ++ else if ((val = cupsGetOption("orientation-requested", num_options, options)) != NULL) ++ { ++ /* ++ * Map IPP orientation values to 0 to 3: ++ * ++ * 3 = 0 degrees = 0 ++ * 4 = 90 degrees = 1 ++ * 5 = -90 degrees = 3 ++ * 6 = 180 degrees = 2 ++ */ ++ ++ orientation = atoi(val) - 3; ++ if (orientation >= 2) ++ orientation ^= 1; ++ } ++ ++ if (orientation & 1) ++ { ++ snprintf(pdfwidth, sizeof(pdfwidth), "%.0f", size->length); ++ snprintf(pdfheight, sizeof(pdfheight), "%.0f", size->width); ++ } ++ else ++ { ++ snprintf(pdfwidth, sizeof(pdfwidth), "%.0f", size->width); ++ snprintf(pdfheight, sizeof(pdfheight), "%.0f", size->length); ++ } ++ ++ pdfargv[pdfargc++] = (char *)"-paperw"; ++ pdfargv[pdfargc++] = pdfwidth; ++ pdfargv[pdfargc++] = (char *)"-paperh"; ++ pdfargv[pdfargc++] = pdfheight; ++ } ++ } ++ ++ if ((val = cupsGetOption("fitplot", num_options, options)) != NULL && ++ strcasecmp(val, "no") && strcasecmp(val, "off") && ++ strcasecmp(val, "false")) ++ pdfargv[pdfargc++] = (char *)"-expand"; ++ ++ pdfargv[pdfargc++] = filename; ++ pdfargv[pdfargc++] = (char *)"-"; ++ pdfargv[pdfargc] = NULL; ++ ++ if ((pdfpid = fork()) == 0) ++ { ++ /* ++ * Child comes here... ++ */ ++ ++ execv("/usr/bin/pdftops", pdfargv); ++ perror(_("ERROR: Unable to execute pdftops filter")); ++ exit(1); ++ } ++ else if (pdfpid < 0) ++ { ++ /* ++ * Unable to fork! ++ */ ++ ++ perror(_("ERROR: Unable to execute pdftops filter")); ++ pdfstatus = 1; ++ } ++ else ++ { ++ /* ++ * Parent comes here... ++ */ ++ ++ if (wait(&pdfstatus) != pdfpid) ++ { ++ kill(pdfpid, SIGTERM); ++ pdfstatus = 1; ++ } ++ else if (pdfstatus) ++ { ++ if (WIFEXITED(pdfstatus)) ++ { ++ pdfstatus = WEXITSTATUS(pdfstatus); ++ ++ fprintf(stderr, ++ _("ERROR: pdftops filter exited with status %d!\n"), ++ pdfstatus); ++ } ++ else ++ { ++ pdfstatus = WTERMSIG(pdfstatus); ++ ++ fprintf(stderr, ++ _("ERROR: pdftops filter crashed on signal %d!\n"), ++ pdfstatus); ++ } ++ } ++ } ++ ++ /* ++ * Cleanup and exit... ++ */ ++ ++ if (tempfile[0]) ++ unlink(tempfile); ++ ++ return (pdfstatus); ++} ++ ++ ++/* ++ * 'cancel_job()' - Flag the job as canceled. ++ */ ++ ++static void ++cancel_job(int sig) /* I - Signal number (unused) */ ++{ ++ (void)sig; ++} ++ ++ ++/* ++ * End of "$Id$". ++ */ +diff -urNad trunk~/test/run-stp-tests.sh trunk/test/run-stp-tests.sh +--- trunk~/test/run-stp-tests.sh 2008-04-02 00:52:38.000000000 +0200 ++++ trunk/test/run-stp-tests.sh 2008-04-02 00:53:23.000000000 +0200 +@@ -273,7 +273,7 @@ + else + ln -s $root/filter/imagetops /tmp/cups-$user/bin/filter + ln -s $root/filter/imagetoraster /tmp/cups-$user/bin/filter +- ln -s $root/pdftops/pdftops /tmp/cups-$user/bin/filter ++ ln -s $root/filter/pdftops /tmp/cups-$user/bin/filter + fi + + # --- cupsys-1.3.7.orig/debian/patches/ubuntu-default-error-policy-retry-job.dpatch +++ cupsys-1.3.7/debian/patches/ubuntu-default-error-policy-retry-job.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh -e +## ubuntu-default-error-policy-retry-job.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Set default job error policy to "Retry", since it is less confusing and +## DP: a better default on desktop machines. This patch is only applied when +## DP: building on Ubuntu. + +[ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ] || { echo -n '(ignored)' >&2; exit 0; } +. /usr/share/dpatch/dpatch-run + +@DPATCH@ +diff -urNad cupsys-1.3.0~rc2~/scheduler/conf.c cupsys-1.3.0~rc2/scheduler/conf.c +--- cupsys-1.3.0~rc2~/scheduler/conf.c 2007-07-30 17:47:10.000000000 +0100 ++++ cupsys-1.3.0~rc2/scheduler/conf.c 2007-08-01 15:33:55.000000000 +0100 +@@ -548,7 +548,7 @@ + cupsdClearString(&BrowseLocalOptions); + cupsdClearString(&BrowseRemoteOptions); + +- cupsdSetString(&ErrorPolicy, "stop-printer"); ++ cupsdSetString(&ErrorPolicy, "retry-job"); + + #ifdef HAVE_LDAP + cupsdClearString(&BrowseLDAPBindDN); --- cupsys-1.3.7.orig/debian/patches/pidfile.dpatch +++ cupsys-1.3.7/debian/patches/pidfile.dpatch @@ -0,0 +1,114 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 47_pid.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Forwarded upstream: http://www.cups.org/str.php?L2465 + +@DPATCH@ +diff -urNad trunk~/scheduler/conf.c trunk/scheduler/conf.c +--- trunk~/scheduler/conf.c 2008-03-16 14:26:26.000000000 +0100 ++++ trunk/scheduler/conf.c 2008-03-16 14:26:26.000000000 +0100 +@@ -168,7 +168,8 @@ + #endif /* HAVE_AUTHORIZATION_H */ + { "TempDir", &TempDir, CUPSD_VARTYPE_PATHNAME }, + { "Timeout", &Timeout, CUPSD_VARTYPE_INTEGER }, +- { "UseNetworkDefault", &UseNetworkDefault, CUPSD_VARTYPE_BOOLEAN } ++ { "UseNetworkDefault", &UseNetworkDefault, CUPSD_VARTYPE_BOOLEAN }, ++ { "PidFile", &PidFile, CUPSD_VARTYPE_STRING } + }; + #define NUM_VARS (sizeof(variables) / sizeof(variables[0])) + +@@ -414,6 +415,7 @@ + cupsdSetString(&RemoteRoot, "remroot"); + cupsdSetString(&ServerHeader, "CUPS/1.2"); + cupsdSetString(&StateDir, CUPS_STATEDIR); ++ cupsdSetString(&PidFile, "/var/run/cups/cupsd.pid"); + #ifdef HAVE_GSSAPI + cupsdSetString(&GSSServiceName, CUPS_DEFAULT_GSSSERVICENAME); + #endif /* HAVE_GSSAPI */ +diff -urNad trunk~/scheduler/conf.h trunk/scheduler/conf.h +--- trunk~/scheduler/conf.h 2008-03-16 14:21:55.000000000 +0100 ++++ trunk/scheduler/conf.h 2008-03-16 14:26:26.000000000 +0100 +@@ -189,6 +189,7 @@ + /* Server key file */ + # endif /* HAVE_LIBSSL || HAVE_GNUTLS */ + #endif /* HAVE_SSL */ ++VAR char *PidFile VALUE(NULL); /* Debian CUPS pid file */ + + #ifdef HAVE_LAUNCHD + VAR int LaunchdTimeout VALUE(DEFAULT_TIMEOUT); +diff -urNad trunk~/scheduler/main.c trunk/scheduler/main.c +--- trunk~/scheduler/main.c 2008-03-16 14:21:55.000000000 +0100 ++++ trunk/scheduler/main.c 2008-03-16 14:26:26.000000000 +0100 +@@ -89,6 +89,8 @@ + static void sigterm_handler(int sig); + static long select_timeout(int fds); + static void usage(int status); ++int write_pid(void); ++int remove_pid(void); + + + /* +@@ -595,6 +597,11 @@ + } + #endif /* __sgi */ + ++ if (write_pid() == 0) { ++ cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to write pid file"); ++ return (1); ++ } ++ + /* + * Initialize authentication certificates... + */ +@@ -1145,9 +1152,39 @@ + + cupsdStopSelect(); + ++ remove_pid(); ++ + return (!stop_scheduler); + } + ++/* 'write_pid()' - Write PID file. ++ 'remove_pid()' - Delete PID file. ++*/ ++int ++write_pid() ++{ ++ FILE *f; ++ int fd; ++ int pid; ++ if (((fd = open(PidFile, O_RDWR|O_CREAT, 0644)) == -1) ++ || ((f = fdopen(fd, "r+")) == NULL) ) { ++ return 0; ++ } ++ pid = getpid(); ++ if (!fprintf(f, "%d\n", pid)) { ++ close(fd); ++ return 0; ++ } ++ fflush(f); ++ close(fd); ++ ++ return pid; ++} ++ ++int remove_pid() { ++ return unlink(PidFile); ++} ++ + + /* + * 'cupsdClosePipe()' - Close a pipe as necessary. +diff -urNad trunk~/test/run-stp-tests.sh trunk/test/run-stp-tests.sh +--- trunk~/test/run-stp-tests.sh 2007-07-11 23:46:42.000000000 +0200 ++++ trunk/test/run-stp-tests.sh 2008-03-16 14:26:48.000000000 +0100 +@@ -302,6 +302,7 @@ + DocumentRoot $root/doc + RequestRoot /tmp/cups-$user/spool + TempDir /tmp/cups-$user/spool/temp ++PidFile /tmp/cups-$user/cupsd.pid + MaxLogSize 0 + AccessLog /tmp/cups-$user/log/access_log + ErrorLog /tmp/cups-$user/log/error_log --- cupsys-1.3.7.orig/debian/patches/00list +++ cupsys-1.3.7/debian/patches/00list @@ -0,0 +1,38 @@ +CVE-2008-1722.dpatch +freebsd.dpatch +removecvstag.dpatch +pam.dpatch +quiesce_ipp_logging.dpatch +default_log_warn.dpatch +dont_force_ssl.dpatch +cupsaccept.dpatch +confdirperms.dpatch +pidfile.dpatch +device_uri.dpatch +classes_crash.dpatch +reactivate_recommended_driver.dpatch +include_krb5_h_in_job_h.dpatch +search_mime_files_in_usr_share.dpatch +pdftops-cups-1.4.dpatch +pdftops-wait-eintr.dpatch +ppd-poll-with-client-conf.dpatch +ubuntu-disable-browsing.dpatch +ubuntu-default-error-policy-retry-job.dpatch +CVE-2008-3639_sgi_filter_overflow +CVE-2008-3640_texttops_overflow +CVE-2008-3641_hpgl_filter_overflow +CVE-2008-5183.dpatch +CVE-2008-5184.dpatch +CVE-2009-0163 +CVE-2009-0949 +CVE-2009-2820 +fix-lpstat.dpatch +CVE-2009-3553 +CVE-2010-0393 +CVE-2010-0540 +CVE-2010-0542 +CVE-2010-1748 +security-str3510 +CVE-2010-2941 +CVE-2011-2896 +CVE-2011-3170 --- cupsys-1.3.7.orig/debian/patches/CVE-2009-0949.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2009-0949.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2009-0949.dpatch by Marc Deslauriers +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Description: fix remote denial-of-service via IPP_TAG_UNSUPPORTED tags. +## DP: Patch: svn diff -c 8409 http://svn.easysw.com/public/cups/branches/branch-1.3/ + +@DPATCH@ +diff -urNad cupsys-1.3.7~/scheduler/ipp.c cupsys-1.3.7/scheduler/ipp.c +--- cupsys-1.3.7~/scheduler/ipp.c 2009-06-01 10:32:29.000000000 -0400 ++++ cupsys-1.3.7/scheduler/ipp.c 2009-06-01 10:32:46.000000000 -0400 +@@ -318,7 +318,8 @@ + */ + + attr = con->request->attrs; +- if (attr && !strcmp(attr->name, "attributes-charset") && ++ if (attr && attr->name && ++ !strcmp(attr->name, "attributes-charset") && + (attr->value_tag & IPP_TAG_MASK) == IPP_TAG_CHARSET) + charset = attr; + else +@@ -327,7 +328,8 @@ + if (attr) + attr = attr->next; + +- if (attr && !strcmp(attr->name, "attributes-natural-language") && ++ if (attr && attr->name && ++ !strcmp(attr->name, "attributes-natural-language") && + (attr->value_tag & IPP_TAG_MASK) == IPP_TAG_LANGUAGE) + language = attr; + else --- cupsys-1.3.7.orig/debian/patches/include_krb5_h_in_job_h.dpatch +++ cupsys-1.3.7/debian/patches/include_krb5_h_in_job_h.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 90_include_krb5_h_in_job_h.patch.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.3.0~/scheduler/job.h cupsys-1.3.0/scheduler/job.h +--- cupsys-1.3.0~/scheduler/job.h 2007-08-01 20:02:47.000000000 +0100 ++++ cupsys-1.3.0/scheduler/job.h 2007-08-13 22:53:14.000000000 +0100 +@@ -13,6 +13,10 @@ + * file is missing or damaged, see the license at "http://www.cups.org/". + */ + ++#ifdef HAVE_GSSAPI ++#include ++#endif /* HAVE_GSSAPI */ ++ + /* + * Job request structure... + */ --- cupsys-1.3.7.orig/debian/patches/dont_force_ssl.dpatch +++ cupsys-1.3.7/debian/patches/dont_force_ssl.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 14_dont_force_ssl.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cups-1.2-ubuntu~/conf/cupsd.conf.in cups-1.2-ubuntu/conf/cupsd.conf.in +--- cups-1.2-ubuntu~/conf/cupsd.conf.in 2006-04-25 20:05:27.000000000 +0200 ++++ cups-1.2-ubuntu/conf/cupsd.conf.in 2006-04-25 20:09:04.000000000 +0200 +@@ -33,7 +33,6 @@ + + # Restrict access to the admin pages... + +-@ENCRYPTION_REQUIRED@ + Order allow,deny + Allow localhost + --- cupsys-1.3.7.orig/debian/patches/pam.dpatch +++ cupsys-1.3.7/debian/patches/pam.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 11_pam.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.1.99.b1.r4748~/scheduler/auth.c cupsys-1.1.99.b1.r4748/scheduler/auth.c +--- cupsys-1.1.99.b1.r4748~/scheduler/auth.c 2005-11-04 13:35:45.087637554 +0000 ++++ cupsys-1.1.99.b1.r4748/scheduler/auth.c 2005-11-04 13:36:32.953633141 +0000 +@@ -478,7 +478,7 @@ + auth_data = &data; + # endif /* __hpux */ + +- pamerr = pam_start("cups", username, &pamdata, &pamh); ++ pamerr = pam_start("cupsys", username, &pamdata, &pamh); + if (pamerr != PAM_SUCCESS) + { + cupsdLogMessage(CUPSD_LOG_ERROR, --- cupsys-1.3.7.orig/debian/patches/CVE-2010-0540.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2010-0540.dpatch @@ -0,0 +1,1990 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix cross-site request forgery in admin interface +# From: Drew Yao +# From: Jan Lieskovsky, Tim Waugh +# Bug: http://www.cups.org/str.php?L3593 + +@DPATCH@ +diff -urNad cupsys-1.3.7~/cgi-bin/admin.c cupsys-1.3.7/cgi-bin/admin.c +--- cupsys-1.3.7~/cgi-bin/admin.c 2010-06-15 09:54:05.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/admin.c 2010-06-15 09:54:20.000000000 -0400 +@@ -110,7 +110,7 @@ + * See if we have form data... + */ + +- if (!cgiInitialize()) ++ if (!cgiInitialize() || !cgiGetVariable("OP")) + { + /* + * Nope, send the administration menu... +diff -urNad cupsys-1.3.7~/cgi-bin/cgi.h cupsys-1.3.7/cgi-bin/cgi.h +--- cupsys-1.3.7~/cgi-bin/cgi.h 2010-06-15 09:54:05.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/cgi.h 2010-06-15 09:54:20.000000000 -0400 +@@ -64,7 +64,7 @@ + extern void cgiFreeSearch(void *search); + extern const char *cgiGetArray(const char *name, int element); + extern void cgiGetAttributes(ipp_t *request, const char *tmpl); +-extern char *cgiGetCookie(const char *name, char *buf, int buflen); ++extern const char *cgiGetCookie(const char *name); + extern const cgi_file_t *cgiGetFile(void); + extern cups_array_t *cgiGetIPPObjects(ipp_t *response, void *search); + extern int cgiGetSize(const char *name); +diff -urNad cupsys-1.3.7~/cgi-bin/ipp-var.c cupsys-1.3.7/cgi-bin/ipp-var.c +--- cupsys-1.3.7~/cgi-bin/ipp-var.c 2010-06-15 09:54:05.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/ipp-var.c 2010-06-15 09:54:20.000000000 -0400 +@@ -113,7 +113,7 @@ + */ + + for (nameptr = name; (ch = getc(in)) != EOF;) +- if (strchr("}]<>=! \t\n", ch)) ++ if (strchr("}]<>=!~ \t\n", ch)) + break; + else if (nameptr > name && ch == '?') + break; +diff -urNad cupsys-1.3.7~/cgi-bin/template.c cupsys-1.3.7/cgi-bin/template.c +--- cupsys-1.3.7~/cgi-bin/template.c 2010-06-15 09:54:05.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/template.c 2010-06-15 09:54:20.000000000 -0400 +@@ -257,7 +257,7 @@ + uriencode = 0; + + for (s = name; (ch = getc(in)) != EOF;) +- if (strchr("}]<>=! \t\n", ch)) ++ if (strchr("}]<>=!~ \t\n", ch)) + break; + else if (s == name && ch == '%') + uriencode = 1; +@@ -367,6 +367,20 @@ + + continue; + } ++ else if (name[0] == '$') ++ { ++ /* ++ * Insert cookie value or nothing if not defined. ++ */ ++ ++ if ((value = cgiGetCookie(name + 1)) != NULL) ++ outptr = value; ++ else ++ { ++ outval[0] = '\0'; ++ outptr = outval; ++ } ++ } + else + { + /* +@@ -434,7 +448,14 @@ + * Test for existance... + */ + +- result = cgiGetArray(name, element) != NULL && outptr[0]; ++ if (name[0] == '?') ++ result = cgiGetArray(name + 1, element) != NULL; ++ else if (name[0] == '#') ++ result = cgiGetVariable(name + 1) != NULL; ++ else ++ result = cgiGetArray(name, element) != NULL; ++ ++ result = result && outptr[0]; + compare[0] = '\0'; + } + else +diff -urNad cupsys-1.3.7~/cgi-bin/var.c cupsys-1.3.7/cgi-bin/var.c +--- cupsys-1.3.7~/cgi-bin/var.c 2010-06-15 09:54:05.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/var.c 2010-06-15 09:54:20.000000000 -0400 +@@ -40,6 +40,14 @@ + /*#define DEBUG*/ + #include "cgi-private.h" + #include ++#include ++ ++ ++/* ++ * Session ID name ++ */ ++ ++#define CUPS_SID "org.cups.sid" + + + /* +@@ -59,6 +67,8 @@ + * Local globals... + */ + ++static int num_cookies = 0;/* Number of cookies */ ++static cups_option_t *cookies = NULL;/* Cookies */ + static int form_count = 0, /* Form variable count */ + form_alloc = 0; /* Number of variables allocated */ + static _cgi_var_t *form_vars = NULL; +@@ -76,11 +86,13 @@ + static int cgi_compare_variables(const _cgi_var_t *v1, + const _cgi_var_t *v2); + static _cgi_var_t *cgi_find_variable(const char *name); ++static void cgi_initialize_cookies(void); + static int cgi_initialize_get(void); + static int cgi_initialize_multipart(const char *boundary); + static int cgi_initialize_post(void); + static int cgi_initialize_string(const char *data); + static const char *cgi_passwd(const char *prompt); ++static const char *cgi_set_sid(void); + static void cgi_sort_variables(void); + static void cgi_unlink_file(void); + +@@ -185,6 +197,17 @@ + + + /* ++ * 'cgiGetCookie()' - Get a cookie value. ++ */ ++ ++const char * /* O - Value or NULL */ ++cgiGetCookie(const char *name) /* I - Name of cookie */ ++{ ++ return (cupsGetOption(name, num_cookies, cookies)); ++} ++ ++ ++/* + * 'cgiGetFile()' - Get the file (if any) that was submitted in the form. + */ + +@@ -248,6 +271,8 @@ + { + const char *method; /* Form posting method */ + const char *content_type; /* Content-Type of post data */ ++ const char *cups_sid_cookie, /* SID cookie */ ++ *cups_sid_form; /* SID form variable */ + + + /* +@@ -272,6 +297,20 @@ + #endif /* DEBUG */ + + /* ++ * Get cookies... ++ */ ++ ++ cgi_initialize_cookies(); ++ ++ if ((cups_sid_cookie = cgiGetCookie(CUPS_SID)) == NULL) ++ { ++ fputs("DEBUG: " CUPS_SID " cookie not found, initializing!\n", stderr); ++ cups_sid_cookie = cgi_set_sid(); ++ } ++ ++ fprintf(stderr, "DEBUG: " CUPS_SID " cookie is \"%s\"\n", cups_sid_cookie); ++ ++ /* + * Get the request method (GET or POST)... + */ + +@@ -294,9 +333,27 @@ + boundary += 9; + + if (content_type && !strncmp(content_type, "multipart/form-data; ", 21)) +- return (cgi_initialize_multipart(boundary)); ++ { ++ if (!cgi_initialize_multipart(boundary)) ++ return (0); ++ } ++ else if (!cgi_initialize_post()) ++ return (0); ++ ++ if ((cups_sid_form = cgiGetVariable(CUPS_SID)) == NULL || ++ strcmp(cups_sid_cookie, cups_sid_form)) ++ { ++ if (cups_sid_form) ++ fprintf(stderr, "DEBUG: " CUPS_SID " form variable is \"%s\"\n", ++ cups_sid_form); ++ else ++ fputs("DEBUG: " CUPS_SID " form variable is not present.\n", stderr); ++ ++ cgiClearVariables(); ++ return (0); ++ } + else +- return (cgi_initialize_post()); ++ return (1); + } + else + return (0); +@@ -375,6 +432,38 @@ + + + /* ++ * 'cgiSetCookie()' - Set a cookie value. ++ */ ++ ++void ++cgiSetCookie(const char *name, /* I - Name */ ++ const char *value, /* I - Value */ ++ const char *path, /* I - Path (typically "/") */ ++ const char *domain, /* I - Domain name */ ++ time_t expires, /* I - Expiration date (0 for session) */ ++ int secure) /* I - Require SSL */ ++{ ++ num_cookies = cupsAddOption(name, value, num_cookies, &cookies); ++ ++ printf("Set-Cookie: %s=%s", name, value); ++ if (path) ++ printf("; path=%s", path); ++ if (domain) ++ printf("; domain=%s", domain); ++ if (expires) ++ { ++ char date[256]; /* Date string */ ++ ++ printf("; expires=%s", httpGetDateString2(expires, date, sizeof(date))); ++ } ++ if (secure) ++ puts("; secure;"); ++ else ++ puts(";"); ++} ++ ++ ++/* + * 'cgiSetSize()' - Set the array size. + */ + +@@ -539,6 +628,96 @@ + + + /* ++ * 'cgi_initialize_cookies()' - Initialize cookies. ++ */ ++ ++static void ++cgi_initialize_cookies(void) ++{ ++ const char *cookie; /* HTTP_COOKIE environment variable */ ++ char name[128], /* Name string */ ++ value[512], /* Value string */ ++ *ptr; /* Pointer into name/value */ ++ ++ ++ if ((cookie = getenv("HTTP_COOKIE")) == NULL) ++ { ++ fputs("DEBUG: HTTP_COOKIE not defined.\n", stderr); ++ return; ++ } ++ ++ fprintf(stderr, "DEBUG: HTTP_COOKIE=\"%s\"\n", cookie); ++ ++ while (*cookie) ++ { ++ /* ++ * Skip leading whitespace... ++ */ ++ ++ while (isspace(*cookie & 255)) ++ cookie ++; ++ if (!*cookie) ++ break; ++ ++ /* ++ * Copy the name... ++ */ ++ ++ for (ptr = name; *cookie && *cookie != '=';) ++ if (ptr < (name + sizeof(name) - 1)) ++ *ptr++ = *cookie++; ++ else ++ break; ++ ++ if (*cookie != '=') ++ break; ++ ++ *ptr = '\0'; ++ cookie ++; ++ ++ /* ++ * Then the value... ++ */ ++ ++ if (*cookie == '\"') ++ { ++ for (cookie ++, ptr = value; *cookie && *cookie != '\"';) ++ if (ptr < (value + sizeof(value) - 1)) ++ *ptr++ = *cookie++; ++ else ++ break; ++ ++ if (*cookie == '\"') ++ cookie ++; ++ } ++ else ++ { ++ for (ptr = value; *cookie && *cookie != ';';) ++ if (ptr < (value + sizeof(value) - 1)) ++ *ptr++ = *cookie++; ++ else ++ break; ++ } ++ ++ if (*cookie == ';') ++ cookie ++; ++ else if (*cookie) ++ break; ++ ++ *ptr = '\0'; ++ ++ /* ++ * Then add the cookie to an array as long as the name doesn't start with ++ * "$"... ++ */ ++ ++ if (name[0] != '$') ++ num_cookies = cupsAddOption(name, value, num_cookies, &cookies); ++ } ++} ++ ++ ++/* + * 'cgi_initialize_get()' - Initialize form variables using the GET method. + */ + +@@ -1012,6 +1191,46 @@ + + + /* ++ * 'cgi_set_sid()' - Set the CUPS session ID. ++ */ ++ ++static const char * /* O - New session ID */ ++cgi_set_sid(void) ++{ ++ char buffer[512], /* SID data */ ++ sid[33]; /* SID string */ ++ _cups_md5_state_t md5; /* MD5 state */ ++ unsigned char sum[16]; /* MD5 sum */ ++ const char *remote_addr, /* REMOTE_ADDR */ ++ *server_name, /* SERVER_NAME */ ++ *server_port; /* SERVER_PORT */ ++ ++ ++ if ((remote_addr = getenv("REMOTE_ADDR")) == NULL) ++ remote_addr = "REMOTE_ADDR"; ++ if ((server_name = getenv("SERVER_NAME")) == NULL) ++ server_name = "SERVER_NAME"; ++ if ((server_port = getenv("SERVER_PORT")) == NULL) ++ server_port = "SERVER_PORT"; ++ ++ srand(time(NULL)); ++ snprintf(buffer, sizeof(buffer), "%s:%s:%s:%02X%02X%02X%02X%02X%02X%02X%02X", ++ remote_addr, server_name, server_port, ++ (unsigned)rand() & 255, (unsigned)rand() & 255, ++ (unsigned)rand() & 255, (unsigned)rand() & 255, ++ (unsigned)rand() & 255, (unsigned)rand() & 255, ++ (unsigned)rand() & 255, (unsigned)rand() & 255); ++ _cupsMD5Init(&md5); ++ _cupsMD5Append(&md5, (unsigned char *)buffer, (int)strlen(buffer)); ++ _cupsMD5Finish(&md5, sum); ++ ++ cgiSetCookie(CUPS_SID, httpMD5String(sum, sid), "/", NULL, 0, 0); ++ ++ return (cupsGetOption(CUPS_SID, num_cookies, cookies)); ++} ++ ++ ++/* + * 'cgi_sort_variables()' - Sort all form variables for faster lookup. + */ + +diff -urNad cupsys-1.3.7~/scheduler/client.c cupsys-1.3.7/scheduler/client.c +--- cupsys-1.3.7~/scheduler/client.c 2008-02-11 19:20:32.000000000 -0500 ++++ cupsys-1.3.7/scheduler/client.c 2010-06-15 09:57:20.000000000 -0400 +@@ -384,14 +384,20 @@ + #ifdef AF_INET6 + if (temp.addr.sa_family == AF_INET6) + { +- httpAddrLookup(&temp, con->servername, sizeof(con->servername)); ++ if (httpAddrLocalhost(&temp)) ++ strlcpy(con->servername, "localhost", sizeof(con->servername)); ++ else ++ httpAddrLookup(&temp, con->servername, sizeof(con->servername)); + con->serverport = ntohs(lis->address.ipv6.sin6_port); + } + else + #endif /* AF_INET6 */ + if (temp.addr.sa_family == AF_INET) + { +- httpAddrLookup(&temp, con->servername, sizeof(con->servername)); ++ if (httpAddrLocalhost(&temp)) ++ strlcpy(con->servername, "localhost", sizeof(con->servername)); ++ else ++ httpAddrLookup(&temp, con->servername, sizeof(con->servername)); + con->serverport = ntohs(lis->address.ipv4.sin_port); + } + else +diff -urNad cupsys-1.3.7~/templates/add-class.tmpl cupsys-1.3.7/templates/add-class.tmpl +--- cupsys-1.3.7~/templates/add-class.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ +
++ + + +

Add Class

+diff -urNad cupsys-1.3.7~/templates/add-printer.tmpl cupsys-1.3.7/templates/add-printer.tmpl +--- cupsys-1.3.7~/templates/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/add-rss-subscription.tmpl cupsys-1.3.7/templates/add-rss-subscription.tmpl +--- cupsys-1.3.7~/templates/add-rss-subscription.tmpl 2007-02-22 17:06:23.000000000 -0500 ++++ cupsys-1.3.7/templates/add-rss-subscription.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Add RSS Subscription

+diff -urNad cupsys-1.3.7~/templates/admin.tmpl cupsys-1.3.7/templates/admin.tmpl +--- cupsys-1.3.7~/templates/admin.tmpl 2007-07-26 14:09:46.000000000 -0400 ++++ cupsys-1.3.7/templates/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -55,6 +55,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Basic Server Settings:

+ +diff -urNad cupsys-1.3.7~/templates/choose-device.tmpl cupsys-1.3.7/templates/choose-device.tmpl +--- cupsys-1.3.7~/templates/choose-device.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/choose-make.tmpl cupsys-1.3.7/templates/choose-make.tmpl +--- cupsys-1.3.7~/templates/choose-make.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/choose-model.tmpl cupsys-1.3.7/templates/choose-model.tmpl +--- cupsys-1.3.7~/templates/choose-model.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/choose-serial.tmpl cupsys-1.3.7/templates/choose-serial.tmpl +--- cupsys-1.3.7~/templates/choose-serial.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/choose-uri.tmpl cupsys-1.3.7/templates/choose-uri.tmpl +--- cupsys-1.3.7~/templates/choose-uri.tmpl 2006-03-18 07:56:48.000000000 -0500 ++++ cupsys-1.3.7/templates/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/add-class.tmpl cupsys-1.3.7/templates/de/add-class.tmpl +--- cupsys-1.3.7~/templates/de/add-class.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Klasse hinzufügen

+diff -urNad cupsys-1.3.7~/templates/de/add-printer.tmpl cupsys-1.3.7/templates/de/add-printer.tmpl +--- cupsys-1.3.7~/templates/de/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/de/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/de/add-rss-subscription.tmpl cupsys-1.3.7/templates/de/add-rss-subscription.tmpl +--- cupsys-1.3.7~/templates/de/add-rss-subscription.tmpl 2007-07-27 17:19:56.000000000 -0400 ++++ cupsys-1.3.7/templates/de/add-rss-subscription.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

RSS Subskription hinzufügen

+diff -urNad cupsys-1.3.7~/templates/de/admin.tmpl cupsys-1.3.7/templates/de/admin.tmpl +--- cupsys-1.3.7~/templates/de/admin.tmpl 2007-08-15 15:33:36.000000000 -0400 ++++ cupsys-1.3.7/templates/de/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -55,6 +55,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Grundlegende Servereinstellungen:

+ +diff -urNad cupsys-1.3.7~/templates/de/choose-device.tmpl cupsys-1.3.7/templates/de/choose-device.tmpl +--- cupsys-1.3.7~/templates/de/choose-device.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/choose-make.tmpl cupsys-1.3.7/templates/de/choose-make.tmpl +--- cupsys-1.3.7~/templates/de/choose-make.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/choose-model.tmpl cupsys-1.3.7/templates/de/choose-model.tmpl +--- cupsys-1.3.7~/templates/de/choose-model.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/choose-serial.tmpl cupsys-1.3.7/templates/de/choose-serial.tmpl +--- cupsys-1.3.7~/templates/de/choose-serial.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/choose-uri.tmpl cupsys-1.3.7/templates/de/choose-uri.tmpl +--- cupsys-1.3.7~/templates/de/choose-uri.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/edit-config.tmpl cupsys-1.3.7/templates/de/edit-config.tmpl +--- cupsys-1.3.7~/templates/de/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/de/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Server Konfigurationsdatei

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/de/job-move.tmpl cupsys-1.3.7/templates/de/job-move.tmpl +--- cupsys-1.3.7~/templates/de/job-move.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/de/modify-class.tmpl cupsys-1.3.7/templates/de/modify-class.tmpl +--- cupsys-1.3.7~/templates/de/modify-class.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Klasse {printer_name} ändern

+diff -urNad cupsys-1.3.7~/templates/de/modify-printer.tmpl cupsys-1.3.7/templates/de/modify-printer.tmpl +--- cupsys-1.3.7~/templates/de/modify-printer.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/de/samba-export.tmpl cupsys-1.3.7/templates/de/samba-export.tmpl +--- cupsys-1.3.7~/templates/de/samba-export.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Exportiere Drucker für Samba

+diff -urNad cupsys-1.3.7~/templates/de/set-printer-options-header.tmpl cupsys-1.3.7/templates/de/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/de/set-printer-options-header.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/de/users.tmpl cupsys-1.3.7/templates/de/users.tmpl +--- cupsys-1.3.7~/templates/de/users.tmpl 2006-07-18 09:44:07.000000000 -0400 ++++ cupsys-1.3.7/templates/de/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/edit-config.tmpl cupsys-1.3.7/templates/edit-config.tmpl +--- cupsys-1.3.7~/templates/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Server Configuration File

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/add-class.tmpl cupsys-1.3.7/templates/es/add-class.tmpl +--- cupsys-1.3.7~/templates/es/add-class.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Añadir clase

+diff -urNad cupsys-1.3.7~/templates/es/add-printer.tmpl cupsys-1.3.7/templates/es/add-printer.tmpl +--- cupsys-1.3.7~/templates/es/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/es/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/es/add-rss-subscription.tmpl cupsys-1.3.7/templates/es/add-rss-subscription.tmpl +--- cupsys-1.3.7~/templates/es/add-rss-subscription.tmpl 2007-08-15 15:33:36.000000000 -0400 ++++ cupsys-1.3.7/templates/es/add-rss-subscription.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Añadir subscripción RSS

+diff -urNad cupsys-1.3.7~/templates/es/admin.tmpl cupsys-1.3.7/templates/es/admin.tmpl +--- cupsys-1.3.7~/templates/es/admin.tmpl 2007-08-15 15:33:36.000000000 -0400 ++++ cupsys-1.3.7/templates/es/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -55,6 +55,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Configuración básica del servidor:

+ +diff -urNad cupsys-1.3.7~/templates/es/choose-device.tmpl cupsys-1.3.7/templates/es/choose-device.tmpl +--- cupsys-1.3.7~/templates/es/choose-device.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/choose-make.tmpl cupsys-1.3.7/templates/es/choose-make.tmpl +--- cupsys-1.3.7~/templates/es/choose-make.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/choose-model.tmpl cupsys-1.3.7/templates/es/choose-model.tmpl +--- cupsys-1.3.7~/templates/es/choose-model.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/choose-serial.tmpl cupsys-1.3.7/templates/es/choose-serial.tmpl +--- cupsys-1.3.7~/templates/es/choose-serial.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/choose-uri.tmpl cupsys-1.3.7/templates/es/choose-uri.tmpl +--- cupsys-1.3.7~/templates/es/choose-uri.tmpl 2006-03-18 07:56:48.000000000 -0500 ++++ cupsys-1.3.7/templates/es/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/edit-config.tmpl cupsys-1.3.7/templates/es/edit-config.tmpl +--- cupsys-1.3.7~/templates/es/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/es/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Archivo de configuración del servidor

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/es/job-move.tmpl cupsys-1.3.7/templates/es/job-move.tmpl +--- cupsys-1.3.7~/templates/es/job-move.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/es/modify-class.tmpl cupsys-1.3.7/templates/es/modify-class.tmpl +--- cupsys-1.3.7~/templates/es/modify-class.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Modificar clase {printer_name}

+diff -urNad cupsys-1.3.7~/templates/es/modify-printer.tmpl cupsys-1.3.7/templates/es/modify-printer.tmpl +--- cupsys-1.3.7~/templates/es/modify-printer.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/es/samba-export.tmpl cupsys-1.3.7/templates/es/samba-export.tmpl +--- cupsys-1.3.7~/templates/es/samba-export.tmpl 2007-08-15 15:33:36.000000000 -0400 ++++ cupsys-1.3.7/templates/es/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Exportar impresoras a Samba

+diff -urNad cupsys-1.3.7~/templates/es/set-printer-options-header.tmpl cupsys-1.3.7/templates/es/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/es/set-printer-options-header.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/es/users.tmpl cupsys-1.3.7/templates/es/users.tmpl +--- cupsys-1.3.7~/templates/es/users.tmpl 2006-03-13 08:34:24.000000000 -0500 ++++ cupsys-1.3.7/templates/es/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/et/add-class.tmpl cupsys-1.3.7/templates/et/add-class.tmpl +--- cupsys-1.3.7~/templates/et/add-class.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Klassi lisamine

+diff -urNad cupsys-1.3.7~/templates/et/add-printer.tmpl cupsys-1.3.7/templates/et/add-printer.tmpl +--- cupsys-1.3.7~/templates/et/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/et/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/et/admin.tmpl cupsys-1.3.7/templates/et/admin.tmpl +--- cupsys-1.3.7~/templates/et/admin.tmpl 2007-03-19 12:01:28.000000000 -0400 ++++ cupsys-1.3.7/templates/et/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -59,6 +59,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Serveri põhiseadistused:

+ +diff -urNad cupsys-1.3.7~/templates/et/choose-device.tmpl cupsys-1.3.7/templates/et/choose-device.tmpl +--- cupsys-1.3.7~/templates/et/choose-device.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/et/choose-make.tmpl cupsys-1.3.7/templates/et/choose-make.tmpl +--- cupsys-1.3.7~/templates/et/choose-make.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/et/choose-model.tmpl cupsys-1.3.7/templates/et/choose-model.tmpl +--- cupsys-1.3.7~/templates/et/choose-model.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/et/choose-serial.tmpl cupsys-1.3.7/templates/et/choose-serial.tmpl +--- cupsys-1.3.7~/templates/et/choose-serial.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/et/choose-uri.tmpl cupsys-1.3.7/templates/et/choose-uri.tmpl +--- cupsys-1.3.7~/templates/et/choose-uri.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/et/edit-config.tmpl cupsys-1.3.7/templates/et/edit-config.tmpl +--- cupsys-1.3.7~/templates/et/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/et/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Serveri seadistustefail

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/et/modify-class.tmpl cupsys-1.3.7/templates/et/modify-class.tmpl +--- cupsys-1.3.7~/templates/et/modify-class.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Klassi {printer_name} muutmine

+diff -urNad cupsys-1.3.7~/templates/et/modify-printer.tmpl cupsys-1.3.7/templates/et/modify-printer.tmpl +--- cupsys-1.3.7~/templates/et/modify-printer.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/et/samba-export.tmpl cupsys-1.3.7/templates/et/samba-export.tmpl +--- cupsys-1.3.7~/templates/et/samba-export.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Printerite eksport Sambasse

+diff -urNad cupsys-1.3.7~/templates/et/set-printer-options-header.tmpl cupsys-1.3.7/templates/et/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/et/set-printer-options-header.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/et/users.tmpl cupsys-1.3.7/templates/et/users.tmpl +--- cupsys-1.3.7~/templates/et/users.tmpl 2006-10-02 12:02:23.000000000 -0400 ++++ cupsys-1.3.7/templates/et/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/fr/add-class.tmpl cupsys-1.3.7/templates/fr/add-class.tmpl +--- cupsys-1.3.7~/templates/fr/add-class.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Ajouter une classe

+diff -urNad cupsys-1.3.7~/templates/fr/add-printer.tmpl cupsys-1.3.7/templates/fr/add-printer.tmpl +--- cupsys-1.3.7~/templates/fr/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/fr/admin.tmpl cupsys-1.3.7/templates/fr/admin.tmpl +--- cupsys-1.3.7~/templates/fr/admin.tmpl 2007-03-19 12:01:28.000000000 -0400 ++++ cupsys-1.3.7/templates/fr/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -59,6 +59,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Paramètres de base du serveur :

+ +diff -urNad cupsys-1.3.7~/templates/fr/choose-device.tmpl cupsys-1.3.7/templates/fr/choose-device.tmpl +--- cupsys-1.3.7~/templates/fr/choose-device.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/fr/choose-make.tmpl cupsys-1.3.7/templates/fr/choose-make.tmpl +--- cupsys-1.3.7~/templates/fr/choose-make.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/fr/choose-model.tmpl cupsys-1.3.7/templates/fr/choose-model.tmpl +--- cupsys-1.3.7~/templates/fr/choose-model.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/fr/choose-serial.tmpl cupsys-1.3.7/templates/fr/choose-serial.tmpl +--- cupsys-1.3.7~/templates/fr/choose-serial.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/fr/choose-uri.tmpl cupsys-1.3.7/templates/fr/choose-uri.tmpl +--- cupsys-1.3.7~/templates/fr/choose-uri.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/fr/edit-config.tmpl cupsys-1.3.7/templates/fr/edit-config.tmpl +--- cupsys-1.3.7~/templates/fr/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/fr/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Ficher de configuration du serveur

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/fr/job-move.tmpl cupsys-1.3.7/templates/fr/job-move.tmpl +--- cupsys-1.3.7~/templates/fr/job-move.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/fr/modify-class.tmpl cupsys-1.3.7/templates/fr/modify-class.tmpl +--- cupsys-1.3.7~/templates/fr/modify-class.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Modifier la classe {printer_name}

+diff -urNad cupsys-1.3.7~/templates/fr/modify-printer.tmpl cupsys-1.3.7/templates/fr/modify-printer.tmpl +--- cupsys-1.3.7~/templates/fr/modify-printer.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/fr/samba-export.tmpl cupsys-1.3.7/templates/fr/samba-export.tmpl +--- cupsys-1.3.7~/templates/fr/samba-export.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Exporter des imprimantes vers SAMBA

+diff -urNad cupsys-1.3.7~/templates/fr/set-printer-options-header.tmpl cupsys-1.3.7/templates/fr/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/fr/set-printer-options-header.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/fr/users.tmpl cupsys-1.3.7/templates/fr/users.tmpl +--- cupsys-1.3.7~/templates/fr/users.tmpl 2007-02-05 14:37:04.000000000 -0500 ++++ cupsys-1.3.7/templates/fr/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/he/add-class.tmpl cupsys-1.3.7/templates/he/add-class.tmpl +--- cupsys-1.3.7~/templates/he/add-class.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

הוסף מחלקה

+diff -urNad cupsys-1.3.7~/templates/he/add-printer.tmpl cupsys-1.3.7/templates/he/add-printer.tmpl +--- cupsys-1.3.7~/templates/he/add-printer.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

הוסף מדפסת חדשה

+diff -urNad cupsys-1.3.7~/templates/he/admin.tmpl cupsys-1.3.7/templates/he/admin.tmpl +--- cupsys-1.3.7~/templates/he/admin.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -59,6 +59,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

הגדרות שרת בסיסיות:

+ +diff -urNad cupsys-1.3.7~/templates/he/choose-device.tmpl cupsys-1.3.7/templates/he/choose-device.tmpl +--- cupsys-1.3.7~/templates/he/choose-device.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/he/choose-make.tmpl cupsys-1.3.7/templates/he/choose-make.tmpl +--- cupsys-1.3.7~/templates/he/choose-make.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/he/choose-model.tmpl cupsys-1.3.7/templates/he/choose-model.tmpl +--- cupsys-1.3.7~/templates/he/choose-model.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/he/choose-serial.tmpl cupsys-1.3.7/templates/he/choose-serial.tmpl +--- cupsys-1.3.7~/templates/he/choose-serial.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/he/choose-uri.tmpl cupsys-1.3.7/templates/he/choose-uri.tmpl +--- cupsys-1.3.7~/templates/he/choose-uri.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/he/edit-config.tmpl cupsys-1.3.7/templates/he/edit-config.tmpl +--- cupsys-1.3.7~/templates/he/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/he/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

קובץ הגדרות של השרת

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/he/job-move.tmpl cupsys-1.3.7/templates/he/job-move.tmpl +--- cupsys-1.3.7~/templates/he/job-move.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/he/modify-class.tmpl cupsys-1.3.7/templates/he/modify-class.tmpl +--- cupsys-1.3.7~/templates/he/modify-class.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

שנה מחלקה {printer_name}

+diff -urNad cupsys-1.3.7~/templates/he/modify-printer.tmpl cupsys-1.3.7/templates/he/modify-printer.tmpl +--- cupsys-1.3.7~/templates/he/modify-printer.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/he/samba-export.tmpl cupsys-1.3.7/templates/he/samba-export.tmpl +--- cupsys-1.3.7~/templates/he/samba-export.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

×™×™×¦× ×ž×“×¤×¡×•×ª ל Samba

+diff -urNad cupsys-1.3.7~/templates/he/set-printer-options-header.tmpl cupsys-1.3.7/templates/he/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/he/set-printer-options-header.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/he/users.tmpl cupsys-1.3.7/templates/he/users.tmpl +--- cupsys-1.3.7~/templates/he/users.tmpl 2007-04-02 10:31:49.000000000 -0400 ++++ cupsys-1.3.7/templates/he/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/it/add-class.tmpl cupsys-1.3.7/templates/it/add-class.tmpl +--- cupsys-1.3.7~/templates/it/add-class.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Aggiungi classe

+diff -urNad cupsys-1.3.7~/templates/it/add-printer.tmpl cupsys-1.3.7/templates/it/add-printer.tmpl +--- cupsys-1.3.7~/templates/it/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/it/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/it/admin.tmpl cupsys-1.3.7/templates/it/admin.tmpl +--- cupsys-1.3.7~/templates/it/admin.tmpl 2007-03-19 12:01:28.000000000 -0400 ++++ cupsys-1.3.7/templates/it/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -59,6 +59,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Impostazioni di base del server:

+ +diff -urNad cupsys-1.3.7~/templates/it/choose-device.tmpl cupsys-1.3.7/templates/it/choose-device.tmpl +--- cupsys-1.3.7~/templates/it/choose-device.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/it/choose-make.tmpl cupsys-1.3.7/templates/it/choose-make.tmpl +--- cupsys-1.3.7~/templates/it/choose-make.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/it/choose-model.tmpl cupsys-1.3.7/templates/it/choose-model.tmpl +--- cupsys-1.3.7~/templates/it/choose-model.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/it/choose-serial.tmpl cupsys-1.3.7/templates/it/choose-serial.tmpl +--- cupsys-1.3.7~/templates/it/choose-serial.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/it/choose-uri.tmpl cupsys-1.3.7/templates/it/choose-uri.tmpl +--- cupsys-1.3.7~/templates/it/choose-uri.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/it/edit-config.tmpl cupsys-1.3.7/templates/it/edit-config.tmpl +--- cupsys-1.3.7~/templates/it/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/it/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

File di configurazione del server

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/it/job-move.tmpl cupsys-1.3.7/templates/it/job-move.tmpl +--- cupsys-1.3.7~/templates/it/job-move.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/it/modify-class.tmpl cupsys-1.3.7/templates/it/modify-class.tmpl +--- cupsys-1.3.7~/templates/it/modify-class.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Modifica classe {printer_name}

+diff -urNad cupsys-1.3.7~/templates/it/modify-printer.tmpl cupsys-1.3.7/templates/it/modify-printer.tmpl +--- cupsys-1.3.7~/templates/it/modify-printer.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/it/samba-export.tmpl cupsys-1.3.7/templates/it/samba-export.tmpl +--- cupsys-1.3.7~/templates/it/samba-export.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Esporta stampanti su Samba

+diff -urNad cupsys-1.3.7~/templates/it/set-printer-options-header.tmpl cupsys-1.3.7/templates/it/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/it/set-printer-options-header.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/it/users.tmpl cupsys-1.3.7/templates/it/users.tmpl +--- cupsys-1.3.7~/templates/it/users.tmpl 2006-11-16 08:33:33.000000000 -0500 ++++ cupsys-1.3.7/templates/it/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/ja/add-class.tmpl cupsys-1.3.7/templates/ja/add-class.tmpl +--- cupsys-1.3.7~/templates/ja/add-class.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

クラスã®è¿½åŠ 

+diff -urNad cupsys-1.3.7~/templates/ja/add-printer.tmpl cupsys-1.3.7/templates/ja/add-printer.tmpl +--- cupsys-1.3.7~/templates/ja/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/ja/add-rss-subscription.tmpl cupsys-1.3.7/templates/ja/add-rss-subscription.tmpl +--- cupsys-1.3.7~/templates/ja/add-rss-subscription.tmpl 2007-10-10 18:56:24.000000000 -0400 ++++ cupsys-1.3.7/templates/ja/add-rss-subscription.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

RSS 購読を追加

+diff -urNad cupsys-1.3.7~/templates/ja/admin.tmpl cupsys-1.3.7/templates/ja/admin.tmpl +--- cupsys-1.3.7~/templates/ja/admin.tmpl 2007-10-10 18:56:24.000000000 -0400 ++++ cupsys-1.3.7/templates/ja/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -53,6 +53,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

基本サーãƒè¨­å®š:

+ +diff -urNad cupsys-1.3.7~/templates/ja/choose-device.tmpl cupsys-1.3.7/templates/ja/choose-device.tmpl +--- cupsys-1.3.7~/templates/ja/choose-device.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/ja/choose-make.tmpl cupsys-1.3.7/templates/ja/choose-make.tmpl +--- cupsys-1.3.7~/templates/ja/choose-make.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/ja/choose-model.tmpl cupsys-1.3.7/templates/ja/choose-model.tmpl +--- cupsys-1.3.7~/templates/ja/choose-model.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/ja/choose-serial.tmpl cupsys-1.3.7/templates/ja/choose-serial.tmpl +--- cupsys-1.3.7~/templates/ja/choose-serial.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/ja/choose-uri.tmpl cupsys-1.3.7/templates/ja/choose-uri.tmpl +--- cupsys-1.3.7~/templates/ja/choose-uri.tmpl 2006-03-18 07:56:48.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/ja/edit-config.tmpl cupsys-1.3.7/templates/ja/edit-config.tmpl +--- cupsys-1.3.7~/templates/ja/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/ja/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

サーãƒè¨­å®šãƒ•ã‚¡ã‚¤ãƒ«

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/ja/job-move.tmpl cupsys-1.3.7/templates/ja/job-move.tmpl +--- cupsys-1.3.7~/templates/ja/job-move.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/ja/modify-class.tmpl cupsys-1.3.7/templates/ja/modify-class.tmpl +--- cupsys-1.3.7~/templates/ja/modify-class.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

クラス {printer_name} ã®å¤‰æ›´

+diff -urNad cupsys-1.3.7~/templates/ja/modify-printer.tmpl cupsys-1.3.7/templates/ja/modify-printer.tmpl +--- cupsys-1.3.7~/templates/ja/modify-printer.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/ja/samba-export.tmpl cupsys-1.3.7/templates/ja/samba-export.tmpl +--- cupsys-1.3.7~/templates/ja/samba-export.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

プリンタを Samba ã«ã‚¨ã‚­ã‚¹ãƒãƒ¼ãƒˆ

+diff -urNad cupsys-1.3.7~/templates/ja/users.tmpl cupsys-1.3.7/templates/ja/users.tmpl +--- cupsys-1.3.7~/templates/ja/users.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/ja/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/job-move.tmpl cupsys-1.3.7/templates/job-move.tmpl +--- cupsys-1.3.7~/templates/job-move.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/modify-class.tmpl cupsys-1.3.7/templates/modify-class.tmpl +--- cupsys-1.3.7~/templates/modify-class.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Modify Class {printer_name}

+diff -urNad cupsys-1.3.7~/templates/modify-printer.tmpl cupsys-1.3.7/templates/modify-printer.tmpl +--- cupsys-1.3.7~/templates/modify-printer.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/pl/add-class.tmpl cupsys-1.3.7/templates/pl/add-class.tmpl +--- cupsys-1.3.7~/templates/pl/add-class.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Dodaj klasÄ™

+diff -urNad cupsys-1.3.7~/templates/pl/add-printer.tmpl cupsys-1.3.7/templates/pl/add-printer.tmpl +--- cupsys-1.3.7~/templates/pl/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/pl/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/pl/admin.tmpl cupsys-1.3.7/templates/pl/admin.tmpl +--- cupsys-1.3.7~/templates/pl/admin.tmpl 2007-03-19 12:01:28.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -57,6 +57,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Podstawowe ustawienia serwera:

+ +diff -urNad cupsys-1.3.7~/templates/pl/choose-device.tmpl cupsys-1.3.7/templates/pl/choose-device.tmpl +--- cupsys-1.3.7~/templates/pl/choose-device.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/pl/choose-make.tmpl cupsys-1.3.7/templates/pl/choose-make.tmpl +--- cupsys-1.3.7~/templates/pl/choose-make.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/pl/choose-model.tmpl cupsys-1.3.7/templates/pl/choose-model.tmpl +--- cupsys-1.3.7~/templates/pl/choose-model.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/pl/choose-serial.tmpl cupsys-1.3.7/templates/pl/choose-serial.tmpl +--- cupsys-1.3.7~/templates/pl/choose-serial.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/pl/choose-uri.tmpl cupsys-1.3.7/templates/pl/choose-uri.tmpl +--- cupsys-1.3.7~/templates/pl/choose-uri.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/pl/edit-config.tmpl cupsys-1.3.7/templates/pl/edit-config.tmpl +--- cupsys-1.3.7~/templates/pl/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Plik Konfiguracji Serwera

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/pl/job-move.tmpl cupsys-1.3.7/templates/pl/job-move.tmpl +--- cupsys-1.3.7~/templates/pl/job-move.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/pl/modify-class.tmpl cupsys-1.3.7/templates/pl/modify-class.tmpl +--- cupsys-1.3.7~/templates/pl/modify-class.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Zmodyfikuj klasÄ™ {printer_name}

+diff -urNad cupsys-1.3.7~/templates/pl/modify-printer.tmpl cupsys-1.3.7/templates/pl/modify-printer.tmpl +--- cupsys-1.3.7~/templates/pl/modify-printer.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/pl/samba-export.tmpl cupsys-1.3.7/templates/pl/samba-export.tmpl +--- cupsys-1.3.7~/templates/pl/samba-export.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Wyeksportuj drukarki do Samby

+diff -urNad cupsys-1.3.7~/templates/pl/set-printer-options-header.tmpl cupsys-1.3.7/templates/pl/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/pl/set-printer-options-header.tmpl 2006-04-22 00:05:45.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/pl/users.tmpl cupsys-1.3.7/templates/pl/users.tmpl +--- cupsys-1.3.7~/templates/pl/users.tmpl 2006-05-15 15:05:22.000000000 -0400 ++++ cupsys-1.3.7/templates/pl/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/samba-export.tmpl cupsys-1.3.7/templates/samba-export.tmpl +--- cupsys-1.3.7~/templates/samba-export.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Export Printers to Samba

+diff -urNad cupsys-1.3.7~/templates/set-printer-options-header.tmpl cupsys-1.3.7/templates/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/set-printer-options-header.tmpl 2005-12-15 17:03:40.000000000 -0500 ++++ cupsys-1.3.7/templates/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/sv/add-class.tmpl cupsys-1.3.7/templates/sv/add-class.tmpl +--- cupsys-1.3.7~/templates/sv/add-class.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Lägg till klass

+diff -urNad cupsys-1.3.7~/templates/sv/add-printer.tmpl cupsys-1.3.7/templates/sv/add-printer.tmpl +--- cupsys-1.3.7~/templates/sv/add-printer.tmpl 2007-02-10 14:37:59.000000000 -0500 ++++ cupsys-1.3.7/templates/sv/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {device_uri?:} + +diff -urNad cupsys-1.3.7~/templates/sv/admin.tmpl cupsys-1.3.7/templates/sv/admin.tmpl +--- cupsys-1.3.7~/templates/sv/admin.tmpl 2007-03-19 12:01:28.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -59,6 +59,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

Grundläggande serverinställningar:

+ +diff -urNad cupsys-1.3.7~/templates/sv/choose-device.tmpl cupsys-1.3.7/templates/sv/choose-device.tmpl +--- cupsys-1.3.7~/templates/sv/choose-device.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/sv/choose-make.tmpl cupsys-1.3.7/templates/sv/choose-make.tmpl +--- cupsys-1.3.7~/templates/sv/choose-make.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/sv/choose-model.tmpl cupsys-1.3.7/templates/sv/choose-model.tmpl +--- cupsys-1.3.7~/templates/sv/choose-model.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/sv/choose-serial.tmpl cupsys-1.3.7/templates/sv/choose-serial.tmpl +--- cupsys-1.3.7~/templates/sv/choose-serial.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/sv/choose-uri.tmpl cupsys-1.3.7/templates/sv/choose-uri.tmpl +--- cupsys-1.3.7~/templates/sv/choose-uri.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/sv/edit-config.tmpl cupsys-1.3.7/templates/sv/edit-config.tmpl +--- cupsys-1.3.7~/templates/sv/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

Serverkonfigurationsfil

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/sv/job-move.tmpl cupsys-1.3.7/templates/sv/job-move.tmpl +--- cupsys-1.3.7~/templates/sv/job-move.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/sv/modify-class.tmpl cupsys-1.3.7/templates/sv/modify-class.tmpl +--- cupsys-1.3.7~/templates/sv/modify-class.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

Modifiera klass {printer_name}

+diff -urNad cupsys-1.3.7~/templates/sv/modify-printer.tmpl cupsys-1.3.7/templates/sv/modify-printer.tmpl +--- cupsys-1.3.7~/templates/sv/modify-printer.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/sv/samba-export.tmpl cupsys-1.3.7/templates/sv/samba-export.tmpl +--- cupsys-1.3.7~/templates/sv/samba-export.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

Exportera skrivare till Samba

+diff -urNad cupsys-1.3.7~/templates/sv/set-printer-options-header.tmpl cupsys-1.3.7/templates/sv/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/sv/set-printer-options-header.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/sv/users.tmpl cupsys-1.3.7/templates/sv/users.tmpl +--- cupsys-1.3.7~/templates/sv/users.tmpl 2006-04-17 10:50:45.000000000 -0400 ++++ cupsys-1.3.7/templates/sv/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/users.tmpl cupsys-1.3.7/templates/users.tmpl +--- cupsys-1.3.7~/templates/users.tmpl 2006-03-03 21:00:43.000000000 -0500 ++++ cupsys-1.3.7/templates/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} +diff -urNad cupsys-1.3.7~/templates/zh_TW/add-class.tmpl cupsys-1.3.7/templates/zh_TW/add-class.tmpl +--- cupsys-1.3.7~/templates/zh_TW/add-class.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/add-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

加入分類

+diff -urNad cupsys-1.3.7~/templates/zh_TW/add-printer.tmpl cupsys-1.3.7/templates/zh_TW/add-printer.tmpl +--- cupsys-1.3.7~/templates/zh_TW/add-printer.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/add-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

加入新的å°è¡¨æ©Ÿ

+diff -urNad cupsys-1.3.7~/templates/zh_TW/admin.tmpl cupsys-1.3.7/templates/zh_TW/admin.tmpl +--- cupsys-1.3.7~/templates/zh_TW/admin.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/admin.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -59,6 +59,7 @@ +
{SETTINGS_ERROR}
: + + ++ + +

基本伺æœå™¨è¨­å®šå€¼ï¼š

+ +diff -urNad cupsys-1.3.7~/templates/zh_TW/choose-device.tmpl cupsys-1.3.7/templates/zh_TW/choose-device.tmpl +--- cupsys-1.3.7~/templates/zh_TW/choose-device.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/choose-device.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/choose-make.tmpl cupsys-1.3.7/templates/zh_TW/choose-make.tmpl +--- cupsys-1.3.7~/templates/zh_TW/choose-make.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/choose-make.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/choose-model.tmpl cupsys-1.3.7/templates/zh_TW/choose-model.tmpl +--- cupsys-1.3.7~/templates/zh_TW/choose-model.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/choose-model.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/choose-serial.tmpl cupsys-1.3.7/templates/zh_TW/choose-serial.tmpl +--- cupsys-1.3.7~/templates/zh_TW/choose-serial.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/choose-serial.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/choose-uri.tmpl cupsys-1.3.7/templates/zh_TW/choose-uri.tmpl +--- cupsys-1.3.7~/templates/zh_TW/choose-uri.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/choose-uri.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/edit-config.tmpl cupsys-1.3.7/templates/zh_TW/edit-config.tmpl +--- cupsys-1.3.7~/templates/zh_TW/edit-config.tmpl 2007-07-24 19:47:12.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/edit-config.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -8,7 +8,7 @@ +

伺æœå™¨é…置檔案

+ + +- ++ + + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/job-move.tmpl cupsys-1.3.7/templates/zh_TW/job-move.tmpl +--- cupsys-1.3.7~/templates/zh_TW/job-move.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/job-move.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {job_id?:} + +diff -urNad cupsys-1.3.7~/templates/zh_TW/modify-class.tmpl cupsys-1.3.7/templates/zh_TW/modify-class.tmpl +--- cupsys-1.3.7~/templates/zh_TW/modify-class.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/modify-class.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + +

修改分類 {printer_name}

+diff -urNad cupsys-1.3.7~/templates/zh_TW/modify-printer.tmpl cupsys-1.3.7/templates/zh_TW/modify-printer.tmpl +--- cupsys-1.3.7~/templates/zh_TW/modify-printer.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/modify-printer.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + {?device_uri=?:} + {?printer_make_and_model=?:} +diff -urNad cupsys-1.3.7~/templates/zh_TW/samba-export.tmpl cupsys-1.3.7/templates/zh_TW/samba-export.tmpl +--- cupsys-1.3.7~/templates/zh_TW/samba-export.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/samba-export.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -10,6 +10,7 @@ + --> + + ++ + + +

匯出å°è¡¨æ©Ÿè‡³ Samba

+diff -urNad cupsys-1.3.7~/templates/zh_TW/set-printer-options-header.tmpl cupsys-1.3.7/templates/zh_TW/set-printer-options-header.tmpl +--- cupsys-1.3.7~/templates/zh_TW/set-printer-options-header.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/set-printer-options-header.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,3 +1,4 @@ + ++ + + +diff -urNad cupsys-1.3.7~/templates/zh_TW/users.tmpl cupsys-1.3.7/templates/zh_TW/users.tmpl +--- cupsys-1.3.7~/templates/zh_TW/users.tmpl 2007-05-08 15:48:20.000000000 -0400 ++++ cupsys-1.3.7/templates/zh_TW/users.tmpl 2010-06-15 09:54:20.000000000 -0400 +@@ -1,4 +1,5 @@ + ++ + + + {IS_CLASS?:} --- cupsys-1.3.7.orig/debian/patches/CVE-2011-2896.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2011-2896.dpatch @@ -0,0 +1,118 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: Fix arbitrary code execution via missing code words +# Origin: upstream, r9840 +# Bug: http://cups.org/str.php?L3867 +# Bug: http://cups.org/str.php?L3869 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cupsys-1.3.7~/filter/image-gif.c cupsys-1.3.7/filter/image-gif.c +--- cupsys-1.3.7~/filter/image-gif.c 2008-04-01 16:32:12.000000000 -0400 ++++ cupsys-1.3.7/filter/image-gif.c 2011-09-12 09:40:36.532352067 -0400 +@@ -353,7 +353,7 @@ + * Read in another buffer... + */ + +- if ((count = gif_get_block (fp, buf + last_byte)) <= 0) ++ if ((count = gif_get_block(fp, buf + last_byte)) <= 0) + { + /* + * Whoops, no more data! +@@ -583,19 +583,13 @@ + gif_get_code(fp, 0, 1); + + /* +- * Wipe the decompressor table... ++ * Wipe the decompressor table (already mostly 0 due to the calloc above...) + */ + + fresh = 1; + +- for (i = 0; i < clear_code; i ++) +- { +- table[0][i] = 0; ++ for (i = 1; i < clear_code; i ++) + table[1][i] = i; +- } +- +- for (; i < 4096; i ++) +- table[0][i] = table[1][0] = 0; + + sp = stack; + +@@ -606,27 +600,28 @@ + fresh = 0; + + do ++ { + firstcode = oldcode = gif_get_code(fp, code_size, 0); ++ } + while (firstcode == clear_code); + +- return (firstcode); ++ return (firstcode & 255); + } + + if (sp > stack) +- return (*--sp); ++ return ((*--sp) & 255); + +- while ((code = gif_get_code (fp, code_size, 0)) >= 0) ++ while ((code = gif_get_code(fp, code_size, 0)) >= 0) + { + if (code == clear_code) + { +- for (i = 0; i < clear_code; i ++) +- { +- table[0][i] = 0; +- table[1][i] = i; +- } ++ /* ++ * Clear/reset the compression table... ++ */ + +- for (; i < 4096; i ++) +- table[0][i] = table[1][i] = 0; ++ memset(table, 0, 2 * sizeof(gif_table_t)); ++ for (i = 1; i < clear_code; i ++) ++ table[1][i] = i; + + code_size = set_code_size + 1; + max_code_size = 2 * clear_code; +@@ -636,12 +631,11 @@ + + firstcode = oldcode = gif_get_code(fp, code_size, 0); + +- return (firstcode); ++ return (firstcode & 255); + } +- else if (code == end_code) ++ else if (code == end_code || code > max_code) + { +- unsigned char buf[260]; +- ++ unsigned char buf[260]; /* Block buffer */ + + if (!gif_eof) + while (gif_get_block(fp, buf) > 0); +@@ -651,7 +645,7 @@ + + incode = code; + +- if (code >= max_code) ++ if (code == max_code) + { + *sp++ = firstcode; + code = oldcode; +@@ -685,10 +679,10 @@ + oldcode = incode; + + if (sp > stack) +- return (*--sp); ++ return ((*--sp) & 255); + } + +- return (code); ++ return (code & 255); + } + + --- cupsys-1.3.7.orig/debian/patches/CVE-2008-5184.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2008-5184.dpatch @@ -0,0 +1,67 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2008-5184.dpatch by Marc Deslauriers +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix unauthorized access to RSS subscription functions in web interface +## DP: Ubuntu: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/298241 +## DP: Upstream: http://www.cups.org/str.php?L2774 +## DP: Patch: http://www.cups.org/strfiles/2774/str2774.patch + +@DPATCH@ +diff -urNad cupsys-1.3.7~/cgi-bin/admin.c cupsys-1.3.7/cgi-bin/admin.c +--- cupsys-1.3.7~/cgi-bin/admin.c 2009-01-08 08:50:51.000000000 -0500 ++++ cupsys-1.3.7/cgi-bin/admin.c 2009-01-08 08:51:24.000000000 -0500 +@@ -309,6 +309,16 @@ + } + + /* ++ * Make sure we have a username... ++ */ ++ ++ if ((user = getenv("REMOTE_USER")) == NULL) ++ { ++ puts("Status: 401\n"); ++ exit(0); ++ } ++ ++ /* + * Validate the subscription name... + */ + +@@ -352,9 +362,6 @@ + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, printer_uri); + +- if ((user = getenv("REMOTE_USER")) == NULL) +- user = "guest"; +- + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, user); + +@@ -1269,6 +1276,16 @@ + } + + /* ++ * Require a username... ++ */ ++ ++ if ((user = getenv("REMOTE_USER")) == NULL) ++ { ++ puts("Status: 401\n"); ++ exit(0); ++ } ++ ++ /* + * Cancel the subscription... + */ + +@@ -1279,9 +1296,6 @@ + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, + "notify-subscription-id", id); + +- if ((user = getenv("REMOTE_USER")) == NULL) +- user = "guest"; +- + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, user); + --- cupsys-1.3.7.orig/debian/patches/CVE-2010-0393.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2010-0393.dpatch @@ -0,0 +1,115 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix privilege escalation via lppasswd tool +# Author: Michael Sweet + +@DPATCH@ +diff -urNad cupsys-1.3.7~/cups/globals.c cupsys-1.3.7/cups/globals.c +--- cupsys-1.3.7~/cups/globals.c 2007-07-11 17:46:42.000000000 -0400 ++++ cupsys-1.3.7/cups/globals.c 2010-02-25 11:00:46.000000000 -0500 +@@ -39,20 +39,44 @@ + static void + cups_env_init(_cups_globals_t *g) /* I - Global data */ + { +- if ((g->cups_datadir = getenv("CUPS_DATADIR")) == NULL) +- g->cups_datadir = CUPS_DATADIR; +- +- if ((g->cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) +- g->cups_serverbin = CUPS_SERVERBIN; ++#ifdef HAVE_GETEUID ++ if ((geteuid() != getuid() && getuid()) || getegid() != getgid()) ++#else ++ if (!getuid()) ++#endif /* HAVE_GETEUID */ ++ { ++ /* ++ * When running setuid/setgid, don't allow environment variables to override ++ * the directories... ++ */ + +- if ((g->cups_serverroot = getenv("CUPS_SERVERROOT")) == NULL) ++ g->cups_datadir = CUPS_DATADIR; ++ g->cups_serverbin = CUPS_SERVERBIN; + g->cups_serverroot = CUPS_SERVERROOT; ++ g->cups_statedir = CUPS_STATEDIR; ++ g->localedir = CUPS_LOCALEDIR; ++ } ++ else ++ { ++ /* ++ * Allow directories to be overridden by environment variables. ++ */ + +- if ((g->cups_statedir = getenv("CUPS_STATEDIR")) == NULL) +- g->cups_statedir = CUPS_STATEDIR; ++ if ((g->cups_datadir = getenv("CUPS_DATADIR")) == NULL) ++ g->cups_datadir = CUPS_DATADIR; + +- if ((g->localedir = getenv("LOCALEDIR")) == NULL) +- g->localedir = CUPS_LOCALEDIR; ++ if ((g->cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) ++ g->cups_serverbin = CUPS_SERVERBIN; ++ ++ if ((g->cups_serverroot = getenv("CUPS_SERVERROOT")) == NULL) ++ g->cups_serverroot = CUPS_SERVERROOT; ++ ++ if ((g->cups_statedir = getenv("CUPS_STATEDIR")) == NULL) ++ g->cups_statedir = CUPS_STATEDIR; ++ ++ if ((g->localedir = getenv("LOCALEDIR")) == NULL) ++ g->localedir = CUPS_LOCALEDIR; ++ } + } + + +diff -urNad cupsys-1.3.7~/systemv/lppasswd.c cupsys-1.3.7/systemv/lppasswd.c +--- cupsys-1.3.7~/systemv/lppasswd.c 2007-07-11 17:46:42.000000000 -0400 ++++ cupsys-1.3.7/systemv/lppasswd.c 2010-02-25 11:00:46.000000000 -0500 +@@ -31,9 +31,7 @@ + #include + #include + +-#include +-#include +-#include ++#include + #include + + #ifndef WIN32 +@@ -79,7 +77,6 @@ + groupline[17], /* Group from line */ + md5line[33], /* MD5-sum from line */ + md5new[33]; /* New MD5 sum */ +- const char *root; /* CUPS server root directory */ + char passwdmd5[1024], /* passwd.md5 file */ + passwdold[1024], /* passwd.old file */ + passwdnew[1024]; /* passwd.tmp file */ +@@ -88,6 +85,7 @@ + int flag; /* Password check flags... */ + int fd; /* Password file descriptor */ + int error; /* Write error */ ++ _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + #if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Signal action */ + #endif /* HAVE_SIGACTION && !HAVE_SIGSET*/ +@@ -113,18 +111,11 @@ + + /* + * Find the server directory... +- * +- * We use the CUPS_SERVERROOT environment variable when we are running +- * as root or when lppasswd is not setuid... + */ + +- if ((root = getenv("CUPS_SERVERROOT")) == NULL || +- (getuid() != geteuid() && getuid())) +- root = CUPS_SERVERROOT; +- +- snprintf(passwdmd5, sizeof(passwdmd5), "%s/passwd.md5", root); +- snprintf(passwdold, sizeof(passwdold), "%s/passwd.old", root); +- snprintf(passwdnew, sizeof(passwdnew), "%s/passwd.new", root); ++ snprintf(passwdmd5, sizeof(passwdmd5), "%s/passwd.md5", cg->cups_serverroot); ++ snprintf(passwdold, sizeof(passwdold), "%s/passwd.old", cg->cups_serverroot); ++ snprintf(passwdnew, sizeof(passwdnew), "%s/passwd.new", cg->cups_serverroot); + + /* + * Find the default system group... --- cupsys-1.3.7.orig/debian/patches/ppd-poll-with-client-conf.dpatch +++ cupsys-1.3.7/debian/patches/ppd-poll-with-client-conf.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ppd-poll-with-client-conf.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: If an external server is used via client.conf and the DNS is +## DP: inconsistent (ex: DNS gives "noname" for many IPs, reverse DNS +## DP: gives one of these IPs for "noname") local PPDs can get polled +## DP: for print queues instead of the PPDs of the external server +## DP: (CUPS STR #2763, http://www.cups.org/str.php?L2763) + +@DPATCH@ +diff -urNad cupsys-1.3.6~/cups/util.c cupsys-1.3.6/cups/util.c +--- cupsys-1.3.6~/cups/util.c 2008-01-17 00:42:35.000000000 +0100 ++++ cupsys-1.3.6/cups/util.c 2008-03-20 17:44:46.000000000 +0100 +@@ -812,11 +812,13 @@ + http2 = http; + else if ((http2 = httpConnectEncrypt(hostname, port, + cupsEncryption())) == NULL) +- { +- DEBUG_puts("Unable to connect to server!"); ++ if ((http2 = httpConnectEncrypt(http_hostname, http_port, ++ cupsEncryption())) == NULL) ++ { ++ DEBUG_puts("Unable to connect to server!"); + +- return (NULL); +- } ++ return (NULL); ++ } + + /* + * Get a temp file... --- cupsys-1.3.7.orig/debian/patches/reactivate_recommended_driver.dpatch +++ cupsys-1.3.7/debian/patches/reactivate_recommended_driver.dpatch @@ -0,0 +1,34 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 70_reactivate_recommended_driver.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.3.0~rc2~/scheduler/cups-driverd.c cupsys-1.3.0~rc2/scheduler/cups-driverd.c +--- cupsys-1.3.0~rc2~/scheduler/cups-driverd.c 2007-07-11 22:46:42.000000000 +0100 ++++ cupsys-1.3.0~rc2/scheduler/cups-driverd.c 2007-08-01 15:23:01.000000000 +0100 +@@ -180,7 +180,6 @@ + int type) /* I - Driver type */ + { + ppd_info_t *ppd; /* PPD */ +- char *recommended; /* Foomatic driver string */ + + + /* +@@ -238,15 +237,6 @@ + strlcpy(ppd->record.device_id, device_id, sizeof(ppd->record.device_id)); + + /* +- * Strip confusing (and often wrong) "recommended" suffix added by +- * Foomatic drivers... +- */ +- +- if ((recommended = strstr(ppd->record.make_and_model, +- " (recommended)")) != NULL) +- *recommended = '\0'; +- +- /* + * Return the new PPD pointer... + */ + --- cupsys-1.3.7.orig/debian/patches/CVE-2009-3553.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2009-3553.dpatch @@ -0,0 +1,52 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix denial of service via use-after-free +# Origin: upstream, http://www.cups.org/strfiles/3200/str3200.patch +# Origin: other, addition fix provided by Tim Waugh and Vincent Danen +# Bug: http://www.cups.org/str.php?L3200 +# Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557740 + +@DPATCH@ +diff -urNad cupsys-1.3.7~/scheduler/select.c cupsys-1.3.7/scheduler/select.c +--- cupsys-1.3.7~/scheduler/select.c 2007-11-30 14:29:50.000000000 -0500 ++++ cupsys-1.3.7/scheduler/select.c 2010-02-25 11:00:30.000000000 -0500 +@@ -477,7 +477,8 @@ + (*(fdptr->read_cb))(fdptr->data); + } + +- if (fdptr->write_cb && event->filter == EVFILT_WRITE) ++ if (fdptr->use > 1 && fdptr->write_cb && event->filter == EVFILT_WRITE && ++ !cupsArrayFind(cupsd_inactive_fds, fdptr)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDoSelect: Write on fd %d...", + fdptr->fd); +@@ -537,7 +538,9 @@ + (*(fdptr->read_cb))(fdptr->data); + } + +- if (fdptr->write_cb && (event->events & (EPOLLOUT | EPOLLERR | EPOLLHUP))) ++ if (fdptr->use > 1 && fdptr->write_cb && ++ (event->events & (EPOLLOUT | EPOLLERR | EPOLLHUP)) && ++ !cupsArrayFind(cupsd_inactive_fds, fdptr)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDoSelect: Write on fd %d...", + fdptr->fd); +@@ -649,7 +652,8 @@ + (*(fdptr->read_cb))(fdptr->data); + } + +- if (fdptr->write_cb && (pfd->revents & (POLLOUT | POLLERR | POLLHUP))) ++ if (fdptr->use > 1 && fdptr->write_cb && ++ (pfd->revents & (POLLOUT | POLLERR | POLLHUP))) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDoSelect: Write on fd %d...", + fdptr->fd); +@@ -719,7 +723,8 @@ + (*(fdptr->read_cb))(fdptr->data); + } + +- if (fdptr->write_cb && FD_ISSET(fdptr->fd, &cupsd_current_output)) ++ if (fdptr->use > 1 && fdptr->write_cb && ++ FD_ISSET(fdptr->fd, &cupsd_current_output)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDoSelect: Write on fd %d...", + fdptr->fd); --- cupsys-1.3.7.orig/debian/patches/pdftops-wait-eintr.dpatch +++ cupsys-1.3.7/debian/patches/pdftops-wait-eintr.dpatch @@ -0,0 +1,41 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## pdftops-wait-eintr.dpatch by +## +## DP: Handle EINTR in pdftops' wait() call. +## DP: Forwarded upstream to http://www.cups.org/str.php?L2780. + +@DPATCH@ +diff -urNad trunk~/filter/pdftops.c trunk/filter/pdftops.c +--- trunk~/filter/pdftops.c 2008-04-02 02:54:45.000000000 +0200 ++++ trunk/filter/pdftops.c 2008-04-02 02:54:59.000000000 +0200 +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + + /* +@@ -62,6 +63,7 @@ + char *pdfargv[100], /* Arguments for pdftops */ + pdfwidth[255], /* Paper width */ + pdfheight[255]; /* Paper height */ ++ pid_t child; /* wait() result */ + #if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ + #endif /* HAVE_SIGACTION && !HAVE_SIGSET */ +@@ -260,8 +262,13 @@ + /* + * Parent comes here... + */ ++ ++ do ++ { ++ child = wait(&pdfstatus); ++ } while (child < 0 && errno == EINTR); + +- if (wait(&pdfstatus) != pdfpid) ++ if (child != pdfpid) + { + kill(pdfpid, SIGTERM); + pdfstatus = 1; --- cupsys-1.3.7.orig/debian/patches/fix-lpstat.dpatch +++ cupsys-1.3.7/debian/patches/fix-lpstat.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-lpstat.dpatch by Evan Broder +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a bug in CUPS 1.3's lpstat talking to 1.4 servers. +## + +@DPATCH@ +diff -urNad cupsys-1.3.7~/systemv/lpstat.c cupsys-1.3.7/systemv/lpstat.c +--- cupsys-1.3.7~/systemv/lpstat.c 2007-07-11 17:46:42.000000000 -0400 ++++ cupsys-1.3.7/systemv/lpstat.c 2009-12-16 15:12:09.000000000 -0500 +@@ -1433,11 +1433,15 @@ + * attributes-charset + * attributes-natural-language + * job-uri ++ * printer-uri + * requested-attributes + */ + + request = ippNewRequest(IPP_GET_JOBS); + ++ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", ++ NULL, "ipp://localhost/"); ++ + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(jattrs) / sizeof(jattrs[0]), + NULL, jattrs); --- cupsys-1.3.7.orig/debian/patches/CVE-2009-0163.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2009-0163.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2009-0163.dpatch by Jamie Strandboge +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Upstream: STR #3031 +## DP: Description: fix integer overflow via large TIFF file (CVE-2009-0163) + +@DPATCH@ +diff -urNad cupsys-1.3.7~/filter/image-private.h cupsys-1.3.7/filter/image-private.h +--- cupsys-1.3.7~/filter/image-private.h 2007-07-11 16:46:42.000000000 -0500 ++++ cupsys-1.3.7/filter/image-private.h 2009-04-15 09:18:43.000000000 -0500 +@@ -41,8 +41,8 @@ + + # define CUPS_IMAGE_MAX_WIDTH 0x07ffffff + /* 2^27-1 to allow for 15-channel data */ +-# define CUPS_IMAGE_MAX_HEIGHT 0x7fffffff +- /* 2^31-1 */ ++# define CUPS_IMAGE_MAX_HEIGHT 0x3fffffff ++ /* 2^30-1 */ + + # define CUPS_TILE_SIZE 256 /* 256x256 pixel tiles */ + # define CUPS_TILE_MINIMUM 10 /* Minimum number of tiles */ --- cupsys-1.3.7.orig/debian/patches/CVE-2008-1722.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2008-1722.dpatch @@ -0,0 +1,81 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2008-1722.dpatch by Nico Golde +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: http://www.cups.org/str.php?L2790 +## DP: +## DP: Revised by Marc Deslauriers as per +## DP: upstream bug http://www.cups.org/str.php?L2974 + +@DPATCH@ +diff -urNad cupsys-1.3.7~/filter/image-png.c cupsys-1.3.7/filter/image-png.c +--- cupsys-1.3.7~/filter/image-png.c 2007-07-11 23:46:42.000000000 +0200 ++++ cupsys-1.3.7/filter/image-png.c 2008-04-21 13:20:12.000000000 +0200 +@@ -3,7 +3,7 @@ + * + * PNG image routines for the Common UNIX Printing System (CUPS). + * +- * Copyright 2007 by Apple Inc. ++ * Copyright 2007-2008 by Apple Inc. + * Copyright 1993-2007 by Easy Software Products. + * + * These coded instructions, statements, and computer programs are the +@@ -170,16 +170,56 @@ + * Interlaced images must be loaded all at once... + */ + ++ size_t bufsize; /* Size of buffer */ ++ ++ + if (color_type == PNG_COLOR_TYPE_GRAY || + color_type == PNG_COLOR_TYPE_GRAY_ALPHA) +- in = malloc(img->xsize * img->ysize); ++ { ++ bufsize = img->xsize * img->ysize; ++ ++ if ((bufsize / img->xsize) != img->ysize) ++ { ++ fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n", ++ (unsigned)width, (unsigned)height); ++ fclose(fp); ++ return (1); ++ } ++ } + else +- in = malloc(img->xsize * img->ysize * 3); ++ { ++ bufsize = img->xsize * img->ysize * 3; ++ ++ if ((bufsize / (img->xsize * 3)) != img->ysize) ++ { ++ fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n", ++ (unsigned)width, (unsigned)height); ++ fclose(fp); ++ return (1); ++ } ++ } ++ ++ in = malloc(bufsize); + } + + bpp = cupsImageGetDepth(img); + out = malloc(img->xsize * bpp); + ++ if (!in || !out) ++ { ++ fputs("DEBUG: Unable to allocate memory for PNG image!\n", stderr); ++ ++ if (in) ++ free(in); ++ ++ if (out) ++ free(out); ++ ++ fclose(fp); ++ ++ return (1); ++ } ++ + /* + * Read the image, interlacing as needed... + */ --- cupsys-1.3.7.orig/debian/patches/CVE-2008-5183.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2008-5183.dpatch @@ -0,0 +1,180 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2008-5183.dpatch by Marc Deslauriers +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix denial of service caused by adding a large number of RSS subscriptions +## DP: Ubuntu: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/298241 +## DP: Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506180 +## DP: Patch: https://bugzilla.redhat.com/attachment.cgi?id=325223 + +@DPATCH@ +diff -urNad cupsys-1.3.7~/scheduler/ipp.c cupsys-1.3.7/scheduler/ipp.c +--- cupsys-1.3.7~/scheduler/ipp.c 2008-03-24 18:34:44.000000000 -0400 ++++ cupsys-1.3.7/scheduler/ipp.c 2009-01-08 08:49:44.000000000 -0500 +@@ -2027,24 +2027,25 @@ + if (mask == CUPSD_EVENT_NONE) + mask = CUPSD_EVENT_JOB_COMPLETED; + +- sub = cupsdAddSubscription(mask, cupsdFindDest(job->dest), job, recipient, +- 0); ++ if ((sub = cupsdAddSubscription(mask, cupsdFindDest(job->dest), job, ++ recipient, 0)) != NULL) ++ { ++ sub->interval = interval; + +- sub->interval = interval; ++ cupsdSetString(&sub->owner, job->username); + +- cupsdSetString(&sub->owner, job->username); ++ if (user_data) ++ { ++ sub->user_data_len = user_data->values[0].unknown.length; ++ memcpy(sub->user_data, user_data->values[0].unknown.data, ++ sub->user_data_len); ++ } + +- if (user_data) +- { +- sub->user_data_len = user_data->values[0].unknown.length; +- memcpy(sub->user_data, user_data->values[0].unknown.data, +- sub->user_data_len); ++ ippAddSeparator(con->response); ++ ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, ++ "notify-subscription-id", sub->id); + } + +- ippAddSeparator(con->response); +- ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, +- "notify-subscription-id", sub->id); +- + if (attr) + attr = attr->next; + } +@@ -5417,7 +5418,12 @@ + else + job = NULL; + +- sub = cupsdAddSubscription(mask, printer, job, recipient, 0); ++ if ((sub = cupsdAddSubscription(mask, printer, job, recipient, 0)) == NULL) ++ { ++ send_ipp_status(con, IPP_TOO_MANY_SUBSCRIPTIONS, ++ _("There are too many subscriptions.")); ++ return; ++ } + + if (job) + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added subscription %d for job %d", +diff -urNad cupsys-1.3.7~/scheduler/subscriptions.c cupsys-1.3.7/scheduler/subscriptions.c +--- cupsys-1.3.7~/scheduler/subscriptions.c 2008-01-23 17:23:42.000000000 -0500 ++++ cupsys-1.3.7/scheduler/subscriptions.c 2009-01-08 08:49:44.000000000 -0500 +@@ -341,8 +341,54 @@ + * Limit the number of subscriptions... + */ + +- if (cupsArrayCount(Subscriptions) >= MaxSubscriptions) ++ if (MaxSubscriptions > 0 && cupsArrayCount(Subscriptions) >= MaxSubscriptions) ++ { ++ cupsdLogMessage(CUPSD_LOG_DEBUG, ++ "cupsdAddSubscription: Reached MaxSubscriptions %d", ++ MaxSubscriptions); + return (NULL); ++ } ++ ++ if (MaxSubscriptionsPerJob > 0 && job) ++ { ++ int count; /* Number of job subscriptions */ ++ ++ for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), ++ count = 0; ++ temp; ++ temp = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) ++ if (temp->job == job) ++ count ++; ++ ++ if (count >= MaxSubscriptionsPerJob) ++ { ++ cupsdLogMessage(CUPSD_LOG_DEBUG, ++ "cupsdAddSubscription: Reached MaxSubscriptionsPerJob %d " ++ "for job #%d", MaxSubscriptionsPerJob, job->id); ++ return (NULL); ++ } ++ } ++ ++ if (MaxSubscriptionsPerPrinter > 0 && dest) ++ { ++ int count; /* Number of printer subscriptions */ ++ ++ for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), ++ count = 0; ++ temp; ++ temp = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) ++ if (temp->dest == dest) ++ count ++; ++ ++ if (count >= MaxSubscriptionsPerPrinter) ++ { ++ cupsdLogMessage(CUPSD_LOG_DEBUG, ++ "cupsdAddSubscription: Reached " ++ "MaxSubscriptionsPerPrinter %d for %s", ++ MaxSubscriptionsPerPrinter, dest->name); ++ return (NULL); ++ } ++ } + + /* + * Allocate memory for this subscription... +@@ -758,7 +804,6 @@ + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); +- break; + } + else if (!strcasecmp(line, "Events")) + { +diff -urNad cupsys-1.3.7~/test/4.4-subscription-ops.test cupsys-1.3.7/test/4.4-subscription-ops.test +--- cupsys-1.3.7~/test/4.4-subscription-ops.test 2007-07-09 16:34:48.000000000 -0400 ++++ cupsys-1.3.7/test/4.4-subscription-ops.test 2009-01-08 08:49:44.000000000 -0500 +@@ -116,6 +116,32 @@ + EXPECT notify-events + DISPLAY notify-events + } ++{ ++ # The name of the test... ++ NAME "Check MaxSubscriptions limits" ++ ++ # The operation to use ++ OPERATION Create-Printer-Subscription ++ RESOURCE / ++ ++ # The attributes to send ++ GROUP operation ++ ATTR charset attributes-charset utf-8 ++ ATTR language attributes-natural-language en ++ ATTR uri printer-uri $method://$hostname:$port/printers/Test1 ++ ++ GROUP subscription ++ ATTR uri notify-recipient-uri testnotify:// ++ ATTR keyword notify-events printer-state-changed ++ ATTR integer notify-lease-duration 5 ++ ++ # What statuses are OK? ++ STATUS client-error-too-many-subscriptions ++ ++ # What attributes do we expect? ++ EXPECT attributes-charset ++ EXPECT attributes-natural-language ++} + + # + # End of "$Id: 4.4-subscription-ops.test 6635 2007-07-09 20:34:48Z mike $" +diff -urNad cupsys-1.3.7~/test/run-stp-tests.sh cupsys-1.3.7/test/run-stp-tests.sh +--- cupsys-1.3.7~/test/run-stp-tests.sh 2009-01-08 08:49:16.000000000 -0500 ++++ cupsys-1.3.7/test/run-stp-tests.sh 2009-01-08 08:49:44.000000000 -0500 +@@ -304,6 +304,7 @@ + RequestRoot /tmp/cups-$user/spool + TempDir /tmp/cups-$user/spool/temp + PidFile /tmp/cups-$user/cupsd.pid ++MaxSubscriptions 3 + MaxLogSize 0 + AccessLog /tmp/cups-$user/log/access_log + ErrorLog /tmp/cups-$user/log/error_log --- cupsys-1.3.7.orig/debian/patches/CVE-2008-3641_hpgl_filter_overflow.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2008-3641_hpgl_filter_overflow.dpatch @@ -0,0 +1,144 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2008-3641_hpgl_filter_overflow.dpatch by Jamie Strandboge +## +## DP: Upstream: STR #2911, STR #2966 +## DP: fix buffer overflow in HPGL filter. Also fix regression introduced in +## DP: upstream fix for STR #2911 (CVE-2008-3641) + +@DPATCH@ +diff -urNad cupsys-1.3.7~/filter/hpgl-attr.c cupsys-1.3.7/filter/hpgl-attr.c +--- cupsys-1.3.7~/filter/hpgl-attr.c 2007-07-11 16:46:42.000000000 -0500 ++++ cupsys-1.3.7/filter/hpgl-attr.c 2008-10-14 13:16:50.000000000 -0500 +@@ -197,14 +197,24 @@ + + if (num_params == 0) + PenCount = 8; +- else if (num_params == 1 && params[0].value.number <= 1024) +- PenCount = (int)params[0].value.number; ++ else if (num_params == 1) ++ { ++ if (params[0].value.number < 1 || params[0].value.number > MAX_PENS) ++ { ++ fprintf(stderr, ++ "DEBUG: HP-GL/2 \'NP\' command with invalid number of " ++ "pens (%d)!\n", (int)params[0].value.number); ++ PenCount = 8; ++ } ++ else ++ PenCount = (int)params[0].value.number; ++ } + else + fprintf(stderr, + "DEBUG: HP-GL/2 \'NP\' command with invalid number of " + "parameters (%d)!\n", num_params); + +- for (i = 0; i <= PenCount; i ++) ++ for (i = 0; i < PenCount; i ++) + Pens[i].width = PenWidth; + + PC_pen_color(0, NULL); +@@ -235,7 +245,7 @@ + + if (num_params == 0) + { +- for (i = 0; i <= PenCount; i ++) ++ for (i = 0; i < PenCount; i ++) + if (i < 8) + { + Pens[i].rgb[0] = standard_colors[i][0]; +@@ -256,7 +266,14 @@ + } + else if (num_params == 1 || num_params == 4) + { +- i = (int)params[0].value.number; ++ i = (int)params[0].value.number - 1; ++ ++ if (i < 0 || i >= PenCount) ++ { ++ fprintf(stderr, ++ "DEBUG: HP-GL/2 \'PC\' command with invalid pen (%d)!\n", i + 1); ++ return; ++ } + + if (num_params == 1) + { +@@ -330,7 +347,15 @@ + + if (num_params == 2) + { +- pen = (int)params[1].value.number; ++ pen = (int)params[1].value.number - 1; ++ ++ if (pen < 0 || pen >= PenCount) ++ { ++ fprintf(stderr, ++ "DEBUG: HP-GL/2 \'PW\' command with invalid pen (%d)!\n", ++ pen + 1); ++ return; ++ } + + Pens[pen].width = w; + +@@ -345,7 +370,7 @@ + * Set width for all pens... + */ + +- for (pen = 0; pen <= PenCount; pen ++) ++ for (pen = 0; pen < PenCount; pen ++) + Pens[pen].width = w; + + if (PageDirty) +@@ -399,14 +424,16 @@ + param_t *params) /* I - Parameters */ + { + if (num_params == 0) +- PenNumber = 1; +- else if (params[0].value.number <= PenCount) +- PenNumber = (int)params[0].value.number; +- else ++ PenNumber = 0; ++ else if (num_params > 1) + fprintf(stderr, +- "DEBUG: HP-GL/2 \'SP\' command with invalid number or value " +- "of parameters (%d, %d)!\n", num_params, ++ "DEBUG: HP-GL/2 \'SP\' command with invalid number of parameters " ++ "(%d)!\n", num_params); ++ else if (params[0].value.number <= 0 || params[0].value.number >= PenCount) ++ fprintf(stderr, "DEBUG: HP-GL/2 \'SP\' command with invalid pen (%d)!\n", + (int)params[0].value.number); ++ else ++ PenNumber = (int)params[0].value.number; + + if (PageDirty) + printf("%.3f %.3f %.3f %.2f SP\n", Pens[PenNumber].rgb[0], +diff -urNad cupsys-1.3.7~/filter/hpgltops.h cupsys-1.3.7/filter/hpgltops.h +--- cupsys-1.3.7~/filter/hpgltops.h 2007-07-11 16:46:42.000000000 -0500 ++++ cupsys-1.3.7/filter/hpgltops.h 2008-10-14 13:16:41.000000000 -0500 +@@ -26,6 +26,14 @@ + # define M_PI 3.14159265358979323846 + #endif /* M_PI */ + ++ ++/* ++ * Maximum number of pens we emulate... ++ */ ++ ++#define MAX_PENS 1024 ++ ++ + /* + * Parameter value structure... + */ +@@ -108,10 +116,10 @@ + /* Current pen position */ + PenScaling VALUE(1.0f), /* Pen width scaling factor */ + PenWidth VALUE(1.0f); /* Default pen width */ +-VAR pen_t Pens[1024]; /* State of each pen */ ++VAR pen_t Pens[MAX_PENS]; /* State of each pen */ + VAR int PenMotion VALUE(0), /* 0 = absolute, 1 = relative */ + PenValid VALUE(0), /* 1 = valid position, 0 = undefined */ +- PenNumber VALUE(1), /* Current pen number */ ++ PenNumber VALUE(0), /* Current pen number */ + PenCount VALUE(8), /* Number of pens */ + PenDown VALUE(0), /* 0 = pen up, 1 = pen down */ + PolygonMode VALUE(0), /* Drawing polygons? */ --- cupsys-1.3.7.orig/debian/patches/device_uri.dpatch +++ cupsys-1.3.7/debian/patches/device_uri.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 60_device_uri.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.2.1~/cgi-bin/admin.c cupsys-1.2.1/cgi-bin/admin.c +--- cupsys-1.2.1~/cgi-bin/admin.c 2006-07-19 04:25:44.000000000 +0000 ++++ cupsys-1.2.1/cgi-bin/admin.c 2006-07-19 04:27:50.000000000 +0000 +@@ -691,7 +691,7 @@ + * Set the current device URI for the form to the old one... + */ + +- if (strncmp(attr->values[0].string.text, var, strlen(var)) == 0) ++ /* if (strncmp(attr->values[0].string.text, var, strlen(var)) == 0) */ + cgiSetVariable("DEVICE_URI", attr->values[0].string.text); + } + --- cupsys-1.3.7.orig/debian/patches/CVE-2009-2820.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2009-2820.dpatch @@ -0,0 +1,450 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2009-2820.dpatch by Marc Deslauriers +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Description: fix XSS and CRLF injection in headers +## DP: Patch: thanks to Aaron Sigel + +@DPATCH@ +diff -urNad cupsys-1.3.7~/cgi-bin/admin.c cupsys-1.3.7/cgi-bin/admin.c +--- cupsys-1.3.7~/cgi-bin/admin.c 2009-10-30 21:37:39.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/admin.c 2009-10-30 21:38:08.000000000 -0400 +@@ -104,6 +104,7 @@ + */ + + cgiSetVariable("SECTION", "admin"); ++ cgiSetVariable("REFRESH_PAGE", ""); + + /* + * See if we have form data... +@@ -134,16 +135,61 @@ + + + if (getenv("HTTPS")) +- snprintf(prefix, sizeof(prefix), "https://%s:%s", +- getenv("SERVER_NAME"), getenv("SERVER_PORT")); ++ snprintf(prefix, sizeof(prefix), "https://%s:%s", ++ getenv("SERVER_NAME"), getenv("SERVER_PORT")); + else +- snprintf(prefix, sizeof(prefix), "http://%s:%s", +- getenv("SERVER_NAME"), getenv("SERVER_PORT")); ++ snprintf(prefix, sizeof(prefix), "http://%s:%s", ++ getenv("SERVER_NAME"), getenv("SERVER_PORT")); ++ ++ fprintf(stderr, "DEBUG: redirecting with prefix %s!\n", prefix); + + if ((url = cgiGetVariable("URL")) != NULL) +- printf("Location: %s%s\n\n", prefix, url); ++ { ++ char encoded[1024], /* Encoded URL string */ ++ *ptr; /* Pointer into encoded string */ ++ ++ ++ ptr = encoded; ++ if (*url != '/') ++ *ptr++ = '/'; ++ ++ for (; *url && ptr < (encoded + sizeof(encoded) - 4); url ++) ++ { ++ if (strchr("%@&+ <>#=", *url) || *url < ' ' || *url & 128) ++ { ++ /* ++ * Percent-encode this character; safe because we have at least 4 ++ * bytes left in the array... ++ */ ++ ++ sprintf(ptr, "%%%02X", *url & 255); ++ ptr += 3; ++ } ++ else ++ *ptr++ = *url; ++ } ++ ++ *ptr = '\0'; ++ ++ if (*url) ++ { ++ /* ++ * URL was too long, just redirect to the admin page... ++ */ ++ ++ printf("Location: %s/admin\n\n", prefix); ++ } ++ else ++ { ++ /* ++ * URL is OK, redirect there... ++ */ ++ ++ printf("Location: %s%s\n\n", prefix, encoded); ++ } ++ } + else +- printf("Location: %s/admin\n\n", prefix); ++ printf("Location: %s/admin\n\n", prefix); + } + else if (!strcmp(op, "start-printer")) + do_printer_op(http, IPP_RESUME_PRINTER, cgiText(_("Start Printer"))); +@@ -293,6 +339,31 @@ + * and classes and (re)show the add page... + */ + ++ if (cgiGetVariable("EVENT_JOB_CREATED")) ++ cgiSetVariable("EVENT_JOB_CREATED", "CHECKED"); ++ if (cgiGetVariable("EVENT_JOB_COMPLETED")) ++ cgiSetVariable("EVENT_JOB_COMPLETED", "CHECKED"); ++ if (cgiGetVariable("EVENT_JOB_STOPPED")) ++ cgiSetVariable("EVENT_JOB_STOPPED", "CHECKED"); ++ if (cgiGetVariable("EVENT_JOB_CONFIG_CHANGED")) ++ cgiSetVariable("EVENT_JOB_CONFIG_CHANGED", "CHECKED"); ++ if (cgiGetVariable("EVENT_PRINTER_STOPPED")) ++ cgiSetVariable("EVENT_PRINTER_STOPPED", "CHECKED"); ++ if (cgiGetVariable("EVENT_PRINTER_ADDED")) ++ cgiSetVariable("EVENT_PRINTER_ADDED", "CHECKED"); ++ if (cgiGetVariable("EVENT_PRINTER_MODIFIED")) ++ cgiSetVariable("EVENT_PRINTER_MODIFIED", "CHECKED"); ++ if (cgiGetVariable("EVENT_PRINTER_DELETED")) ++ cgiSetVariable("EVENT_PRINTER_DELETED", "CHECKED"); ++ if (cgiGetVariable("EVENT_SERVER_STARTED")) ++ cgiSetVariable("EVENT_SERVER_STARTED", "CHECKED"); ++ if (cgiGetVariable("EVENT_SERVER_STOPPED")) ++ cgiSetVariable("EVENT_SERVER_STOPPED", "CHECKED"); ++ if (cgiGetVariable("EVENT_SERVER_RESTARTED")) ++ cgiSetVariable("EVENT_SERVER_RESTARTED", "CHECKED"); ++ if (cgiGetVariable("EVENT_SERVER_AUDIT")) ++ cgiSetVariable("EVENT_SERVER_AUDIT", "CHECKED"); ++ + request = ippNewRequest(CUPS_GET_PRINTERS); + response = cupsDoRequest(http, request, "/"); + +@@ -415,6 +486,7 @@ + ipp_attribute_t *attr; /* member-uris attribute */ + char uri[HTTP_MAX_URI]; /* Device or printer URI */ + const char *name, /* Pointer to class name */ ++ *op, /* Operation name */ + *ptr; /* Pointer to CGI variable */ + const char *title; /* Title of page */ + static const char * const pattrs[] = /* Requested printer attributes */ +@@ -426,6 +498,7 @@ + + + title = cgiText(modify ? _("Modify Class") : _("Add Class")); ++ op = cgiGetVariable("OP"); + name = cgiGetVariable("PRINTER_NAME"); + + if (cgiGetVariable("PRINTER_LOCATION") == NULL) +@@ -444,6 +517,12 @@ + * Do the request and get back a response... + */ + ++ cgiClearVariables(); ++ if (op) ++ cgiSetVariable("OP", op); ++ if (name) ++ cgiSetVariable("PRINTER_NAME", name); ++ + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* +@@ -2330,7 +2409,9 @@ + if ((val = cupsGetOption("DefaultAuthType", num_settings, + settings)) != NULL && !strcasecmp(val, "Negotiate")) + cgiSetVariable("KERBEROS", "CHECKED"); ++ else + #endif /* HAVE_GSSAPI */ ++ cgiSetVariable("KERBEROS", ""); + + cupsFreeOptions(num_settings, settings); + +diff -urNad cupsys-1.3.7~/cgi-bin/cgi.h cupsys-1.3.7/cgi-bin/cgi.h +--- cupsys-1.3.7~/cgi-bin/cgi.h 2007-07-11 17:46:42.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/cgi.h 2009-10-30 21:37:57.000000000 -0400 +@@ -54,6 +54,7 @@ + extern void cgiAbort(const char *title, const char *stylesheet, + const char *format, ...); + extern int cgiCheckVariables(const char *names); ++extern void cgiClearVariables(void); + extern void *cgiCompileSearch(const char *query); + extern void cgiCopyTemplateFile(FILE *out, const char *tmpl); + extern void cgiCopyTemplateLang(const char *tmpl); +diff -urNad cupsys-1.3.7~/cgi-bin/classes.c cupsys-1.3.7/cgi-bin/classes.c +--- cupsys-1.3.7~/cgi-bin/classes.c 2007-07-11 17:46:42.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/classes.c 2009-10-30 21:37:57.000000000 -0400 +@@ -69,6 +69,7 @@ + */ + + cgiSetVariable("SECTION", "classes"); ++ cgiSetVariable("REFRESH_PAGE", ""); + + /* + * See if we are displaying a printer or all classes... +diff -urNad cupsys-1.3.7~/cgi-bin/help.c cupsys-1.3.7/cgi-bin/help.c +--- cupsys-1.3.7~/cgi-bin/help.c 2007-08-22 18:26:39.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/help.c 2009-10-30 21:37:57.000000000 -0400 +@@ -63,6 +63,7 @@ + */ + + cgiSetVariable("SECTION", "help"); ++ cgiSetVariable("REFRESH_PAGE", ""); + + /* + * Load the help index... +@@ -102,7 +103,7 @@ + */ + + for (i = 0; i < argc; i ++) +- fprintf(stderr, "argv[%d]=\"%s\"\n", i, argv[i]); ++ fprintf(stderr, "DEBUG: argv[%d]=\"%s\"\n", i, argv[i]); + + if ((helpfile = getenv("PATH_INFO")) != NULL) + { +@@ -179,6 +180,12 @@ + topic = cgiGetVariable("TOPIC"); + si = helpSearchIndex(hi, query, topic, helpfile); + ++ cgiClearVariables(); ++ if (query) ++ cgiSetVariable("QUERY", query); ++ if (topic) ++ cgiSetVariable("TOPIC", topic); ++ + fprintf(stderr, "DEBUG: query=\"%s\", topic=\"%s\"\n", + query ? query : "(null)", topic ? topic : "(null)"); + +diff -urNad cupsys-1.3.7~/cgi-bin/ipp-var.c cupsys-1.3.7/cgi-bin/ipp-var.c +--- cupsys-1.3.7~/cgi-bin/ipp-var.c 2008-01-28 18:10:10.000000000 -0500 ++++ cupsys-1.3.7/cgi-bin/ipp-var.c 2009-10-30 21:37:57.000000000 -0400 +@@ -1212,7 +1212,9 @@ + int ascending, /* Order of jobs (0 = descending) */ + first, /* First job to show */ + count; /* Number of jobs */ +- const char *var; /* Form variable */ ++ const char *var, /* Form variable */ ++ *query, /* Query string */ ++ *section; /* Section in web interface */ + void *search; /* Search data */ + char url[1024], /* URL for prev/next/this */ + *urlptr, /* Position in URL */ +@@ -1257,10 +1259,13 @@ + * Get a list of matching job objects. + */ + +- if ((var = cgiGetVariable("QUERY")) != NULL) +- search = cgiCompileSearch(var); ++ if ((query = cgiGetVariable("QUERY")) != NULL) ++ search = cgiCompileSearch(query); + else ++ { ++ query = NULL; + search = NULL; ++ } + + jobs = cgiGetIPPObjects(response, search); + count = cupsArrayCount(jobs); +@@ -1285,16 +1290,27 @@ + if (first < 0) + first = 0; + +- sprintf(url, "%d", count); +- cgiSetVariable("TOTAL", url); +- + if ((var = cgiGetVariable("ORDER")) != NULL) + ascending = !strcasecmp(var, "asc"); + else +- { + ascending = !which_jobs || !strcasecmp(which_jobs, "not-completed"); +- cgiSetVariable("ORDER", ascending ? "asc" : "dec"); +- } ++ ++ section = cgiGetVariable("SECTION"); ++ ++ cgiClearVariables(); ++ ++ if (query) ++ cgiSetVariable("QUERY", query); ++ ++ cgiSetVariable("ORDER", ascending ? "asc" : "dec"); ++ ++ cgiSetVariable("SECTION", section); ++ ++ sprintf(url, "%d", count); ++ cgiSetVariable("TOTAL", url); ++ ++ if (which_jobs) ++ cgiSetVariable("WHICH_JOBS", which_jobs); + + if (ascending) + { +@@ -1317,11 +1333,10 @@ + + urlend = url + sizeof(url); + +- if ((var = cgiGetVariable("QUERY")) != NULL) ++ if (query != NULL) + { + if (dest) +- snprintf(url, sizeof(url), "/%s/%s?QUERY=", cgiGetVariable("SECTION"), +- dest); ++ snprintf(url, sizeof(url), "/%s/%s?QUERY=", section, dest); + else + strlcpy(url, "/jobs/?QUERY=", sizeof(url)); + +@@ -1336,7 +1351,7 @@ + else + { + if (dest) +- snprintf(url, sizeof(url), "/%s/%s?", cgiGetVariable("SECTION"), dest); ++ snprintf(url, sizeof(url), "/%s/%s?", section, dest); + else + strlcpy(url, "/jobs/?", sizeof(url)); + +diff -urNad cupsys-1.3.7~/cgi-bin/jobs.c cupsys-1.3.7/cgi-bin/jobs.c +--- cupsys-1.3.7~/cgi-bin/jobs.c 2008-01-21 20:41:31.000000000 -0500 ++++ cupsys-1.3.7/cgi-bin/jobs.c 2009-10-30 21:37:57.000000000 -0400 +@@ -57,6 +57,7 @@ + */ + + cgiSetVariable("SECTION", "jobs"); ++ cgiSetVariable("REFRESH_PAGE", ""); + + /* + * Connect to the HTTP server... +diff -urNad cupsys-1.3.7~/cgi-bin/printers.c cupsys-1.3.7/cgi-bin/printers.c +--- cupsys-1.3.7~/cgi-bin/printers.c 2008-01-21 20:41:31.000000000 -0500 ++++ cupsys-1.3.7/cgi-bin/printers.c 2009-10-30 21:37:57.000000000 -0400 +@@ -72,6 +72,7 @@ + */ + + cgiSetVariable("SECTION", "printers"); ++ cgiSetVariable("REFRESH_PAGE", ""); + + /* + * See if we are displaying a printer or all printers... +diff -urNad cupsys-1.3.7~/cgi-bin/template.c cupsys-1.3.7/cgi-bin/template.c +--- cupsys-1.3.7~/cgi-bin/template.c 2008-01-14 17:12:58.000000000 -0500 ++++ cupsys-1.3.7/cgi-bin/template.c 2009-10-30 21:37:57.000000000 -0400 +@@ -639,6 +639,8 @@ + fputs(">", out); + else if (*s == '\"') + fputs(""", out); ++ else if (*s == '\'') ++ fputs("'", out); + else if (*s == '&') + fputs("&", out); + else +@@ -659,7 +661,7 @@ + { + while (*s) + { +- if (strchr("%&+ <>#=", *s) || *s & 128) ++ if (strchr("%@&+ <>#=", *s) || *s < ' ' || *s & 128) + fprintf(out, "%%%02X", *s & 255); + else + putc(*s, out); +diff -urNad cupsys-1.3.7~/cgi-bin/var.c cupsys-1.3.7/cgi-bin/var.c +--- cupsys-1.3.7~/cgi-bin/var.c 2008-01-16 17:20:33.000000000 -0500 ++++ cupsys-1.3.7/cgi-bin/var.c 2009-10-30 21:37:57.000000000 -0400 +@@ -15,6 +15,7 @@ + * Contents: + * + * cgiCheckVariables() - Check for the presence of "required" variables. ++ * cgiClearVariables() - Clear all form variables. + * cgiGetArray() - Get an element from a form array... + * cgiGetFile() - Get the file (if any) that was submitted in the form. + * cgiGetSize() - Get the size of a form array value. +@@ -135,6 +136,31 @@ + + + /* ++ * 'cgiClearVariables()' - Clear all form variables. ++ */ ++ ++void ++cgiClearVariables(void) ++{ ++ int i, j; /* Looping vars */ ++ _cgi_var_t *v; /* Current variable */ ++ ++ ++ for (v = form_vars, i = form_count; i > 0; v ++, i --) ++ { ++ _cupsStrFree(v->name); ++ for (j = 0; j < v->nvalues; j ++) ++ if (v->values[j]) ++ _cupsStrFree(v->values[j]); ++ } ++ ++ form_count = 0; ++ ++ cgi_unlink_file(); ++} ++ ++ ++/* + * 'cgiGetArray()' - Get an element from a form array... + */ + +@@ -154,7 +180,7 @@ + if (element < 0 || element >= var->nvalues) + return (NULL); + +- return (var->values[element]); ++ return (_cupsStrAlloc(var->values[element])); + } + + +@@ -209,7 +235,7 @@ + var->values[var->nvalues - 1]); + #endif /* DEBUG */ + +- return ((var == NULL) ? NULL : var->values[var->nvalues - 1]); ++ return ((var == NULL) ? NULL : _cupsStrAlloc(var->values[var->nvalues - 1])); + } + + +@@ -341,9 +367,9 @@ + var->nvalues = element + 1; + } + else if (var->values[element]) +- free((char *)var->values[element]); ++ _cupsStrFree((char *)var->values[element]); + +- var->values[element] = strdup(value); ++ var->values[element] = _cupsStrAlloc(value); + } + } + +@@ -388,7 +414,7 @@ + { + for (i = size; i < var->nvalues; i ++) + if (var->values[i]) +- free((void *)(var->values[i])); ++ _cupsStrFree((void *)(var->values[i])); + } + + var->nvalues = size; +@@ -421,9 +447,9 @@ + { + for (i = 0; i < var->nvalues; i ++) + if (var->values[i]) +- free((char *)var->values[i]); ++ _cupsStrFree((char *)var->values[i]); + +- var->values[0] = strdup(value); ++ var->values[0] = _cupsStrAlloc(value); + var->nvalues = 1; + } + } +@@ -470,10 +496,10 @@ + if ((var->values = calloc(element + 1, sizeof(char *))) == NULL) + return; + +- var->name = strdup(name); ++ var->name = _cupsStrAlloc(name); + var->nvalues = element + 1; + var->avalues = element + 1; +- var->values[element] = strdup(value); ++ var->values[element] = _cupsStrAlloc(value); + + form_count ++; + } --- cupsys-1.3.7.orig/debian/patches/cupsaccept.dpatch +++ cupsys-1.3.7/debian/patches/cupsaccept.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 19_cupsaccept.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys-1.1.99.b1.r4748~/systemv/accept.c cupsys-1.1.99.b1.r4748/systemv/accept.c +--- cupsys-1.1.99.b1.r4748~/systemv/accept.c 2005-02-18 02:18:11.000000000 +0000 ++++ cupsys-1.1.99.b1.r4748/systemv/accept.c 2005-10-05 12:14:39.401595086 +0000 +@@ -67,6 +67,9 @@ + else + command = argv[0]; + ++ if (strncmp(command, "cups", 4) == 0) ++ command += 4; ++ + cancel = 0; + + if (strcmp(command, "accept") == 0) --- cupsys-1.3.7.orig/debian/patches/default_log_warn.dpatch +++ cupsys-1.3.7/debian/patches/default_log_warn.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_default_log_warn.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cupsys~/conf/cupsd.conf.in cupsys/conf/cupsd.conf.in +--- cupsys~/conf/cupsd.conf.in 2006-04-12 16:32:11.000000000 +0200 ++++ cupsys/conf/cupsd.conf.in 2006-04-12 17:04:58.000000000 +0200 +@@ -8,7 +8,7 @@ + + # Log general information in error_log - change "info" to "debug" for + # troubleshooting... +-LogLevel info ++LogLevel warning + + # Administrator user group... + SystemGroup @CUPS_SYSTEM_GROUPS@ --- cupsys-1.3.7.orig/debian/patches/CVE-2008-3640_texttops_overflow.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2008-3640_texttops_overflow.dpatch @@ -0,0 +1,90 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2008-3640_texttops_overflow.dpatch by Jamie Strandboge +## +## DP: Upstream: STR #2919 +## DP: fix integer overflow in texttops filter (CVE-2008-3640) + +@DPATCH@ +diff -urNad cupsys-1.3.7~/filter/textcommon.c cupsys-1.3.7/filter/textcommon.c +--- cupsys-1.3.7~/filter/textcommon.c 2007-07-11 16:46:42.000000000 -0500 ++++ cupsys-1.3.7/filter/textcommon.c 2008-10-14 13:16:19.000000000 -0500 +@@ -3,7 +3,7 @@ + * + * Common text filter routines for the Common UNIX Printing System (CUPS). + * +- * Copyright 2007 by Apple Inc. ++ * Copyright 2007-2008 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * These coded instructions, statements, and computer programs are the +@@ -605,14 +605,38 @@ + !strcasecmp(val, "yes"); + + if ((val = cupsGetOption("columns", num_options, options)) != NULL) ++ { + PageColumns = atoi(val); + ++ if (PageColumns < 1) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Bad columns value %d!\n"), PageColumns); ++ return (1); ++ } ++ } ++ + if ((val = cupsGetOption("cpi", num_options, options)) != NULL) ++ { + CharsPerInch = atof(val); + ++ if (CharsPerInch <= 0.0) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Bad cpi value %f!\n"), CharsPerInch); ++ return (1); ++ } ++ } ++ + if ((val = cupsGetOption("lpi", num_options, options)) != NULL) ++ { + LinesPerInch = atof(val); + ++ if (LinesPerInch <= 0.0) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Bad lpi value %f!\n"), LinesPerInch); ++ return (1); ++ } ++ } ++ + if (PrettyPrint) + PageTop -= 216.0f / LinesPerInch; + +diff -urNad cupsys-1.3.7~/filter/texttops.c cupsys-1.3.7/filter/texttops.c +--- cupsys-1.3.7~/filter/texttops.c 2007-07-11 16:46:42.000000000 -0500 ++++ cupsys-1.3.7/filter/texttops.c 2008-10-14 13:16:19.000000000 -0500 +@@ -173,6 +173,14 @@ + SizeColumns = (PageRight - PageLeft) / 72.0 * CharsPerInch; + SizeLines = (PageTop - PageBottom) / 72.0 * LinesPerInch; + ++ if (SizeColumns <= 0 || SizeColumns > 32767 || ++ SizeLines <= 0 || SizeLines > 32767) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Unable to print %dx%d text page!\n"), ++ SizeColumns, SizeLines); ++ exit(1); ++ } ++ + Page = calloc(sizeof(lchar_t *), SizeLines); + Page[0] = calloc(sizeof(lchar_t), SizeColumns * SizeLines); + for (i = 1; i < SizeLines; i ++) +@@ -187,6 +195,13 @@ + else + ColumnWidth = SizeColumns; + ++ if (ColumnWidth <= 0) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Unable to print %d text columns!\n"), ++ PageColumns); ++ exit(1); ++ } ++ + /* + * Output the DSC header... + */ --- cupsys-1.3.7.orig/debian/patches/freebsd.dpatch +++ cupsys-1.3.7/debian/patches/freebsd.dpatch @@ -0,0 +1,93 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_freebsd.dpatch by Kenshi Muto +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Forwarded upstream: http://www.cups.org/str.php?L2367 + +@DPATCH@ +diff -urNad cups-1.2~/backend/parallel.c cups-1.2/backend/parallel.c +--- cups-1.2~/backend/parallel.c 2006-04-25 12:14:36.000000000 +0200 ++++ cups-1.2/backend/parallel.c 2006-04-25 12:14:51.000000000 +0200 +@@ -693,7 +693,7 @@ + printf("direct parallel:%s \"Unknown\" \"Parallel Port #%d\"\n", device, i + 1); + } + } +-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) ++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + int i; /* Looping var */ + int fd; /* File descriptor */ + char device[255]; /* Device filename */ +diff -urNad cups-1.2~/backend/serial.c cups-1.2/backend/serial.c +--- cups-1.2~/backend/serial.c 2006-04-25 12:14:36.000000000 +0200 ++++ cups-1.2/backend/serial.c 2006-04-25 12:15:44.000000000 +0200 +@@ -666,11 +666,11 @@ + void + list_devices(void) + { +-#if defined(__hpux) || defined(__sgi) || defined(__sun) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) ++#if defined(__hpux) || defined(__sgi) || defined(__sun) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + static char *funky_hex = "0123456789abcdefghijklmnopqrstuvwxyz"; + /* Funky hex numbering used for some * + * devices */ +-#endif /* __hpux || __sgi || __sun || __FreeBSD__ || __OpenBSD__ */ ++#endif /* __hpux || __sgi || __sun || __FreeBSD__ || __OpenBSD__ || __FreeBSD_kernel__ */ + + #ifdef __linux + int i, j; /* Looping vars */ +@@ -958,7 +958,7 @@ + printf("serial serial:%s?baud=38400 \"Unknown\" \"Serial Port #%d\"\n", + device, i + 1); + } +-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) ++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + int i, j; /* Looping vars */ + int fd; /* File descriptor */ + char device[255]; /* Device filename */ +diff -urNad cups-1.2~/backend/usb-unix.c cups-1.2/backend/usb-unix.c +--- cups-1.2~/backend/usb-unix.c 2006-04-25 12:14:36.000000000 +0200 ++++ cups-1.2/backend/usb-unix.c 2006-04-25 12:14:51.000000000 +0200 +@@ -401,7 +401,7 @@ + } + #elif defined(__hpux) + #elif defined(__osf) +-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) ++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + int i; /* Looping var */ + char device[255]; /* Device filename */ + +diff -urNad cups-1.2~/backend/usb.c cups-1.2/backend/usb.c +--- cups-1.2~/backend/usb.c 2006-04-25 12:14:36.000000000 +0200 ++++ cups-1.2/backend/usb.c 2006-04-25 12:14:51.000000000 +0200 +@@ -72,7 +72,7 @@ + + #ifdef __APPLE__ + # include "usb-darwin.c" +-#elif defined(__linux) || defined(__sun) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) ++#elif defined(__linux) || defined(__sun) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + # include "usb-unix.c" + #else + /* +diff -urNad cups-1.2~/config-scripts/cups-directories.m4 cups-1.2/config-scripts/cups-directories.m4 +--- cups-1.2~/config-scripts/cups-directories.m4 2006-04-25 12:14:36.000000000 +0200 ++++ cups-1.2/config-scripts/cups-directories.m4 2006-04-25 12:14:51.000000000 +0200 +@@ -135,7 +135,7 @@ + "/System/Library/StartupItems/PrintingServices") + ;; + +- Linux | GNU) ++ Linux | GNU | GNU/k*BSD*) + # Linux/HURD seems to choose an init.d directory at random... + if test -d /sbin/init.d; then + # SuSE +diff -urNad cups-1.2~/configure cups-1.2/configure +--- cups-1.2~/configure 2006-04-25 12:14:50.000000000 +0200 ++++ cups-1.2/configure 2006-04-25 12:14:51.000000000 +0200 +@@ -7445,7 +7445,7 @@ + + ;; + +- Linux | GNU) ++ Linux | GNU | GNU/k*BSD*) + # Linux/HURD seems to choose an init.d directory at random... + if test -d /sbin/init.d; then + # SuSE --- cupsys-1.3.7.orig/debian/patches/search_mime_files_in_usr_share.dpatch +++ cupsys-1.3.7/debian/patches/search_mime_files_in_usr_share.dpatch @@ -0,0 +1,41 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## search_mime_files_in_usr_share.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: http://www.cups.org/str.php?L2719 + +@DPATCH@ +diff -urNad trunk~/scheduler/conf.c trunk/scheduler/conf.c +--- trunk~/scheduler/conf.c 2008-03-16 14:22:22.000000000 +0100 ++++ trunk/scheduler/conf.c 2008-03-16 14:23:33.000000000 +0100 +@@ -342,6 +342,7 @@ + cups_file_t *fp; /* Configuration file */ + int status; /* Return status */ + char temp[1024], /* Temporary buffer */ ++ temp2[1024], /* Temporary buffer */ + *slash; /* Directory separator */ + cups_lang_t *language; /* Language */ + struct passwd *user; /* Default user */ +@@ -1073,11 +1074,21 @@ + + /* + * Read the MIME type and conversion database... ++ * Files are read from DataDir/mime by default, and can be overridden in ++ * ServerRoot. + */ + + snprintf(temp, sizeof(temp), "%s/filter", ServerBin); + +- MimeDatabase = mimeLoad(ServerRoot, temp); ++ snprintf(temp2, sizeof(temp2), "%s/mime", DataDir); ++ MimeDatabase = mimeLoad(temp2, temp); ++ if (!MimeDatabase) ++ { ++ cupsdLogMessage(CUPSD_LOG_INFO, ++ "Unable to load MIME database from \'%s\'!", temp2); ++ } ++ ++ MimeDatabase = mimeMerge(MimeDatabase, ServerRoot, temp); + + if (!MimeDatabase) + { --- cupsys-1.3.7.orig/debian/patches/CVE-2010-1748.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2010-1748.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix web interface memory disclosure +# From: Drew Yao + +@DPATCH@ +diff -urNad cupsys-1.3.7~/cgi-bin/var.c cupsys-1.3.7/cgi-bin/var.c +--- cupsys-1.3.7~/cgi-bin/var.c 2010-06-15 09:58:35.000000000 -0400 ++++ cupsys-1.3.7/cgi-bin/var.c 2010-06-15 09:58:39.000000000 -0400 +@@ -1103,6 +1103,9 @@ + * Read the hex code... + */ + ++ if (!isxdigit(data[1] & 255) || !isxdigit(data[2] & 255)) ++ return (0); ++ + if (s < (value + sizeof(value) - 1)) + { + data ++; --- cupsys-1.3.7.orig/debian/patches/CVE-2010-0542.dpatch +++ cupsys-1.3.7/debian/patches/CVE-2010-0542.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix denial of service or arbitrary code execution in +# texttops image filter +# From: David Remahl + +@DPATCH@ +diff -urNad cupsys-1.3.7~/filter/texttops.c cupsys-1.3.7/filter/texttops.c +--- cupsys-1.3.7~/filter/texttops.c 2010-06-15 09:58:18.000000000 -0400 ++++ cupsys-1.3.7/filter/texttops.c 2010-06-15 09:58:27.000000000 -0400 +@@ -181,8 +181,20 @@ + exit(1); + } + +- Page = calloc(sizeof(lchar_t *), SizeLines); +- Page[0] = calloc(sizeof(lchar_t), SizeColumns * SizeLines); ++ if ((Page = calloc(sizeof(lchar_t *), SizeLines)) == NULL) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Unable to print %dx%d text page.\n"), ++ SizeColumns, SizeLines); ++ exit(1); ++ } ++ ++ if ((Page[0] = calloc(sizeof(lchar_t), SizeColumns * SizeLines)) == NULL) ++ { ++ _cupsLangPrintf(stderr, _("ERROR: Unable to print %dx%d text page.\n"), ++ SizeColumns, SizeLines); ++ exit(1); ++ } ++ + for (i = 1; i < SizeLines; i ++) + Page[i] = Page[0] + i * SizeColumns; + --- cupsys-1.3.7.orig/debian/compat +++ cupsys-1.3.7/debian/compat @@ -0,0 +1 @@ +5 --- cupsys-1.3.7.orig/debian/cupsys.config +++ cupsys-1.3.7/debian/cupsys.config @@ -0,0 +1,134 @@ +#!/bin/sh + +set -e + +CONF=/etc/cups/cupsd.conf +PORTS=/etc/cups/cups.d/ports.conf +BROWSE=/etc/cups/cups.d/browse.conf + +# Debconf library +. /usr/share/debconf/confmodule + +is_ports () { + # syntax: parse_ports string (0: success 1: error) + VAL=$(echo "$1" | LC_ALL=C perl -e '$ret = ""; while () { chomp; + @values = split(/\s+/); + foreach(@values) { + if (/^\d+$/ && $_ >= 0 && $_ < 65536) { + # PORT + $ret .= "Port $_\\n"; + } elsif (/^\d+\.\d+\.\d+\.\d+$/ || /^\d+\.\d+\.\d+\.\d+:\d+$/) { + # IP + $ret .= "Listen $_\\n"; + } elsif (/^[a-zA-Z0-9-_.*]+$/ || /^[a-zA-Z0-9-_.*]+:\d+$/) { + my($tmp) = $_; + if (/^[a-zA-Z0-9-_.*]+:(\d+)$/) { + if ($1 < 0 || $1 > 65535) { + # ERROR + $ret = ""; + last; + } + } + # HOSTNAME + $ret .= "Listen $_\\n"; + } elsif (/^\//) { + # domain socket + $ret .= "Listen $_\\n"; + } else { + # ERROR + $ret = ""; + last; + } + } + print $ret; + }') + + if [ -z "$VAL" ]; then + return 1 + else + return 0 + fi +} + +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 + +#RET= +#if [ -f "$CONF" ]; then +# if [ "$(grep -h "Include[[:space:]]\+$PORTS" $CONF)" -a -f "$PORTS" ]; then +# RET=$(grep -h -e "^\(Port\|Listen\)[[:space:]]\+" $CONF $PORTS | sort | uniq | sed -e "s/Port[[:space:]]\+//" -e "s/Listen[[:space:]]\+//" | tr "\n" " ") +# else +# RET=$(grep -h -e "^\(Port\|Listen\)[[:space:]]\+" $CONF | sort | uniq | sed -e "s/Port[[:space:]]\+//" -e "s/Listen[[:space:]]\+//" | tr "\n" " ") +# fi +# if [ "$RET" ]; then +# db_set cupsys/ports $RET +# fi +# db_input low cupsys/ports || true +# db_go +# db_get cupsys/ports +# STATE=0 +# while ! is_ports "$RET"; do +# db_input critical cupsys/portserror || true +# db_go +# db_fset cupsys/ports seen false +# STATE=$(expr $STATE + 1) +# if [ "$STATE" = "5" ]; then +# echo "Illegal port value for CUPS. Please correct this by running 'dpkg-reconfigure cupsys'." +# exit 1 +# fi +# db_input high cupsys/ports || true +# db_go +# db_get cupsys/ports +# done + +# if [ "$(grep -h "Include[[:space:]]\+$BROWSE" $CONF)" -a -f "$BROWSE" ]; then +# RET=$(grep -h -e "^Browsing[[:space:]]\+" $CONF $BROWSE | head -1 | sed -e "s/Browsing[[:space:]]\+//" | tr "A-Z" "a-z") +# else +# RET=$(grep -h -e "^Browsing[[:space:]]\+" $CONF | head -1 | sed -e "s/Browsing[[:space:]]\+//" | tr "A-Z" "a-z") +# fi +# if [ "$RET" = "off" ]; then +# db_set cupsys/browse false +# fi +# db_input low cupsys/browse || true +# db_go +#else +# db_input low cupsys/ports || true +# db_go +# db_get cupsys/ports +# STATE=0 +# while ! is_ports "$RET"; do +# db_input critical cupsys/portserror || true +# db_go +# db_fset cupsys/ports seen false +# STATE=$(expr $STATE + 1) +# if [ "$STATE" = "5" ]; then +# echo "Illegal port value for CUPS. Please correct this by running 'dpkg-reconfigure cupsys'." +# exit 1 +# fi +# db_input low cupsys/ports || true +# db_go +# db_get cupsys/ports +# done +# db_input low cupsys/browse || true +# db_go +#fi --- cupsys-1.3.7.orig/debian/libcupsys2-dev.examples +++ cupsys-1.3.7/debian/libcupsys2-dev.examples @@ -0,0 +1 @@ +scripting --- cupsys-1.3.7.orig/debian/libcupsys2.files +++ cupsys-1.3.7/debian/libcupsys2.files @@ -0,0 +1,2 @@ +usr/lib/libcups.so.* +usr/lib64/libcups.so.* --- cupsys-1.3.7.orig/debian/cupsys.logrotate +++ cupsys-1.3.7/debian/cupsys.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 cupsys force-reload > /dev/null + sleep 10 + fi + endscript + compress + notifempty + create 640 root lpadmin +} --- cupsys-1.3.7.orig/debian/client.conf +++ cupsys-1.3.7/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 --- cupsys-1.3.7.orig/debian/cupsys.preinst +++ cupsys-1.3.7/debian/cupsys.preinst @@ -0,0 +1,67 @@ +#! /bin/sh +# preinst script for cupsys +# +# 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/cupsys ]; then + rm -rf /usr/share/doc/cupsys + fi + + 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 + ;; + + 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 + + --- cupsys-1.3.7.orig/debian/README.Debian +++ cupsys-1.3.7/debian/README.Debian @@ -0,0 +1,244 @@ +cupsys 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 cupsys'. + +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 cupsys 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, cupsys 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 cupsys | 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 (cupsys-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: + + cupsys-driver-foo (for a driver for Foo printers) + cupsys-backend-bar (for a backend to print to Bar printers) + cupsys-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 cupsys requesting that it be added to the +Suggests line for cupsys. + +Other Add-Ons +------------- + +I'm also collecting add-ons - filters, backends, etc. - and putting +them in the "examples" directory with the rest of the cupsys 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 cupsys-client package. + +For more tips on integration with Samba, check out the man page for +cupsaddsmb, which is part of the cupsys-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 --- cupsys-1.3.7.orig/debian/cupsys.doc-base +++ cupsys-1.3.7/debian/cupsys.doc-base @@ -0,0 +1,10 @@ +Document: cupsys +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: Apps/System + +Format: HTML +Index: /usr/share/doc/cupsys/online-docs/index.html +Files: /usr/share/doc/cupsys/online-docs/*.html --- cupsys-1.3.7.orig/debian/cupsys.templates +++ cupsys-1.3.7/debian/cupsys.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. --- cupsys-1.3.7.orig/debian/cupsys.lintian +++ cupsys-1.3.7/debian/cupsys.lintian @@ -0,0 +1,4 @@ +cupsys: executable-is-not-world-readable usr/lib/cups/backend-available/ipp 0700 != 0755 +cupsys: executable-is-not-world-readable usr/lib/cups/backend-available/lpd 0700 != 0755 +cupsys: package-contains-empty-directory usr/share/ppd/custom/ +cupsys: package-contains-empty-directory usr/lib/cups/backend/ --- cupsys-1.3.7.orig/debian/libcupsimage2.postinst +++ cupsys-1.3.7/debian/libcupsimage2.postinst @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for cupsys +# +# 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 + + --- cupsys-1.3.7.orig/debian/suid +++ cupsys-1.3.7/debian/suid @@ -0,0 +1 @@ +usr/lib/cups/backend/lpd --- cupsys-1.3.7.orig/debian/libcupsimage2-dev.preinst +++ cupsys-1.3.7/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 + + --- cupsys-1.3.7.orig/debian/libcupsys2.dirs +++ cupsys-1.3.7/debian/libcupsys2.dirs @@ -0,0 +1,2 @@ +var/spool/cups/tmp +etc/cups --- cupsys-1.3.7.orig/debian/cupsys-client.links +++ cupsys-1.3.7/debian/cupsys-client.links @@ -0,0 +1,7 @@ +usr/sbin/accept usr/sbin/cupsaccept +usr/sbin/accept usr/sbin/cupsreject +usr/sbin/accept usr/bin/cupsenable +usr/sbin/accept usr/bin/cupsdisable +usr/share/man/man8/accept.8.gz usr/share/man/man8/cupsaccept.8.gz +usr/share/man/man8/accept.8.gz usr/share/man/man8/cupsreject.8.gz +usr/share/man/man8/cupsenable.8.gz usr/share/man/man8/cupsdisable.8.gz