head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.28 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.26 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.24 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.22 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.20 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.18 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.16 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.14 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.12 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.10 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.8 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.6 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.4 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.2 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.3.0.16 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.14 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.12 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.10 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2007.03.14.12.29.06; author markd; state dead; branches; next 1.3; 1.3 date 2005.03.02.18.33.02; author drochner; state Exp; branches; next 1.2; 1.2 date 2000.07.12.20.09.38; author jlam; state dead; branches 1.2.10.1; next 1.1; 1.1 date 99.11.29.02.18.54; author jlam; state Exp; branches 1.1.1.1; next ; 1.2.10.1 date 2005.03.04.04.56.26; author snj; state Exp; branches; next ; 1.1.1.1 date 99.11.29.02.18.54; author jlam; state Exp; branches; next ; desc @@ 1.4 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 @$NetBSD: patch-av,v 1.3 2005/03/02 18:33:02 drochner Exp $ --- pdftops/Catalog.cxx.orig 2005-03-01 15:38:37.000000000 +0100 +++ pdftops/Catalog.cxx @@@@ -64,8 +64,8 @@@@ Catalog::Catalog(XRef *xrefA) { } pagesSize = numPages0 = (int)obj.getNum(); obj.free(); - if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize || - pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) { + if (pagesSize*(int)sizeof(Page *)/sizeof(Page *) != pagesSize || + pagesSize*(int)sizeof(Ref)/sizeof(Ref) != pagesSize) { error(-1, "Invalid 'pagesSize'"); ok = gFalse; return; @@@@ -197,7 +197,8 @@@@ int Catalog::readPageTree(Dict *pagesDic } if (start >= pagesSize) { pagesSize += 32; - if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize) { + if (pagesSize*(int)sizeof(Page *)/sizeof(Page *) != pagesSize || + pagesSize*(int)sizeof(Ref)/sizeof(Ref) != pagesSize) { error(-1, "Invalid 'pagesSize' parameter."); goto err3; } @ 1.3 log @Fix CAN-2005-0206: An overflow check introduced earlier (for CAN-2004-0888) was never triggered on 64-bit systems because 64-bit arithmetics was used there. Sprinkle some casts to int su that the overflow can happen. This fix is similar to the redhat one. The fix for similar code in print/teTeX-bin looks much cleaner, but since cups already contains the wrong redhad fix, I've chosen to stay close to the original. bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @ 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-av,v 1.1 1999/11/29 02:18:54 jlam Exp $ d3 23 a25 44 --- scheduler/client.c.orig Thu Nov 4 09:56:33 1999 +++ scheduler/client.c Sun Nov 28 21:06:29 1999 @@@@ -474,17 +474,17 @@@@ if (strncmp(con->uri, "/printers", 9) == 0) { - snprintf(command, sizeof(command), "%s/cgi-bin/printers.cgi", ServerRoot); + snprintf(command, sizeof(command), "%s/cgi-bin/printers.cgi", ExecRoot); options = con->uri + 9; } else if (strncmp(con->uri, "/classes", 8) == 0) { - snprintf(command, sizeof(command), "%s/cgi-bin/classes.cgi", ServerRoot); + snprintf(command, sizeof(command), "%s/cgi-bin/classes.cgi", ExecRoot); options = con->uri + 8; } else { - snprintf(command, sizeof(command), "%s/cgi-bin/jobs.cgi", ServerRoot); + snprintf(command, sizeof(command), "%s/cgi-bin/jobs.cgi", ExecRoot); options = con->uri + 5; } @@@@ -585,17 +585,17 @@@@ if (strncmp(con->uri, "/printers", 9) == 0) { - snprintf(command, sizeof(command), "%s/cgi-bin/printers", ServerRoot); + snprintf(command, sizeof(command), "%s/cgi-bin/printers", ExecRoot); options = con->uri + 9; } else if (strncmp(con->uri, "/classes", 8) == 0) { - snprintf(command, sizeof(command), "%s/cgi-bin/classes", ServerRoot); + snprintf(command, sizeof(command), "%s/cgi-bin/classes", ExecRoot); options = con->uri + 8; } else { - snprintf(command, sizeof(command), "%s/cgi-bin/jobs", ServerRoot); + snprintf(command, sizeof(command), "%s/cgi-bin/jobs", ExecRoot); options = con->uri + 5; } @ 1.2.10.1 log @Pullup ticket 328 - requested by Lubomir Sedlacik security fix for cups Revisions pulled up: - pkgsrc/print/cups/Makefile 1.90 - pkgsrc/print/cups/distinfo 1.31 - pkgsrc/print/cups/patches/patch-au 1.4 - pkgsrc/print/cups/patches/patch-av 1.3 Module Name: pkgsrc Committed By: drochner Date: Wed Mar 2 18:33:02 UTC 2005 Modified Files: pkgsrc/print/cups: Makefile distinfo pkgsrc/print/cups/patches: patch-au Added Files: pkgsrc/print/cups/patches: patch-av Log Message: Fix CAN-2005-0206: An overflow check introduced earlier (for CAN-2004-0888) was never triggered on 64-bit systems because 64-bit arithmetics was used there. Sprinkle some casts to int su that the overflow can happen. This fix is similar to the redhat one. The fix for similar code in print/teTeX-bin looks much cleaner, but since cups already contains the wrong redhad fix, I've chosen to stay close to the original. bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-av,v 1.3 2005/03/02 18:33:02 drochner Exp $ d3 44 a46 23 --- pdftops/Catalog.cxx.orig 2005-03-01 15:38:37.000000000 +0100 +++ pdftops/Catalog.cxx @@@@ -64,8 +64,8 @@@@ Catalog::Catalog(XRef *xrefA) { } pagesSize = numPages0 = (int)obj.getNum(); obj.free(); - if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize || - pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) { + if (pagesSize*(int)sizeof(Page *)/sizeof(Page *) != pagesSize || + pagesSize*(int)sizeof(Ref)/sizeof(Ref) != pagesSize) { error(-1, "Invalid 'pagesSize'"); ok = gFalse; return; @@@@ -197,7 +197,8 @@@@ int Catalog::readPageTree(Dict *pagesDic } if (start >= pagesSize) { pagesSize += 32; - if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize) { + if (pagesSize*(int)sizeof(Page *)/sizeof(Page *) != pagesSize || + pagesSize*(int)sizeof(Ref)/sizeof(Ref) != pagesSize) { error(-1, "Invalid 'pagesSize' parameter."); goto err3; } @ 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 @@