summaryrefslogtreecommitdiff
path: root/print/cups/files/cupsd.sh
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-06 07:26:39 +0000
committerjlam <jlam@pkgsrc.org>2005-01-06 07:26:39 +0000
commit4ca34dec6c14d725ff4052e8730a26394f25a3a2 (patch)
treeee91592f3c26c557b5fda626caf50504f0e501cf /print/cups/files/cupsd.sh
parent5bdbd4857eb1473969370a8a8fc9adff15b24ffb (diff)
downloadpkgsrc-4ca34dec6c14d725ff4052e8730a26394f25a3a2.tar.gz
Update print/cups to 1.1.23. Changes from version 1.1.22 include:
- The scheduler's is_path_absolute() code could cause a DoS (STR #1042) - The scheduler's device loading code used the wrong size limits for the make/model and info parameters (STR #1035) - The PNG loading code did not use a "long unsigned integer" format specifier for the width and height (STR #1032) - The web interface only showed the first 4 or 8 characters of "{variable-name}" for undefined template variables (STR #1031) - The hpgltops filter did not handle a common PCL command to enter HP-GL/2 mode (STR #1037) - The scheduler no longer sends the page-set option when printing banner pages (STR #995) - The hpgltops filter contained two buffer overflows that could potentially allow remote access to the "lp" account (STR #1024) - The lppasswd command did not protect against file descriptor or ulimit attacks (STR #1023) - The "lpc status" command used the wrong resource path when querying the list of printers and jobs, causing unnecessary authentication requests (STR #1018) - The httpWait() function did not handle signal interruptions (STR #1020) - The USB backend used the wrong size status variable when checking the printer status (STR #1017) - The scheduler did not delete classes from other classes or implicit classes, which could cause a crash (STR #1015) - The IPP backend now logs the remote print job ID at log level NOTICE instead of INFO (so it shows up in the error_log file...)
Diffstat (limited to 'print/cups/files/cupsd.sh')
-rw-r--r--print/cups/files/cupsd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/cups/files/cupsd.sh b/print/cups/files/cupsd.sh
index 06b2283cff9..4000f876f33 100644
--- a/print/cups/files/cupsd.sh
+++ b/print/cups/files/cupsd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: cupsd.sh,v 1.18 2004/01/10 03:32:09 jlam Exp $
+# $NetBSD: cupsd.sh,v 1.19 2005/01/06 07:26:39 jlam Exp $
#
# Common UNIX Printing System daemon
#
@@ -64,8 +64,8 @@ cupsd_waitcmd()
if [ -f /etc/rc.subr ]; then
load_rc_config $name
- [ -z "${cupsd_wait}" ] && cupsd_wait=NO
- [ -z "${cupsd_timeout}" ] && cupsd_timeout=60
+ : ${cupsd_wait:=NO}
+ : ${cupsd_timeout:=60}
run_rc_command "$1"
else
@ECHO@ -n " ${name}"