From 9524c0ed85592c87ff30b54ca705b5d1b447eb6f Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 13 Dec 2012 19:03:52 -0800 Subject: cups: Update to 1.6.1 License change was due to update of Date. Remove CVE patches as they where backports from this release Signed-off-by: Saul Wold --- .../0001-don-t-try-to-run-generated-binaries.patch | 70 - .../cups/cups-1.4.6/cups-CVE-2011-2896.patch | 140 - .../cups/cups-1.4.6/cups-CVE-2011-3170.patch | 54 - .../cups/cups-1.4.6/cups-CVE-2012-5519.patch | 2965 -------------------- .../cups/cups-1.4.6/cups_serverbin.patch | 32 - .../cups/cups-1.4.6/use_echo_only_in_init.patch | 13 - .../0001-don-t-try-to-run-generated-binaries.patch | 70 + .../cups/cups/cups-CVE-2011-2896.patch | 140 + .../cups/cups/cups-CVE-2011-3170.patch | 54 + .../cups/cups/cups-CVE-2012-5519.patch | 2965 ++++++++++++++++++++ .../cups/cups/cups_serverbin.patch | 32 + .../cups/cups/use_echo_only_in_init.patch | 15 + meta/recipes-extended/cups/cups14.inc | 101 - meta/recipes-extended/cups/cups16.inc | 101 + meta/recipes-extended/cups/cups_1.4.6.bb | 23 - meta/recipes-extended/cups/cups_1.6.1.bb | 19 + 16 files changed, 3396 insertions(+), 3398 deletions(-) delete mode 100644 meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch delete mode 100644 meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch delete mode 100644 meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch delete mode 100644 meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch delete mode 100644 meta/recipes-extended/cups/cups-1.4.6/cups_serverbin.patch delete mode 100644 meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch create mode 100644 meta/recipes-extended/cups/cups/0001-don-t-try-to-run-generated-binaries.patch create mode 100644 meta/recipes-extended/cups/cups/cups-CVE-2011-2896.patch create mode 100644 meta/recipes-extended/cups/cups/cups-CVE-2011-3170.patch create mode 100644 meta/recipes-extended/cups/cups/cups-CVE-2012-5519.patch create mode 100644 meta/recipes-extended/cups/cups/cups_serverbin.patch create mode 100644 meta/recipes-extended/cups/cups/use_echo_only_in_init.patch delete mode 100644 meta/recipes-extended/cups/cups14.inc create mode 100644 meta/recipes-extended/cups/cups16.inc delete mode 100644 meta/recipes-extended/cups/cups_1.4.6.bb create mode 100644 meta/recipes-extended/cups/cups_1.6.1.bb diff --git a/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch b/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch deleted file mode 100644 index e6544b5607..0000000000 --- a/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch +++ /dev/null @@ -1,70 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - -From 90069586167b930befce7303aea57078f04b4ed8 Mon Sep 17 00:00:00 2001 -From: Koen Kooi -Date: Sun, 30 Jan 2011 16:37:27 +0100 -Subject: [PATCH] don't try to run generated binaries - -Signed-off-by: Koen Kooi ---- - ppdc/Makefile | 30 +++++++++++++++--------------- - 1 files changed, 15 insertions(+), 15 deletions(-) - -diff --git a/ppdc/Makefile b/ppdc/Makefile -index 0288d47..fc87f1b 100644 ---- a/ppdc/Makefile -+++ b/ppdc/Makefile -@@ -243,8 +243,8 @@ genstrings: genstrings.o libcupsppdc.a ../cups/libcups.a \ - $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \ - libcupsppdc.a ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) \ - $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ) -- echo Generating localization strings... -- ./genstrings >sample.c -+# echo Generating localization strings... -+# ./genstrings >sample.c - - - # -@@ -261,9 +261,9 @@ ppdc-static: ppdc.o libcupsppdc.a ../cups/libcups.a foo.drv foo-fr.po - $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o ppdc-static ppdc.o libcupsppdc.a \ - ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \ - $(COMMONLIBS) $(LIBZ) -- echo Testing PPD compiler... -- ./ppdc-static -l en,fr -I ../data foo.drv -- ./ppdc-static -l en,fr -z -I ../data foo.drv -+# echo Testing PPD compiler... -+# ./ppdc-static -l en,fr -I ../data foo.drv -+# ./ppdc-static -l en,fr -z -I ../data foo.drv - - - # -@@ -290,16 +290,16 @@ ppdi-static: ppdc-static ppdi.o libcupsppdc.a ../cups/libcups.a - ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \ - $(COMMONLIBS) $(LIBZ) - echo Testing PPD importer... -- $(RM) -r ppd ppd2 sample-import.drv -- ./ppdc-static -I ../data sample.drv -- ./ppdi-static -I ../data -o sample-import.drv ppd/* -- ./ppdc-static -I ../data -d ppd2 sample-import.drv -- if diff -r ppd ppd2 >/dev/null; then \ -- echo PPD import OK; \ -- else \ -- echo PPD import FAILED; \ -- exit 1; \ -- fi -+# $(RM) -r ppd ppd2 sample-import.drv -+# ./ppdc-static -I ../data sample.drv -+# ./ppdi-static -I ../data -o sample-import.drv ppd/* -+# ./ppdc-static -I ../data -d ppd2 sample-import.drv -+# if diff -r ppd ppd2 >/dev/null; then \ -+# echo PPD import OK; \ -+# else \ -+# echo PPD import FAILED; \ -+# exit 1; \ -+# fi - - - # --- -1.6.6.1 - diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch b/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch deleted file mode 100644 index 7c6f75bd6c..0000000000 --- a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch +++ /dev/null @@ -1,140 +0,0 @@ -cups - CVE-2011-2896 - -the patch come from: -http://cups.org/strfiles/3867/str3867.patch - -The LZW decompressor in the LWZReadByte function in giftoppm.c -in the David Koblas GIF decoder in PBMPLUS, as used in the -gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, -the LZWReadByte function in plug-ins/common/file-gif-load.c -in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c -in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, -does not properly handle code words that are absent from the -decompression table when encountered, which allows remote attackers to -trigger an infinite loop or a heap-based buffer overflow, and possibly -execute arbitrary code, via a crafted compressed stream, a related -issue to CVE-2006-1168 and CVE-2011-2895. -http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-2896 - -Integrated-by: Li Wang ---- - filter/image-gif.c | 46 ++++++++++++++++++++-------------------------- - 1 files changed, 20 insertions(+), 26 deletions(-) - -diff --git a/filter/image-gif.c b/filter/image-gif.c -index 3857c21..fa9691e 100644 ---- a/filter/image-gif.c -+++ b/filter/image-gif.c -@@ -353,7 +353,7 @@ gif_get_code(FILE *fp, /* I - File to read from */ - * 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! -@@ -582,19 +582,13 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - 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; - -@@ -605,29 +599,30 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - fresh = 0; - - do -+ { - firstcode = oldcode = gif_get_code(fp, code_size, 0); -+ } - while (firstcode == clear_code); - -- return (firstcode); -+ return (firstcode & 255); - } - else if (!table) - return (0); - - 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; -@@ -637,12 +632,11 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - - 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); -@@ -652,7 +646,7 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - - incode = code; - -- if (code >= max_code) -+ if (code == max_code) - { - if (sp < (stack + 8192)) - *sp++ = firstcode; -@@ -690,10 +684,10 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - oldcode = incode; - - if (sp > stack) -- return (*--sp); -+ return ((*--sp) & 255); - } - -- return (code); -+ return (code & 255); - } - - --- -1.7.0.5 - diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch b/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch deleted file mode 100644 index fd1b95847c..0000000000 --- a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch +++ /dev/null @@ -1,54 +0,0 @@ -cups CVE-2011-3170 - -the patch come from: -http://cups.org/strfiles/3914/str3914.patch - -The gif_read_lzw function in filter/image-gif.c in CUPS 1.4.8 and -earlier does not properly handle the first code word in an LZW stream, -which allows remote attackers to trigger a heap-based buffer overflow, -and possibly execute arbitrary code, via a crafted stream, a different -vulnerability than CVE-2011-2896. -http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3170 - -Integrated-by: Li Wang ---- - filter/image-gif.c | 14 +++++++++----- - 1 files changed, 9 insertions(+), 5 deletions(-) - -diff --git a/filter/image-gif.c b/filter/image-gif.c -index 9542704..3857c21 100644 ---- a/filter/image-gif.c -+++ b/filter/image-gif.c -@@ -654,11 +654,13 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - - 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]) -@@ -667,8 +669,10 @@ gif_read_lzw(FILE *fp, /* I - File to read from */ - 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) - { --- -1.7.0.5 - diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch b/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch deleted file mode 100644 index 6b2887a5c9..0000000000 --- a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch +++ /dev/null @@ -1,2965 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## DP: Description: Move file, directory, user, and group configuration to a -## DP: separate file. Also warn about directives that have moved and set -## DP: default cups-files.conf. -## DP: -## DP: Author: Michael Sweet -## DP: Origin: http://svn.cups.org/public/cups/branches/branch-1.6@10710 -## DP: Origin: http://svn.cups.org/public/cups/branches/branch-1.6@10713 -## DP: -## DP: Author: Marc Deslauriers -## DP: Author: Tim Waugh -## DP: -## DP: Bug-Upstream: https://www.cups.org/str.php?L4223 -## DP: Bug-Debian: http://bugs.debian.org/692791 -## DP: Bug-CVE: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5519 - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/conf/Makefile cups/conf/Makefile ---- cups~/conf/Makefile 2012-12-08 00:29:09.000000000 +0100 -+++ cups/conf/Makefile 2012-12-08 00:29:10.000000000 +0100 -@@ -19,7 +19,7 @@ - # Config files... - # - --KEEP = cupsd.conf snmp.conf -+KEEP = cups-files.conf cupsd.conf snmp.conf - REPLACE = mime.convs mime.types - - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/conf/cups-files.conf.in cups/conf/cups-files.conf.in ---- cups~/conf/cups-files.conf.in 1970-01-01 01:00:00.000000000 +0100 -+++ cups/conf/cups-files.conf.in 2012-12-08 00:29:10.000000000 +0100 -@@ -0,0 +1,98 @@ -+# -+# "$Id$" -+# -+# Sample file/directory/user/group configuration file for the CUPS scheduler. -+# See "man cups-files.conf" for a complete description of this file. -+# -+ -+# List of events that are considered fatal errors for the scheduler... -+#FatalErrors @CUPS_FATAL_ERRORS@ -+ -+# Default user and group for filters/backends/helper programs; this cannot be -+# any user or group that resolves to ID 0 for security reasons... -+#User @CUPS_USER@ -+#Group @CUPS_GROUP@ -+ -+# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules... -+SystemGroup @CUPS_SYSTEM_GROUPS@ -+@CUPS_SYSTEM_AUTHKEY@ -+ -+# User that is substituted for unauthenticated (remote) root accesses... -+#RemoteRoot remroot -+ -+# Do we allow file: device URIs other than to /dev/null? -+#FileDevice No -+ -+# Permissions for configuration and log files... -+#ConfigFilePerm @CUPS_CONFIG_FILE_PERM@ -+#LogFilePerm @CUPS_LOG_FILE_PERM@ -+ -+# Location of the file logging all access to the scheduler; may be the name -+# "syslog". If not an absolute path, the value of ServerRoot is used as the -+# root directory. Also see the "AccessLogLevel" directive in cupsd.conf. -+AccessLog @CUPS_LOGDIR@/access_log -+ -+# Location of cache files used by the scheduler... -+#CacheDir @CUPS_CACHEDIR@ -+ -+# Location of data files used by the scheduler... -+#DataDir @CUPS_DATADIR@ -+ -+# Location of the static web content served by the scheduler... -+#DocumentRoot @CUPS_DOCROOT@ -+ -+# Location of the file logging all messages produced by the scheduler and any -+# helper programs; may be the name "syslog". If not an absolute path, the value -+# of ServerRoot is used as the root directory. Also see the "LogLevel" -+# directive in cupsd.conf. -+ErrorLog @CUPS_LOGDIR@/error_log -+ -+# Location of fonts used by older print filters... -+#FontPath @CUPS_FONTPATH@ -+ -+# Location of LPD configuration -+#LPDConfigFile @CUPS_DEFAULT_LPD_CONFIG_FILE@ -+ -+# Location of the file logging all pages printed by the scheduler and any -+# helper programs; may be the name "syslog". If not an absolute path, the value -+# of ServerRoot is used as the root directory. Also see the "PageLogFormat" -+# directive in cupsd.conf. -+PageLog @CUPS_LOGDIR@/page_log -+ -+# Location of the file listing all of the local printers... -+#Printcap @CUPS_DEFAULT_PRINTCAP@ -+ -+# Format of the Printcap file... -+#PrintcapFormat bsd -+#PrintcapFormat plist -+#PrintcapFormat solaris -+ -+# Location of all spool files... -+#RequestRoot @CUPS_REQUESTS@ -+ -+# Location of helper programs... -+#ServerBin @CUPS_SERVERBIN@ -+ -+# SSL/TLS certificate for the scheduler... -+#ServerCertificate @CUPS_SERVERCERT@ -+ -+# SSL/TLS private key for the scheduler... -+#ServerKey @CUPS_SERVERKEY@ -+ -+# Location of other configuration files... -+#ServerRoot @CUPS_SERVERROOT@ -+ -+# Location of Samba configuration file... -+#SMBConfigFile @CUPS_DEFAULT_SMB_CONFIG_FILE@ -+ -+# Location of scheduler state files... -+#StateDir @CUPS_STATEDIR@ -+ -+# Location of scheduler/helper temporary files. This directory is emptied on -+# scheduler startup and cannot be one of the standard (public) temporary -+# directory locations for security reasons... -+#TempDir @CUPS_REQUESTS@/tmp -+ -+# -+# End of "$Id$". -+# -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/conf/cupsd.conf.in cups/conf/cupsd.conf.in ---- cups~/conf/cupsd.conf.in 2012-12-08 00:29:09.000000000 +0100 -+++ cups/conf/cupsd.conf.in 2012-12-08 00:29:10.000000000 +0100 -@@ -13,10 +13,6 @@ - # LogLevel debug2 gets usable now - MaxLogSize 0 - --# Administrator user group... --SystemGroup @CUPS_SYSTEM_GROUPS@ --@CUPS_SYSTEM_AUTHKEY@ -- - # Only listen for connections from the local machine. - Listen localhost:@DEFAULT_IPP_PORT@ - @CUPS_LISTEN_DOMAINSOCKET@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/config-scripts/cups-defaults.m4 cups/config-scripts/cups-defaults.m4 ---- cups~/config-scripts/cups-defaults.m4 2012-12-07 13:00:47.000000000 +0100 -+++ cups/config-scripts/cups-defaults.m4 2012-12-08 00:29:10.000000000 +0100 -@@ -353,6 +353,7 @@ - fi - - AC_DEFINE_UNQUOTED(CUPS_DEFAULT_LPD_CONFIG_FILE, "$CUPS_DEFAULT_LPD_CONFIG_FILE") -+AC_SUBST(CUPS_DEFAULT_LPD_CONFIG_FILE) - - dnl Default SMB config file... - AC_ARG_WITH(smbconfigfile, [ --with-smbconfigfile set default SMBConfigFile URI], -@@ -374,6 +375,7 @@ - fi - - AC_DEFINE_UNQUOTED(CUPS_DEFAULT_SMB_CONFIG_FILE, "$CUPS_DEFAULT_SMB_CONFIG_FILE") -+AC_SUBST(CUPS_DEFAULT_SMB_CONFIG_FILE) - - dnl Default MaxCopies value... - AC_ARG_WITH(max-copies, [ --with-max-copies set default max copies value, default=9999 ], -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/config-scripts/cups-ssl.m4 cups/config-scripts/cups-ssl.m4 ---- cups~/config-scripts/cups-ssl.m4 2012-12-07 13:00:47.000000000 +0100 -+++ cups/config-scripts/cups-ssl.m4 2012-12-08 00:29:10.000000000 +0100 -@@ -27,6 +27,8 @@ - SSLFLAGS="" - SSLLIBS="" - have_ssl=0 -+CUPS_SERVERCERT="" -+CUPS_SERVERKEY="" - - if test x$enable_ssl != xno; then - dnl Look for CDSA... -@@ -36,6 +38,7 @@ - have_ssl=1 - AC_DEFINE(HAVE_SSL) - AC_DEFINE(HAVE_CDSASSL) -+ CUPS_SERVERCERT="/Library/Keychains/System.keychain" - - dnl Check for the various security headers... - AC_CHECK_HEADER(Security/SecPolicy.h, -@@ -85,6 +88,9 @@ - fi - - if test $have_ssl = 1; then -+ CUPS_SERVERCERT="ssl/server.crt" -+ CUPS_SERVERKEY="ssl/server.key" -+ - if $PKGCONFIG --exists gcrypt; then - SSLLIBS="$SSLLIBS `$PKGCONFIG --libs gcrypt`" - SSLFLAGS="$SSLFLAGS `$PKGCONFIG --cflags gcrypt`" -@@ -122,6 +128,9 @@ - $libcrypto) - - if test "x${SSLLIBS}" != "x"; then -+ CUPS_SERVERCERT="ssl/server.crt" -+ CUPS_SERVERKEY="ssl/server.key" -+ - break - fi - done -@@ -135,6 +144,8 @@ - AC_MSG_RESULT([ Using SSLFLAGS="$SSLFLAGS"]) - fi - -+AC_SUBST(CUPS_SERVERCERT) -+AC_SUBST(CUPS_SERVERKEY) - AC_SUBST(SSLFLAGS) - AC_SUBST(SSLLIBS) - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/configure.in cups/configure.in ---- cups~/configure.in 2012-12-07 13:00:47.000000000 +0100 -+++ cups/configure.in 2012-12-08 00:29:10.000000000 +0100 -@@ -63,14 +63,14 @@ - AC_SUBST(UNINSTALL_LANGUAGES) - - AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh init/cups-lpd cups-config -- conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf -+ conf/cups-files.conf conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf - data/testprint - desktop/cups.desktop - doc/index.html doc/help/ref-cupsd-conf.html doc/help/standard.html - init/org.cups.cups-lpd.plist init/cups.xml - man/client.conf.man man/cups-deviced.man man/cups-driverd.man - man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man -- man/cupsd.conf.man man/lpoptions.man -+ man/cups-files.conf.man man/cupsd.conf.man man/lpoptions.man - templates/header.tmpl - $LANGFILES) - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/doc/help/ref-cups-files-conf.html.in cups/doc/help/ref-cups-files-conf.html.in ---- cups~/doc/help/ref-cups-files-conf.html.in 1970-01-01 01:00:00.000000000 +0100 -+++ cups/doc/help/ref-cups-files-conf.html.in 2012-12-08 00:29:10.000000000 +0100 -@@ -0,0 +1,531 @@ -+ -+ -+ -+ cups-files.conf -+ -+ -+ -+ -+

