pkgsrc/print/cups/Makefile

179 lines
5.7 KiB
Makefile
Raw Normal View History

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 (<cups/cups.h>) no longer includes the PPD header (<cups/ppd.h>). - 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)
2011-11-13 22:49:17 +01:00
# $NetBSD: Makefile,v 1.184 2011/11/13 21:49:17 sbd Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
# cups-bugs@cups.org.
Changes 1.1.22: - 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-11-08 17:30:59 +01:00
DISTNAME= cups-${DIST_VERS}-source
PKGNAME= cups-${DIST_VERS:S/-/./g}
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 (<cups/cups.h>) no longer includes the PPD header (<cups/ppd.h>). - 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)
2011-11-13 22:49:17 +01:00
BASE_VERS= 1.5.0
Changes 1.1.22: - 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-11-08 17:30:59 +01:00
DIST_VERS= ${BASE_VERS}
Changes 1.1.22: - 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-11-08 17:30:59 +01:00
CATEGORIES= print
2005-01-06 08:26:39 +01:00
MASTER_SITES= http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
2010-05-11 09:52:20 +02:00
ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${BASE_VERS}/
Changes 1.1.22: - 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-11-08 17:30:59 +01:00
EXTRACT_SUFX= .tar.bz2
MAINTAINER= sbd@NetBSD.org
Changes 1.1.22: - 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-11-08 17:30:59 +01:00
HOMEPAGE= http://www.cups.org/
COMMENT= Common UNIX Printing System
2010-05-20 10:05:29 +02:00
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
2007-11-08 21:03:21 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
Changes 1.1.22: - 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-11-08 17:30:59 +01:00
CONFLICTS+= LPRng-[0-9]* LPRng-core-[0-9]*
2000-12-28 01:09:38 +01:00
#PKG_INSTALLATION_TYPES= overwrite pkgviews
2004-01-06 08:05:24 +01:00
WRKSRC= ${WRKDIR}/cups-${BASE_VERS}
UNLIMIT_RESOURCES= datasize memorysize
2004-02-13 16:42:04 +01:00
USE_LANGUAGES= c c++ # pdftops is a C++ application
USE_PKGLOCALEDIR= yes
USE_TOOLS+= aclocal autoconf automake gmake
USE_LIBTOOL= yes
2006-07-05 22:12:06 +02:00
# patch-a[jkl] were added for 2.60
AUTOCONF_REQD= 2.60
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q}
2005-01-06 08:26:39 +01:00
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups
CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups
CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER}
CONFIGURE_ARGS+= --with-cups-group=${CUPS_GROUP}
CONFIGURE_ARGS+= --with-system-groups=${CUPS_SYSTEM_GROUPS:Q}
CONFIGURE_ARGS+= --enable-libpaper
CONFIGURE_ARGS+= --enable-libtool
CONFIGURE_ARGS+= --enable-jpeg
CONFIGURE_ARGS+= --enable-png
CONFIGURE_ARGS+= --enable-tiff
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.
2000-12-21 15:59:37 +01:00
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --enable-openssl
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.
2010-05-21 12:05:20 +02:00
CONFIGURE_ARGS+= --enable-bannertops
CONFIGURE_ARGS+= --enable-texttops
CONFIGURE_ARGS+= --with-manext=bsd
CONFIGURE_ARGS+= --without-icondir
CONFIGURE_ARGS+= --without-menudir
CONFIGURE_ARGS+= --without-perl
CONFIGURE_ARGS+= --without-php
CONFIGURE_ARGS+= --without-python
CONFIGURE_ARGS+= --without-java
CONFIGURE_ARGS+= --disable-gssapi
CONFIGURE_ARGS+= --disable-gnutls
CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q}
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.
2000-12-21 15:59:37 +01:00
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
PLIST_VARS+= notmac
.if ${OPSYS} != "Darwin"
PLIST.notmac= yes
.endif
# CUPS_USER user to run filter and CGI programs as
# CUPS_GROUP group to run filter and CGI programs as
# CUPS_SYSTEM_GROUPS group for system administration
#
CUPS_USER?= lp
CUPS_GROUP?= lp
CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP}
FILES_SUBST+= CUPS_USER=${CUPS_USER}
FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP}
2010-05-24 05:37:59 +02:00
FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q}
PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS
PKG_USERS_VARS+= CUPS_USER
BUILD_DEFS+= CUPS_USER CUPS_GROUP CUPS_SYSTEM_GROUPS VARBASE
2007-10-08 13:39:47 +02:00
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.
2000-12-21 15:59:37 +01:00
DOCDIR= ${PREFIX}/share/doc/cups
EGDIR= ${PREFIX}/share/examples/cups
MIMEDIR= ${PREFIX}/share/cups/mime
PKG_SYSCONFSUBDIR= cups
CUPS_CONFDIR= ${PKG_SYSCONFDIR}
2007-10-08 13:39:47 +02:00
CUPS_LOGDIR= ${VARBASE}/log/cups
CUPS_REQUESTS= ${VARBASE}/spool/cups
CUPS_CACHE= ${VARBASE}/cache/cups
CUPS_STATEDIR= ${VARBASE}/run/cups
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.
2000-12-21 15:59:37 +01:00
2001-12-15 00:18:15 +01:00
PKG_GROUPS= ${CUPS_GROUP}
PKG_USERS= ${CUPS_USER}:${CUPS_GROUP}
PKG_GECOS.${CUPS_USER}= Common UNIX Printing System user
PKG_SHELL.${CUPS_USER}= ${SH}
CONF_FILES= ${EGDIR}/cupsd.conf ${CUPS_CONFDIR}/cupsd.conf
CONF_FILES+= ${EGDIR}/snmp.conf ${CUPS_CONFDIR}/snmp.conf
2001-12-15 00:18:15 +01:00
RCD_SCRIPTS= cupsd
2001-12-15 00:18:15 +01:00
OWN_DIRS= ${CUPS_CONFDIR}
OWN_DIRS+= ${CUPS_CONFDIR}/interfaces
OWN_DIRS+= ${CUPS_CONFDIR}/ppd
OWN_DIRS+= ${PREFIX}/libexec/cups/driver
2001-12-15 00:18:15 +01:00
OWN_DIRS+= ${CUPS_LOGDIR}
OWN_DIRS+= ${CUPS_STATEDIR}
OWN_DIRS_PERMS= ${CUPS_STATEDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
2010-05-24 05:26:37 +02:00
OWN_DIRS_PERMS+= ${CUPS_CONFDIR}/ssl ${REAL_ROOT_USER} ${CUPS_GROUP} 0700
OWN_DIRS_PERMS+= ${CUPS_REQUESTS} ${REAL_ROOT_USER} ${CUPS_GROUP} 0710
OWN_DIRS_PERMS+= ${CUPS_REQUESTS}/tmp ${REAL_ROOT_USER} ${CUPS_GROUP} 1770
OWN_DIRS_PERMS+= ${CUPS_CACHE} ${REAL_ROOT_USER} ${CUPS_GROUP} 0775
OWN_DIRS_PERMS+= ${CUPS_CACHE}/rss ${REAL_ROOT_USER} ${CUPS_GROUP} 0775
2006-01-06 01:19:44 +01:00
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKDIR}/cups.pam
SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},g'
SUBST_STAGE.paths= post-patch
SUBST_CLASSES+= rpathfix
SUBST_FILES.rpathfix= cups-config.in
SUBST_MESSAGE.rpathfix= Adding rpath to cups-config.
SUBST_SED.rpathfix= -e 's|@EXPORT_LDFLAGS@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g'
SUBST_STAGE.rpathfix= post-patch
.if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc)
SUBST_CLASSES+= piefix
SUBST_FILES.piefix= Makedefs.in
SUBST_MESSAGE.piefix= Removing PIE flags
SUBST_SED.piefix= -e 's|@PIEFLAGS@||g'
SUBST_STAGE.piefix= post-patch
.endif
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 (<cups/cups.h>) no longer includes the PPD header (<cups/ppd.h>). - 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)
2011-11-13 22:49:17 +01:00
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${MIMEDIR} ${CUPS_CONFDIR}
INSTALL_ENV+= DSTROOT=${DESTDIR}
2007-11-08 21:03:21 +01:00
pre-configure:
.if !empty(CUPS_SYSTEM_GROUPS:M${CUPS_GROUP})
${ERROR_MSG} "CUPS_SYSTEM_GROUPS may not contain the CUPS_GROUP"
exit 1
.endif
cd ${WRKSRC} && aclocal && autoconf
2006-01-06 01:19:44 +01:00
post-extract:
${CP} ${FILESDIR}/cups.pam ${WRKDIR}/cups.pam
post-install:
set -e; for file in LICENSE.txt README.txt; do \
2007-11-08 21:03:21 +01:00
${INSTALL_DATA} ${WRKSRC}/$${file} \
${DESTDIR}${DOCDIR}/$${file}; \
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.
2000-12-21 15:59:37 +01:00
done
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 (<cups/cups.h>) no longer includes the PPD header (<cups/ppd.h>). - 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)
2011-11-13 22:49:17 +01:00
${RUN} for file in cupsd.conf snmp.conf ; do \
${MV} -f ${DESTDIR}${CUPS_CONFDIR}/$${file} \
${DESTDIR}${EGDIR}/$${file}; \
done
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 (<cups/cups.h>) no longer includes the PPD header (<cups/ppd.h>). - 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)
2011-11-13 22:49:17 +01:00
${RM} -f ${DESTDIR}${CUPS_CONFDIR}/cupsd.conf.default
.if !empty(PKG_OPTIONS:Mpam)
2007-11-08 21:03:21 +01:00
${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR}
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
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 (<cups/cups.h>) no longer includes the PPD header (<cups/ppd.h>). - 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)
2011-11-13 22:49:17 +01:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../print/libpaper/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"