head 1.19; access; symbols pkgsrc-2014Q4:1.18.0.6 pkgsrc-2014Q4-base:1.18 pkgsrc-2014Q3:1.18.0.4 pkgsrc-2014Q3-base:1.18 pkgsrc-2014Q2:1.18.0.2 pkgsrc-2014Q2-base:1.18 pkgsrc-2014Q1:1.17.0.20 pkgsrc-2014Q1-base:1.17 pkgsrc-2013Q4:1.17.0.18 pkgsrc-2013Q4-base:1.17 pkgsrc-2013Q3:1.17.0.16 pkgsrc-2013Q3-base:1.17 pkgsrc-2013Q2:1.17.0.14 pkgsrc-2013Q2-base:1.17 pkgsrc-2013Q1:1.17.0.12 pkgsrc-2013Q1-base:1.17 pkgsrc-2012Q4:1.17.0.10 pkgsrc-2012Q4-base:1.17 pkgsrc-2012Q3:1.17.0.8 pkgsrc-2012Q3-base:1.17 pkgsrc-2012Q2:1.17.0.6 pkgsrc-2012Q2-base:1.17 pkgsrc-2012Q1:1.17.0.4 pkgsrc-2012Q1-base:1.17 pkgsrc-2011Q4:1.17.0.2 pkgsrc-2011Q4-base:1.17 pkgsrc-2011Q3:1.16.0.8 pkgsrc-2011Q3-base:1.16 pkgsrc-2011Q2:1.16.0.6 pkgsrc-2011Q2-base:1.16 pkgsrc-2011Q1:1.16.0.4 pkgsrc-2011Q1-base:1.16 pkgsrc-2010Q4:1.16.0.2 pkgsrc-2010Q4-base:1.16 pkgsrc-2010Q3:1.15.0.4 pkgsrc-2010Q3-base:1.15 pkgsrc-2010Q2:1.15.0.2 pkgsrc-2010Q2-base:1.15 pkgsrc-2010Q1:1.13.0.30 pkgsrc-2010Q1-base:1.13 pkgsrc-2009Q4:1.13.0.28 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.13.0.26 pkgsrc-2009Q3-base:1.13 pkgsrc-2009Q2:1.13.0.24 pkgsrc-2009Q2-base:1.13 pkgsrc-2009Q1:1.13.0.22 pkgsrc-2009Q1-base:1.13 pkgsrc-2008Q4:1.13.0.20 pkgsrc-2008Q4-base:1.13 pkgsrc-2008Q3:1.13.0.18 pkgsrc-2008Q3-base:1.13 cube-native-xorg:1.13.0.16 cube-native-xorg-base:1.13 pkgsrc-2008Q2:1.13.0.14 pkgsrc-2008Q2-base:1.13 cwrapper:1.13.0.12 pkgsrc-2008Q1:1.13.0.10 pkgsrc-2008Q1-base:1.13 pkgsrc-2007Q4:1.13.0.8 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.13.0.6 pkgsrc-2007Q3-base:1.13 pkgsrc-2007Q2:1.13.0.4 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.13.0.2 pkgsrc-2007Q1-base:1.13 pkgsrc-2006Q4:1.12.0.22 pkgsrc-2006Q4-base:1.12 pkgsrc-2006Q3:1.12.0.20 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.12.0.18 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.16 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.12.0.14 pkgsrc-2005Q4-base:1.12 pkgsrc-2005Q3:1.12.0.12 pkgsrc-2005Q3-base:1.12 pkgsrc-2005Q2:1.12.0.10 pkgsrc-2005Q2-base:1.12 pkgsrc-2005Q1:1.12.0.8 pkgsrc-2005Q1-base:1.12 pkgsrc-2004Q4:1.12.0.6 pkgsrc-2004Q4-base:1.12 pkgsrc-2004Q3:1.12.0.4 pkgsrc-2004Q3-base:1.12 pkgsrc-2004Q2:1.12.0.2 pkgsrc-2004Q2-base:1.12 pkgsrc-2004Q1:1.11.0.4 pkgsrc-2004Q1-base:1.11 pkgsrc-2003Q4:1.11.0.2 pkgsrc-2003Q4-base:1.11 buildlink2-base:1.10 netbsd-1-5-PATCH001:1.7 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.19 date 2015.01.02.02.03.42; author christos; state dead; branches; next 1.18; commitid GleC8YzZh5HTko4y; 1.18 date 2014.06.07.07.34.05; author wiz; state Exp; branches; next 1.17; commitid IkMNWbCzpSJRSyDx; 1.17 date 2011.11.13.21.49.17; author sbd; state Exp; branches; next 1.16; 1.16 date 2010.11.12.08.54.58; author sbd; state Exp; branches; next 1.15; 1.15 date 2010.05.21.10.05.20; author sbd; state Exp; branches; next 1.14; 1.14 date 2010.05.20.08.06.44; author sbd; state Exp; branches; next 1.13; 1.13 date 2007.03.14.12.29.03; author markd; state Exp; branches; next 1.12; 1.12 date 2004.05.17.10.40.45; author jlam; state Exp; branches; next 1.11; 1.11 date 2003.05.28.02.34.00; author jlam; state Exp; branches; next 1.10; 1.10 date 2001.08.18.04.41.46; author jlam; state dead; branches; next 1.9; 1.9 date 2001.08.02.03.37.39; author jlam; state Exp; branches; next 1.8; 1.8 date 2001.05.15.17.43.21; author jlam; state dead; branches; next 1.7; 1.7 date 2001.02.27.17.37.53; author jlam; state Exp; branches; next 1.6; 1.6 date 2001.02.08.19.05.01; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.01.28.02.05.37; author jlam; state Exp; 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.1.1.1 date 99.11.29.02.18.54; author jlam; state Exp; branches; next ; desc @@ 1.19 log @Update cups to 2.0.1 to handle most vuln warnings. @ text @$NetBSD: patch-ad,v 1.18 2014/06/07 07:34:05 wiz Exp $ libtoolize. --- config-scripts/cups-sharedlibs.m4.orig 2012-10-15 21:02:10.000000000 +0000 +++ config-scripts/cups-sharedlibs.m4 @@@@ -22,6 +22,24 @@@@ cupsbase="cups" LIBCUPSBASE="lib$cupsbase" LIBCUPSSTATIC="lib$cupsbase.a" +AC_ARG_ENABLE(libtool, [ --enable-libtool[=LIBTOOL_PATH] + turn on building with libtool (UNSUPPORTED!), default=no]) + +if test x$enable_libtool != xno; then + echo "WARNING: libtool is not supported or endorsed by Easy Software Products." + echo " WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS." + echo " (even if you have a support contract)" + enable_shared=no + if test x$enable_libtool = xyes; then + LIBTOOL=libtool + else + LIBTOOL=$enable_libtool + fi +else + LIBTOOL= +fi +AC_SUBST(LIBTOOL) + if test x$enable_shared != xno; then case "$uname" in SunOS*) @@@@ -122,6 +140,15 @@@@ if test x$enable_shared != xno; then DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@@\` -shared \$(OPTIM)" ;; esac +elif test x$enable_libtool != xno; then + LIBCUPS="libcups.la" + LIBCUPSCGI="libcupscgi.la" + LIBCUPSDRIVER="libcupsdriver.la" + LIBCUPSIMAGE="libcupsimage.la" + LIBCUPSMIME="libcupsmime.la" + LIBCUPSPPDC="libcupsppdc.la" + DSO="\$(CC)" + DSOXX="\$(CXX)" else PICFLAG=0 LIBCUPS="lib$cupsbase.a" @@@@ -145,8 +172,13 @@@@ AC_SUBST(LIBCUPSPPDC) AC_SUBST(LIBCUPSSTATIC) if test x$enable_shared = xno; then - LINKCUPS="../cups/lib$cupsbase.a" - LINKCUPSIMAGE="../filter/libcupsimage.a" + if test x$enable_libtool = xno; then + LINKCUPS="../cups/lib$cupsbase.a" + LINKCUPSIMAGE="../filter/libcupsimage.a" + else + LINKCUPS="../cups/\$(LIBCUPS)" + LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)" + fi EXTLINKCUPS="-lcups" EXTLINKCUPSIMAGE="-lcupsimage" @@@@ -182,10 +214,11 @@@@ if test "$DSO" != ":"; then DSOLIBS="\$(LIBZ)" IMGLIBS="" - # Tell the run-time linkers where to find a DSO. Some platforms - # need this option, even when the library is installed in a - # standard location... - case $uname in + if test x$enable_libtool = xno; then + # Tell the run-time linkers where to find a DSO. Some platforms + # need this option, even when the library is installed in a + # standard location... + case $uname in HP-UX*) # HP-UX needs the path, even for /usr/lib... case "$uarch" in @@@@ -223,7 +256,8 @@@@ if test "$DSO" != ":"; then EXPORT_LDFLAGS="-Wl,-rpath,$libdir" fi ;; - esac + esac + fi else DSOLIBS="" IMGLIBS="\$(LIBZ)" @ 1.18 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-ad,v 1.17 2011/11/13 21:49:17 sbd Exp $ @ 1.17 log @Update to cups-1.5.0 -------------------- CHANGES IN CUPS V1.5.0 - Documentation updates. - Localization update (STR #3865) - Needed to limit TLS to v1.0 on some versions of Mac OS X. - The snmp backend did not work with some printers. CHANGES IN CUPS V1.5rc1 - Compile fixes (STR #3849, STR #3850) - The scheduler didn't check for empty values for several configuration directives (STR #3861) - ipptool didn't generate valid XML when a test was skipped. - Added additional error checking to the 1284 device ID code (STR #3858) - Fixed some compatibility issues migrating from the old usblp backend to the libusb backend (STR #3860) - Fixed the wake-from-sleep printing behavior on Mac OS X. - The scheduler incorrectly allowed jobs to be held from a terminating state. - The cups-driverd program could crash when a PPD was renamed. - The dnssd backend took too long to discover printers on large or busy networks with the new default timeout used by lpinfo and the web interface. This resulted in "lost" printers. CHANGES IN CUPS V1.5b2 - Documentation updates. - Localization updates (STR #3845) - Compiler warning cleanup. - Fixed PIE support for Linux (STR #3846) - Made httpSetTimeout API public and use it in the IPP backend to avoid timeout errors. - The scheduler incorrectly set the "authenticated" printer-type bit for remote queues using authentication. CHANGES IN CUPS V1.5b1 - The CUPS library now supports per-connection HTTP timeouts and callbacks. - The CUPS library now supports (limited) SSL/TLS X.509 certificate validation and revocation (STR #1616) - Updated the PostScript filter to support IncludeFeature in more circumstances (STR #3417) - The schedule did not correctly parse some IPv6 addresses and masks in the cupsd.conf file (STR #3533) - Fixed a case-insensitive string comparison issue for locales that do not treat "I" and "i" as equivalent (STR #3800) - The scheduler reported an incorrect job-printer-uri value when sharing was not enabled (STR #3639) - The scheduler now allows the ServerAlias directive to contain multiple hostnames separated by spaces or commas (STR #3813) - The scheduler now sets the process group for child processes and manages the group (STR #2829) - Fixed some minor issues discovered by a Coverity scan (STR #3838) - The scheduler now more carefully creates and removes configuration, cache, and state files (STR #3715) - The lpadmin command now allows default option values to be deleted (STR #2959) - The lpadmin command now allows the cupsIPPSupplies and cupsSNMPSupplies keywords to be set in a PPD file (STR #3825) - Moving a held job no longer releases it (STR #3839) - Restored support for GNU TLS and OpenSSL with threading enabled (STR #3605) - Fixed a confusing error message from cups-polld (STR #3806) - Increased the default RIPCache value to 128MB (STR #3535) - MIME errors are now routed to the error_log file (STR #2410) - Updated PDF filter to support new Ghostscript ps2write device (STR #3766) - Updated PDF filter to support new Poppler option to preserve page sizes in PDF files when the user has not selected a particular media size (STR #3689) - Added new PWG Raster filter for IPP Everywhere printer support. - Added job-uuid, printer-uuid, and subscription-uuid attributes. - Added support for the cupsSingleFile PPD keyword. - Dropped support for the printer-state-history attribute (STR #3654) - Added support for a new cupsIPPSupplies keyword in PPD files to allow drivers to disable IPP supply level reporting. - Added support for a new cupsFilter2 keyword in PPD files to allow for the propagation of the actual MIME media type produced by a filter. - The scheduler did not always get the correct Kerberos username when authenticating (STR #3670) - Added new cupsRasterOpenIO function and CUPS_RASTER_WRITE_PWG to the CUPS imaging library to support printing to IPP Everywhere raster printers. - The scheduler now provides default values for the pages-per-minute and pages-per-minute-color attributes for PPD files that lack a Throughput keyword. - Email notifications did not work on Mac OS X. - The cupstestppd program now shows an error for files missing a CloseGroup keyword (STR #3668) - Name resolution errors no longer cause queues to stop (STR #3719, STR #3753) - Added a new cups-exec helper program that applies security profiles to filters, port monitors, backends, CGI programs, and mini-daemons. - The web interface can now be disabled using the WebInterface directive in cupsd.conf (STR #2625) - The scheduler now provides privacy controls for jobs and subscriptions (STR #2969) - Added new cupsArrayNew3 API which offers memory management of array elements. - Added several new color spaces to the CUPS raster format (STR #3419) - The Validate-Job operation now uses the same policy as Print-Job by default. - CUPS now uses iconv to implement all of its character encoding support (STR #3097) - The scheduler now implements the Cancel-Jobs, Cancel-My-Jobs, and Close-Job operations along with the job-ids operation attribute from PWG 5100.11. - The main CUPS header () no longer includes the PPD header (). - The scheduler and CUPS API now support the print-quality job template attribute. - The scheduler no longer supports the old Mac OS X Server quota plugin. - The scheduler now allows writing to /Users/Shared from print filters on Mac OS X. - CUPS no longer supports the old ~/.cupsrc or ~/.lpoptions files from CUPS 1.1.x. The ~/.cups/client.conf and ~/.cups/lpoptions files that were introduced in CUPS 1.2 must now be used. - The ipptest tool is now a first-class user program and has several improvements along with new documentation (STR #3484) - The cupstestppd tool now warns about non-unique filenames and provides a way to ignore all filename warnings. - Dropped support for the recoverable: and recovered: message prefixes. - The scheduler now requires that filters and backends have group write permissions disabled. - The PPD compiler now checks for overlapping filenames when writing PPD files. - The HP-GL/2 filter is no longer included with CUPS (STR #3322) - The SCSI backend is no longer included with CUPS (STR #3500) @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.16 2010/11/12 08:54:58 sbd Exp $ d5 1 a5 1 --- config-scripts/cups-sharedlibs.m4.orig 2010-06-16 00:48:25.000000000 +0000 d32 1 a32 1 @@@@ -131,6 +149,15 @@@@ if test x$enable_shared != xno; then d48 1 a48 1 @@@@ -163,8 +190,13 @@@@ AC_SUBST(LIBCUPSPPDC) d63 3 a65 3 EXTLINKCUPSDRIVER="-lcupsdriver" @@@@ -204,10 +236,11 @@@@ if test "$DSO" != ":"; then DSOLIBS="\$(LIBTIFF) \$(LIBPNG) \$(LIBJPEG) \$(LIBZ)" d80 1 a80 1 @@@@ -255,7 +288,8 @@@@ if test "$DSO" != ":"; then d89 1 a89 1 IMGLIBS="\$(LIBTIFF) \$(LIBPNG) \$(LIBJPEG) \$(LIBZ)" @ 1.16 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-ad,v 1.15 2010/05/21 10:05:20 sbd Exp $ d5 1 a5 1 --- config-scripts/cups-sharedlibs.m4.orig 2010-06-16 00:49:01.000000000 +0000 d7 3 a9 3 @@@@ -18,6 +18,24 @@@@ DSOFLAGS="${DSOFLAGS:=}" AC_ARG_ENABLE(shared, [ --disable-shared do not create shared libraries]) d32 1 a32 1 @@@@ -126,6 +144,15 @@@@ if test x$enable_shared != xno; then d47 3 a49 3 LIBCUPS="libcups.a" @@@@ -156,8 +183,13 @@@@ AC_SUBST(LIBCUPSMIME) AC_SUBST(LIBCUPSPPDC) d52 1 a52 1 - LINKCUPS="../cups/libcups.a" d55 1 a55 1 + LINKCUPS="../cups/libcups.a" d64 1 a64 1 @@@@ -197,10 +229,11 @@@@ if test "$DSO" != ":"; then d80 1 a80 1 @@@@ -248,7 +281,8 @@@@ if test "$DSO" != ":"; then @ 1.15 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-ad,v 1.14 2010/05/20 08:06:44 sbd Exp $ d5 1 a5 1 --- config-scripts/cups-sharedlibs.m4.orig 2009-02-10 17:05:35.000000000 +0000 d61 4 a64 4 else if test $uname = AIX; then LINKCUPS="-lcups_s" @@@@ -182,10 +214,11 @@@@ if test "$DSO" != ":"; then d80 1 a80 1 @@@@ -233,7 +266,8 @@@@ if test "$DSO" != ":"; then @ 1.14 log @Add comments to the patch files. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.13 2007/03/14 12:29:03 markd Exp $ d5 1 a5 1 --- config-scripts/cups-sharedlibs.m4.orig 2006-12-07 09:10:16.000000000 +1300 d7 1 a7 1 @@@@ -27,6 +27,24 @@@@ DSOFLAGS="${DSOFLAGS:=}" d9 1 a9 1 AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries, default=yes]) d12 1 a12 1 + turn on building with libtool (UNSUPPORTED!), default=no]) d31 2 a32 2 SunOS* | UNIX_S*) @@@@ -84,6 +102,10 @@@@ if test x$enable_shared != xno; then d38 2 d41 2 d44 1 d48 2 a49 2 @@@@ -104,8 +126,13 @@@@ AC_SUBST(LIBCUPS) AC_SUBST(LIBCUPSIMAGE) d64 1 a64 1 @@@@ -130,10 +157,11 @@@@ if test "$DSO" != ":"; then d80 1 a80 1 @@@@ -181,7 +209,8 @@@@ if test "$DSO" != ":"; then @ 1.13 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 3 a3 1 $NetBSD: patch-ad,v 1.12 2004/05/17 10:40:45 jlam Exp $ @ 1.12 log @Correct the flags passed to the linker when building with libtool and bump the PKGREVISION. Also remove the unnecessary -preserve-dup-deps argument to libtool, rename the configure option to --enable-libtool, and remove the unnecessary bits to deal with libcrypt/libcrypto (buildlink3 does this for us automatically). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- config-scripts/cups-sharedlibs.m4.orig Wed Jul 23 16:07:34 2003 d30 2 a31 2 @@@@ -74,6 +92,10 @@@@ if test x$enable_shared != xno; then DSOFLAGS="$DSOFLAGS -Wl,-soname,\$@@ -shared \$(OPTIM)" d41 1 a41 1 @@@@ -87,8 +109,13 @@@@ AC_SUBST(LIBCUPS) d45 1 a45 1 - LINKCUPS="../cups/libcups.a \$(SSLLIBS)" d48 1 a48 1 + LINKCUPS="../cups/libcups.a \$(SSLLIBS)" d57 2 a58 2 @@@@ -113,10 +140,11 @@@@ if test "$DSO" != ":"; then DSOLIBS="\$(LIBPNG) \$(LIBTIFF) \$(LIBJPEG) \$(LIBZ)" d61 3 a63 3 - # The *BSD, HP-UX, and Solaris run-time linkers need help when - # deciding where to find a DSO. Add linker options to tell them - # where to find the DSO (usually in /usr/lib... duh!) d66 3 a68 3 + # The *BSD, HP-UX, and Solaris run-time linkers need help when + # deciding where to find a DSO. Add linker options to tell them + # where to find the DSO (usually in /usr/lib... duh!) d71 6 a76 6 # HP-UX DSOFLAGS="+s +b $libdir $DSOFLAGS" @@@@ -141,7 +169,8 @@@@ if test "$DSO" != ":"; then LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir" EXPORT_LDFLAGS="-Wl,-rpath,$libdir" ;; d82 1 a82 1 IMGLIBS="\$(LIBPNG) \$(LIBTIFF) \$(LIBJPEG) \$(LIBZ)" @ 1.11 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 @d3 3 a5 3 --- config-scripts/cups-libtool.m4.orig Tue Dec 17 13:56:39 2002 +++ config-scripts/cups-libtool.m4 @@@@ -24,7 +24,7 @@@@ dnl d7 1 a7 8 AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported=LIBTOOL_PATH turn on building with libtool (UNSUPPORTED!), default=no], - [if test x$enable_libtool_unsupported != xno; then + [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." @@@@ -36,7 +36,7 @@@@ AC_ARG_ENABLE(libtool_unsupported, [ -- d9 34 a42 1 AC_SUBST(LIBTOOL) d44 39 a82 5 -if test x$LIBTOOL != x; then +if test x"$LIBTOOL" != x; then LIBCUPS="libcups.la" LIBCUPSIMAGE="libcupsimage.la" LINKCUPS="../cups/\$(LIBCUPS)" @ 1.10 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-ad,v 1.9 2001/08/02 03:37:39 jlam Exp $ d3 1 a3 1 --- config-scripts/cups-libtool.m4.orig Wed Jun 27 15:06:45 2001 d5 1 a5 1 @@@@ -24,8 +24,8 @@@@ d8 4 a11 5 turn on building with libtool (UNSUPPORTED!) [default=no]], - [if test x$enable_libtool != xno; then - LIBTOOL="$enable_libtool" + [if test x$enable_libtool_unsupported != xno; then + LIBTOOL="$enable_libtool_unsupported" d14 7 a20 2 echo " WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS." @@@@ -41,8 +41,7 @@@@ a22 7 LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)" - DSO=":" - DSOFLAGS="" + DSO="\$(CC)" fi dnl @ 1.9 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.8 log @Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes, documentation updates, better support of Apache options in configuration files, and: - Added support for "double" HostNameLookups. - Added new "RunAsUser" directive to support non-root configurations on the standard (privileged) ports. - Added support for non-root invocation of the lpd backend (does no reserve a priviledged port, which might not work with some LPD servers...) - Added new PrintcapFormat directive to control the output format of the printcap file (BSD or Solaris formats are supported at present.) - httpConnect() now looks up "localhost" by name and by address (127.0.0.1) for users that go to the trouble of removing the required localhost entry in /etc/hosts or on their DNS server... - The EPSON drivers now send the "end packet mode" command when printing to USB devices. - The LPD backend now supports a new "order" option: "lpd://server/queue?order=control,data" (default) and "lpd://server/queue?order=data,control". - New "Classification" directive to force labeling of the current classification on each page. - New "page-label" attribute to add per-page labels ("For Official Use Only", "Draft", etc.) - Dropped the "file" backend from the device list that is reported, since it is only available for *testing* and should never be used in a production environment. The file: device can still be used, but it won't show up in the list of devices from lpinfo or the web interface. - Added META variables to the CGI header template to prevent caching of the results. - Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow an administrator to set the maximum number of pending jobs in a queue or submitted by a user. - Added support for the Enable-Printer and Disable-Printer extension operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.) - Added support for the DeskJet 900 series duplexer and CRET color modes in the HP driver. - Added support for PPD-defined margins in the HP driver. - Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs. - cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and cupsParseOptions() would add names of 0 length. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.7 2001/02/27 17:37:53 jlam Exp $ d3 3 a5 3 --- configure.in.orig Tue Feb 20 12:32:59 2001 +++ configure.in @@@@ -494,4 +494,5 @@@@ d7 17 a23 18 dnl Fix "mandir" variable... +AMANDIR="\${mandir}" if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then case "$uname" in @@@@ -664,6 +665,6 @@@@ dnl Set the CUPS_DOCROOT directory... -CUPS_DOCROOT='${datadir}/doc/cups' -AC_DEFINE_UNQUOTED(CUPS_DOCROOT, "$datadir/doc/cups") +CUPS_DOCROOT='${datadir}/doc/html/cups' +AC_DEFINE_UNQUOTED(CUPS_DOCROOT, "$datadir/doc/html/cups") AC_SUBST(CUPS_DOCROOT) @@@@ -671,5 +672,5 @@@@ AC_DEFINE_UNQUOTED(CUPS_FONTPATH, "$fontpath") -AC_OUTPUT(Makedefs cups.sh) +AC_OUTPUT(Makedefs cups.sh conf/cupsd.conf) @ 1.7 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$ @ 1.6 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 @d3 1 a3 1 --- configure.in.orig Tue Feb 6 20:25:38 2001 d5 1 a5 20 @@@@ -390,18 +390,7 @@@@ # rather than to the executables. This makes things smaller if you # are using any static libraries, and it also allows us to distribute - # a single DSO rather than a bunch...unless the linker is dumb. - case $uname in - NetBSD*) - # NetBSD's linker won't resolve symbols in a shared - # libraries unless their enclosing shared libraries - # are explicitly listed. - DSOLIBS="\$(LIBJPEG) \$(LIBPNG) \$(LIBTIFF) \$(LIBZ)" - IMGLIBS="\$(LIBJPEG) \$(LIBPNG) \$(LIBTIFF) \$(LIBZ)" - ;; - *) - DSOLIBS="\$(LIBJPEG) \$(LIBPNG) \$(LIBTIFF) \$(LIBZ)" - IMGLIBS="" - ;; - esac + # a single DSO rather than a bunch. + DSOLIBS="\$(LIBPNG) \$(LIBTIFF) \$(LIBJPEG) \$(LIBZ)" + IMGLIBS="" d7 5 a11 9 # The *BSD, HP-UX, and Solaris run-time linkers need help when @@@@ -427,5 +416,5 @@@@ else DSOLIBS="" - IMGLIBS="\$(LIBJPEG) \$(LIBPNG) \$(LIBTIFF) \$(LIBZ)" + IMGLIBS="\$(LIBPNG) \$(LIBTIFF) \$(LIBJPEG) \$(LIBZ)" fi @@@@ -655,6 +644,6 @@@@ d20 1 a20 1 @@@@ -662,5 +651,5 @@@@ @ 1.5 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 1 a3 1 --- configure.in.orig Fri Jan 26 10:01:59 2001 d5 28 a32 16 @@@@ -514,8 +514,14 @@@@ dnl Setup init.d locations... case "$uname" in - FreeBSD* | NetBSD* | OpenBSD*) - # *BSD + FreeBSD* | OpenBSD*) INITDIR="" INITDDIR="" + INITSCRIPT="" + ;; + + NetBSD*) + INITDIR="/etc/rc.d" + INITDDIR="" + INITSCRIPT="scripts/netbsd" ;; d34 1 a34 36 @@@@ -526,4 +532,5 @@@@ INITDIR="/sbin/init.d" INITDDIR=".." + INITSCRIPT="scripts/sysv" else if test -d /etc/rc.d; then @@@@ -531,8 +538,10 @@@@ INITDIR="/etc/rc.d" INITDDIR="../init.d" + INITSCRIPT="scripts/sysv" else # Others INITDIR="/etc" INITDDIR="../init.d" + INITSCRIPT="scripts/sysv" fi fi @@@@ -542,4 +551,5 @@@@ INITDIR="/sbin" INITDDIR="../init.d" + INITSCRIPT="scripts/sysv" ;; @@@@ -547,4 +557,5 @@@@ INITDIR="/etc" INITDDIR="../init.d" + INITSCRIPT="scripts/sysv" ;; @@@@ -553,4 +564,5 @@@@ AC_SUBST(INITDIR) AC_SUBST(INITDDIR) +AC_SUBST(INITSCRIPT) dnl Setup default locations... @@@@ -612,6 +624,6 @@@@ d43 1 a43 1 @@@@ -619,5 +631,5 @@@@ d47 1 a47 1 +AC_OUTPUT(Makedefs cups.sh scripts/common) @ 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 @d3 18 a20 10 --- conf/cupsd.conf.in.orig Wed Dec 20 08:41:12 2000 +++ conf/cupsd.conf.in @@@@ -247,8 +247,8 @@@@ # program is run... # -#User lp -#Group sys +User @@CUPS_USER@@ +Group @@CUPS_GROUP@@ d22 51 a72 2 # # RIPCache: the amount of memory that each RIP should use to cache @ 1.3 log @Deal with init script in a better way. Also update various patches to versions sent back to Easy Software. @ text @d3 5 a7 5 --- doc/sam.shtml.orig Mon Oct 2 10:48:23 2000 +++ doc/sam.shtml @@@@ -230,6 +230,11 @@@@

Installing the Software

d9 4 a12 6 +

Before you install, you'll need to ensure that the CUPS administrator +user (lp) and group (sys) already exist on your system. If not, then please +refer to your system documentation for the procedure to add new users and +groups. +

Use the "install" target to install the software: d14 2 a15 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-ad,v 1.1 1999/11/29 02:18:54 jlam Exp $
    d3 12
    a14 52
    --- berkeley/Makefile.orig	Tue Jul 13 08:39:37 1999
    +++ berkeley/Makefile	Sun Nov 28 21:06:28 1999
    @@@@ -45,10 +45,10 @@@@
     #
     
     install:
    -	-$(MKDIR) $(BINDIR)
    -	-$(MKDIR) $(SBINDIR)
    -	$(CP) lpq lpr lprm $(BINDIR)
    -	$(CP) lpc $(SBINDIR)
    +	-$(BSD_INSTALL_PROGRAM_DIR) $(BINDIR)
    +	-$(BSD_INSTALL_PROGRAM_DIR) $(SBINDIR)
    +	$(LIBTOOL) $(BSD_INSTALL_PROGRAM) lpq lpr lprm $(BINDIR)
    +	$(LIBTOOL) $(BSD_INSTALL_PROGRAM) lpc $(SBINDIR)
     
     #
     # lpc
    @@@@ -56,7 +56,7 @@@@
     
     lpc:	lpc.o ../cups/$(LIBCUPS)
     	echo Linking $@@...
    -	$(CC) $(LDFLAGS) -o lpc lpc.o $(LIBS)
    +	$(LIBTOOL) $(CC) $(LDFLAGS) -o lpc lpc.o $(LIBS)
     
     lpc.o:	../cups/cups.h ../Makedefs
     
    @@@@ -66,7 +66,7 @@@@
     
     lpq:	lpq.o ../cups/$(LIBCUPS)
     	echo Linking $@@...
    -	$(CC) $(LDFLAGS) -o lpq lpq.o $(LIBS)
    +	$(LIBTOOL) $(CC) $(LDFLAGS) -o lpq lpq.o $(LIBS)
     
     lpq.o:	../cups/cups.h ../Makedefs
     
    @@@@ -76,7 +76,7 @@@@
     
     lpr:	lpr.o ../cups/$(LIBCUPS)
     	echo Linking $@@...
    -	$(CC) $(LDFLAGS) -o lpr lpr.o $(LIBS)
    +	$(LIBTOOL) $(CC) $(LDFLAGS) -o lpr lpr.o $(LIBS)
     
     lpr.o:	../cups/cups.h ../Makedefs
     
    @@@@ -86,7 +86,7 @@@@
     
     lprm:	lprm.o ../cups/$(LIBCUPS)
     	echo Linking $@@...
    -	$(CC) $(LDFLAGS) -o lprm lprm.o $(LIBS)
    +	$(LIBTOOL) $(CC) $(LDFLAGS) -o lprm lprm.o $(LIBS)
     
     lprm.o:	../cups/cups.h ../Makedefs
    d16 1
    @
    
    
    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
    @@