cups-files.conf

-+ -+

The /etc/cups/cups-files.conf file contains configuration directives that control the files, directories. users. and groups that are used by the CUPS scheduler, cupsd(8). Each directive is listed on a line by itself followed by its value. Comments are introduced using the number sign ("#") character at the beginning of a line.

-+ -+

AccessLog

-+ -+

Examples

-+ -+
-+AccessLog /var/log/cups/access_log
-+AccessLog /var/log/cups/access_log-%s
-+AccessLog syslog
-+
-+ -+

Description

-+ -+

The AccessLog directive sets the name of the -+access log file. If the filename is not absolute then it is -+assumed to be relative to the ServerRoot directory. The -+access log file is stored in "common log format" and can be used -+by any web access reporting tool to generate a report on CUPS -+server activity.

-+ -+

The server name can be included in the filename by using -+%s in the name.

-+ -+

The special name "syslog" can be used to send the access -+information to the system log instead of a plain file.

-+ -+

The default access log file is -+@CUPS_LOGDIR@/access_log.

-+ -+ -+

CUPS 1.1.15ConfigFilePerm

-+ -+

Examples

-+ -+
-+ConfigFilePerm 0644
-+ConfigFilePerm 0640
-+
-+ -+

Description

-+ -+

The ConfigFilePerm directive specifies the permissions to use when the scheduler writes configuration and cache files, typically in response to IPP or HTTP requests. The default is @CUPS_CONFIG_FILE_PERM@.

