summaryrefslogtreecommitdiff
path: root/print/cups/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2005-02-07Instantly deprecate USE_PAM from pkgsrc as its value is being set fromjlam1-5/+1
within NetBSD-current's bsd.own.mk, which conflicts with its usage in pkgsrc. The package that use USE_PAM have been converted to use the bsd.options.mk framework. This should fix PR pkg/29257.
2005-01-19apply the last xpdf security patch to the embedded pdftops filterdrochner1-1/+2
which is based on xpdf, bump PKGREVISUIN
2005-01-14Create a pam.buildlink3.mk file that is used by PAM-using packages.jlam1-2/+2
It includes the correct buildlink3.mk file from either Linux-PAM (security/PAM) or OpenPAM (security/openpam) and eventually will support solaris-pam. pam.buildlink3.mk will: * set PAMBASE to the base directory of the PAM files; * set PAM_TYPE to the PAM implementation used. There are two variables that can be used to tweak the selection of the PAM implementation: PAM_DEFAULT is a user-settable variable whose value is the default PAM implementation to use. PAM_ACCEPTED is a package-settable list of PAM implementations that may be used by the package. Modify most packages that include PAM/buildlink3.mk to include pam.buildlink3.mk instead.
2005-01-06Update print/cups to 1.1.23. Changes from version 1.1.22 include:jlam1-5/+4
- The scheduler's is_path_absolute() code could cause a DoS (STR #1042) - The scheduler's device loading code used the wrong size limits for the make/model and info parameters (STR #1035) - The PNG loading code did not use a "long unsigned integer" format specifier for the width and height (STR #1032) - The web interface only showed the first 4 or 8 characters of "{variable-name}" for undefined template variables (STR #1031) - The hpgltops filter did not handle a common PCL command to enter HP-GL/2 mode (STR #1037) - The scheduler no longer sends the page-set option when printing banner pages (STR #995) - The hpgltops filter contained two buffer overflows that could potentially allow remote access to the "lp" account (STR #1024) - The lppasswd command did not protect against file descriptor or ulimit attacks (STR #1023) - The "lpc status" command used the wrong resource path when querying the list of printers and jobs, causing unnecessary authentication requests (STR #1018) - The httpWait() function did not handle signal interruptions (STR #1020) - The USB backend used the wrong size status variable when checking the printer status (STR #1017) - The scheduler did not delete classes from other classes or implicit classes, which could cause a crash (STR #1015) - The IPP backend now logs the remote print job ID at log level NOTICE instead of INFO (so it shows up in the error_log file...)
2004-12-29Use VARBASE.minskim1-2/+2
2004-12-28Bump PKGREVISIONs due to libtiff update.reed1-2/+2
Some BUILDLINK_RECOMMENDED bumps done also. (If I missed any, please let me know -- and let me know a good way to automate this.)
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-1/+2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-11-30Align with doc/Makefile-example by moving the buildlink3.mk files aheadjlam1-9/+9
of local targets.
2004-11-08Changes 1.1.22:adam1-22/+21
- The lpstat man page incorrectly listed the "-s" option as using the equivalent of the "-p" option to list the printers; it uses the "-v" option to list the printers (STR #986) - Now allow 0-length reads in the CUPS file API (STR #985) - cupsDoFileRequest() now sets cupsLastError() to IPP_ERROR on network errors (STR #953) - The pdftops filter didn't scale small pages up to the output page size when the fitplot option was used (STR #984) - Fixed the ipptest program usage message (STR #959) - Added Spanish man pages (STR #963) - Fixed the order of comparisons in the client.conf reading code (STR #971) - cupsLangGet() incorrectly set the current locale (STR #970) Changes 1.1.22rc2: - The pdftops filter didn't check the range of all integer attributes (STR #972) - Documentation corrections (STR #944, STR #946) - Also sanitize device URI in argv[0] (STR #933) - cupsRasterReadHeader() didn't swap bytes for the numeric fields properly (STR #930) Changes 1.1.22rc1: - Now sanitize the device URI that is reported in the error_log file (STR #920) - Fixed some memory and file descriptor leaks in the job dispatch code (STR #921) - Deleting a printer could cause a crash with browsing enabled (STR #865, STR #881, STR #928) - Browsing would turn off if the scheduler got an EAGAIN error (STR #924) - The mime.types file didn't recognize PostScript as a PJL language name (STR #925) Changes 1.1.21: - The scheduler did not separate Digest authentication parameters with commas (STR #882) - Fixed some problems with image printing to custom page sizes (STR #891) - Removed the remaining scheduler code that did not use the "close-on-exec" file descriptor flag to speed up program invocations (STR #890) - The "lpr -r" command removed the print file even if it was not printed. It now only removes the file if the job is successfully created (STR #886) - Revamped the custom page size orientation fix (STR #127) - The lp, lpq, lpr, and lpstat commands now report when an environment variable is pointing to a non-existent printer instead of just saying "no default destination" (STR #879) - Queue names with 2 periods (e.g. "printer..2") were not supported (STR #866)
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-08-22Change the way that legacy USE_* and FOO_USE_* options are convertedjlam1-5/+2
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
2004-07-30Convert to use bsd.options.mk. The relevant options variable to setjlam1-7/+16
for each package can be determined by invoking: make show-var VARNAME=PKG_OPTIONS_VAR The old options are still supported unless the variable named in PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-06-23The pkgview installation of cups causes more harm than good since otherrecht1-2/+2
packages install filters into libexec/cups/filter - which doesn't work in pkgview land. To work around this disable pkgview installation of cups until the issues are resolved. ok'd by jlam@
2004-05-17Correct the flags passed to the linker when building with libtool and bumpjlam1-6/+4
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).
2004-03-26PKGREVISION bump after openssl-security-fix-update to 0.9.6m.wiz1-1/+2
Buildlink files: RECOMMENDED version changed to current version.
2004-02-13pdftops is a C++ application.jlam1-1/+2
2004-02-08PKGLIBTOOL and PKGSHLIBTOOL are no more.jlam1-2/+2
2004-01-24replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-10Update print/cups to 1.1.20. Changes from version 1.1.19nb3 include:jlam1-3/+3
Bug fixes: - The HTTP code did not use a case-insensitive comparison when checking for the Basic authentication method (STR #407) - The cupsaddsmb program didn't export the new CUPS driver for Windows properly (STR #390) - The default landscape orientation was not the same as that defined in the PPD file (STR #397) - The pdftops filter incorrectly auto-rotated pages when the user already had specified the proper orientation (STR #207) - The scheduler did not reset the group list when running CGI and filter processes (STR #185) Enhancements: - Updated the pdftops filter to use the annotation flags instead of the subtype to determine whether to print an annotation (STR #425) - The pdftops filter no longer needs to create temporary files with tmpnam (STR #406) - The scheduler now waits up to 60 seconds before restarting to allow active jobs to complete printing and pending requests to be processed (STR #226) - Added new cupsDoAuthentication(), cupsGetFd(), cupsGetFile(), cupsPutFd(), and cupsPutFile() functions to the CUPS API (STR #112) - The PDF filter always scaled and offset pages; this caused problems under MacOS X, so now the "fitplot" option controls whether PDF files are scaled to fit within the printable area of the page (STR #250) - Updated the pdftops filter to be based upon Xpdf 2.02pl1 (STR #191)
2004-01-10From the log for rev. 1.1260 of bsd.pkg.mk:jlam1-2/+2
"Package Makefiles should refer to PKG_SYSCONFBASEDIR instead of PKG_SYSCONFBASE when they want PKG_SYSCONFDIR stripped of PKG_SYSCONFSUBDIR. This makes PKG_SYSCONFBASE=/etc work with pkgviews by installing all config files into /etc/packages/<pkg> instead of occasionally putting some directly into /etc."
2004-01-06bl3ifyjlam1-9/+11
2004-01-03Bump package revisions for tiff update.reed1-2/+2
Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
2003-11-12PKGREVISION++ after openssl update.jschauma1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-04Bump the PKGREVISION for print/cups to 1:jlam1-2/+2
Change the cupsd rc.d script to REQUIRE slpd. This is needed for the case where cupsd actually uses SLP to register services (by setting BrowseProtocols to include "slp") and does nothing otherwise.
2003-06-04The following changes only affect the build of CUPS, and the entiretyjlam1-2/+2
of the diffs between vanilla CUPS and pkgsrc CUPS will be sent back to the author. * Allow overriding the default paths for "CUPS_SERVERBIN" and "CUPS_LOCALEDIR" by passing values through the configure script. This facilitates using custom directory hierarchies as is common in various packaging systems. * Allow choosing the man page extension style by passing values directly through the configure script. This allows overriding the defaults for an operating system, which can happen in some packaging systems. Leave the default behaviour unchanged if not specified.
2003-05-28Use the new "installcups" target so we avoid installing in the confjlam1-1/+2
directory and avoid installing the distributed cups rc.d script.
2003-05-28Update print/cups to 1.1.19. Major changes from version 1.1.18nb2 include:jlam1-8/+11
- 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.
2003-03-20fredb has fixed cups so it works now with blowfish cipher in the passwd file.jmmv1-2/+2
Remove the note in the MESSAGE and bump PKGREVISION to 2.
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-7/+7
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2003-01-23Create a new cupsd command "wait" that waits for cupsd to start respondingjlam1-1/+2
to IPP requests. It's controlled by two new variables that may be set in /etc/rc.conf: cupsd_wait=YES # set to "YES" to wait for cupsd to detect printers; # this variable is optional and defaults to "NO". cupsd_timeout=60 # set to the number of seconds we wait for cupsd # to respond before we declare it not responding; # this variable is optional and defaults to "60". The wait command may also be directly invoked as "/etc/rc.d/cupsd wait". Bump PKGREVISION of print/cups to 1.
2003-01-10USE_PKGLOCALEDIR=yescjep1-1/+2
2002-12-20Updated print/cups to 1.1.18. Changes from version 1.1.17 include:jlam1-2/+2
- SECURITY FIX: The scheduler now provides a FileDevice directive to control whether new printers can be added using device URIs of the form "file:/filename". The default is to not allow printers with these device URIs. - SECURITY FIX: Potential underflow/overflow bug in web interface. - SECURITY FIX: Race condition in certificate creation. - SECURITY FIX: Bad URIs in browse packets could be used to exploit the web interface underflow/overflow bug. - SECURITY FIX: Some types of Denial of Service attacks were not handled properly, so once the attack was over the scheduler did not close the connections immediately on all platforms. - SECURITY FIXES: Added integer overflow/underflow checks for all image formats. - Bug fixes to the scheduler. - Upgraded pdftops filter to Xpdf 2.01 with fixes for TrueType fonts. - Added a MaxClientsPerHost configuration directive to provide limited protection against Denial of Service attacks.
2002-12-19Updated print/cups to 1.1.17. Changes from version 1.1.16 include:jlam1-2/+9
- Bug fixes to the backends and scheduler. - Bug fixes to the image filters. - The scheduler now allows accounts authenticated via PAM to not have a corresponding UNIX account, but group membership still requires the account name to be listed in the UNIX group file(s)... - Added some startup performance enhancements to the scheduler so that the printer object information is regenerated fewer times and the MIME type database is not filled with lots of empty filters for raw/direct queues. - The backends now ignore SIGPIPE so that failed job filters will not stop a print queue. - User-defined classification strings are now printed verbatim. - The lpstat command did not allow for destination lists. - The LPD backend now sends the job title as the print filename. - Added support for variable sizes in the EPSON dot matrix printer drivers. This allows for pages as short as 1/2" (1 row of labels) and does not do an automatic form feed. - The Solaris USB backend now supports the new device URI syntax. - The serial backend now enumerates serial ports under MacOS X.
2002-10-20Note where to send bug-fixes or patches to CUPS when feeding back to thejlam1-1/+5
author.
2002-10-20Update print/cups from version 1.1.15.1 to version 1.1.16:jlam1-9/+18
CUPS 1.1.16 adds support for a new CUPS printer driver for Windows NT/2000/XP that provides accurate page accounting as well as support for the banner, job billing, job priority, and page label options. The new release also contains many small bug fixes and enhancements, including better USB printing support, support for printer names containing any printable character (123print, my-long-printer-name, etc.), and French language localization of the web interface and documentation.
2002-09-19Take advantage of the auto-generation and installation of rc.d scripts.jlam1-3/+1
2002-09-18Update print/cups to 1.15.1. Changes from version 1.14 include:jlam1-4/+5
====================================================================== * Removed the pstoraster filter (based on GNU Ghostscript 5.50) and now * provide the raster "driver" and patch file necessary to use the current * GNU Ghostscript 7.05 release. Pkgsrc users should install the * print/ghostscript-esp package. ====================================================================== - Many, many bug fixes. - Improvements to polling and scheduling of jobs to CUPS and to connected printers. - Updated the CUPS license agreement for the new MacOS and OpenSSL license exceptions. - The jobs.cgi web interface now handles all job operations, allowing the administrator to allow "job administrators" or operators to manage jobs (but not queues) on the server. - New SCSI printer backend. - The PostScript filter now supports 6, 9, and 16-up output, as well as new page-border and number-up-layout options. - Added ConfigFilePerm and LogFilePerm directives. - The HTML job operation templates now link back to the destination printer or class. - Removed unnecessary fonts and updated the Courier and Symbol fonts to the latest versions to better support non-ISOLatin1 text. - The text filter now always embeds the Courier and Symbol fonts to ensure that they contain the full set of glyphs. - The PostScript image filter (imagetops) now supports printing CMYK images using the CMYK colorspace. - The cupsaddsmb program was updated to use the setdriver command instead of addprinter. - The Allow, Deny, BrowseAllow, BrowseDeny, and BrowseAddress directives now support the network interface names "@LOCAL" and "@IF(name)" for access control and browsing based on the current interface addresses instead of fixed names or IP addresses. - The cupsaddsmb program now supports alternative CUPS and SAMBA server names. - The PostScript filter now supports the Orientation comment and rotates the page as needed automatically.
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam1-10/+11
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2002-07-16Raise the shell resource limits to the maximum, to let this build onfredb1-1/+2
mac68k, at least. Closes PR 17563.
2002-03-13Give all packages which depend on "png" a version bump, and updatefredb1-1/+2
all dependencies on packages depending on "png" which contain shared libraries, all for the (imminent) update to the "png" package. [List courtesy of John Darrow, courtesy of "bulk-build".]
2002-02-18Updated cups to 1.1.14martti1-2/+2
- The ippRead() function did not verify that the attribute name length or string with language value was not larger than the read buffer. - The scheduler set the signal handlers before loading the configuration files the first time; this prevented the RunAsUser directive from blocking server reloads. - Added Swedish message catalog. - The parallel backend now recognizes the /dev/printers device directory under Linux 2.4.x. - MacOS X fixes. - The cupsaddsmb utility sent the server name after the user information when executing the rpcclient program. This caused problems with some versions of SAMBA 2.2.x. - The IPP backend did not pass the requesting user name when checking on the print job status. This prevented it from waiting for the job to complete when communicating with some IPP implementations that require it.
2002-01-31Update print/cups to 1.1.13:jlam1-2/+2
CUPS 1.1.13 adds support for the KOI8-R and KOI8-U encodings, message catalogs for several Russian locales and for Simplified Chinese, improvements for MacOS X (Darwin) and IRIX, improvements to the PDF, PostScript, and text filters, status reporting for IPP-based printers (paper out, etc.), and improvements to the SAMBA driver export facility. The new release also fixes bugs in the scheduler, the lpstat command, the CUPS API, and the pstoraster filter.
2002-01-30Add USE_PAM to BUILD_DEFS when we build with PAM support.jlam1-1/+2
2002-01-06The configure script auto-appends "cups" to "sysconfdir", so passjlam1-3/+4
"${PKG_SYSCONFBASE}" to the script and set PKG_SYSCONFSUBDIR directly to "cups".
2001-12-14Update print/cups to 1.1.12. Relevant changes from version 1.1.10.1 include:jlam1-24/+26
- Bug fixes. - Start of internationalization support for banner and PPD files. - Added support for embedded TrueType fonts in PDF files. - Added support for PostScript functions in PDF files. - Added new "cupsaddsmb" utility for exporting CUPS printer drivers to SAMBA/Windows clients. - The ippRead() and ipp_read_file() functions could not handle more than IPP_MAX_VALUES (100) values in a 1setOf attribute. These functions have been updated to dynamically allocate more memory as needed, and the IPP_MAX_VALUES constant now represents the allocation increment. [this caused some versions of the GIMP-print drivers to fail since the number of media options exceeded 100...] - The web interfaces did not always quote < and & in things like the job title. This had the potential for browser-based security violations (on the browser's machine); bug report from SuSE. - The scheduler now treats unauthenticated usernames as case-insensitive when doing quota and allow/deny processing. - The PostScript filter (pstops) now handles EPS files, adding a showpage command to the files as needed. - The cups-lpd mini-daemon did not support anonymous printing (no username specified). While the username is REQUIRED by RFC-1179, MacOS clients do not send the REQUIRED username information when printing via LPD. - The httpConnect*() functions now try all available addresses for a host when connecting for the first time.
2001-12-02bsd.pkg.install.mk calls the INSTALL script at the right timesjlam1-3/+1
automatically, so no need to do it ourselves.
2001-11-26Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}.jlam1-4/+3
2001-11-25PKG_SYSCONFDIR is where the configuration files for a package may be found.jlam1-13/+14
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.