[Pkg-cups-devel] r430 - in cupsys/branches/cups-1.2-ubuntu/debian: . patches po

Martin Pitt mpitt at alioth.debian.org
Tue Feb 6 15:07:34 CET 2007


Author: mpitt
Date: Tue Feb  6 15:07:33 2007
New Revision: 430

Added:
   cupsys/branches/cups-1.2-ubuntu/debian/patches/00_09str2198.dpatch
   cupsys/branches/cups-1.2-ubuntu/debian/patches/66_setegid.dpatch
   cupsys/branches/cups-1.2-ubuntu/debian/po/nb.po
   cupsys/branches/cups-1.2-ubuntu/debian/po/pt.po
Modified:
   cupsys/branches/cups-1.2-ubuntu/debian/changelog
   cupsys/branches/cups-1.2-ubuntu/debian/cupsys.dirs
   cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d
   cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst
   cupsys/branches/cups-1.2-ubuntu/debian/cupsys.prerm
   cupsys/branches/cups-1.2-ubuntu/debian/patches/00list
   cupsys/branches/cups-1.2-ubuntu/debian/rules
Log:
merge to Debian, add bug fixes from Till

Modified: cupsys/branches/cups-1.2-ubuntu/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/changelog	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/changelog	Tue Feb  6 15:07:33 2007
@@ -1,3 +1,81 @@
+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 <till.kamppeter at gmail.com>  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 <kmuto at debian.org>  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 <kmuto at debian.org>  Thu,  1 Feb 2007 10:17:30 +0000
+
 cupsys (1.2.7-2ubuntu1) feisty; urgency=low
 
   * Merge from debian unstable, remaining changes:

Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.dirs
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.dirs	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.dirs	Tue Feb  6 15:07:33 2007
@@ -8,3 +8,4 @@
 usr/share/ppd/cups-included
 usr/lib/cups/driver
 usr/share/ppd/custom
+usr/local/share/ppd

Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d	Tue Feb  6 15:07:33 2007
@@ -40,13 +40,20 @@
 	done
 
 	if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
-             -a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe \
-             -a -z "$(grep -e ' lp$' /proc/devices 2>/dev/null)" ]; then
+             -a -f /proc/devices -a -f /proc/modules \
+	     -a -x /sbin/modprobe ]; then
 	  modprobe -q lp || true
 	  modprobe -q ppdev || true # for ISO-1284 device name detection
 	fi
 
 	start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON
+
+	# Correct the permissions after starting the CUPS daemon
+	for l in access_log page_log error_log; do
+	    chmod 640 /var/log/cups/$l || true
+	    chown cupsys:lpadmin /var/log/cups/$l || true
+	done
+
 	log_end_msg $?
 	;;
   stop)
@@ -58,6 +65,11 @@
 	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
+		# Correct the permissions after starting the CUPS daemon
+		for l in access_log page_log error_log; do
+		    chmod 640 /var/log/cups/$l || true
+		    chown cupsys:lpadmin /var/log/cups/$l || true
+		done
 	fi
 	log_end_msg $?
 	;;

Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst	Tue Feb  6 15:07:33 2007
@@ -134,6 +134,7 @@
             ln /usr/lib/cups/backend/ipp /usr/lib/cups/backend/http
 	  fi
 	done
+	IFS=$save_IFS
 
 	# Create password file for Digest authentication
         # (removed: Debian CUPS uses PAM and basic authentication)
@@ -254,6 +255,15 @@
 	if dpkg --compare-versions "$2" le-nl "1.2.2-0ubuntu2"; then
 	    deluser --quiet cupsys shadow 2>/dev/null || true
 	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
+
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.prerm
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.prerm	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.prerm	Tue Feb  6 15:07:33 2007
@@ -23,6 +23,12 @@
         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)
         ;;