-+ -+
Note: -+ -+

The permissions for the printers.conf file are always masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature.

-+ -+
-+ -+ -+

DataDir

-+ -+

Examples

-+ -+
-+DataDir /usr/share/cups
-+
-+ -+

Description

-+ -+

The DataDir directive sets the directory to use -+for data files.

-+ -+ -+

CUPS 1.2/OS X 10.5DefaultAuthType

-+ -+

Examples

-+ -+
-+DefaultAuthType Basic
-+DefaultAuthType BasicDigest
-+DefaultAuthType Digest
-+DefaultAuthType Negotiate
-+
-+ -+

Description

-+ -+

The DefaultAuthType directive specifies the type -+of authentication to use for IPP operations that require a -+username. The default is Basic.

-+ -+ -+

DocumentRoot

-+ -+

Examples

-+ -+
-+DocumentRoot /usr/share/doc/cups
-+DocumentRoot /foo/bar/doc/cups
-+
-+ -+

Description

-+ -+

The DocumentRoot directive specifies the location -+of web content for the HTTP server in CUPS. If an absolute path -+is not specified then it is assumed to be relative to the ServerRoot directory. The -+default directory is @CUPS_DOCROOT@.

-+ -+

Documents are first looked up in a sub-directory for the -+primary language requested by the client (e.g. -+@CUPS_DOCROOT@/fr/...) and then directly under -+the DocumentRoot directory (e.g. -+@CUPS_DOCROOT@/...), so it is possible to -+localize the web content by providing subdirectories for each -+language needed.

