head 1.36; access; symbols pkgsrc-2017Q3:1.34.0.4 pkgsrc-2017Q3-base:1.34 pkgsrc-2017Q2:1.33.0.14 pkgsrc-2017Q2-base:1.33 pkgsrc-2017Q1:1.33.0.12 pkgsrc-2017Q1-base:1.33 pkgsrc-2016Q4:1.33.0.10 pkgsrc-2016Q4-base:1.33 pkgsrc-2016Q3:1.33.0.8 pkgsrc-2016Q3-base:1.33 pkgsrc-2016Q2:1.33.0.6 pkgsrc-2016Q2-base:1.33 pkgsrc-2016Q1:1.33.0.4 pkgsrc-2016Q1-base:1.33 pkgsrc-2015Q4:1.33.0.2 pkgsrc-2015Q4-base:1.33 pkgsrc-2015Q3:1.32.0.12 pkgsrc-2015Q3-base:1.32 pkgsrc-2015Q2:1.32.0.10 pkgsrc-2015Q2-base:1.32 pkgsrc-2015Q1:1.32.0.8 pkgsrc-2015Q1-base:1.32 pkgsrc-2014Q4:1.32.0.6 pkgsrc-2014Q4-base:1.32 pkgsrc-2014Q3:1.32.0.4 pkgsrc-2014Q3-base:1.32 pkgsrc-2014Q2:1.32.0.2 pkgsrc-2014Q2-base:1.32 pkgsrc-2014Q1:1.30.0.14 pkgsrc-2014Q1-base:1.30 pkgsrc-2013Q4:1.30.0.12 pkgsrc-2013Q4-base:1.30 pkgsrc-2013Q3:1.30.0.10 pkgsrc-2013Q3-base:1.30 pkgsrc-2013Q2:1.30.0.8 pkgsrc-2013Q2-base:1.30 pkgsrc-2013Q1:1.30.0.6 pkgsrc-2013Q1-base:1.30 pkgsrc-2012Q4:1.30.0.4 pkgsrc-2012Q4-base:1.30 pkgsrc-2012Q3:1.30.0.2 pkgsrc-2012Q3-base:1.30 pkgsrc-2012Q2:1.28.0.8 pkgsrc-2012Q2-base:1.28 pkgsrc-2012Q1:1.28.0.6 pkgsrc-2012Q1-base:1.28 pkgsrc-2011Q4:1.28.0.4 pkgsrc-2011Q4-base:1.28 pkgsrc-2011Q3:1.28.0.2 pkgsrc-2011Q3-base:1.28 pkgsrc-2011Q2:1.27.0.6 pkgsrc-2011Q2-base:1.27 pkgsrc-2011Q1:1.27.0.4 pkgsrc-2011Q1-base:1.27 pkgsrc-2010Q4:1.27.0.2 pkgsrc-2010Q4-base:1.27 pkgsrc-2010Q3:1.26.0.4 pkgsrc-2010Q3-base:1.26 pkgsrc-2010Q2:1.26.0.2 pkgsrc-2010Q2-base:1.26 pkgsrc-2010Q1:1.24.0.6 pkgsrc-2010Q1-base:1.24 pkgsrc-2009Q4:1.24.0.4 pkgsrc-2009Q4-base:1.24 pkgsrc-2009Q3:1.24.0.2 pkgsrc-2009Q3-base:1.24 pkgsrc-2009Q1:1.22.0.2 pkgsrc-2009Q1-base:1.22 pkgsrc-2008Q4:1.19.0.10 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.19.0.8 pkgsrc-2008Q3-base:1.19 cube-native-xorg:1.19.0.6 cube-native-xorg-base:1.19 pkgsrc-2008Q2:1.19.0.4 pkgsrc-2008Q2-base:1.19 pkgsrc-2008Q1:1.19.0.2 pkgsrc-2008Q1-base:1.19 pkgsrc-2007Q4:1.17.0.6 pkgsrc-2007Q4-base:1.17 pkgsrc-2007Q3:1.17.0.4 pkgsrc-2007Q3-base:1.17 pkgsrc-2007Q2:1.17.0.2 pkgsrc-2007Q2-base:1.17 pkgsrc-2007Q1:1.16.0.2 pkgsrc-2007Q1-base:1.16 pkgsrc-2006Q4:1.14.0.10 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.8 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.14.0.6 pkgsrc-2006Q2-base:1.14 pkgsrc-2006Q1:1.14.0.4 pkgsrc-2006Q1-base:1.14 pkgsrc-2005Q4:1.14.0.2 pkgsrc-2005Q4-base:1.14 pkgsrc-2005Q3:1.13.0.16 pkgsrc-2005Q3-base:1.13 pkgsrc-2005Q2:1.13.0.14 pkgsrc-2005Q2-base:1.13 pkgsrc-2005Q1:1.13.0.12 pkgsrc-2005Q1-base:1.13 pkgsrc-2004Q4:1.13.0.10 pkgsrc-2004Q4-base:1.13 pkgsrc-2004Q3:1.13.0.8 pkgsrc-2004Q3-base:1.13 pkgsrc-2004Q2:1.13.0.6 pkgsrc-2004Q2-base:1.13 pkgsrc-2004Q1:1.13.0.4 pkgsrc-2004Q1-base:1.13 pkgsrc-2003Q4:1.13.0.2 pkgsrc-2003Q4-base:1.13 buildlink2-base:1.11 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.36 date 2017.11.12.14.10.15; author khorben; state dead; branches; next 1.35; commitid itF6QcdEeR8hJKeA; 1.35 date 2017.10.23.12.34.54; author leot; state Exp; branches; next 1.34; commitid yP29mn6gOZ4DSacA; 1.34 date 2017.09.03.11.30.54; author leot; state Exp; branches; next 1.33; commitid oDHv2ugiVmWo8K5A; 1.33 date 2015.12.02.21.14.16; author leot; state Exp; branches; next 1.32; commitid rRvFRGchmAiPXpLy; 1.32 date 2014.06.07.07.34.05; author wiz; state Exp; branches; next 1.31; commitid IkMNWbCzpSJRSyDx; 1.31 date 2014.05.10.13.42.08; author richard; state Exp; branches; next 1.30; commitid 7UMgyetfnjPSOZzx; 1.30 date 2012.09.18.15.17.32; author drochner; state Exp; branches; next 1.29; 1.29 date 2012.09.18.07.17.29; author bouyer; state Exp; branches; next 1.28; 1.28 date 2011.08.12.02.03.14; author sbd; state Exp; branches; next 1.27; 1.27 date 2010.11.12.08.54.58; author sbd; state Exp; branches 1.27.6.1; next 1.26; 1.26 date 2010.05.21.10.05.20; author sbd; state Exp; branches; next 1.25; 1.25 date 2010.05.20.08.06.44; author sbd; state Exp; branches; next 1.24; 1.24 date 2009.09.08.19.02.11; author joerg; state Exp; branches; next 1.23; 1.23 date 2009.05.14.01.19.12; author christos; state dead; branches; next 1.22; 1.22 date 2009.02.11.10.21.33; author markd; state Exp; branches; next 1.21; 1.21 date 2009.01.30.12.44.15; author gdt; state Exp; branches; next 1.20; 1.20 date 2009.01.29.15.28.31; author gdt; state Exp; branches; next 1.19; 1.19 date 2008.04.03.04.06.27; author markd; state dead; branches; next 1.18; 1.18 date 2008.01.22.23.59.00; author markd; state Exp; branches; next 1.17; 1.17 date 2007.06.06.11.14.27; author markd; state dead; branches; next 1.16; 1.16 date 2007.03.22.12.44.22; author markd; state Exp; branches; next 1.15; 1.15 date 2007.03.14.12.29.04; author markd; state dead; branches; next 1.14; 1.14 date 2005.12.19.16.04.48; author joerg; state Exp; branches; next 1.13; 1.13 date 2003.05.28.02.34.00; author jlam; state dead; branches; next 1.12; 1.12 date 2003.03.20.17.30.18; author fredb; state Exp; branches; next 1.11; 1.11 date 2001.08.18.04.41.46; author jlam; state dead; branches; next 1.10; 1.10 date 2001.08.02.03.37.40; author jlam; state Exp; branches; next 1.9; 1.9 date 2001.02.27.17.37.54; author jlam; state dead; branches; next 1.8; 1.8 date 2001.02.13.20.21.36; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.02.08.19.05.01; author jlam; state Exp; branches; next 1.6; 1.6 date 2001.01.28.02.05.37; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.01.11.19.00.43; author jlam; state dead; branches; next 1.4; 1.4 date 2000.12.21.14.59.38; author jlam; state Exp; branches; next 1.3; 1.3 date 2000.12.14.17.04.45; author jlam; state Exp; branches; next 1.2; 1.2 date 2000.07.12.20.09.36; author jlam; state dead; branches; next 1.1; 1.1 date 99.11.29.02.18.54; author jlam; state Exp; branches 1.1.1.1; next ; 1.27.6.1 date 2011.08.14.12.17.35; author tron; state Exp; branches; next ; 1.1.1.1 date 99.11.29.02.18.54; author jlam; state Exp; branches; next ; desc @@ 1.36 log @Rename print/cups to print/cups-base to depend on cups-filters This change: - renames print/cups to print/cups-base, - lets print/cups-filters depend on print/cups-base instead of cups, - adds a package print/cups depending on print/cups-base and print/cups-filters. This makes sure installing print/cups always installs print/cups-filters, as it is necessary for being able to print outside of Mac OS X since CUPS 1.6.0. You're welcome. I do not think superseding is necessary, since print/cups will also install print/cups-base, which really is the same as before. In practice it is like a new dependency. I do not want to risk a bad "cvs import" either, sorry. Bumps PKGREVISION for print/cups and print/cups-filters, since they have new dependencies now. This is also necessary for everything else currently depending on print/cups; I will try to commit this right after this one. Tested on NetBSD/amd64, as reviewed on tech-pkg@@. No breakage observed, apologies if anything goes wrong. @ text @$NetBSD: patch-ae,v 1.35 2017/10/23 12:34:54 leot Exp $ - Do not pass `-z' option to install(1) - Honor optimization flags. --- Makedefs.in.orig 2017-10-13 18:22:26.000000000 +0000 +++ Makedefs.in @@@@ -49,7 +49,7 @@@@ SHELL = /bin/sh # INSTALL_BIN = @@LIBTOOL_INSTALL@@ $(INSTALL) -c -m @@CUPS_EXE_FILE_PERM@@ @@INSTALL_STRIP@@ -INSTALL_COMPDATA = $(INSTALL) -c -m 444 @@INSTALL_GZIP@@ +INSTALL_COMPDATA = $(INSTALL) -c -m 444 INSTALL_CONFIG = $(INSTALL) -c -m @@CUPS_CONFIG_FILE_PERM@@ INSTALL_DATA = $(INSTALL) -c -m 444 INSTALL_DIR = $(INSTALL) -d @@@@ -151,7 +151,7 @@@@ CXXLIBS = @@CXXLIBS@@ DBUS_NOTIFIER = @@DBUS_NOTIFIER@@ DBUS_NOTIFIERLIBS = @@DBUS_NOTIFIERLIBS@@ DNSSD_BACKEND = @@DNSSD_BACKEND@@ -DSOFLAGS = -L../cups @@DSOFLAGS@@ +DSOFLAGS = -L../cups @@DSOFLAGS@@ $(OPTIM) DSOLIBS = @@DSOLIBS@@ $(COMMONLIBS) DNSSDLIBS = @@DNSSDLIBS@@ IPPFIND_BIN = @@IPPFIND_BIN@@ @ 1.35 log @cups: Update print/cups to 2.2.5 pkgsrc changes: - Delete patches/patch-config-scripts_cups-sharedlibs.m4, patches/patch-configure.ac and adjust patches/patch-ae to reflect libtool upstream update. - Add patches/patch-config-scripts_cups-libtool.m4 to avoid to use `==' not-so-portable test(1) operator. Changes: 2.2.5 ----- - The scheduler's `-t` option did not force all errors to the standard error file, making debugging of configuration problems hard (Issue #5041) - Fixed a typo in the CUPS Programming Manual (Issue #5042) - Fixed RPM packaging issue (Issue #5043, Issue #5044) - The `cupsGetDests` function incorrectly returned an empty list of printers if there was no default printer (Issue #5046) - The `cupsGetDests` function waited too long for network printers (Issue #5049) - Libtool support was completely broken with current libtool versions that use an incompatible command-line syntax (Issue #5050) - Fixed a build issue with `--enable-mallinfo` (Issue #5051) - The ippserver test program contained a deadlock issue (Issue #5054) - The `cupsLocalizeDest*` functions did not provide base localizations for all registered IPP attributes and values (Issue #5056) - The --enable-libtool configure option requires a path to the libtool program, but doesn't document or check for it (Issue #5062) - Fixed the `SSLOptions DenyCBC` option when using GNU TLS (Issue #5065) - Fixed the `ServerTokens None` option (Issue #5065) - Fixed the default `ServerAlias` value from `ServerName` (Issue #5072) - Fixed the adminurl field in the TXT record for fully-qualified `ServerName` values (Issue #5074) - The scheduler now creates a PID file when not running on demand with a modern service launcher (Issue #5080) - The web interface did not support newer language identifiers used by Microsoft web browsers (Issue #5803) - Updated the cups-files.conf and cupsd.conf file documentation for missing directives (Issue #5084) - Fixed an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086) - Fixed the interactions between the "print-quality" and "cupsPrintQuality" options (Issue #5090) - The IPP Everywhere PPD generator now sorts the supported resolutions before choosing them for draft, normal, and best quality modes (Issue #5091) - Fixed the localization unit test on Linux (Issue #5097) - The CUPS library did not reuse domain sockets (Issue #5098) - Fixed the "make check" target for some environments (Issue #5099) - The scheduler woke up once per second to remove old temporary queues (Issue #5100) - Added USB quirk rule for Kyocera printer (Issue #5102, Issue #5103) - Re-documented the limits of `file:///...` device URIs and moved the FileDevice directive in `cups-files.conf` to the list of deprecated configuration directives (Issue #5117) - Added USB quirk rule for HP LaserJet 1160 printer (Issue #5121) - Fixed the script interpreter detection in the configure script (Issue #5122) - The network backends now retry on more error conditions (Issue #5123) - Added a French translation of the web interface (Issue #5134) - `cupsGetDests2` was not using the supplied HTTP connection (Issue #5135) - `httpAddrConnect` leaked sockets in certain circumstances, causing some printers to hang (rdar://31965686) - Fixed an issue with Chinese localizations on macOS (rdar://32419311) - The IPP backend now always sends the "finishings" attribute for printers that support it because otherwise the client cannot override printer defaults (rdar://33169732) - The `cupsGetNamedDest` function did not use the local default printer (rdar://33228500) - The IPP backend incorrectly sent the "job-pages-per-set" attribute to PDF printers (rdar://33250434) - Fixed the `cups.strings` file that is used on macOS (rdar://33287650) - CUPS now sends the `Date` HTTP header in IPP requests (rdar://33302034) - The `ippCopyAttribute` function did not copy out-of-band values correctly (rdar://33688003) - Fixed the localization fallback code on macOS (rdar://33583699) - The scheduler did not run with a high enough priority, causing problems on busy systems (rdar://33789342) - Added support for Japanese Kaku 1 envelope size (rdar://34774110) - The `ipptool` program's `-P` option did not work correctly. - The `ipptool` program did not compare URI scheme or hostname components correctly for the WITH-ALL-HOSTNAMES, WITH-ALL-SCHEMES, WITH-HOSTNAME, or WITH-SCHEME predicates. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.34 2017/09/03 11:30:54 leot Exp $ @ 1.34 log @Update print/cups to 2.2.4 pkgsrc changes: - Pass --with-exe-file-perm=0755 to configure in order to be able to strip executables and shared objects (the cups' default is 0555 and that's also inconsistent with pkgsrc's BINMODE) Changes: CHANGES IN CUPS V2.2.4 ---------------------- - The scheduler did not remove old job files (Issue #4987) - cupsEnumDests did not return early when all printers had been discovered (Issue #4989) - The CUPS build system now supports cross-compilation (Issue #4897) - Added a new CUPS Programming Manual to replace the aging API documentation. - Added the `cupsAddIntegerOption` and `cupsGetIntegerOption` functions (Issue #4992) - The `cupsGetDests` and `cupsCreateJob` functions now support Bonjour printers (Issue #4993) - Added a USB quirk rule for Lexmark E260dn printers (Issue #4994) - Fixed a potential buffer overflow in the `cupstestppd` utility (Issue #4996) - IPP Everywhere improvements (Issue #4998) - Fixed the "cancel all jobs" function in the web interface for several languages (Issue #4999) - Fixed issues with local queues (Issue #5003, Issue #5008, Issue #5009) - The `lpstat` command now supports a `-e` option to enumerate local printers (either previously added or on the network) that can be accessed (Issue #5005) - The `lp` and `lpr` commands now support printing to network printers that haven't yet been added (Issue #5006) - Fixed a typo in the mime.types file. - Fixed a bug in the Spanish web interface template (Issue #5016) - The `cupsEnumDests*` and `cupsGetDest*` functions now report the value of the "printer-is-temporary" Printer Status attribute (Issue #5028) - Added Chinese localization (Issue #5029) - The `cupsCheckDestSupported` function did not support `NULL` values (Issue #5031) - Fixed some issues in the RPM spec file (Issue #5032) - The `cupsConnectDest` function now supports the `CUPS_DEST_FLAGS_DEVICE` flag for explicitly connecting to the device (printer) associated with the destination. - The `SSLOptions` directive in "client.conf" and "cupsd.conf" now supports `DenyCBC` and `DenyTLS1.0` options (Issue #5037) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.33 2015/12/02 21:14:16 leot Exp $ d3 2 a4 2 For proper libtool usage split CC into CC_COMPILE and CC with libtool mode options compile/link respectively. d6 1 a6 3 Same for CXX. --- Makedefs.in.orig 2017-06-30 15:44:38.000000000 +0000 d8 1 a8 16 @@@@ -17,9 +17,11 @@@@ AR = @@AR@@ AWK = @@AWK@@ -CC = @@LIBTOOL@@ @@CC@@ +CC_COMPILE = @@LIBTOOL@@ --mode=compile @@CC@@ +CC = @@LIBTOOL@@ --mode=link @@CC@@ CHMOD = @@CHMOD@@ -CXX = @@LIBTOOL@@ @@CXX@@ +CXX_COMPILE = @@LIBTOOL@@ --mode=compile @@CXX@@ +CXX = @@LIBTOOL@@ --mode=link @@CXX@@ DSO = @@DSO@@ DSOXX = @@DSOXX@@ GZIP = @@GZIP@@ @@@@ -38,12 +40,12 @@@@ SHELL = /bin/sh # Installation programs... d11 1 a11 1 -INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m @@CUPS_EXE_FILE_PERM@@ @@INSTALL_STRIP@@ a12 1 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -c -m @@CUPS_EXE_FILE_PERM@@ @@INSTALL_STRIP@@ d17 1 a17 6 -INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m @@CUPS_EXE_FILE_PERM@@ @@INSTALL_STRIP@@ +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -c -m @@CUPS_EXE_FILE_PERM@@ @@INSTALL_STRIP@@ INSTALL_MAN = $(INSTALL) -c -m 444 INSTALL_SCRIPT = $(INSTALL) -c -m @@CUPS_EXE_FILE_PERM@@ @@@@ -141,7 +143,7 @@@@ CXXLIBS = @@CXXLIBS@@ a25 14 @@@@ -252,11 +254,11 @@@@ USBQUIRKS = @@USBQUIRKS@@ .c.o: echo Compiling $<... - $(CC) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@@ $< + $(CC_COMPILE) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@@ $< .cxx.o: echo Compiling $<... - $(CXX) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c -o $@@ $< + $(CXX_COMPILE) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c -o $@@ $< .man.1 .man.1m .man.3 .man.5 .man.7 .man.8: echo Linking $<... @ 1.33 log @Update print/cups to 2.1.2. Changes: CHANGES IN CUPS V2.1.2 - Re-release of CUPS 2.1.1 as CUPS 2.1.2 due to error in tagging of the 2.1.1 release (pulled content from the 2.2.x tree instead) CHANGES IN CUPS V2.1.1 - Security hardening fixes (, , , , , , , , , , , , , , , , , , , ) - The cupsGetPPD* functions did not work with IPP printers (STR #4725) - Some older HP LaserJet printers need a delayed close when printing using the libusb-based USB backend (STR #4549) - The libusb-based USB backend did not unload the kernel usblp module if it was preventing the backend from accessing the printer (STR #4707) - Current Primera printers were incorrectly reported as Fargo printers (STR #4708) - The IPP backend did not always handle jobs getting canceled at the printer () - Scheduler logging change (STR #4728) - Added USB quirk for Canon MP530 (STR #4730) - The scheduler did not deliver job notifications for jobs submitted to classes (STR #4733) - Changing the printer-is-shared value for a remote queue did not produce an error (STR #4738) - The IPP backend incorrectly included the job-password attribute in Validate-Job requests () - Updated localizations (STR #4709) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.32 2014/06/07 07:34:05 wiz Exp $ d8 1 a8 1 --- Makedefs.in.orig 2015-02-17 13:10:19.000000000 +0000 d10 1 a10 1 @@@@ -19,9 +19,11 @@@@ d24 1 a24 1 @@@@ -40,12 +42,12 @@@@ SHELL = /bin/sh d28 1 a28 1 -INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 555 @@INSTALL_STRIP@@ d30 1 a30 1 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -c -m 755 @@INSTALL_STRIP@@ d35 2 a36 2 -INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 555 @@INSTALL_STRIP@@ +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -c -m 755 @@INSTALL_STRIP@@ d38 1 a38 1 INSTALL_SCRIPT = $(INSTALL) -c -m 555 d40 1 a40 1 @@@@ -135,7 +137,7 @@@@ CXXLIBS = @@CXXLIBS@@ d49 1 a49 1 @@@@ -246,11 +248,11 @@@@ USBQUIRKS = @@USBQUIRKS@@ @ 1.32 log @Update to 1.7.3 based on patch by Leonardo Taccari on pkgsrc-users. Additionally, remove patch-au since it is now superfluous. CHANGES IN CUPS V1.7.3 - Added Brazilian Portuguese translation (STR #4409) - Fixed mapping of OutputBin values such as "Tray1" () - Several ippGet* functions incorrectly returned -1 instead of 0 on error. - The cupsGetResponse function did not work properly with CUPS_HTTP_DEFAULT () - The IPP backend did not abort a job when the printer did not validate the supplied options () - Fixed an authentication race condition in cupsSendRequest (STR #4403) - The scheduler did not add the "job-hold-until-specified" reason when holding a job using the lp command (STR #4405) - The CUPS headers incorrectly needed libdispatch for blocks support (STR #4397) - The configure script incorrectly added libgcrypt as a GNU TLS dependency (STR #4399) - CUPS did not compile when Avahi or mDNSResponder was not present (STR #4402) - cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT (STR #4414) - Auto-typing of PWG Raster files did not work (STR #4417) - IPP queues using hardcoded credentials would ask for credentials (STR #4371) - Dates in non-UTF-8 locales did not display correctly (STR #4388) - The RPM spec file now looks for libusb-devel 1.0 or later. - Fixed the "create-printer-subscription.test" file for IPPTOOL (STR #4420) CHANGES IN CUPS V1.7.2 - Security: The scheduler now blocks URLs containing embedded HTML (STR #4356) - Documentation fixes (STR #3259, STR #4346, STR #4355) - Fixed the Japanese localization (STR #4385) - Added a German localization (STR #4363) - The cupsfilter command incorrectly read the cupsd.conf file; it now reads the cups-files.conf file instead. - Fixed OS X builds with Xcode 5.x () - Fixed SSL support on Windows (STR #4358) - Fixed documentation and naming of Create-Job/Printer-Subscriptions operations (STR #4389) - Phone numbers in fax jobs were not properly filtered for IPP FaxOut () - Fixed a memory leak in the label printer driver (STR #4393) - Updated Linux "relro" support (STR #4349) - cupsEnumDests did not set the "is_default" field (STR #4332) - cupsDoIORequest could miss the server status, causing failed lpadmin and other administrative commands (STR #4386) - cupsEnumDests didn't always call the callback function (STR #4380) - "lp -i job-id -H hold" did not work (STR #4401) - CUPS didn't compile on older platforms (STR #4338) - Several libcups files did not have the Apple license exception notice (STR #4361) - Fixed a D-BUS threading issue that caused the scheduler to crash (STR #4347) - The scheduler now automatically reconnects to Avahi as needed (STR #4370, STR #4373) - The scheduler did not handle GET requests for the log files properly (STR #3265) - The dnssd backend did not always report all discovered printers using Avahi (STR #4365) - The Zebra printer driver did not properly handle negative "label top" values (STR #4354) - The scheduler did not always update the MakeModel value in printers.conf after updating the driver (STR #4264) - The LPD mini daemon did not support print jobs larger than 2GB (STR #4351) - Fixed a bug in the status reading code when sending a compressed data stream to an IPP printer/server () - The IPP backend might not include all job attributes in Validate-Job operations () - Fixed some clang-reported issues () CHANGES IN CUPS V1.7.1 - Security: the lppasswd program incorrectly used settings from ~/.cups/client.conf (STR #4319) - Auto debug logging was broken in 1.7.0 () - Some gzip'd PPD files could not be used () - Cleaned up some job logging in the scheduler () - ATTR messages could cause string pool memory corruption in the scheduler () - The RPM spec file did not list the build requirements; this was on purpose, but now we are listing the Red Hat package names (, STR #4322) - Printing to a raw queue could result in corrupt output due to opportunistic compression () - The GNU TLS support code triggered many compiler warnings due to the use of old GNU TLS compatibility type names () - The "make check" test suite did not work on Linux without the cups-filters package installed () - Japanese PPDs using with the Shift-JIS encoding did not work () - "tel:" URIs incorrectly had slashes () - The libusb-based USB backend incorrectly used write timeouts () - Shared printers could become inaccessible after a few days on OS X () - The IPP backend did not wait for a busy printer to become available before attempting to print () - CUPS did not support "auto-monochrome" or "process-monochrome" for the "print-color-mode" option () - Using "@@IF(name)" in an Allow or Deny rule did not work (STR #4328) - lpq and lpstat did not list jobs in the correct order when priorities were specified (STR #4326) - The D-BUS notifier did not remove its lockfile (STR #4314) - CUPS incorrectly used the USER environment variable when the name did not match the user ID (STR #4327) CHANGES IN CUPS V1.7.0 - Updated Japanese localization. - The lpadmin command did not send the PPD name from the "-m" option () - Network backends now use the prtMarkerSuppliesClass property to determine the direction of supply level values () - The scheduler did not remove backup PPD files when a printer was deleted () - The scheduler incorrectly responded to HEAD requests when the web interface was disabled () - The scheduler did not respond using the hostname specified by the client () - Fax queues did not work when shared via Bonjour () - Error messages from the scheduler were not localized using the language specified in the client's IPP request () - Added an Italian localization () - Fixed a couple memory leaks in ippfind that were reported by Clang. - Fixed a compile issue on 64-bit Linux with Clang - need to use the -pie option instead of -Wl,-pie now () - The ippfind utility reported the wrong port numbers when compiled against Avahi () - httpGetFd, httpGetFile, httpPutFd, and httpPutFile did not automatically reconnect if the server closed the connecion after the previous response. - Fixed a compile error in libcups () - The scheduler incorrectly did not pass a FINAL_CONTENT_TYPE environment variable to the filters or backend () - The cups-exec helper program could fail randomly on OS X due to sandbox violations when closing excess file descriptors () - The scheduler incorrectly did not use the kqueue interface on OS X. CHANGES IN CUPS V1.7rc1 - Printer xxx-default values were not reported by Get-Printer-Attributes or lpoptions () - Fixed deprecation warnings for many functions on OS X so they are tied to the deployment version when building () - Fixed a build issue on ARM-based Linux systems - unable to validate va_list arguments. - Added a new ippfind tool for finding IPP printers and other Bonjour services () - Fixed some issues with conversion of PWG media size names to hundredths of millimeters () - The IPP backend could crash on OS X when printing to a Kerberized printer () - The ipptool program now automatically extends timeouts when the output buffer is filled () - The ipptool program now supports the --help and --version options. - The ipptool program did not continue past include file errors by default () - The ipptool program now supports FILE-ID and TEST-ID directives and includes their values in its XML output () - The ipptool program now supports WITH-HOSTNAME, WITH-RESOURCE, and WITH-SCHEME expect predicates to compare the corresponding URI components () CHANGES IN CUPS V1.7b1 - The configure script now supports a --with-rundir option to change the transient run-time state directory from the default to other locations like /run/cups (STR #4306) - The scheduler now supports PPD lookups for classes (STR #4296) - The cupsfilter program did not set the FINAL_CONTENT_TYPE environment variable for filters. - Added a new "-x" option to the cancel command (STR #4103) - Made the PWG media handling APIs public (STR #4267) - Implemented ready media support for the cupsGetDestMediaXxx APIs (STR #4289) - Added new cupsFindDestDefault, cupsFindDestReady, and cupsFindDestSupported APIs (STR #4289) - Added new cupsGetDestMediaByIndex, cupsGetDestMediaCount, and cupsGetDestMediaDefault APIs (STR #4289) - Added new ippGet/SetOctetString APIs for getting and setting an octetString value (STR #4289) - Added new ippCreateRequestedArray API for generating a array of attributes from the requested-attributes attribute. - The ipptool utility now supports compression, conditional tests based on the presence of files, and new DEFINE predicates for STATUS. - Added new IPP APIs for checking values (STR #4167) - Added new IPP APis for adding and setting formatted strings. - Added new HTTP APIs to support basic server functionality via libcups. - The dnssd backend now generates a 1284 device ID as needed (STR #3702) - CUPS now supports compressing and decompressing streamed data (STR #4168) - CUPS now supports higher-level PIN printing, external accounting systems, and "print here" printing environments (STR #4169) - IRIX is no longer a supported operating system (STR #4092) - The PPD compiler now supports JCL options properly (STR #4115) - The web interface now checks whether the web browser has cookies enabled and displays a suitable error message (STR #4141) CHANGES IN CUPS V1.6.4 - Removed some duplicate size definitions for some ISO sizes that were causing problems () - The IPP backend did not add the "last-document" attribute () - Added a SyncOnClose directive to cups-files.conf to force cupsd to call fsync before closing any configuration/state files it writes () - Added USB quirk rule for Lexmark E238 () - Closed server connections were still not always detected () - The libusb-based USB backend now loads its list of quirks from files in /usr/share/cups/usb instead of using a hardcoded table () - The scheduler did not properly register ICC color profiles with colord () CHANGES IN CUPS V1.6.3 - The configure script now prefers Clang over GCC. - Fixed a compile problem on AIX (STR #4307) - The default IPP version did not always get set before creating a new IPP request message () - The lp, lpq, lpr, and lpstat now display an error message advising the use of the /version=1.1 ServerName option () - Added documentation about the /version=1.1 option to ServerName in client.conf () - httpStatus(HTTP_ERROR) did not return a useful error message () - The lp, lpq, lpr, and lpstat commands incorrectly ignored the default printer set in the lpoptions file () - Fixed a URI encoding issue for hostnames containing the ` (backquote) character () - Added support for RFC 6874's IPv6 link local address format in URIs () - The USB backend could crash on libusb-based systems if USB was disabled in the BIOS () - Fixed a rounding error in the PWG media size mapping code () - Fixed several ipptool test files that used old STATUS names. - Kerberos credentials could get truncated when printing to a shared printer. - Printing using "ipps" URIs was not encrypted. - Insecure ICC profiles prevented installation of user profiles for a printer on OS X. - Added more USB quirks for the libusb-based backend (STR #4311, ) - The Russian web interface templates were broken (STR #4310) - The scheduler no longer tries to do Kerberos authentication over the loopback interface. - The IPP backend could fail to pause a job for authentication (STR #4298) - Fixed a regression on the handling of auth keys on OS X if the cups-files.conf was not present or did not contain a SystemAuthKey value. - The scheduler incorrectly did a reverse lookup of the server address when HostNameLookups was turned off (STR #4302) - The scheduler incorrectly computed the final content type value when null filters were present. CHANGES IN CUPS V1.6.2 - Documentation fixes (STR #4229, STR #4239, STR #4234, STR #4248, STR #4259) - Security: All file, directory, user, and group settings are now stored in a separate cups-files.conf configuration file that cannot be set through the CUPS web interface or APIs (STR #4223) - Added a Czech localization (STR #4201) - Added a French localization (STR #4247) - Added a Russian localization (STR #4228, STR #4285) - Updated the Catalan localization (STR #4202) - Local certificate authentication did not guard against an empty certification file (STR #4293) - The scheduler did not reject device URIs with spaces. - Added USB quirk rule for Epson Stylus Photo 750 (STR #4286) - The IPP backend could crash if the printer disconnects early (STR #4284) - cupsGetPPD did not work with statically-configured CUPS shared queues (STR #4178) - The scheduler did not support long MIME media types (STR #4270) - The cupsfilter command did not set the CHARSET environment variable for the text filters (STR #4273) - The lp command did not show errors for unknown "--foo" (STR #4261) - Bad IPP responses could crash ipptool (STR #4262) - Updated USB quirk rules for Canon and Xerox printers (STR #4217, STR #4263) - Added USB blacklisting for printers that require a custom backend (STR #4218) - The PPD compiler did not correctly JCL options (STR #4115, STR #4203) - The ipptool program now supports DEFINE-MATCH and DEFINE-NO-MATCH predicates for STATUS directives. - Fixed a problem with local Kerberos authentication (STR #4140) - Coverity scan: fixed some minor issues (STR #4242) - The scheduler did not remove color profiles after deleting a printer (STR #4232, STR #4276) - The CUPS library did not always detect a timed out connection to the server which could cause temporary loss of printing from applications (STR #4187) - The ipptool program now supports variable substitution in OPERATION and DELAY directives (STR #4175) - The IPP backend now stops queues when the server configuration prevents successful job submission (STR #4125) - The XML output of ipptool contained empty dictionaries (STR #4136) - The scheduler did not delete job control backup files (STR #4244) - cupsGetPPD3 could return a local PPD instead of the correct remote PPD. - The scheduler incorrectly advertised auth-info-required for local queues needing local authentication (STR #4205) - CUPS 1.6 clients using the ServerName directive in client.conf did not work with CUPS 1.3.x or older servers (STR #4231, STR #4291) - The SNMP backend now tries to work around broken printers that use a newline to separate key/value pairs. - The IPP backend did not send a cancel request to printers when a job was canceled and the printer did not support Create-Job. - Fixed EPM packaging files (STR #4199) - OpenBSD build fix (STR #4195, STR #4196, STR #4197) - The scheduler could crash when using Avahi (STR #4183, STR #4192, STR #4200, STR #4213) - The IPP backend could get stuck in an endless loop on certain network errors (STR #4194) - 32-bit builds failed on Debian (STR #4133) - The scheduler no longer accepts or sends job description attributes. - The IPP backend now works around some conformance issues for broken printers (STR #4190) - cupsBackendReport() now filters out all control characters from the reported 1284 device IDs (STR #4124) - The scheduler no longer allows job-name values that are not valid network Unicode strings (STR #4072) - The web interface did not preserve the order of classes, jobs, or printers (STR #4170) - The network backends now support disabling of SNMP supply level queries via the "snmp" URI option (STR #4106) - The IPP backend did not specify the compression used (STR #4181) - ipptool did not support octetString values. - The scheduler did not recognize dnssd: or ipps: URIs as Bonjour shared queues (STR #4158) - Applications could not get the PPD file for statically-configured Bonjour-shared print queues (STR #4159) - The cupsd.conf file included obsolete browsing directives (STR #4157) - Fixed a USB backend compatibility issue on systems using libusb (STR #4155, STR #4191) - Some Bonjour features were not available on systems with Avahi (STR #4156) - CUPS now includes the port number in the Host: header for HTTP requests. - Fixed REPEAT-MATCH for STATUS and EXPECT - was incorrectly erroring out. CHANGES IN CUPS V1.6.1 - Documentation fix (STR #4149) - RPM packaging fixes (STR #4129, #4145) - The Japanese and English web interface headers were swapped (STR #4148) CHANGES IN CUPS V1.6.0 - Document changes (STR #4131) - Added new Catalan (STR #4107) and Spanish (STR #4137) localizations. CHANGES IN CUPS V1.6rc1 - Added a new Japanese localization (STR #4122) - The SNMP backend no longer exits if it is unable to obtain an IPv6 socket (STR #4109) - The LPD backend incorrectly used "localhost" in the control file instead of the current hostname. CHANGES IN CUPS V1.6b1 - Documentation updates (STR #3927, STR #3980, STR #4010, STR #4068) - The scheduler now consolidates all PPD updates from filters at the end of the job (STR #4075) - CUPS now supports color management using colord (STR #3808) - CUPS now supports Bonjour using Avahi (STR #3066) - The PreserveJobFiles and PreserveJobHistory directives now support specification of a time interval (STR #3143) - PPD files can now be archived in (gzip'd) tar files to further reduce the disk space used by PPD files (STR #3772) - The network backends now deal with printers that report their levels in percent but do not specify a maximum capacity of 100 (STR #3551) - The network backends now report full/almost-full waste bins in printers along with end-of-life for cleaning pads (STR #4017) - Added a configure option to set the permissions of the installed cupsd (STR #3459) - Added a new WITH-ALL-VALUES directive to ipptool EXPECT predicates (STR #3949) - CUPS now supports a User directive in client.conf and the CUPS_USER environment variable for overriding the default username (STR #3114) - Now set the PJL USERNAME variable as needed (STR #3100) - Added support for usernames and passwords longer than 32 characters (STR #2856) - Added a new MaxHoldTime directive to automatically cancel jobs that have been held indefinitely after a specific number of seconds (STR #2291) - The LPD backend now uses the originating host name when it is not the local system (STR #2053) - CUPS now prefers the suffix "dpcm" when reporting resolution in dots- per-centimeter (STR #4006) - The configure script and build system no longer support building of separate 32-bit and 64-bit libraries. - The "brightness", "columns", "fitplot", "gamma", "hue", "natural-scaling", "penwidth", "position", "ppi", "saturation", and "scaling" options are not longer supported (STR #4010) - The "page-bottom", "page-left", "page-right", "page-top", "prettyprint", and "wrap" options have been deprecated (STR #4010) - The scheduler now reports the standard "number-of-documents" attribute instead of the CUPS-specific "document-count" attribute in job objects. - Added new destination connection and enumeration functions (STR #3924) - Added new option, localization, and job submission functions that do not depend on PPD files (STR #3925) - Added a new MaxJobTime directive for cupsd that specifies the maximum amount of time allowed for a job to complete before it is canceled. - The default password callback now supports passwords up to 127 characters. - The scheduler now supports a DefaultAuthType of "auto" to automatically choose between Basic (username/password) and Negotiate (Kerberos) authentication. - cupsSideChannelSNMPGet/Walk now support OIDs and values up to 64k in length. - CUPS no longer supports automatic remote printers or implicit classes via the CUPS, LDAP, or SLP protocols (STR #3922, STR #3923) - The PPD APIs are now deprecated and will be removed in a future version of CUPS (STR #3927) - The default IPP version for requests is now 2.0 (STR #3929) - The IPP APIs no longer expose the ipp_t or ipp_attribute_t structures and instead provide accessor functions (STR #3928) - The scheduler will no longer run programs with group write permission. - The PHP module has been removed (STR #3932) - The bannertops, commandtoescpx, commandtopclx, imagetops, imagetoraster, pdftops, rastertoescpx, rastertopclx, and texttops filters have been removed (STR #3930) - The serial and parallel backends have been removed (STR 3935) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.31 2014/05/10 13:42:08 richard Exp $ d8 1 a8 1 --- Makedefs.in.orig 2013-07-17 15:21:18.000000000 +0000 d49 1 a49 1 @@@@ -243,11 +245,11 @@@@ DBUSDIR = @@DBUSDIR@@ @ 1.31 log @Use libtool -fstack-protector support in cups @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.30 2012/09/18 15:17:32 drochner Exp $ d8 1 a8 1 --- Makedefs.in.orig 2012-03-01 00:05:55.000000000 +0000 d23 2 a24 2 HTMLDOC = @@HTMLDOC@@ @@@@ -41,12 +43,12 @@@@ SHELL = /bin/sh d29 1 d31 1 a32 2 -INSTALL_COMPDATA = $(INSTALL) -c -m 444 @@INSTALL_GZIP@@ +INSTALL_COMPDATA = $(INSTALL) -c -m 444 d40 1 a40 1 @@@@ -145,7 +147,7 @@@@ CXXLIBS = @@CXXLIBS@@ d48 2 a49 2 FONTS = @@FONTS@@ @@@@ -279,19 +281,19 @@@@ DBUSDIR = @@DBUSDIR@@ a55 10 .c.32.o: echo Compiling 32-bit $<... - $(CC) $(ARCH32FLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@@ $< + $(CC_COMPILE) $(ARCH32FLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@@ $< .c.64.o: echo Compiling 64-bit $<... - $(CC) $(ARCH64FLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@@ $< + $(CC_COMPILE) $(ARCH64FLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@@ $< @ 1.30 log @fix libtool problem in unpriliged build use the right libusb @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.29 2012/09/18 07:17:29 bouyer Exp $ d8 2 a9 2 --- Makedefs.in.orig 2012-03-01 01:05:55.000000000 +0100 +++ Makedefs.in 2012-09-12 16:45:31.000000000 +0200 d24 1 a24 1 @@@@ -41,12 +43,12 @@@@ d40 10 a49 1 @@@@ -279,19 +281,19 @@@@ @ 1.29 log @Update to 1.5.4 (ok by wiz@@): - Documentation updates (STR #4112, STR #4130, STR #4134) - Fixes for libusb-based USB backend (STR #4128) - The lpq command did not show the owner or title of jobs unless passed a username on the command-line (STR #4135) - Localized empty strings contained the message catalog metadata (STR #4119) - Fixed a crash in the libusb-based USB backend (STR #4099) - The cups-lpd mini-daemon no longer handled jobs with multiple copies (STR #4118) - Multiple libusb backend fixes (STR #4098, STR #4100) - The IPP backend no longer tries to get the job status for printers that do not implement the required operation (STR #4083) - Sending a document in an unsupported format to an IPP printer now automatically cancels the job (STR #4093) - Fix some error reporting issues when printing from /dev/null and other unusual situations (STR #4015) - The scheduler now sets the CUPS_MAX_MESSAGE environment variable for filters (STR #4074) - Fixed a build issue when using older versions of autoconf (STR #4084) - The IPP backend now treats the client-error-not-possible status code as a job history issue, allowing IPP printing to Windows to work (STR #4047) - The IPP backend incorrectly included the document-format and compression attributes in Create-Job requests (STR #4086) - The libusb-based USB backend did not work on non-Linux platforms (STR #4088) - httpReconnect() did not reset the read/write buffers (STR #4065) - Compiling without threading support failed (STR #4060) - Fixed compile problem with old versions of OpenSSL (STR #4036) - The network backends did not check SNMP supply levels regularly (STR #4040) - The online help always included the "help on help" text (STR #4042) - Fixed a SSL handshake issue on OS X (STR #4045) - The scheduler could crash if a PPD file contained an invalid paper size (STR #4049) - The CUPS polling daemon did not reinitialize its connection to the remote server on errors in all cases (STR #4031) - PostScript auto-configuration was slow and unreliable with some printers (STR #4028) - Missing localizations caused empty output (STR #4033) - The cups-driverd program could temporarily "forget" a PPD file if it was updated in place. - The dnssd backend now prefers IPPS over IPP. - The USB backend now uses and requires LIBUSB 1.0 or later (STR #3477) - The LIBUSB-based USB backend now supports the back-channel (STR #2890) - Changed how timeouts are implemented in the LPD backend (STR #4013) - Added more supported color names for SNMP supplies (STR #3981) - The default InputSlot setting was never used (STR #3957) - POSIX ACLs are now set properly on certificate files (STR #3970) - Supplies with commas in their names were not reported correctly (STR #4020) - The cupsGetPPD3() function created a temporary file when one was not needed (STR #4018) - The scheduler now ensures that job notifications contain a value for the notify-printer-uri attribute (STR #4014) - The lp and lpr commands did not cancel jobs queued from stdin on an error (STR #4015) - Fixed the IPP backend's handling of HTTP/1.0 compatibility (STR #3988) - The IPP backend did not always setup username/password authentication for printers (STR #3985) - The IPP backend no longer re-queues print jobs that are too large for the printer/server (STR #3977) - The RPM spec file did not work (STR #4021, STR #4057) - Encryption did not work when the server name ended with "." (STR #4011) - The multi-purpose tray is now mapped to the IPP "by-pass-tray" (STR #4009) - The correct media size was not always passed to IPP printers (STR #4001) - Finishing options were not passed to IPP printers (STR #3995) - Fixed iCloud-based Back to My Mac printing (STR #3996) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.28 2011/08/12 02:03:14 sbd Exp $ d29 1 a29 1 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -c -m 555 @@INSTALL_STRIP@@ d36 1 a36 1 +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -c -m 555 @@INSTALL_STRIP@@ @ 1.28 log @Fix Unprivileged builds. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.27 2010/11/12 08:54:58 sbd Exp $ d8 2 a9 2 --- Makedefs.in.orig 2010-04-23 18:56:34.000000000 +0000 +++ Makedefs.in d24 1 a24 1 @@@@ -41,11 +43,11 @@@@ SHELL = /bin/sh d29 1 a29 1 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -c -m 755 @@INSTALL_STRIP@@ d31 2 d36 1 a36 1 +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -c -m 755 @@INSTALL_STRIP@@ d40 1 a40 1 @@@@ -263,19 +265,19 @@@@ DBUSDIR = @@DBUSDIR@@ @ 1.27 log @Update to cups 1.4.4 CHANGES IN CUPS V1.4.4 - Documentation updates (STR #3453, STR #3527, STR #3528, STR #3529) - Security: The texttops filter did not check the results of allocations (STR #3516) - Security: The fix for CVE-2009-3553 was incomplete (STR #3490) - Security: The web admin interface could disclose the contents of memory (STR #3577) - Security: CUPS could overwrite files as root in directories owned or writable by non-root users (STR #3510) - The cups-config utility did not return the correct linker options on AIX (STR #3587) - Fixed some IPP conformance issues with the scheduler's ippget-event-life, operations-supported, output-bin, and sides attributes (STR #3554) - The OpenSSL interfaces have been made thread-safe and the GNU TLS interface is explicitly forbidden when threading is enabled (STR #3461) - Fixed an IPP conformance issue with the scheduler's Send-Document implementation (STR #3514) - Added additional validation checks for the 1284 device ID (STR #3534) - Fixed a problem with the RPM spec file (STR #3544) - The lpstat command did not limit the job list to the specified printers (STR #3541) - The cupsfilter command did not set the RIP_MAX_CACHE environment variable (STR #3531) - Fixed support for media-col and page size variants (STR #3394) - The PostScript filter did not support all media selection options for the first page (STR #3525) - The scheduler did not always remove job control files (STR #3425) - The scheduler could crash on restart if classes were defined (STR #3524) - The scheduler no longer looks up network interface hostnames by default on Mac OS X (STR #3523) - ippWriteIO did not write collection (member) attributes properly in all cases (STR #3521) - The "cupsctl --remote-any" and corresponding web interface check box (allow printing from the Internet) did not work reliably (STR #3520) - The lpq and lpr commands would sometimes choose different default printers (STR #3503) - cupsDo*Request did not flush error text, leading to multiple issues (STR #3325, STR #3519) - cupsDoAuthentication did not cancel password authentication after 3 failures (STR #3518) - Fixed several LDAP browsing bugs (STR #3392) - The Dymo driver did not support copies (STR #3457) - The scheduler did not update the classes.conf file when deleting a printer belonging to a class (STR #3505) - The lppasswd command did not use localized password prompts (STR #3492) - The socket backend no longer waits for back-channel data on platforms other than Mac OS X (STR #3495) - The scheduler didn't send events when a printer started accepting or rejecting jobs (STR #3480) - The web interface now includes additional CSRF protection (STR #3498) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.26 2010/05/21 10:05:20 sbd Exp $ d29 1 a29 1 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -c -m 555 @@INSTALL_STRIP@@ d34 1 a34 1 +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -c -m 555 @@INSTALL_STRIP@@ @ 1.27.6.1 log @Pullup ticket #3499 - requested by sbd print/cups: build fix Revisions pulled up: - print/cups/distinfo 1.80 - print/cups/patches/patch-ae 1.28 --- Module Name: pkgsrc Committed By: sbd Date: Fri Aug 12 02:03:14 UTC 2011 Modified Files: pkgsrc/print/cups: distinfo pkgsrc/print/cups/patches: patch-ae Log Message: Fix Unprivileged builds. @ text @d1 1 a1 1 $NetBSD$ d29 1 a29 1 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -c -m 755 @@INSTALL_STRIP@@ d34 1 a34 1 +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -c -m 755 @@INSTALL_STRIP@@ @ 1.26 log @Update to cups 1.4.3 Adds the option acl, libusb and tcpwrappers. CHANGES IN CUPS V1.4.3 - SECURITY: The scheduler could try responding on a closed client connection, leading to a crash (STR #3200) - SECURITY: The lppasswd program allowed the localization files to be overridden when running in setuid mode (STR #3482) - Localization updates (STR #3352, STR #3409, STR #3422, STR #3452, STR #3473, STR #3502) - Documentation updates (STR #3451, STR #3504) - The IPP backend now sets the printer-state-message to "Ready to print." at the end of a successful job (STR #3460) - The PPD compiler did not correctly add the manufacturer to the output filename when using the "-m" option (STR #3469) - The IPP backend did not handle authentication properly for the Get- Printer-Attributes operation (STR 3458) - Getting SNMP values larger than 127 bytes did not work. - IPP conformance: Get-Jobs has a default value for requested-attributes (STR #3383) - cupsPrintFiles() did not report all errors (STR #3449) - cupsAddDest() could read freed memory (STR #3448) - The DBUS notifier did not build (STR #3447) - The scheduler would crash when an active printer was deleted. - The snmp backend did not work with some printers (STR #3413) - The web interface did not show the conflicting values when setting options (STR #3440) - Setting options in the web interface did not always work (STR #3439) - The scheduler did not use the Get-Job-Attributes policy for a printer (STR #3431) - The scheduler added two job-name attributes to each job object (STR #3428) - CSS files would not print (STR #3442) - The scheduler did not clean out completed jobs when PreserveJobHistory was turned off (STR #3425) - The web interface did not show completed jobs for a printer (STR #3436) - Authenticated printing did not always work when printing directly to a remote server (STR #3435) - The USB backend did not work on Solaris (STR #3423) - cupstestppd didn't catch problems with JobPatchFile definitions (STR #3421) - The socket backend could crash if a SNMP string had a negative length. - Fixed some termination issues with the USB backend on Mac OS X. - The side-channel APIs did not handle interrupts properly. - The network backends incorrectly cleared the media-empty-warning state. - The web interface did not allow users to successfully add serial printers (STR #3391) - cupsTempFd() did not work in some situations (STR #3382) - Some C API headers were missing C++ wrapper logic. - The PPD compiler did not localize single-language PPD options properly (STR #3386) - Modifying a printer from the web interface sometimes caused the wrong driver to be selected (STR #3418) - The scheduler did not handle out-of-memory conditions properly when loading a job (STR #3407) - When adding printers from the web interface, the dynamic updates of the device list made it hard to pick a device (STR #3406) - Fixed a typo in the web interface admin page template (STR 3403) - The web interface did not preserve the "printer is shared" state when modifying a printer (STR #3390) - The PPD compiler incorrectly inserted translations of empty strings (STR #3411) - The scheduler did not reset the SIGPIPE handler of child processes (STR #3399) - cupsGetNamedDest() incorrectly returned the default printer if the named printer did not exist (STR #3397) - Fixed a GNU TLS error handling bug (STR #3381) CHANGES IN CUPS V1.4.2 - SECURITY: The CUPS web interface was vulnerable to several XSS and HTTP header/body attacks via attribute injection (STR #3367, STR #3401) - Fixed localization errors (STR #3359, STR #3372, STR #3380, STR #3387) - The documentation for classes.conf and printers.conf did not provide the correct instructions for manual changes (STR #3351) - The scheduler did not always rebuild printer cache files when the driver was changed (STR #3356) - The documentation makefile failed to install localizations when using newer versions of Bash (STR #3360) - The configure script did not use the --with-xinetd value for the default LPD configuration path (STR #3347) - The configure script incorrectly required glib for DBUS support (STR #3346) - The cupstestppd program incorrectly reported filters with bad permisssions as missing (STR #3363) - The cups.desktop file used the wrong locale names (STR #3358) - cupsSideChannelRead() did not return an error for short reads. - The installed PAM configuration file did not use the correct options with the pam_unix2 module (STR #3313) - The scheduler did not preserve default options that contained special characters (STR #3340) - The scheduler did not remove old pre-filters when updating a printer driver (STR #3342) - The HP/GL-2 filter did not check for early end-of-file (STR #3319) - The USB backend did not compile on some platforms (STR #3332) - cupsSideChannelSNMPWalk() could go into an infinite loop with broken SNMP implementations. CHANGES IN CUPS V1.4.1 - Documention fixes (STR #3296) - SNMP supply levels and states were wrong for some printers. - The IPP backend did not update the auth-info-required value. - The libusb-based USB backend would hang at the end of the job (STR #3315, STR #3318) - DNS-SD registrations for raw queues had an empty "ty" key (STR #3299) - The JPEG and BMP MIME type rules were broken (STR #3284) - cupsGetNamedDest returned the default printer when the named destination did not exist (STR #3285) - The JobKillDelay was not triggered for canceled jobs (STR #3292) - The PPD compiler could get in an infinite loop (STR #3293) - The configure check for dns-sd.h was broken (STR #3297) - The "Query Printer for Default Options" page did not go away if the query job was held (STR #3302) - Boolean options did not show up as selected in the web interface (STR #3303) - The scheduler did not cache or report driver information files correctly, leading to a variety of issues (STR #3283, STR #3297, STR #3305) - cupsDoIORequest() did not abort on permanent errors (STR #3311) - Modifying a class in the web interface did not work (STR #3312) - BrowseLocalProtocols could be cleared when changing the sharing setting (STR #3287) - The scheduler could return an empty supported document format (STR #3308) - The PPD compiler generated invalid PPD files when the locale used something other than "." for the decimal point (STR #3300) - The IPP backend did not handle some non-comforming IPP printer implementations (STR #3262) - The scheduler leaked three file descriptors to each job filter (STR #3263) - The scheduler now uses a default CUPS-Get-Devices timeout of 15 seconds (STR #3307) CHANGES IN CUPS V1.4.0 - Localization updates (STR #3223, STR #3246, STR #3248, STR #3250) - Documentation updates (STR #3225, STR #3230, STR #3242, STR #3260) - The --with-pdftops configure option did not accept a full path to the filter (STR #3278) - The banner filter did not position the back side image correctly (STR #3277) - The dnssd backend could crash (STR #3272) - The 1284 device ID sometimes contained trailing garbage (STR #3266) - The USB backend returned different URIs for some printers than in CUPS 1.3 (STR #3259) - The scheduler did not do local job-hold-until processing for remote queues (STR #3258) - The scheduler did not try all possible SSL certificates on Mac OS X. - The scheduler did not always remove a file descriptor when using the kqueue interface (STR #3256) - The scheduler did not protect against bad job control files in all cases (STR #3253) - The scheduler did not encode "+" in model names (STR #3254) - The web interface didn't show the default options (STR #3244) - The IPP and LPD backends needed print data before they would do an SNMP query. - Fixed a GNU TLS compatibility issue (STR #3231) - Fixed a HTML error in the add and modify printer web interface templates (STR #3229) - The scheduler did not minimize the number of printer state events that were generated by filter STATE: messages, which could lead to poor performance. - The USB backend on Mac OS X did not cleanly cancel a job. - The network backends now set the connecting-to-device printer-state- reasons value when looking up the address and copying the print data for consistency. - The scheduler now supports the com.apple.print.recoverable-warning reason on all platforms. CHANGES IN CUPS V1.4rc1 - The PPD compiler documentation was missing information on localization (STR #3212) - The IPP backend now reconnects after every request when talking to printers that claim IPP support but only use HTTP/1.0. - The PPD compiler crashed when both "Resolution" and "Group foo Option Resolution" were specified in the .drv file. - The PPD compiler's #if/#elif/#else/#endif did not work for undefined variables (STR #3210) - Static libraries could not be installed by a non-root user on systems needing a ranlib program (STR #3209) - The scheduler incorrectly always tried to copy Kerberos credentials for print jobs. - Updated the Spanish localization (STR #3204) - The scheduler crashed when getting the default paper size from libpaper (STR #3205, STR #3206) - The PPD compiler now defines six variables: CUPS_VERSION, CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR, CUPS_VERSION_PATCH, PLATFORM_NAME, and PLATFORM_ARCH (STR #3203) - Fixed a whitespace skipping bug in cupsRasterInterpretPPD. - The scheduler did not return HTTP 403 (Forbidden) for authenticated users that were not authorized to do IPP operations (STR #3193) - The scheduler did not report more than 8 Product strings from a PPD file. Some PPD files have as many as 24. - ppdOpen*() could crash if a keyword had no value string (something that cupstestppd looks for...) - cupsLangDefault() did not return the correct language on Mac OS X. - The Mac OS X USB backend did not handle aborted or stalled pipe conditions properly, which prevented drivers from ejecting partial pages when a job was canceled or held. CHANGES IN CUPS V1.4b3 - Documentation fixes (STR #3044, STR #3057, STR #3153, STR #3158, STR #3173) - Added complete localizations for German, Japanese, Polish, and Russian and partial localizations for Chinese, Danish, Finnish, French, Italian, Korean, Norwegian, Portuguese, and Swedish (STR #3096, STR #3098, STR #3109, STR #3111, STR #3141) - Updated the configure check for -fstack-protector (STR #3198) - The network backends now correctly convert SNMP supply descriptions to UTF-8 encoding as needed. - The scheduler could crash when deleting an attribute (STR #3197) - The cups-driverd program did not detect symlink loops (STR #3185) - The EPSON 24-pin series driver should now feed the correct amount (STR #2624) - The scheduler now automatically logs the last N debug messages for failed print jobs. - You can now modify a raw print queue (STR #3133) - Fixed a number of ppdi issues and added a unit test to validate that ppdc + ppdi can generate and import the same data (STR #3152) - Moving jobs in the web interface now shows an error if you only have one printer or class added (STR #3094) - Since classes have never truly supported the printer-error-policy stuff added in CUPS 1.2, update the code to reflect the current reality and support only the retry-current-job policy for now (STR #3171) - Revised the password callback support (STR #2953) - ppdEmit*() did not choose between PageSize and PageRegion properly. - Make some fairly substantial changes to the Kerberos support code so that CUPS can work in multi-realm environments and does not require delegatable credentials. Shared printing still requires delegation, however "delegation by policy" can be enabled in the KDC to make this all work. - "AccessLogLevel actions" did not hide client-error-not-found errors. - AP_FIRST_InputSlot did not work with number-up. - cupsBackChannelRead() and cupsBackChannelWrite() could fail due to a lack of kernel buffers. - The IPP and LPD backends did not respond to side-channel requests while copying print data to a temporary file. - cupsWriteRequestData() flushed the output buffer unnecessarily, causing reduced performance in some situations. - If a CGI process died before sending its MIME headers, the request would hang on the client. - The printer/class/job search feature on the web interface did not work (STR #3132) - The scheduler did not write the printers out for classes. - CUPS-Get-PPDs did not work properly when filtering by language, product, or psversion (STR #3136) - The scheduler now kills job filters when it takes more than 30 seconds (configurable) to cancel or hold the job. - The cupstestppd program did not validate the capitalization of filenames in the PPD file. - The cupstestppd program did not validate the PageSize and PageRegion values. - The cups-deviced helper program could miss reporting some backend devices (STR #3108) - The cupsSideChannelSNMP* functions did not work. - The scheduler could consume 100% CPU when jobs were canceled. - Clicking on "Select Another Make/Manufacturer" in the web interface incorrectly added the printer (STR #3095) - The scheduler no longer uses programs with insecure file permissions. - httpAssembleURI*() did not escape backslashes in hostnames. - The dnssd backend did not unquote "full names" before creating the device URI. - The scheduler now supports JobRetryInterval values less than 10 seconds. - Updated the Spanish localization (STR #3090) - The scheduler did not redo Bonjour/DNS-SD registrations when updating them failed. - The "authenticated" policy incorrectly required authentication for status operations. - ppdOpen*() incorrectly loaded PPDs with multiple JobPatchFile keywords. - The network backends no longer report the SNMP "offline" or maintenance status bits since they are inconsistently implemented and often unreliable. - The scheduler no longer logs child processes killed via SIGKILL as "crashed". - The printer link shown on the "job moved" template was bad (STR #3085) - Updated the HTML templates to use the final HTML 4 DOCTYPE (STR #3086) - The scheduler did not track the "paused" reason properly if a printer had other reasons associated with it. - cupsSendRequest() did not clear old local certificate auth data. - The PPD compiler did not search for localization files properly (STR #3084) - cupsGetNamedDest() did not use the fallback default like cupsGetDests*() (STR #3082) - The scheduler now provides a LogTimeFormat directive to enable microseconds in the date and time that are logged. - The scheduler now provides a MultipleOperationTimeout directive to control the timeout for multi-file print jobs. - The configure script incorrectly allowed Avahi to be used for DNS-SD printer discovery (STR #3065) - The web interface and scheduler did not support URIs up to 1024 bytes in length (STR #3072) - Fixed pdftops issues with page sizes (STR #3063) - Fixed pdftops issues with Ghostscript (STR #3062) - The scheduler incorrectly registered default profiles for PostScript printers with no specified colorspace. - The scheduler incorrectly created an empty org.cups.printers.plist file on Mac OS X. - cupsGetPPD3() did not look for local PPDs in the right directory. - SNMP lookups via side-channel did not work for NULL-VALUE and and OCTET-STRING OIDs containing nul characters. - The libusb-based USB backend did not work. - The scheduler did not set the printer-commands attribute correctly for some PPDs. - The ppdi utility did not work. - The web interface no longer uses multi-part output with old or broken web browsers (STR #3049) - CUPS now conforms to the draft IPP/2.0 and IPP/2.1 specification. - Added a new cupsGetConflicts() API to get a list of conflicting options. - The PPD compiler didn't localize options or choices that did not have associated translation text (STR #3045) - Updated the Spanish localization (STR #3043) - Fixed build problems (STR #3040, STR #3047) - cupsResolveConflicts() did not resolve using the default option choice in some cases due to the mirror UIConstraints that are present in most PPD files. - The scheduler did not honor MIME type priorities. - The commandtops filter incorrectly used the JCLBegin code to end its jobs. - The default BrowseLocalProtocols value was not set properly. - Since the commandtops filter does not actually support ReportLevels all on its own, don't list that printer command by default for PS printers. - The scheduler did not give filters a chance to log errors or update printer attributes when a job was canceled. - The scheduler did not clear the "connecting-to-device" reason keyword when a job finished. CHANGES IN CUPS V1.4b2 - Documentation updates (STR #2983, STR #2998, STR #3021) - The cupstestppd utility now validates the FileVersion and FormatVersion values in PPD files. - The default cupsd.conf file did not reflect the --with-local-protocols value set at compile-time (STR #3037) - The cupsGetPPD* APIs now create symlinks to local PPD files rather than copying them whenever possible. - Various performance optimizations in the string pool, dests, and options implementations. - The cupsGetDests* APIs now return the marker and printer-commands attributes. - Side-channel SNMP lookups would not work when cupsSNMPSupplies was set to False in the PPD file. - Localized the device descriptions for the SCSI, serial, and network backends (STR #3014) - Added a Spanish localization (STR #3015) - Added support for marker-low-levels and marker-high-levels attributes. - The scheduler could hang writing a long log line. - The cupsGetDevices() function now has an "include_schemes" parameter. - The lpinfo command now supports --include-schemes and --exclude-schemes options. - The CUPS-Get-PPDs operation now supports the include-schemes and exclude-schemes attributes. - The CUPS-Get-Devices operation now supports the include-schemes attribute. - The print filters now support a replacement for the fitplot option called "fit-to-page". - The LPD backend no longer tries to collect page accounting information since the LPD protocol does not allow us to prevent race conditions. - The scheduler did not save the last marker-change-time value. - Fixed a problem with printing to some IPP printers, including CUPS 1.1.x. - Fixed a redirection problem with the printer web page (STR #3012) - Fixed a PPD compiler problem with the loading of message catalogs (STR #2990) - Fixed a PPD compiler problem with the loading of .strings files (STR #2989) - The cupsfilter utility did not set the CONTENT_TYPE environment variable when running filters. - The scheduler now waits to allow system sleep until the jobs have all stopped. - The IPP, LPD, and socket backends used different "connecting" progress messages. CHANGES IN CUPS V1.4b1 - Documentation updates (STR #2567) - The PPD compiler now allows local message catalogs to override the standard CUPS translations (STR #2642) - The ppdmerge command did not merge custom option strings (STR #2863) - The scheduler now supports the Hold-New-Jobs and Release-Held-New-Jobs operations; these are exposed via the cupsdisable and cupsenable commands (STR #2332) - The lpstat command is now much faster when displaying the status of a single printer (STR #2843) - The scheduler now caches information from PPD files to provide significantly faster startup time with large numbers of PPDs (STR #1293) - CUPS-Get-Driver now provides much better driver matching based on the IEEE-1284 device ID and make/model strings (STR #2707) - Now support the cupsSNMPSupplies keyword to control whether the network backends query the SNMP Printer MIB for supply levels. - Now support and use a new banner file format for better text support and easier customization (STR #2490) - The scheduler now sets the PRINTER_INFO and PRINTER_LOCATION environment variables from the corresponding IPP attributes. - The ippRead*() and ippWrite*() functions no longer use a stack-based buffer (STR #2388) - The CUPS-Add-Modify-Printer operation now allows you to set the printer-state-reasons attribute. - The "set printer options" page now supports auto-configuration of printer options (STR #1440) - The web interface now provides an advanced server settings form. - The web interface's "modify printer" pages now make it easier to change just one setting (STR #1919) - The scheduler now supports a plist PrintcapFormat. - The scheduler now supports multiple addresses in Allow and Deny lines, just like Apache (STR #2947) - Added CUPS_JOBTYPE environment variable for job filters so they know whether they are printing a banner or document file (STR #2799) - Added support for printer filtering by the cupsfilter command (STR #2562) - Added a SSLOptions directive to allow Windows clients to talk to CUPS in FIPS mode (STR #2827) - Renamed the accept and reject commands to cupsaccept and cupsreject; the old names are still available (STR #2936) - The locale/translate utility needed an update to work with Google (STR #2882) - The lpstat command now supports a -H option to display the default server (STR #2833) - The scheduler now supports a FatalErrors directive to control which errors should cause the scheduler to exit (STR #2536) - The scheduler now uses the php-cgi program if it is available (STR #2923) - The scheduler now supports a DefaultPaperSize directive (STR #2848) - The scheduler now passes the job-originating-host-name value to filters in the options argument (STR #2558) - CUPS now supports job tickets in PDF files (STR #2903) - Added a DBUS notifier (STR #2529) - The LPD mini-daemon now passes the document name when queuing print jobs (STR #2482) - The IPP backend did not relay com.apple.print.recoverable-message values. - The scheduler now supports a job-media-progress attribute to track the progress of individual pages. - The sample HP driver now supports A5 (STR #2798) - The CUPS web interface menu item now uses the xdg-open command, when available (STR #2724) - The cups-lpd program now supports the -h option (STR #2794) - The scheduler now sets the PAM_TTY parameter and the PAM_ESTABLISH_CRED credential flag (STR #2745) - The scheduler now logs unsuccessful requests to the error_log file as errors (STR #2616) - Added support for a "retry-current-job" error policy that retries the current job immediately when the backend encounters an error (STR #2555) - The scheduler now returns a "forbidden" error when a user correctly authenticates but does not have permission to continue further (STR #2101) - The scheduler now loads both the server and CA certificates (if present) from the ServerCertificate file (STR #2146) - New RSS subscriptions now create their feed files immediately (STR #2853) - Added support for a device-location attribute which provides the physical location of a printer device. - Added a cupsBackendReport() API which handles quoting of the device data by a backend. - Added support for custom options in the web interface (STR #1729) - Added support for Mozilla LDAP, reconnection to LDAP servers, and improved LDAP performance (STR #1962) - Added Solaris SMF support (STR #1477) - Added optional support for using TCP wrappers to limit access to CUPS (STR #263) - Added ppdPageSizeLimits API. - Added support for new cupsMediaQualifier2, cupsMediaQualifier3, cupsMinSize, and cupsMaxSize attributes. - Added cupsResolveConflicts and ppdInstallableConflict APIs. - Added support for new cupsUIConstraints and cupsUIResolver attributes for better option conflict detection and resolution. - Increased the maximum size of 1284 device ID strings to 256 bytes (STR #2877) - Added an AccessLogLevel directive to cupsd.conf to control what is logged to the access_log file. - The default LogLevel is now "warn" instead of "info" to reduce the amount of logging that is done to disk by default. - The PPD compiler did not include OID query keywords in PPD files (STR #2871) - The cups-driverd helper program now directly supports driver information files. - The USB backend now uses libusb when available (STR #1575) - Added ppdLocalizeAttr function to get the localized version of an attribute. - MIME types now support a priority() attribute (STR #2719) - The standard MIME types are now installed in DataDir/mime (STR #2719) - The lpoptions command now describes custom options and the necessary parameters (STR #2660) - The ppdmerge program did not support Simplified Chinese or Traditional Chinese language version strings (STR #2851) - The PPD compiler now supports localizable attributes (STR #2738) - The ppdpo utility now includes cupsIPPReasons values in the message catalogs it generates (STR #2754) - The PPD compiler now supports conditional directives (STR #2636) - The ppdc utility now supports a "-t" option to test PPD files (STR #2739) - The ppdc utility now supports a "-m" option to use the ModelName value as the output filename. - The ppdc utility now supports a FileName directive to set an alternate output filename (STR #2740) - The side-channel API now supports SNMP queries for the standard network backends. - Added a PageLogFormat directive to the cupsd.conf file to control the format of lines in the page_log file. - Filters can now send PPD: messages to stderr to set PPD keywords like DefaultPageSize while a job is printing. - Added a mdns backend for discovery and printing to printers that advertise themselves via DNS-SD (Bonjour) - The ipp, lpd, and socket backends now support DNS-SD service name resolution. - The scheduler now uses a single shared file descriptor for all DNS-SD registrations (STR #2674) - The ipp, lpd, and socket backends now support SNMP-based page accounting and supply level monitoring (STR #1655) - Added support for cupsPJLDisplay attribute to control what PJL commands are used to display the job information. - Driver information files can now be installed in /Library/Printers/PPDs.drv on Mac OS X. - The CUPS image library now supports reading images larger than 2GB. - The scheduler now delays writing config and state files to reduce disk activity (STR #2684) - The CUPS-Get-Devices operation now supports the exclude-schemes and timeout attributes to control which backends are polled and for how long. - The cups-deviced helper application now runs backends in parallel to get the list of devices faster. - Added --enable-pap configure option. - The default cupsd.conf file now includes an "authenticated" policy which requires authentication for remote print jobs. - Added support for Czech and Hungarian in PPD files (STR #2735, STR #2736) - The PPD compiler tools now support Mac OS X .strings files for localization (STR #2737) - ppdOpen*() now default the colorspace member to PPD_CS_N when no DefaultColorSpace attribute is present in the PPD file. - The build system has been updated to support separate installation of data, program, header, and library files. - All support libraries are now built as shared libraries by default. - The scheduler now manages ICC color profiles on Mac OS X. - The network backends (ipp, lpd, socket) now support SNMP-based supply and page count monitoring (STR #1655) - The lppasswd program is no longer installed setuid to root to make the default installation more secure. - Added a new ppdLocalizeMarkerName() function to get the localized version of a marker-names value. - The scheduler now provides the printer-dns-sd-name attribute for printers shared via DNS-SD/Bonjour. - The pdftops filter now executes the Xpdf or poppler pdftops utility to convert PDF files (STR #1471) - Bonjour printer registrations now advertise as local or global based on the current access policies for the printer. - cupsGetDests*() and cupsSetDests*() now track the last used printer preference on Mac OS X. - Added a new streaming request API (STR #2261) - Added a new cupsGetNamedDest() function to the CUPS library for faster printing with lp and lpr (STR #2638) - The scheduler now sets the PAM RHOST value on systems that support it (STR #2637) - The scheduler now sandboxes child processes when possible. - The Cancel-Job operation now supports a purge-job attriibute to purge a specified job. - ppdEmit* and ppdCollect* now use the NonUIOrderDependency attributes for custom option selections. - The web interface now enables/disables the printer sharing (formerly publishing) controls based on the server-is-sharing-printers state (STR #2233) - The scheduler now tracks printer sharing via the server-is-sharing-printers attribute, and manages LPD and SMB sharing as well (STR #2233) - The web interface now allows you to go back to the make/ manufacturer page if there is no matching printer driver on the model page (STR #2436) - The printer list now shows the default media, banner, and duplex options as well as the color and duplex capabilities of printers (STR #1175) - The web interface look-n-feel has been updated (STR #2492) - The scheduler now supports a CUPS-Get-Document operation that returns the specified print job document (STR #118) - The cupsfilter utility now supports a "-J jobid" option to filter the document from the specified job. - The scheduler (cupsd) now supports a new option (-t) to do a syntax check of the cupsd.conf file (STR #2003) - Added new cupsGetPPD3() API to allow applications to cache PPDs safely (STR #1473) - Added generic PostScript and PCL printer driver PPDs. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.25 2010/05/20 08:06:44 sbd Exp $ d8 1 a8 1 --- Makedefs.in.orig 2009-05-26 23:27:06.000000000 +0000 d42 2 a43 2 - $(CC) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c $< + $(CC_COMPILE) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c $< d57 2 a58 2 - $(CXX) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c $< + $(CXX_COMPILE) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c $< @ 1.25 log @Add comments to the patch files. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.24 2009/09/08 19:02:11 joerg Exp $ d8 1 a8 1 --- Makedefs.in.orig 2009-09-07 18:00:35.000000000 +0200 d10 1 a10 1 @@@@ -19,8 +19,10 @@@@ d15 3 a18 1 +CC_COMPILE = @@LIBTOOL@@ --mode=compile @@CC@@ a19 1 +CC = @@LIBTOOL@@ --mode=link @@CC@@ d22 1 d24 1 a24 2 INSTALL = @@INSTALL@@ @@@@ -40,11 +42,11 @@@@ STRIP = @@STRIP@@ d28 4 a31 4 -INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755 +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -m 755 INSTALL_CONFIG = $(INSTALL) -m @@CUPS_CONFIG_FILE_PERM@@ INSTALL_DATA = $(INSTALL) -m 644 d33 4 a36 4 -INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755 +INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -m 755 INSTALL_MAN = $(INSTALL) -m 644 INSTALL_SCRIPT = $(INSTALL) -m 755 d38 1 a38 1 @@@@ -246,19 +248,19 @@@@ DBUSDIR = @@DBUSDIR@@ d60 1 a60 1 .man.1 .man.1m .man.5 .man.7 .man.8: @ 1.24 log @Do not depend on libtools's mode detection but pass down --mode=XXX correctly. @ text @d1 6 a6 1 $NetBSD$ @ 1.23 log @upgrade to 1.3.10 to fix security vulnerability @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.22 2009/02/11 10:21:33 markd Exp $ d3 50 a52 13 &data issue filed as http://www.cups.org/str.php?L3079 and fixed in cups svn 28 minutes later. --- cups/http.c.orig 2008-08-01 14:33:16.000000000 -0400 +++ cups/http.c @@@@ -1175,7 +1175,7 @@@@ httpInitialize(void) for (i = 0; i < sizeof(data); i ++) data[i] = rand(); /* Yes, this is a poor source of random data... */ - RAND_seed(&data, sizeof(data)); + RAND_seed(data, sizeof(data)); #endif /* HAVE_LIBSSL */ } d54 2 @ 1.22 log @firefox3 issue is now dealt with by a patch to firefox3 so revert this to the patch as per cups svn. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.21 2009/01/30 12:44:15 gdt Exp $ @ 1.21 log @annotate patch file with comments from Yorick Hardy &data issue filed as http://www.cups.org/str.php?L3079 and fixed in cups svn 28 minutes later. The deeper issue is that firefox3 defines SHA1_Update in nss and cups uses openssl and the nss symbol wins; hence any use of RAND_seed fails. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.20 2009/01/29 15:28:31 gdt Exp $ a5 4 The deeper issue is that firefox3 defines SHA1_Update in nss and cups uses openssl and the nss symbol wins; hence any use of RAND_seed fails. d8 1 a8 1 @@@@ -1175,7 +1175,14 @@@@ httpInitialize(void) a12 6 +#if 0 + /* + * For reasons not entirely clear, this call results in segfaults + * when firefox3 tries to print. Upstream has a spurious & in front + * of data, but removing that is not enough to avoid the crash. + */ a13 1 +#endif @ 1.20 log @Add patch to not call RAND_seed. Works around problem where firefox3 crashes when opening the printing dialog. Fix based on concept from Yorick Hardy, but bugs are my fault. @ text @d1 1 a1 1 $NetBSD$ d3 6 a8 1 Should be pushed upstream and the real problem identified. @ 1.19 log @Update cups to version 1.3.7 OKed by jlam. Changes in 1.3.7 The new release includes three security fixes and several printing and authentication fixes. CVE-2008-0047: cgiCompileSearch buffer overflow CVE-2008-1373: CUPS GIF image filter overflow Updated the "make check" tests to do a more thorough automated test. cups-driverd complained about missing directories cupsaddsmb would leave the Samba username and password on disk if no Windows drivers were installed The Linux USB backend used 100% CPU when a printer was disconnected The sample raster drivers did not properly handle SIGTERM The scheduler sent notify_post() messages too often on Mac OS X. Kerberos access to the web interface did not work The scheduler did not support "AuthType Default" in IPP policies The scheduler did not support the "HideImplicitMembers" directive as documented "make check" didn't return a non-zero exit code on error The scheduler incorrectly logged AUTH_foo environment variables in debug mode The image filters inverted PBM files cupsctl would crash if the scheduler was not running The scheduler could crash when printing using a port monitor The scheduler would crash if PAM was broken The image filters did not work with some CMYK JPEG files produced by Adobe applications The Mac OS X USB backend did not work with printers that did not report a make or model. The job-sheets option was not encoded properly The scheduler incorrectly complained about missing LSB PPD directories. Changes in 1.3.6 The new release fixes some platform-specific build problems, web interface issues, PDF and PostScript filter option handling, and a number of minor bugs discovered during routine code audits. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.18 2008/01/22 23:59:00 markd Exp $ d3 1 a3 1 post 1.3.5 fix from svn. d5 5 a9 7 Index: pstops.c =================================================================== --- filter/pstops.c (revision 7067) +++ filter/pstops.c (revision 7175) @@@@ -889,7 +889,8 @@@@ * Finish up the last page(s)... */ d11 11 a21 5 - if (number && !is_first_page(number) && cupsArrayLast(doc->pages)) + if (number && is_not_last_page(number) && cupsArrayLast(doc->pages) && + check_range(doc, (number - 1) / doc->number_up + 1)) { pageinfo = (pstops_page_t *)cupsArrayLast(doc->pages); @ 1.18 log @Missed this patch @ text @d1 1 a1 1 $NetBSD$ @ 1.17 log @Update cups to 1.2.11 CUPS 1.2.11 fixes several build system, printing, PPD, and IPP conformance issues. It also fixes a crash bug in the scheduler when printing to files in non-existent directories. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.16 2007/03/22 12:44:22 markd Exp $ d3 15 a17 10 --- filter/pstops.c.orig 2007-03-09 02:40:01.000000000 +1300 +++ filter/pstops.c @@@@ -1537,7 +1537,7 @@@@ copy_page(cups_file_t *fp, /* I - File if (doc->number_up > 1 || doc->fitplot) continue; } - else if (!strncmp(line, "%%EndFeature:", 13)) + else if (!strncmp(line, "%%EndFeature", 12)) { feature = 0; @ 1.16 log @Update to cups 1.2.10 pkgsrc changes: fix locale path patch a bug in pstops's n-up handling (reported to upstream) CUPS 1.2.10 fixes the init script used to start the scheduler, a recursion bug in the pdftops filter, and several other issues reported after the 1.2.9 release. Changes include: * ppdLocalize() now supports localizing for Japanese using the "jp" locale name used by the ppdmerge program from the CUPS DDK 1.1.0 * _cupsAdminSetServerSettings() did not support changing of top-level directives as designed. * The init script path check was broken. * CUPS incorrectly used the attribute "notify-recipient" instead of "notify-recicpient-uri" in several places * Fixed a configure script bug on MirBSD * The pdftops filter did not limit the amount of recursion of page sets * Custom page sizes with fractional point sizes did not work * The lpoptions command would crash when adding or removing options on a system with no printers @ text @d1 1 a1 1 $NetBSD$ @ 1.15 log @Update cups to 1.2.8 ok'ed jlam a while back. CUPS 1.2.8 adds a French localization, updates the Japanese and Spanish localizations, and fixes several web interface, printing, and networking bugs. CUPS 1.2.7 adds several Mac OS X improvements, implements timeouts in the SSL negotiation code, and fixes the bounding box generated by the PostScript filter, bidirectional support in the USB backend, and another case where the lpstat command could hang. CUPS 1.2.6 fixes some compile errors, localization of the web interface on Mac OS X, bugs in the lpc and lpstat commands, and backchannel support in the parallel backend. CUPS 1.2.5 fixes minor printing, networking, and documentation issues and adds support for older versions of DBUS and a translation for Estonian. CUPS 1.2.4 fixes a number of web interface, scheduler, and CUPS API issues. CUPS 1.2.3 fixes a number of web interface, networking, remote printing, and CUPS API issues. CUPS 1.2.2 fixes several build, platform, notification, and printing bugs. CUPS 1.2.1 fixes several build, platform, and printing bugs. CUPS 1.2.0 is the first stable feature release in the 1.2.x series and includes over 90 new features and changes since CUPS 1.1.23, including a greatly improved web interface and "plug-and-print" support for many local and network printers. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.14 2005/12/19 16:04:48 joerg Exp $ d3 11 a13 11 --- backend/parallel.c.orig 2005-12-19 14:00:24.000000000 +0000 +++ backend/parallel.c @@@@ -633,7 +633,7 @@@@ list_devices(void) printf("direct parallel:%s \"Unknown\" \"Parallel Port #%d\"\n", device, i + 1); } } -#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) int i; /* Looping var */ int fd; /* File descriptor */ char device[255]; /* Device filename */ @ 1.14 log @Compile real local backends, not just stubs, for DragonFly. Since this package "worked" before, bump the revision. Noticed by antencek AT gmail DOT com. @ text @d1 1 a1 1 $NetBSD$ @ 1.13 log @Update print/cups to 1.1.19. Major changes from version 1.1.18nb2 include: - security fix to scheduler to address a DoS attack - improve conformance to IPP specification - miscellaneous bug fixes to server and userland utilities - plug memory leaks - bug fixes to SSL code - the mime.convs file was missing the filter definition for Windows BMP (image/x-bitmap) files - improved test suite - added CUPS support files for Java, Perl, and PHP - The cups-lpd mini-daemon now sends jobs to the default queue when an empty queue name (or "lp" and there is no "lp" queue) is sent. - The scheduler now supports fax queues identified by a "*cupsFax: True" attribute in the PPD file. - The scheduler now supports print files that have been compressed using gzip. - Added a robots.txt file to the standard install to prevent search engines from indexing the CUPS server. - When writing BSD printcap files, the scheduler now includes the rm and rp attributes, allowing the file to be exported to LPD clients. - The pdftops filter now scales PDF pages within the printable area of the page. - The PostScript filter now supports binary PostScript files and files beginning with the PJL language escape sequence. - Fixed the CIE colorspace support code in the image and PS RIPs. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.12 2003/03/20 17:30:18 fredb Exp $ d3 11 a13 15 --- config-scripts/cups-openssl.m4.orig Tue Dec 17 12:56:39 2002 +++ config-scripts/cups-openssl.m4 @@@@ -45,7 +45,12 @@@@ if test x$enable_ssl != xno; then dnl of OpenSSL exists. So we test the linking three times in dnl case the RSAREF libraries are needed. + dnl NetBSD 1.6 has a crypt() in both -lcrypt and -lcrypto, but only + dnl the one in -lcrypt supports blowfish and other password salts, + dnl so always link -lcrypt in first, if possible. + for libcrypto in \ + "-lcrypt -lcrypto" \ "-lcrypto" \ "-lcrypto -lrsaref" \ "-lcrypto -lRSAglue -lrsaref" @ 1.12 log @Give authentication with blowfish hashes a fighting chance to work on NetBSD, by linking in -lcrypt before -lcrypto in the shared library and scheduler. (cups_crypto() looks to fall-back to crypt(). Both of the shared libraries in question have crypt(), but only the one in -lcrypt supports blowfish hashes.) Not tested. @ text @d1 1 a1 1 $NetBSD$ @ 1.11 log @Update print/cups to 1.1.10.1. Changes from version 1.1.9.1 include: + Use our own cupsd rc.d-style script instead of using the one supplied with the CUPS sources. - Bug fixes. - Added a driver for DYMO label printers. - Added new ClassifyOverride directive to allow users to override the classification of individual jobs. - Added new BrowseProtocols directive to control which browse protocols are used (currently CUPS and SLP). - Added SLPv2 support. - The pdftops filter did not have the Japanese and Chinese text support compiled into it. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.10 2001/08/02 03:37:40 jlam Exp $ d3 5 a7 22 --- configure.orig Thu Jul 12 08:42:35 2001 +++ configure @@@@ -3351,8 +3351,8 @@@@ # Check whether --enable-libtool_unsupported or --disable-libtool_unsupported was given. if test "${enable_libtool_unsupported+set}" = set; then enableval="$enable_libtool_unsupported" - if test x$enable_libtool != xno; then - LIBTOOL="$enable_libtool" + if test x$enable_libtool_unsupported != xno; then + LIBTOOL="$enable_libtool_unsupported" enable_shared=no echo "WARNING: libtool is not supported or endorsed by Easy Software Products." echo " WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS." @@@@ -3370,8 +3370,7 @@@@ LIBCUPSIMAGE="libcupsimage.la" LINKCUPS="../cups/\$(LIBCUPS)" LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)" - DSO=":" - DSOFLAGS="" + DSO="\$(CC)" fi d9 9 @ 1.10 log @Update cups to 1.1.9.1. Changes from version 1.1.8 include: * Bug fixes to the pstoraster filter, the DeskJet printer driver, digest authentication. * Optimized PPD file scanner so servers with lots of PPD files start much faster (up to 40%). * Fixed the "N * N copy bug" where N * N copies were sent when N were specified. * Added new DeskJet and Stylus Photo printer drivers. * Workaround buggy IPP implementations in some HP JetDirect servers. @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Update CUPS to 1.1.6.3nb1 from source distribution 1.1.6-3. Changes from version 1.1.6.2nb1 include incorporation of USB fixes from NetBSD pkgsrc, security fixes from SuSE, lpr-compatibility fixes from Caldera, and: - Fix problem exposed by the MaxJobs directive where the scheduler was losing count of the number of jobs. This fix, stored in patch-ah, was gleaned from the CUPS mailing list, and bumps the cups packages version number to 1.1.6.3nb1. - The updated cupsTempFile() function did not return the filename when called with a filename buffer of NULL (previously it used a static buffer.) - DeletePrinter() didn't remove the printer from any classes it was a member of. - DeletePrinterFromClass() didn't preserve the implicit status of a class. - DeletePrinterFromClasses() didn't remove printers from implicit classes. - StartJob() didn't send the job-sheets, job-priority, and job-hold-until attributes to remote printers. - LoadAllJobs() was looking for job-sheets-completed instead of job-media-sheets-completed. This would prevent accumulation of page data after a restart of the scheduler. - The pstops and imagetops filters now generate copies using the appropriate method for a Level 1, 2, or 3 printer since some Level 2/3 printers don't support the /#copies variable anymore. - The IPP backend didn't handle version-not-supported errors and revert to IPP/1.0 (previously it only checked for a bad-request error) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.8 2001/02/13 20:21:36 jlam Exp $ d3 23 a25 33 --- backend/usb.c.orig Tue Feb 6 05:41:04 2001 +++ backend/usb.c @@@@ -398,7 +398,7 @@@@ #elif defined(__sun) #elif defined(__hpux) #elif defined(__osf) -#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#elif defined(__FreeBSD__) int i; /* Looping var */ int fd; /* File descriptor */ char device[255]; /* Device filename */ @@@@ -407,6 +407,21 @@@@ for (i = 0; i < 3; i ++) { sprintf(device, "/dev/unlpt%d", i); + if ((fd = open(device, O_WRONLY)) >= 0) + { + close(fd); + printf("direct usb:%s \"Unknown\" \"USB Port #%d\"\n", device, i + 1); + } + } +#elif defined(__NetBSD__) || defined(__OpenBSD__) + int i; /* Looping var */ + int fd; /* File descriptor */ + char device[255]; /* Device filename */ + + + for (i = 0; i < 3; i ++) + { + sprintf(device, "/dev/ulpt%d", i); if ((fd = open(device, O_WRONLY)) >= 0) { close(fd); @ 1.8 log @Remove extra #endif @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Update cups to 1.1.6.2nb1. Changes from version 1.1.6.1 include: - Added changes to support NetBSD startup scripts. - The mime.types file contained syntax errors. - Updated the FreeBSD USB device filenames to use the /dev/unlptN files so that the USB device is not reset prior to printing (causes print corruption on many printers) - Added new cupsTempFd() function to avoid serious security bug in glibc fopen() function. The glibc fopen() function unlinks a file before creating it, which opens up possible symlink attacks. - Now reject 0-length names in add-printer and add-class requests. - cupsGetPPD() didn't reconnect when a HTTP connection was lost. - Many security-related fixes from SuSE. @ text @d14 1 a14 1 @@@@ -407,6 +407,22 @@@@ a23 1 +#endif @ 1.6 log @Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting. @ text @d3 26 a28 21 --- cups.sh.in.orig Mon Jan 22 10:03:16 2001 +++ cups.sh.in @@@@ -10,6 +10,12 @@@@ # description: Startup/shutdown script for the Common UNIX \ # Printing System (CUPS). # +# NetBSD 1.5+ rcorder script lines. The format of the following two +# lines is very strict -- please don't add additional spaces! +# +# PROVIDE: cups +# REQUIRE: DAEMON +# # Copyright 1997-2001 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the @@@@ -35,6 +41,9 @@@@ IS_ON=/sbin/chkconfig ;; + NetBSD*) + IS_ON=: d30 7 a36 13 *) IS_ON=/bin/true ;; @@@@ -57,6 +66,9 @@@@ pid=`ps -e | awk '{print $1,$5}' | grep cupsd | awk '{print $1}'` ;; Linux) + pid=`ps ax | awk '{print $1,$5}' | grep cupsd | awk '{print $1}'` + ;; + NetBSD) pid=`ps ax | awk '{print $1,$5}' | grep cupsd | awk '{print $1}'` ;; *) @ 1.5 log @Update cups to 1.1.5.2. No functional changes from 1.1.5.1, but NetBSD changes were folded back into the main source tree. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.4 2000/12/21 14:59:38 jlam Exp $ d3 18 a20 4 --- config.h.in.orig Mon Oct 16 19:02:08 2000 +++ config.h.in @@@@ -89,6 +89,12 @@@@ #undef HAVE_CRYPT_H d22 2 a23 3 /* + * Do we have ? + */ d25 13 a37 6 +#undef HAVE_SYS_IOCTL_H + +/* * Do we have the strXXX() functions? */ @ 1.4 log @Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Deal with init script in a better way. Also update various patches to versions sent back to Easy Software. @ text @d3 4 a6 12 --- scheduler/Makefile.orig Thu Sep 14 11:36:25 2000 +++ scheduler/Makefile @@@@ -68,10 +68,10 @@@@ $(CHMOD) ugo+rx $(LOGDIR) -$(MKDIR) $(REQUESTS) $(CHMOD) u+rwx,go-rwx $(REQUESTS) - $(CHOWN) lp $(REQUESTS) + $(CHOWN) $(CUPS_USER) $(REQUESTS) -$(MKDIR) $(REQUESTS)/tmp $(CHMOD) u+rwx,go-rwx,+t $(REQUESTS)/tmp - $(CHOWN) lp $(REQUESTS)/tmp + $(CHOWN) $(CUPS_USER) $(REQUESTS)/tmp d8 9 a17 1 # @ 1.2 log @Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 1999/11/29 02:18:54 jlam Exp $ d3 12 a14 4 --- cgi-bin/Makefile.orig Thu Jul 8 10:20:38 1999 +++ cgi-bin/Makefile Sun Nov 28 21:06:28 1999 @@@@ -45,8 +45,8 @@@@ # a15 5 install: - -$(MKDIR) $(SERVERROOT)/cgi-bin - $(CP) $(TARGETS) $(SERVERROOT)/cgi-bin + -$(BSD_INSTALL_PROGRAM_DIR) $(EXECDIR)/cgi-bin + $(LIBTOOL) $(BSD_INSTALL_PROGRAM) $(TARGETS) $(EXECDIR)/cgi-bin a17 28 # classes.cgi @@@@ -54,7 +54,7 @@@@ classes.cgi: classes.o ../Makedefs ../cups/$(LIBCUPS) echo Linking $@@... - $(CC) $(LDFLAGS) -o $@@ classes.o $(LIBS) + $(LIBTOOL) $(CC) $(LDFLAGS) -o $@@ classes.o $(LIBS) $(OBJS): ../Makedefs ../cups/cups.h ../cups/ipp.h ../cups/language.h @@@@ -64,7 +64,7 @@@@ jobs.cgi: jobs.o ../Makedefs ../cups/$(LIBCUPS) echo Linking $@@... - $(CC) $(LDFLAGS) -o $@@ jobs.o $(LIBS) + $(LIBTOOL) $(CC) $(LDFLAGS) -o $@@ jobs.o $(LIBS) $(OBJS): ../Makedefs ../cups/cups.h ../cups/ipp.h ../cups/language.h @@@@ -74,7 +74,7 @@@@ printers.cgi: printers.o ../Makedefs ../cups/$(LIBCUPS) echo Linking $@@... - $(CC) $(LDFLAGS) -o $@@ printers.o $(LIBS) + $(LIBTOOL) $(CC) $(LDFLAGS) -o $@@ printers.o $(LIBS) $(OBJS): ../Makedefs ../cups/cups.h ../cups/ipp.h ../cups/language.h @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Common UNIX Printing System, a IPP 1.0 implementation. @ text @@