Added: cupsys/branches/cups-1.2-ubuntu/debian/patches/00_09str2198.dpatch
==============================================================================
--- (empty file)
+++ cupsys/branches/cups-1.2-ubuntu/debian/patches/00_09str2198.dpatch	Tue Feb  6 15:07:33 2007
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 00_09str2198.dpatch by Kenshi Muto <kmuto at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad cupsys-1.2.7~/scheduler/dirsvc.c cupsys-1.2.7/scheduler/dirsvc.c
+--- cupsys-1.2.7~/scheduler/dirsvc.c	2007-02-01 10:56:49.000000000 +0000
++++ cupsys-1.2.7/scheduler/dirsvc.c	2007-02-01 10:57:46.000000000 +0000
+@@ -163,7 +163,7 @@
+   * Don't load the cache if the CUPS remote protocol is disabled...
+   */
+ 
+-  if (!(BrowseRemoteProtocols & BROWSE_CUPS))
++  if (!Browsing || !(BrowseRemoteProtocols & BROWSE_CUPS))
+   {
+     cupsdLogMessage(CUPSD_LOG_DEBUG,
+                     "cupsdLoadRemoteCache: Not loading remote cache.");

Modified: cupsys/branches/cups-1.2-ubuntu/debian/patches/00list
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/patches/00list	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/patches/00list	Tue Feb  6 15:07:33 2007
@@ -1,5 +1,5 @@
 00_00str2111.dpatch
-00_01str2137.dpatch
+#00_01str2137.dpatch
 00_02str2144.dpatch
 00_03str2106.dpatch
 00_04str2117.dpatch
@@ -7,6 +7,7 @@
 00_06str2121.dpatch
 00_07str2123.dpatch
 00_08str2135.dpatch
+00_09str2198.dpatch
 02_configure.dpatch
 #03_manext.dpatch
 03_clean.dpatch

Added: cupsys/branches/cups-1.2-ubuntu/debian/patches/66_setegid.dpatch
==============================================================================
--- (empty file)
+++ cupsys/branches/cups-1.2-ubuntu/debian/patches/66_setegid.dpatch	Tue Feb  6 15:07:33 2007
@@ -0,0 +1,44 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 66_setegid.dpatch by Kenshi Muto <kmuto at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad cupsys-1.2.7~/scheduler/cups-deviced.c cupsys-1.2.7/scheduler/cups-deviced.c
+--- cupsys-1.2.7~/scheduler/cups-deviced.c	2006-12-09 14:08:02.000000000 +0000
++++ cupsys-1.2.7/scheduler/cups-deviced.c	2006-12-09 14:08:48.000000000 +0000
+@@ -37,6 +37,7 @@
+ #include "util.h"
+ #include <cups/array.h>
+ #include <cups/dir.h>
++#include <grp.h>
+ 
+ #ifdef __hpux
+ #  define seteuid(uid) setresuid(-1, (uid), -1)
+@@ -118,6 +119,7 @@
+ #if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET)
+   struct sigaction action;		/* Actions for POSIX signals */
+ #endif /* HAVE_SIGACTION && !HAVE_SIGSET */
++  struct group *group;
+ 
+ 
+   setbuf(stderr, NULL);
+@@ -224,7 +226,17 @@
+       if (!(dent->fileinfo.st_mode & (S_IRWXG | S_IRWXO)))
+         seteuid(0);
+       else
++      {
++        /* Find the default group ... */
++        group = getgrnam(CUPS_DEFAULT_GROUP);
++        endgrent();
++        if (group) {
++          setegid(group->gr_gid);
++        } else {
++          setegid(65534); /* nobody */
++        }
+         seteuid(normal_user);
++      }
+     }
+ 
+    /*

Added: cupsys/branches/cups-1.2-ubuntu/debian/po/nb.po
==============================================================================
--- (empty file)
+++ cupsys/branches/cups-1.2-ubuntu/debian/po/nb.po	Tue Feb  6 15:07:33 2007
@@ -0,0 +1,167 @@
+# translation of cupsys_1.2.7-2_templates.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 <bjornst at powertech.no>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: cupsys_1.2.7-2_templates\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2006-12-29 04:30+0100\n"
+"PO-Revision-Date: 2007-01-09 21:43+0100\n"
+"Last-Translator: Bjørn Steensrud <bjornst at powertech.no>\n"
+"Language-Team: Norwegian Bokmål <i18n-nb at lister.ping.uio.no>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#. Type: boolean
+#. Description
+#: ../cupsys-bsd.templates:1001
+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:1001
+msgid ""
+"This package contains a server that can accept BSD-style print jobs and "
+"submit them to CUPS. It should only be set up if you have other computers "
+"that submit jobs over the network via \"BSD\" or \"LPR\" services, and these "
+"computers cannot be converted to use the IPP protocol that CUPS uses."
+msgstr ""
+"Denne 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:1001
+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:1001
+msgid ""
+"All print jobs in IPP get a MIME type. Since not all sources of print jobs "
+"can attach an appropriate type, many jobs get submitted as the MIME type "
+"application/octet-stream. Because of this, when CUPS receives a job with "
+"that MIME type, it attempts to guess what the format is. By default, if it "
+"cannot guess the proper type, it rejects the job."
+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. Derfor forsøker CUPS å finne "
+"ut hva formatet er når den mottar en jobb med denne MIME-typen. Standard er "
+"at den avviser utskriftsjobben hvis den ikke kan gjette seg til den "
+"rette typen-"
+
+#. Type: boolean
+#. Description
+#: ../cupsys.templates:1001
+msgid ""
+"It is possible to cause CUPS to treat all unrecognized jobs with this MIME "
+"type as \"raw\" jobs, which causes them to be sent directly to the printer "
+"without processing."
+msgstr ""
+"Det er mulig å få CUPS til å behandle alle ukjente jobber med denne MIME-typen "
+"som «rå» jobber, noe som gjør at de sendes direkte til skriveren uten behandling."
+
+#. Type: boolean
+#. Description
+#: ../cupsys.templates:1001
+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 kommer til å ta imot utskriftsjobber fra Windows-maskiner, så "
+"bør du nok slå på dette, siden Windows setter MIME-typen "
+"application/octet-stream på alle IPP-jobber behandlet gjennom en lokal "
+"driver. Samba sender også sine utskriftsjobber på den måten."
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "ipp"
+msgstr "ipp"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "lpd"
+msgstr "lpd"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "parallel"
+msgstr "parallell"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "scsi"
+msgstr "scsi"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "serial"
+msgstr "seriell"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "socket"
+msgstr "sokkel"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "usb"
+msgstr "usb"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "snmp"
+msgstr "snmp"
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+msgid "Printer communication backends:"
+msgstr "Kommunikasjonsmotorer for skriver:"
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+msgid "CUPS uses backend programs for communication with printer device or port."
+msgstr "CUPS bruker «motor»-programmer til å kommunisere med skriverenheten eller porten."
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+msgid ""
+"Unfortunately, some backend programs cause some trouble. (For example, some "
+"PPC kernel crashes with the parallel backend)"
+msgstr ""
+"Dessverre lager noen motorer vanskeligheter. (Noen PPD-kjerner, for eksempel, "
+"krasjer med parallell-motoren)"
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+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."
+

Added: cupsys/branches/cups-1.2-ubuntu/debian/po/pt.po
==============================================================================
--- (empty file)
+++ cupsys/branches/cups-1.2-ubuntu/debian/po/pt.po	Tue Feb  6 15:07:33 2007
@@ -0,0 +1,170 @@
+# Portuguese translation for cupsys's debconf messages
+# Copyright (C) 2007 Carlos Lisboa <carloslisboa at gmail.com>
+# This file is distributed under the same license as the cupsys package.
+# Carlos Lisboa <carloslisboa at gmail.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: cupsys\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-01-13 18:58+0100\n"
+"PO-Revision-Date: 2007-01-22 23:44+0000\n"
+"Last-Translator: Carlos Lisboa <carloslisboa at gmail.com>n"
+"Language-Team: Portuguese <traduz at debianpt.org>n"
+"MIME-Version: 1.0n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../cupsys-bsd.templates:1001
+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:1001
+msgid ""
+"This package contains a server that can accept BSD-style print jobs and "
+"submit them to CUPS. It should only be set up if you have other computers "
+"that submit jobs over the network via \"BSD\" or \"LPR\" services, and these "
+"computers cannot be converted to use the IPP protocol that CUPS uses."
+msgstr ""
+"Este pacote contém um servidor que pode aceitar trabalhos de impressão em "
+"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\" e "
+"\"LPR\", e que esses computadores não possam ser convertidos para usar o "
+"protocolo IPP que o CUPS usa."
+
+#. Type: boolean
+#. Description
+#: ../cupsys.templates:1001
+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:1001
+msgid ""
+"All print jobs in IPP get a MIME type. Since not all sources of print jobs "
+"can attach an appropriate type, many jobs get submitted as the MIME type "
+"application/octet-stream. Because of this, when CUPS receives a job with "
+"that MIME type, it attempts to guess what the format is. By default, if it "
+"cannot guess the proper type, it rejects the job."
+msgstr ""
+"Todos os trabalhos de impressão em IPP obtêm um tipo MIME. Como nem todas as "
+"fontes de trabalhos de impressão podem anexar o tipo apropriado, muitos são "
+"submetidos com o tipo MIME 'application/octet-stream'. Por causa disto, quando "
+"o CUPS recebe um trabalho com este tipo MIME, o mesmo tenta adivinhar qual o "
+"formato. Por omissão, se não conseguir detectar o tipo correcto, o trabalho "
+"é rejeitado."
+
+#. Type: boolean
+#. Description
+#: ../cupsys.templates:1001
+msgid ""
+"It is possible to cause CUPS to treat all unrecognized jobs with this MIME "
+"type as \"raw\" jobs, which causes them to be sent directly to the printer "
+"without processing."
+msgstr ""
+"É possível fazer com que o CUPS trate todos os trabalhos desconhecidos com "
+"este tipo MIME sendo trabalhos \"raw\", fazendo com que sejam enviados "
+"directamente para a impressora sem que sejam processados."
+
+#. Type: boolean
+#. Description
+#: ../cupsys.templates:1001
+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."
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "ipp"
+msgstr "ipp"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "lpd"
+msgstr "lpd"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "parallel"
+msgstr "paralela"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "scsi"
+msgstr "scsi"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "serial"
+msgstr "série"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "socket"
+msgstr "socket"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "usb"
+msgstr "usb"
+
+#. Type: multiselect
+#. Choices
+#: ../cupsys.templates:2001
+msgid "snmp"
+msgstr "snmp"
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+msgid "Printer communication backends:"
+msgstr "'Backends' de comunicação com a impressora"
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+msgid ""
+"CUPS uses backend programs for communication with printer device or port."
+msgstr ""
+"O CUPS usa um programa 'backend' para comunicar com a porta ou dispositivo "
+"da impressora."
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+msgid ""
+"Unfortunately, some backend programs cause some trouble. (For example, some "
+"PPC kernel crashes with the parallel backend)"
+msgstr ""
+"Infelizmente, alguns programas de 'backend' causam alguns problemas. (Por "
+"exemplo, alguns kernels PPC 'crasham' o 'backend' paralelo)"
+
+#. Type: multiselect
+#. Description
+#: ../cupsys.templates:2002
+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."

Modified: cupsys/branches/cups-1.2-ubuntu/debian/rules
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/rules	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/rules	Tue Feb  6 15:07:33 2007
@@ -75,6 +75,7 @@
 	# Compatibility for programs which still look in the old location
 	#ln -s ../../ppd/cups-included $(DEB_DESTDIR)/../cupsys/usr/share/cups/model/cups-included
 	#ln -s ../cups/model $(DEB_DESTDIR)/../cupsys/usr/share/ppd/cups-transitional-dir
+	dh_usrlocal
 
 	ln -s ../../ppd/custom $(DEB_DESTDIR)/../cupsys/usr/share/cups/model/custom
 



More information about the Pkg-cups-devel mailing list