-+ -+ -+

ErrorLog

-+ -+

Examples

-+ -+
-+ErrorLog /var/log/cups/error_log
-+ErrorLog /var/log/cups/error_log-%s
-+ErrorLog syslog
-+
-+ -+

Description

-+ -+

The ErrorLog directive sets the name of the error -+log file. If the filename is not absolute then it is assumed to -+be relative to the ServerRoot directory. The -+default error log file is @CUPS_LOGDIR@/error_log.

-+ -+

The server name can be included in the filename by using -+%s in the name.

-+ -+

The special name "syslog" can be used to send the error -+information to the system log instead of a plain file.

-+ -+ -+

CUPS 1.4/OS X 10.6FatalErrors

-+ -+

Examples

-+ -+
-+FatalErrors none
-+FatalErrors all
-+FatalErrors browse
-+FatalErrors config
-+FatalErrors listen
-+FatalErrors log
-+FatalErrors permissions
-+FatalErrors all -permissions
-+FatalErrors config permissions log
-+
-+ -+

Description

-+ -+

The FatalErrors directive determines whether certain kinds of -+errors are fatal. The following kinds of errors are currently recognized:

-+ -+
    -+ -+
  • none - No errors are fatal
  • -+ -+
  • all - All of the errors below are fatal
  • -+ -+
  • browse - Browsing initialization errors are fatal, -+ for example failed binding to the CUPS browse port or failed connections -+ to LDAP servers
  • -+ -+
  • config - Configuration file syntax errors are -+ fatal
  • -+ -+
  • listen - Listen or Port errors are fatal, except for -+ IPv6 failures on the loopback or "any" addresses
  • -+ -+
  • log - Log file creation or write errors are fatal
  • -+ -+
  • permissions - Bad startup file permissions are -+ fatal, for example shared SSL certificate and key files with world- -+ read permissions
  • -+ -+
-+ -+

Multiple errors can be listed, and the form "-kind" can be used with -+all to remove specific kinds of errors. The default setting is -+@CUPS_FATAL_ERRORS@.

-+ -+ -+

CUPS 1.1.18FileDevice

-+ -+

Examples

-+ -+
-+FileDevice Yes
-+FileDevice No
-+
-+ -+

Description

-+ -+

The FileDevice directive determines whether the -+scheduler allows new printers to be added using device URIs of -+the form file:/filename. File devices are most often -+used to test new printer drivers and do not support raw file -+printing.

-+ -+

The default setting is No.

-+ -+
Note: -+ -+

File devices are managed by the scheduler. Since the -+scheduler normally runs as the root user, file devices -+can be used to overwrite system files and potentially -+gain unauthorized access to the system. If you must -+create printers using file devices, we recommend that -+you set the FileDevice directive to -+Yes for only as long as you need to add the -+printers to the system, and then reset the directive to -+No.

-+ -+
-+ -+ -+

CUPS 1.1.3FontPath

-+ -+

Examples

-+ -+
-+FontPath /foo/bar/fonts
-+FontPath /usr/share/cups/fonts:/foo/bar/fonts
-+
-+ -+

Description

-+ -+

The FontPath directive specifies the font path to -+use when searching for fonts. The default font path is -+/usr/share/cups/fonts.

-+ -+ -+

Group

-+ -+

Examples

-+ -+
-+Group lp
-+Group nobody
-+
-+ -+

Description

-+ -+

The Group directive specifies the UNIX group that -+filter and CGI programs run as. The default group is -+system-specific but is usually lp or -+nobody.

-+ -+ -+

CUPS 1.1.15LogFilePerm

-+ -+

Examples

-+ -+
-+LogFilePerm 0644
-+LogFilePerm 0600
-+
-+ -+

Description

-+ -+

The LogFilePerm directive specifies the -+permissions to use when writing log files. The default -+is @CUPS_LOG_FILE_PERM@.

-+ -+ -+

PageLog

-+ -+

Examples

-+ -+
-+PageLog /var/log/cups/page_log
-+PageLog /var/log/cups/page_log-%s
-+PageLog syslog
-+
-+ -+

Description

-+ -+

The PageLog directive sets the name of the page -+log file. If the filename is not absolute then it is assumed to -+be relative to the ServerRoot directory. The -+default page log file is @CUPS_LOGDIR@/page_log.

-+ -+

The server name can be included in the filename by using -+%s in the name.

-+ -+

The special name "syslog" can be used to send the page -+information to the system log instead of a plain file.

-+ -+ -+

Printcap

-+ -+

Examples

-+ -+
-+Printcap
-+Printcap /etc/printcap
-+Printcap /etc/printers.conf
-+Printcap /Library/Preferences/org.cups.printers.plist
-+
-+ -+

Description

-+ -+

The Printcap directive controls whether or not a -+printcap file is automatically generated and updated with a list -+of available printers. If specified with no value, then no -+printcap file will be generated. The default is to generate a -+file named @CUPS_DEFAULT_PRINTCAP@.

-+ -+

When a filename is specified (e.g. @CUPS_DEFAULT_PRINTCAP@), -+the printcap file is written whenever a printer is added or -+removed. The printcap file can then be used by applications that -+are hardcoded to look at the printcap file for the available -+printers.

-+ -+ -+

PrintcapFormat

-+ -+

Examples

-+ -+
-+PrintcapFormat BSD
-+PrintcapFormat Solaris
-+PrintcapFormat plist
-+
-+ -+

Description

-+ -+

The PrintcapFormat directive controls the output format of the -+printcap file. The default is to generate the plist format on OS X, the -+Solaris format on Solaris, and the BSD format on other operating systems.

-+ -+ -+

CUPS 1.1.3RemoteRoot

-+ -+

Examples

-+ -+
-+RemoteRoot remroot
-+RemoteRoot root
-+
-+ -+

Description

-+ -+

The RemoteRoot directive sets the username for -+unauthenticated root requests from remote hosts. The default -+username is remroot. Setting RemoteRoot -+to root effectively disables this security -+mechanism.

-+ -+ -+

RequestRoot

-+ -+

Examples

-+ -+
-+RequestRoot /var/spool/cups
-+RequestRoot /foo/bar/spool/cups
-+
-+ -+

Description

-+ -+

The RequestRoot directive sets the directory for -+incoming IPP requests and HTML forms. If an absolute path is not -+provided then it is assumed to be relative to the ServerRoot directory. The -+default request directory is @CUPS_REQUESTS@.

-+ -+ -+

ServerBin

-+ -+

Examples

-+ -+
-+ServerBin /usr/lib/cups
-+ServerBin /foo/bar/lib/cups
-+
-+ -+

Description

-+ -+

The ServerBin directive sets the directory for -+server-run executables. If an absolute path is not provided then -+it is assumed to be relative to the ServerRoot directory. The -+default executable directory is /usr/lib/cups, -+/usr/lib32/cups, or /usr/libexec/cups -+depending on the operating system.

-+ -+ -+

ServerCertificate

-+ -+

Examples

-+ -+
-+ServerCertificate /etc/cups/ssl/server.crt
-+
-+ -+

Description

-+ -+

The ServerCertificate directive specifies the -+location of the SSL certificate file used by the server when -+negotiating encrypted connections. The certificate must not be -+encrypted (password protected) since the scheduler normally runs -+in the background and will be unable to ask for a password.

-+ -+

The default certificate file is -+/etc/cups/ssl/server.crt.

-+ -+ -+

ServerKey

-+ -+

Examples

-+ -+
-+ServerKey /etc/cups/ssl/server.key
-+
-+ -+

Description

-+ -+

The ServerKey directive specifies the location of -+the SSL private key file used by the server when negotiating -+encrypted connections.

-+ -+

The default key file is -+/etc/cups/ssl/server.crt.

-+ -+ -+

ServerRoot

-+ -+

Examples

-+ -+
-+ServerRoot /etc/cups
-+ServerRoot /foo/bar/cups
-+
-+ -+

Description

-+ -+

The ServerRoot directive specifies the absolute -+path to the server configuration and state files. It is also used -+to resolve relative paths in the cupsd.conf file. The -+default server directory is /etc/cups.

-+ -+ -+

SystemGroup

-+ -+

Examples

-+ -+
-+SystemGroup lpadmin
-+SystemGroup sys
-+SystemGroup system
-+SystemGroup root
-+SystemGroup root lpadmin
-+
-+ -+

Description

-+ -+

The SystemGroup directive specifies the system -+administration group for System authentication. -+Multiple groups can be listed, separated with spaces. The default -+group list is @CUPS_SYSTEM_GROUPS@.

-+ -+ -+

TempDir

-+ -+

Examples

-+ -+
-+TempDir /var/tmp
-+TempDir /foo/bar/tmp
-+
-+ -+

Description

-+ -+

The TempDir directive specifies an absolute path -+for the directory to use for temporary files. The default -+directory is @CUPS_REQUESTS@/tmp.

-+ -+

Temporary directories must be world-writable and should have -+the "sticky" permission bit enabled so that other users cannot -+delete filter temporary files. The following commands will create -+an appropriate temporary directory called -+/foo/bar/tmp:

-+ -+
-+mkdir /foo/bar/tmp
-+chmod a+rwxt /foo/bar/tmp
-+
-+ -+ -+

User

-+ -+

Examples

-+ -+
-+User lp
-+User guest
-+
-+ -+

Description

-+ -+

The User directive specifies the UNIX user that -+filter and CGI programs run as. The default user is -+@CUPS_USER@.

-+ -+
Note: -+ -+

You may not use user root, as that would expose -+the system to unacceptable security risks. The scheduler will -+automatically choose user nobody if you specify a -+user whose ID is 0.

-+ -+
-+ -+ -+ -+ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/doc/help/ref-cupsd-conf.html.in cups/doc/help/ref-cupsd-conf.html.in ---- cups~/doc/help/ref-cupsd-conf.html.in 2012-12-07 13:00:48.000000000 +0100 -+++ cups/doc/help/ref-cupsd-conf.html.in 2012-12-08 00:29:10.000000000 +0100 -@@ -191,82 +191,6 @@ - HREF="#Limit">Limit section.

- - --

DeprecatedAuthClass

-- --

Examples

-- --
--<Location /path>
--  ...
--  AuthClass Anonymous
--  AuthClass User
--  AuthClass System
--  AuthClass Group
--</Location>
--
-- --

Description

-- --

The AuthClass directive defines what level of --authentication is required:

-- --
    -- --
  • Anonymous - No authentication should be -- performed (default)
  • -- --
  • User - A valid username and password is -- required
  • -- --
  • System - A valid username and password -- is required, and the username must belong to the "sys" -- group; this can be changed using the SystemGroup -- directive
  • -- --
  • Group - A valid username and password is -- required, and the username must belong to the group named -- by the AuthGroupName -- directive
  • -- --
-- --

The AuthClass directive must appear inside a Location or Limit section.

-- --

This directive is deprecated and will be removed from a --future release of CUPS. Consider using the more flexible Require directive instead.

-- -- --

DeprecatedAuthGroupName

-- --

Examples

-- --
--<Location /path>
--  ...
--  AuthGroupName mygroup
--  AuthGroupName lp
--</Location>
--
-- --

Description

-- --

The AuthGroupName directive sets the group to use --for Group authentication.

-- --

The AuthGroupName directive must appear inside a --Location or Limit section.

-- --

This directive is deprecated and will be removed from a --future release of CUPS. Consider using the more flexible Require directive instead.

-- -- -

AuthType

- -

Examples

-@@ -2494,65 +2418,6 @@ - files as soon as each job is completed, canceled, or aborted.

- - --

Printcap

-- --

Examples

-- --
--Printcap
--Printcap /etc/printcap
--Printcap /etc/printers.conf
--Printcap /Library/Preferences/org.cups.printers.plist
--
-- --

Description

-- --

The Printcap directive controls whether or not a --printcap file is automatically generated and updated with a list --of available printers. If specified with no value, then no --printcap file will be generated. The default is to generate a --file named @CUPS_DEFAUL_PRINTCAP@.

-- --

When a filename is specified (e.g. @CUPS_DEFAULT_PRINTCAP@), --the printcap file is written whenever a printer is added or --removed. The printcap file can then be used by applications that --are hardcoded to look at the printcap file for the available --printers.

-- -- --

PrintcapFormat

-- --

Examples

-- --
--PrintcapFormat BSD
--PrintcapFormat Solaris
--PrintcapFormat plist
--
-- --

Description

-- --

The PrintcapFormat directive controls the output format of the --printcap file. The default is to generate the plist format on Mac OS X, the --Solaris format on Solaris, and the BSD format on other operating systems.

-- -- --

CUPS 1.1.13PrintcapGUI

-- --

Examples

-- --
--PrintGUI /usr/bin/glpoptions
--
-- --

Description

-- --

The PrintcapGUI directive sets the program to --associate with the IRIX printer GUI interface script which is --used by IRIX applications to display printer-specific options. --There is no default program.

-- -- -

CUPS 1.1.21ReloadTimeout

- -

Examples

-@@ -2569,42 +2434,6 @@ - before doing a restart. The default is 30 seconds.

- - --

CUPS 1.1.3RemoteRoot

-- --

Examples

-- --
--RemoteRoot remroot
--RemoteRoot root
--
-- --

Description

-- --

The RemoteRoot directive sets the username for --unauthenticated root requests from remote hosts. The default --username is remroot. Setting RemoteRoot --to root effectively disables this security --mechanism.

-- -- --

RequestRoot

-- --

Examples

-- --
--RequestRoot /var/spool/cups
--RequestRoot /foo/bar/spool/cups
--
-- --

Description

-- --

The RequestRoot directive sets the directory for --incoming IPP requests and HTML forms. If an absolute path is not --provided then it is assumed to be relative to the ServerRoot directory. The --default request directory is @CUPS_REQUESTS@.

-- -- -

CUPS 1.1.7Require

- -

Examples

-@@ -2759,64 +2588,6 @@ - - - --

ServerBin

-- --

Examples

-- --
--ServerBin /usr/lib/cups
--ServerBin /foo/bar/lib/cups
--
-- --

Description

-- --

The ServerBin directive sets the directory for --server-run executables. If an absolute path is not provided then --it is assumed to be relative to the ServerRoot directory. The --default executable directory is /usr/lib/cups, --/usr/lib32/cups, or /usr/libexec/cups --depending on the operating system.

-- -- --

ServerCertificate

-- --

Examples

-- --
--ServerCertificate /etc/cups/ssl/server.crt
--
-- --

Description

-- --

The ServerCertificate directive specifies the --location of the SSL certificate file used by the server when --negotiating encrypted connections. The certificate must not be --encrypted (password protected) since the scheduler normally runs --in the background and will be unable to ask for a password.

-- --

The default certificate file is --/etc/cups/ssl/server.crt.

-- -- --

ServerKey

-- --

Examples

-- --
--ServerKey /etc/cups/ssl/server.key
--
-- --

Description

-- --

The ServerKey directive specifies the location of --the SSL private key file used by the server when negotiating --encrypted connections.

-- --

The default key file is --/etc/cups/ssl/server.crt.

-- -- -

ServerName

- -

Examples

-@@ -2833,23 +2604,6 @@ - hostname.

- - --

ServerRoot

-- --

Examples

-- --
--ServerRoot /etc/cups
--ServerRoot /foo/bar/cups
--
-- --

Description

-- --

The ServerRoot directive specifies the absolute --path to the server configuration and state files. It is also used --to resolve relative paths in the cupsd.conf file. The --default server directory is /etc/cups.

-- -- -

CUPS 1.1.21ServerTokens

- -

Examples

-@@ -2985,53 +2739,6 @@ - can be specified to listen on multiple ports.

- - --

SystemGroup

-- --

Examples

-- --
--SystemGroup lpadmin
--SystemGroup sys
--SystemGroup system
--SystemGroup root
--SystemGroup root lpadmin
--
-- --

Description

-- --

The SystemGroup directive specifies the system --administration group for System authentication. --Multiple groups can be listed, separated with spaces. The default --group list is @CUPS_SYSTEM_GROUPS@.

-- -- --

TempDir

-- --

Examples

-- --
--TempDir /var/tmp
--TempDir /foo/bar/tmp
--
-- --

Description

-- --

The TempDir directive specifies an absolute path --for the directory to use for temporary files. The default --directory is @CUPS_REQUESTS@/tmp.

-- --

Temporary directories must be world-writable and should have --the "sticky" permission bit enabled so that other users cannot --delete filter temporary files. The following commands will create --an appropriate temporary directory called --/foo/bar/tmp:

-- --
--mkdir /foo/bar/tmp
--chmod a+rwxt /foo/bar/tmp
--
-- -- -

Timeout

- -

Examples

-@@ -3048,52 +2755,5 @@ - default timeout is 300 seconds.

- - --

CUPS 1.2/Mac OS X 10.5UseNetworkDefault

-- --

Examples

-- --
--UseNetworkDefault yes
--UseNetworkDefault no
--
-- --

Description

-- --

The UseNetworkDefault directive controls whether --the client will use a network/remote printer as a default --printer. If enabled, the default printer of a server is used as --the default printer on a client. When multiple servers are --advertising a default printer, the client's default printer is --set to the first discovered printer, or to the implicit class for --the same printer available from multiple servers.

-- --

The default is @CUPS_USE_NETWORK_DEFAULT@.

-- -- --

User

-- --

Examples

-- --
--User lp
--User guest
--
-- --

Description

-- --

The User directive specifies the UNIX user that --filter and CGI programs run as. The default user is --@CUPS_USER@.

-- --
Note: -- --

You may not use user root, as that would expose --the system to unacceptable security risks. The scheduler will --automatically choose user nobody if you specify a --user whose ID is 0.

-- --
-- -- - - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_da.po cups/locale/cups_da.po ---- cups~/locale/cups_da.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_da.po 2012-12-08 01:01:31.675672771 +0100 -@@ -2881,10 +2881,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Arkivets enheds-URI'er er blevet slået fra! Du slår det til ved at se i " --"FileDevice-direktivet i \"%s/cupsd.conf\"." -+"FileDevice-direktivet i \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "8,5 x 13\"" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_de.po cups/locale/cups_de.po ---- cups~/locale/cups_de.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_de.po 2012-12-08 00:56:57.515682472 +0100 -@@ -2909,10 +2909,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Dateigeräte-URIs wurden deaktiviert! Infos zum Aktivieren finden Sie im " --"FileDevice-Verzeichnis unter „%s/cupsd.conf“." -+"FileDevice-Verzeichnis unter „%s/cups-files.conf“." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_es.po cups/locale/cups_es.po ---- cups~/locale/cups_es.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_es.po 2012-12-08 00:57:31.903681255 +0100 -@@ -2941,10 +2941,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Los URIs del dispositivo de archivo han sido deshabilitados. Para " --"habilitarlos, vea la directiva FileDevice en \"%s/cupsd.conf\"." -+"habilitarlos, vea la directiva FileDevice en \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_eu.po cups/locale/cups_eu.po ---- cups~/locale/cups_eu.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_eu.po 2012-12-08 00:58:35.175679014 +0100 -@@ -3793,10 +3793,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Fitxategiaren gailuaren URIak desgaitu egin dira. Gaitzeko, ikus FileDevice " --"direktiba \"%s/cupsd.conf\" fitxategian." -+"direktiba \"%s/cups-files.conf\" fitxategian." - - #: ppdc/sample.c:92 - msgid "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_fi.po cups/locale/cups_fi.po ---- cups~/locale/cups_fi.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_fi.po 2012-12-08 01:02:01.039671731 +0100 -@@ -2886,10 +2886,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Tiedostolaitteiden osoitteet on poistettu käytöstä! Voit ottaa ne käyttöön ”%" --"s/cupsd.conf”-tiedoston FileDevice-säännöllä." -+"s/cups-files.conf”-tiedoston FileDevice-säännöllä." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_fr.po cups/locale/cups_fr.po ---- cups~/locale/cups_fr.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_fr.po 2012-12-08 01:03:03.287669533 +0100 -@@ -2925,10 +2925,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Les URI des périphériques de fichier ont été désactivés. Pour l’activer, " --"reportez-vous à la directive FileDevice dans « %s/cupsd.conf »." -+"reportez-vous à la directive FileDevice dans « %s/cups-files.conf »." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_id.po cups/locale/cups_id.po ---- cups~/locale/cups_id.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_id.po 2012-12-08 01:03:26.919668695 +0100 -@@ -3712,10 +3712,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Berkas URI perangkat telah dinonaktifkan! Untuk mengaktifkannya, lihatlah " --"petunjuk FileDevice dalam \"%s/cupsd.conf\"." -+"petunjuk FileDevice dalam \"%s/cups-files.conf\"." - - #: ppdc/sample.c:92 - msgid "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_it.po cups/locale/cups_it.po ---- cups~/locale/cups_it.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_it.po 2012-12-08 01:04:46.011665881 +0100 -@@ -2819,8 +2819,8 @@ - msgstr "Cartella documento: 9/16 x 3 7/16\"" - - #, c-format --msgid "File device URIs have been disabled! To enable, see the FileDevice directive in \"%s/cupsd.conf\"." --msgstr "Gli URI del dispositivo documento sono stati disabilitati! Per abilitarli, consulta l'istruzione del FileDevice in \"%s/cupsd.conf\"." -+msgid "File device URIs have been disabled! To enable, see the FileDevice directive in \"%s/cups-files.conf\"." -+msgstr "Gli URI del dispositivo documento sono stati disabilitati! Per abilitarli, consulta l'istruzione del FileDevice in \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Foglio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_ja.po cups/locale/cups_ja.po ---- cups~/locale/cups_ja.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_ja.po 2012-12-08 01:05:34.883664166 +0100 -@@ -2867,8 +2867,8 @@ - msgstr "ファイルフォルダー - 9/16 x 3 7/16\"" - - #, c-format --msgid "File device URIs have been disabled! To enable, see the FileDevice directive in \"%s/cupsd.conf\"." --msgstr "ファイルデバイス URI は無効になっています! 有効にするには、\"%s/cupsd.conf\" の FileDevice ディレクティブを参照してください。" -+msgid "File device URIs have been disabled! To enable, see the FileDevice directive in \"%s/cups-files.conf\"." -+msgstr "ファイルデバイス URI は無効になっています! 有効にするには、\"%s/cups-files.conf\" の FileDevice ディレクティブを参照してください。" - - msgid "Folio" - msgstr "フォリオ" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_ko.po cups/locale/cups_ko.po ---- cups~/locale/cups_ko.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_ko.po 2012-12-08 01:06:35.647662090 +0100 -@@ -2866,9 +2866,9 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" --"파일 장비 URI가 비활성화되었습니다! 활성화하려면, \"%s/cupsd.conf\"에 있는 " -+"파일 장비 URI가 비활성화되었습니다! 활성화하려면, \"%s/cups-files.conf\"에 있는 " - "FileDevice 지시문을 보십시오." - - msgid "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_nl.po cups/locale/cups_nl.po ---- cups~/locale/cups_nl.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_nl.po 2012-12-08 01:07:07.987660903 +0100 -@@ -2910,10 +2910,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "File device-URI&aops;s zijn uitgeschakeld! Raadpleeg als u de URI&aops;s " --"weer wilt inschakelen de richtlijn voor FileDevice in \"%s/cupsd.conf\"." -+"weer wilt inschakelen de richtlijn voor FileDevice in \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_no.po cups/locale/cups_no.po ---- cups~/locale/cups_no.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_no.po 2012-12-08 01:07:18.003660528 +0100 -@@ -2871,10 +2871,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Enhets-URIer for filer er deaktivert! Hvis du vil aktivere funksjonen, leser " --"du FileDevice-direktivet i «%s/cupsd.conf»." -+"du FileDevice-direktivet i «%s/cups-files.conf»." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_pl.po cups/locale/cups_pl.po ---- cups~/locale/cups_pl.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_pl.po 2012-12-08 01:07:24.747660332 +0100 -@@ -2895,10 +2895,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "URI pliku urządzenia zostało wyłączone! Aby włączyć, zobacz dyrektywę " --"FileDevice w \"%s/cupsd.conf\"." -+"FileDevice w \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_pt.po cups/locale/cups_pt.po ---- cups~/locale/cups_pt.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_pt.po 2012-12-08 01:07:37.875659840 +0100 -@@ -2897,10 +2897,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "URIs do periférico do ficheiro foram desactivados! Para activar, consulte a " --"directiva FileDevice em \"%s/cupsd.conf\"." -+"directiva FileDevice em \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Fólio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_pt_BR.po cups/locale/cups_pt_BR.po ---- cups~/locale/cups_pt_BR.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_pt_BR.po 2012-12-08 01:07:31.707660026 +0100 -@@ -2904,10 +2904,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "URIs de dispositivo de arquivo foram desativados! Para ativá-los, consulte a " --"diretiva FileDevice em \"%s/cupsd.conf\"." -+"diretiva FileDevice em \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Fólio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_ru.po cups/locale/cups_ru.po ---- cups~/locale/cups_ru.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_ru.po 2012-12-08 01:07:51.439659296 +0100 -@@ -2884,10 +2884,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "URI-адреса файлового устройства отключены! Чтобы включить их, используйте " --"директиву FileDevice в «%s/cupsd.conf»." -+"директиву FileDevice в «%s/cups-files.conf»." - - msgid "Folio" - msgstr "Фолио" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_sv.po cups/locale/cups_sv.po ---- cups~/locale/cups_sv.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_sv.po 2012-12-08 01:07:58.247659102 +0100 -@@ -2875,10 +2875,10 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" - "Filenhets URI:er har blivit avaktiverade! För att aktivera, se direktivet " --"FileDevice i \"%s/cupsd.conf\"." -+"FileDevice i \"%s/cups-files.conf\"." - - msgid "Folio" - msgstr "Folio" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_zh.po cups/locale/cups_zh.po ---- cups~/locale/cups_zh.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_zh.po 2012-12-08 01:08:56.791657022 +0100 -@@ -2844,9 +2844,9 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" --"文件设备 URI 已被停用!要启用,请参阅“%s/cupsd.conf”中的 FileDevice 指令。" -+"文件设备 URI 已被停用!要启用,请参阅“%s/cups-files.conf”中的 FileDevice 指令。" - - msgid "Folio" - msgstr "对开本" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/locale/cups_zh_TW.po cups/locale/cups_zh_TW.po ---- cups~/locale/cups_zh_TW.po 2012-12-07 13:00:48.000000000 +0100 -+++ cups/locale/cups_zh_TW.po 2012-12-08 01:09:07.407656652 +0100 -@@ -2845,9 +2845,9 @@ - #, c-format - msgid "" - "File device URIs have been disabled! To enable, see the FileDevice directive " --"in \"%s/cupsd.conf\"." -+"in \"%s/cups-files.conf\"." - msgstr "" --"已停用檔案設備 URI!若要啟用,請參閱“%s/cupsd.conf”中的 FileDevice 指示。" -+"已停用檔案設備 URI!若要啟用,請參閱“%s/cups-files.conf”中的 FileDevice 指示。" - - msgid "Folio" - msgstr "對開紙" -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/man/Makefile cups/man/Makefile ---- cups~/man/Makefile 2012-12-08 00:29:09.000000000 +0100 -+++ cups/man/Makefile 2012-12-08 00:29:10.000000000 +0100 -@@ -39,6 +39,7 @@ - ppdpo.$(MAN1EXT) - MAN5 = classes.conf.$(MAN5EXT) \ - client.conf.$(MAN5EXT) \ -+ cups-files.conf.$(MAN5EXT) \ - cups-snmp.conf.$(MAN5EXT) \ - cupsd.conf.$(MAN5EXT) \ - mailto.conf.$(MAN5EXT) \ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cups~/man/cups-files.conf.man.in cups/man/cups-files.conf.man.in ---- cups~/man/cups-files.conf.man.in 1970-01-01 01:00:00.000000000 +0100 -+++ cups/man/cups-files.conf.man.in 2012-12-08 00:29:10.000000000 +0100 -@@ -0,0 +1,146 @@ -+.\" -+.\" "$Id$" -+.\" -+.\" cupsd.conf man page for CUPS. -+.\" -+.\" Copyright 2007-2012 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/". -+.\" -+.TH cups-files.conf 5 "CUPS" "19 November 2012" "Apple Inc." -+.SH NAME -+cups-files.conf \- file and directory configuration file for cups -+.SH DESCRIPTION -+The \fIcups-file.conf\fR file configures the files and directories used by the -+CUPS scheduler, \fIcupsd(8)\fR. It is normally located in the -+\fI@CUPS_SERVERROOT@\fR directory. -+.LP -+Each line in the file can be a configuration directive, a blank line, -+or a comment. Comment lines start with the # character. -+.SH DIRECTIVES -+The following directives are understood by \fIcupsd(8)\fR. Consult the -+on-line help for detailed descriptions: -+.TP 5 -+AccessLog filename -+.TP 5 -+AccessLog syslog -+.br -+Defines the access log filename. -+.TP 5 -+ConfigFilePerm mode -+.br -+Specifies the permissions for all configuration files that the scheduler -+writes. -+.TP 5 -+DataDir path -+.br -+Specified the directory where data files can be found. -+.TP 5 -+DocumentRoot directory -+.br -+Specifies the root directory for the internal web server documents. -+.TP 5 -+ErrorLog filename -+.TP 5 -+ErrorLog syslog -+.br -+Specifies the e