summaryrefslogtreecommitdiff
path: root/print/cups/distinfo
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12Rename print/cups to print/cups-base to depend on cups-filterskhorben1-27/+0
This change: - renames print/cups to print/cups-base, - lets print/cups-filters depend on print/cups-base instead of cups, - adds a package print/cups depending on print/cups-base and print/cups-filters. This makes sure installing print/cups always installs print/cups-filters, as it is necessary for being able to print outside of Mac OS X since CUPS 1.6.0. You're welcome. I do not think superseding is necessary, since print/cups will also install print/cups-base, which really is the same as before. In practice it is like a new dependency. I do not want to risk a bad "cvs import" either, sorry. Bumps PKGREVISION for print/cups and print/cups-filters, since they have new dependencies now. This is also necessary for everything else currently depending on print/cups; I will try to commit this right after this one. Tested on NetBSD/amd64, as reviewed on tech-pkg@. No breakage observed, apologies if anything goes wrong.
2017-10-23cups: Update print/cups to 2.2.5leot1-10/+9
pkgsrc changes: - Delete patches/patch-config-scripts_cups-sharedlibs.m4, patches/patch-configure.ac and adjust patches/patch-ae to reflect libtool upstream update. - Add patches/patch-config-scripts_cups-libtool.m4 to avoid to use `==' not-so-portable test(1) operator. Changes: 2.2.5 ----- - The scheduler's `-t` option did not force all errors to the standard error file, making debugging of configuration problems hard (Issue #5041) - Fixed a typo in the CUPS Programming Manual (Issue #5042) - Fixed RPM packaging issue (Issue #5043, Issue #5044) - The `cupsGetDests` function incorrectly returned an empty list of printers if there was no default printer (Issue #5046) - The `cupsGetDests` function waited too long for network printers (Issue #5049) - Libtool support was completely broken with current libtool versions that use an incompatible command-line syntax (Issue #5050) - Fixed a build issue with `--enable-mallinfo` (Issue #5051) - The ippserver test program contained a deadlock issue (Issue #5054) - The `cupsLocalizeDest*` functions did not provide base localizations for all registered IPP attributes and values (Issue #5056) - The --enable-libtool configure option requires a path to the libtool program, but doesn't document or check for it (Issue #5062) - Fixed the `SSLOptions DenyCBC` option when using GNU TLS (Issue #5065) - Fixed the `ServerTokens None` option (Issue #5065) - Fixed the default `ServerAlias` value from `ServerName` (Issue #5072) - Fixed the adminurl field in the TXT record for fully-qualified `ServerName` values (Issue #5074) - The scheduler now creates a PID file when not running on demand with a modern service launcher (Issue #5080) - The web interface did not support newer language identifiers used by Microsoft web browsers (Issue #5803) - Updated the cups-files.conf and cupsd.conf file documentation for missing directives (Issue #5084) - Fixed an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086) - Fixed the interactions between the "print-quality" and "cupsPrintQuality" options (Issue #5090) - The IPP Everywhere PPD generator now sorts the supported resolutions before choosing them for draft, normal, and best quality modes (Issue #5091) - Fixed the localization unit test on Linux (Issue #5097) - The CUPS library did not reuse domain sockets (Issue #5098) - Fixed the "make check" target for some environments (Issue #5099) - The scheduler woke up once per second to remove old temporary queues (Issue #5100) - Added USB quirk rule for Kyocera printer (Issue #5102, Issue #5103) - Re-documented the limits of `file:///...` device URIs and moved the FileDevice directive in `cups-files.conf` to the list of deprecated configuration directives (Issue #5117) - Added USB quirk rule for HP LaserJet 1160 printer (Issue #5121) - Fixed the script interpreter detection in the configure script (Issue #5122) - The network backends now retry on more error conditions (Issue #5123) - Added a French translation of the web interface (Issue #5134) - `cupsGetDests2` was not using the supplied HTTP connection (Issue #5135) - `httpAddrConnect` leaked sockets in certain circumstances, causing some printers to hang (rdar://31965686) - Fixed an issue with Chinese localizations on macOS (rdar://32419311) - The IPP backend now always sends the "finishings" attribute for printers that support it because otherwise the client cannot override printer defaults (rdar://33169732) - The `cupsGetNamedDest` function did not use the local default printer (rdar://33228500) - The IPP backend incorrectly sent the "job-pages-per-set" attribute to PDF printers (rdar://33250434) - Fixed the `cups.strings` file that is used on macOS (rdar://33287650) - CUPS now sends the `Date` HTTP header in IPP requests (rdar://33302034) - The `ippCopyAttribute` function did not copy out-of-band values correctly (rdar://33688003) - Fixed the localization fallback code on macOS (rdar://33583699) - The scheduler did not run with a high enough priority, causing problems on busy systems (rdar://33789342) - Added support for Japanese Kaku 1 envelope size (rdar://34774110) - The `ipptool` program's `-P` option did not work correctly. - The `ipptool` program did not compare URI scheme or hostname components correctly for the WITH-ALL-HOSTNAMES, WITH-ALL-SCHEMES, WITH-HOSTNAME, or WITH-SCHEME predicates.
2017-09-03Update print/cups to 2.2.4leot1-12/+12
pkgsrc changes: - Pass --with-exe-file-perm=0755 to configure in order to be able to strip executables and shared objects (the cups' default is 0555 and that's also inconsistent with pkgsrc's BINMODE) Changes: CHANGES IN CUPS V2.2.4 ---------------------- - The scheduler did not remove old job files (Issue #4987) - cupsEnumDests did not return early when all printers had been discovered (Issue #4989) - The CUPS build system now supports cross-compilation (Issue #4897) - Added a new CUPS Programming Manual to replace the aging API documentation. - Added the `cupsAddIntegerOption` and `cupsGetIntegerOption` functions (Issue #4992) - The `cupsGetDests` and `cupsCreateJob` functions now support Bonjour printers (Issue #4993) - Added a USB quirk rule for Lexmark E260dn printers (Issue #4994) - Fixed a potential buffer overflow in the `cupstestppd` utility (Issue #4996) - IPP Everywhere improvements (Issue #4998) - Fixed the "cancel all jobs" function in the web interface for several languages (Issue #4999) - Fixed issues with local queues (Issue #5003, Issue #5008, Issue #5009) - The `lpstat` command now supports a `-e` option to enumerate local printers (either previously added or on the network) that can be accessed (Issue #5005) - The `lp` and `lpr` commands now support printing to network printers that haven't yet been added (Issue #5006) - Fixed a typo in the mime.types file. - Fixed a bug in the Spanish web interface template (Issue #5016) - The `cupsEnumDests*` and `cupsGetDest*` functions now report the value of the "printer-is-temporary" Printer Status attribute (Issue #5028) - Added Chinese localization (Issue #5029) - The `cupsCheckDestSupported` function did not support `NULL` values (Issue #5031) - Fixed some issues in the RPM spec file (Issue #5032) - The `cupsConnectDest` function now supports the `CUPS_DEST_FLAGS_DEVICE` flag for explicitly connecting to the device (printer) associated with the destination. - The `SSLOptions` directive in "client.conf" and "cupsd.conf" now supports `DenyCBC` and `DenyTLS1.0` options (Issue #5037)
2017-07-27Add proper pidfile support, from Edgar Fuß.wiz1-1/+7
This has not been accepted upstream in various previous tries, but is deemed useful functionality anyway. Bump PKGREVISION. While here, revert undiscussed mit-krb5 dependency. Should be optional, and should have bumped PKGREVISION.
2017-05-25Test for PIE by linking rather than just compiling, as on at least SunOSjperkin1-2/+2
it is dependent on linker features.
2017-04-08CHANGES IN CUPS V2.2.3adam1-5/+5
- The IPP backend could get into an infinite loop for certain errors, causing a hung queue (<rdar://problem/28008717>) - The scheduler could pause responding to client requests in order to save state changes to disk (<rdar://problem/28690656>) - Added support for PPD finishing keywords (Issue 4960, Issue 4961, Issue 4962) - The IPP backend did not send a media-col attribute for just the source or type (Issue 4963) - IPP Everywhere print queues did not always support all print qualities supported by the printer (Issue 4953) - IPP Everywhere print queues did not always support all media types supported by the printer (Issue 4953) - The IPP Everywhere PPD generator did not return useful error messages (Issue 4954) - The IPP Everywhere finishings support did not work correctly with common UI or command-line options (Issue 4976) - Fixed an error handling issue for the network backends (Issue 4979) - The default cupsd.conf file did not work on systems compiled without Kerberos support (Issue 4947) - The "reprint job" option was not available for some canceled jobs (Issue 4915) - Updated the job listing in the web interface (Issue 4978) - Fixed some localization issues on macOS
2017-01-21Update print/cups to cups-2.2.2leot1-6/+6
Changes: 2.2.2 ----- - Fixed some issues with the Zebra ZPL printer driver (Issue #4898) - Fixed some issues with IPP Everywhere printer support (Issue #4893, Issue #4909, Issue #4916, Issue #4921, Issue #4923, Issue #4932, Issue #4933, Issue #4938) - The rastertopwg filter could crash with certain input (Issue #4942) - Optimized connection usage in the IPP backend (<rdar://problem/29547323>) - The scheduler did not detect when an encrypted connection was closed by the client on Linux (Issue #4901) - The cups-lpd program did not catch all legacy usage of ISO-8859-1 (Issue #4899) - Fixed builds on systems without a working poll() implementation (Issue #4905) - Added a USB quirk rule for the Kyocera Ecosys P6026cdn (Issue #4900) - The scheduler no longer creates log files on startup (<rdar://problem/28332470>) - The ippContainsString function now uses case-insensitive comparisons for mimeMediaType, name, and text values in conformance with RFC 2911. - The network backends now log the addresses that were found for a printer (<rdar://problem/29268474>) - Let's Encrypt certificates did not work when the hostname contained uppercase letters (Issue #4919) - Fixed reporting of printed pages in the web interface (Issue #4924) - Updated systemd config files (Issue #4935) - Updated documentation (PR #4896) - Updated localizations (PR #4894, PR #4895, PR #4904, PR #4908, Issue #4946) - Updated packaging files (Issue #4940)
2016-10-09Update print/cups to cups-2.2.1leot1-5/+5
Changes: CHANGES IN CUPS V2.2.1 - Added "CreateSelfSignedCerts" directive for cups-files.conf to control whether the scheduler automatically creates its own self-signed X.509 certificates for TLS connections (Issue #4876) - http*Connect did not handle partial failures (Issue #4870) - Addressed some build warnings on Linux (Issue #4881) - cupsHashData did not use the correct hashing algorithm (<rdar://problem/28209220>) - Updated man pages (PR #4885) - Updated localizations (PR #4877, PR #4886)
2016-09-30Updated cups to 2.2.0.wiz1-7/+7
CHANGES.txt - 2.2.0 - 2016-09-13 -------------------------------- CHANGES IN CUPS V2.2.0 - Normalized the TLS certificate validation code and added additional error messages to aid troubleshooting. - http*Connect did not work on Linux when cupsd was not running (Issue #4870) - The --no-remote-any option of cupsctl had no effect (Issue #4866) - http*Connect did not return early when all addresses failed (Issue #4870) CHANGES IN CUPS V2.2rc1 - Updated the list of supported IPP Everywhere media types. - The IPP backend did not validate TLS credentials properly. - The printer-state-message attribute was not cleared after a print job with no errors (Issue #4851) - The CUPS-Add-Modify-Class and CUPS-Add-Modify-Printer operations did not always return an error for failed adds (Issue #4854) - PPD files with names longer than 127 bytes did not work (Issue #4860) - Updated localizations (Issue #4846, PR #4858) CHANGES IN CUPS V2.2b2 - Added Upstart support (PR #4825) - CUPS now supports Let's Encrypt certificates on Linux. CHANGES IN CUPS V2.2b1 - All CUPS commands now support POSIX options (Issue #4813) - The scheduler now restarts faster (Issue #4760) - Improved performance of web interface with large numbers of jobs (Issue #3819) - Encrypted printing can now be limited to only trusted printers and servers (<rdar://problem/25711658>) - The scheduler now advertises PWG Raster attributes for IPP Everywhere clients (Issue #4428) - The scheduler now logs informational messages for jobs at LogLevel "info" (Issue #4815) - The scheduler now uses the getgrouplist function when available (Issue #4611) - The IPP backend no longer enables compression by default except for certain raster formats that generally benefit from it (<rdar://problem/25166952>) - The scheduler did not handle out-of-disk situations gracefully (Issue #4742) - The LPD mini-daemon now detects invalid UTF-8 sequences in job, document, and user names (Issue #4748) - The IPP backend now continues on to the next job when the remote server/printer puts the job on hold (<rdar://problem/24858548>) - The scheduler did not cancel multi-document jobs immediately (<rdar://problem/24854834>) - The scheduler did not return non-shared printers to local clients unless they connected to the domain socket (<rdar://problem/24566996>) - The scheduler now reads the spool directory if one or more job cache entries point to deleted jobs (<rdar://problem/24048846>) - Added support for disc media sizes (<rdar://problem/20219536>) - The httpAddrConnect and httpConnect* APIs now try connecting to multiple addresses in parallel (<rdar://problem/20643153>) - The cupsd domain socket is no longer world-accessible on macOS (<rdar://problem/7542560>) - Interface scripts are no longer supported for security reasons (<rdar://problem/23135640>) - Added a new cupsHashData API and support for hashed job passwords (<rdar://problem/20221502>) - Localization fixes (<rdar://problem/25292403>, <rdar://problem/25461517>, Issue #4041, Issue #4796) - Documentation changes (Issue #4624, Issue #4781) - Packaging fixes (PR #4832)
2016-06-18Update print/cups to 2.1.4leot1-5/+5
pkgsrc changes: - Switch MASTER_SITES to MASTER_SITE_GITHUB (per-upstream), simplify DISTNAME handling and get rid of comment (because also the bug handling changed to GitHub issues) Changes: CHANGES IN CUPS V2.1.4 ---------------------- - Fixed reporting of 1284 Device IDs (Issue #3835, PR #3836) - Fixed printing of multiple files to raw queues (Issue #4782) - The scheduler did not implement the Hold-New-Jobs opertion correctly (Issue #4767) - The ipptool program truncated values at 8k (Issue #4786) - The ipptool program did not correctly report uriScheme values in plist output (Issue #4785) - The cups-lpd mini-daemon incorrectly included the document-name attribute when creating a job. It should only be included when sending a job (Issue #4790) - USB quirk updates (Issue #4778, Issue #4789) - Documentation update (Issue #4772)
2016-02-07Update print/cups to cups-2.1.3.leot1-5/+5
Changes: CHANGES IN CUPS V2.1.3 - The default password function did not work on some platforms (STR #4750) - The scheduler should not exit under memory pressure (<rdar://problem/23255001>) - The EPL2 and ZPL sample drivers did not properly support the CutMedia option. - Pending subscriptions would prevent the scheduler from idle exiting (STR #4754) - Fixed some issues in ipptool for skipped tests (<rdar://problem/24137160>) - The "lp -H resume" command did not reset the "job-state-reasons" attribute value (STR #4752) - The scheduler did not allow access to resource files (icons, etc.) when the web interface was disabled (STR #4755) - Localization fix (STR #4756)
2016-01-03Try to fix cups build under Mac OS X.bsiegert1-2/+3
The resulting PLIST looks very different, so add a PLIST.Darwin with what is actually installed.
2015-12-02Update print/cups to 2.1.2.leot1-19/+18
Changes: CHANGES IN CUPS V2.1.2 - Re-release of CUPS 2.1.1 as CUPS 2.1.2 due to error in tagging of the 2.1.1 release (pulled content from the 2.2.x tree instead) CHANGES IN CUPS V2.1.1 - Security hardening fixes (<rdar://problem/23131948>, <rdar://problem/23132108>, <rdar://problem/23132353>, <rdar://problem/23132803>, <rdar://problem/23133230>, <rdar://problem/23133393>, <rdar://problem/23133466>, <rdar://problem/23133833>, <rdar://problem/23133998>, <rdar://problem/23134228>, <rdar://problem/23134299>, <rdar://problem/23134356>, <rdar://problem/23134415>, <rdar://problem/23134506>, <rdar://problem/23135066>, <rdar://problem/23135122>, <rdar://problem/23135207>, <rdar://problem/23144290>, <rdar://problem/23144358>, <rdar://problem/23144461>) - The cupsGetPPD* functions did not work with IPP printers (STR #4725) - Some older HP LaserJet printers need a delayed close when printing using the libusb-based USB backend (STR #4549) - The libusb-based USB backend did not unload the kernel usblp module if it was preventing the backend from accessing the printer (STR #4707) - Current Primera printers were incorrectly reported as Fargo printers (STR #4708) - The IPP backend did not always handle jobs getting canceled at the printer (<rdar://problem/22716820>) - Scheduler logging change (STR #4728) - Added USB quirk for Canon MP530 (STR #4730) - The scheduler did not deliver job notifications for jobs submitted to classes (STR #4733) - Changing the printer-is-shared value for a remote queue did not produce an error (STR #4738) - The IPP backend incorrectly included the job-password attribute in Validate-Job requests (<rdar://problem/23531939>) - Updated localizations (STR #4709)
2015-11-04Add SHA512 digests for distfiles for print categoryagc1-1/+2
Problems found locating distfiles: Package acroread7: missing distfile AdobeReader_enu-7.0.9-1.i386.tar.gz Package acroread8: missing distfile AdobeReader_enu-8.1.7-1.sparc.tar.gz Package cups-filters: missing distfile cups-filters-1.1.0.tar.xz Package dvidvi: missing distfile dvidvi-1.0.tar.gz Package lgrind: missing distfile lgrind.tar.bz2 Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-03Update to 2.1.0:wiz1-6/+6
CHANGES.txt - 2.1.0 - 2015-08-31 -------------------------------- CHANGES IN CUPS V2.1.0 - Fixed more scheduler crash bugs in the new logging code (STR #4687, STR #4690) - The scheduler did not use the ConfigFilePerm setting when copying PPD files or interface scripts attached to a request (STR #4703) - Now support new Chinese locale IDs and their correct fallback locales (<rdar://problem/22086642>, <rdar://problem/22130168>) - "make check" incorrectly reported an expectation of 18 warning messages when 8 were expected (STR #4684) - The new PDF file type rule did not work (STR #4692) - The scheduler did not update the jobs.cache file when job files were expired (STR #4706) - Fixed some configure script issues (STR #4694, STR #4695, STR #4698) - Documentation updates (STR #4691, STR #4693) CHANGES IN CUPS V2.1rc1 - Added support for 3D printers (basic types only, no built-in filters) based on PWG white paper. - Fixed bugs in the new journald support (STR #4655, STR #4658, STR #4661) - Fixed domain socket support on Linux (STR #4679) - Fixed signal handlers in the dnssd and usb backends (STR #4671) - <Limit All> in <Policy> sections now applies to all operations when used by itself (STR #4659) - Configure script changes for systemd support (STR #4669) - Updated autoconf sources to use newer form of AC_INIT (STR #4664) CHANGES IN CUPS V2.1b1 - Improved speed of ppdMarkDefaults for complex/large PPDs (<rdar://problem/15146999>) - The IPP backend now stops sending print data if the printer indicates the job has been aborted or canceled (<rdar://problem/17837631>) - The IPP backend now sends the job-pages-per-set attribute when printing multiple copy jobs with finishings (<rdar://problem/16792757>) - The IPP backend now updates the cupsMandatory values when the printer configuration changes (<rdar://problem/18126570>) - No longer install banner files since third-party banner filters now supply their own (STR #4518) - Added support for EXPECT-ALL directive in ipptool test files (STR #4469) - Added support for WITH-VALUE-FROM predicate in ipptool test files (STR #4470) - The scheduler no longer listens on the loopback interface unless the web interface or printer sharing are enabled (<rdar://problem/9136448>) - Added a PPD generator for IPP Everywhere printers (STR #4258) - Now install "default" versions of more configuration files (<rdar://problem/19024491>) - The cupstestppd program did not handle "maxsize(nnn)" entries in cupsFilter/cupsFilter2 values (<rdar://problem/18974858>) - The scheduler now checks the return value of rename() calls (STR #4589) - The scheduler now validates ErrorPolicy values in config files (STR #4591) - Long cookies caused the web interface to stop working (STR #4619) - Added SSLOptions values to allow Diffie-Hellman key exchange and disable TLS/1.0 support. - Updated the scheduler to support more IPP Everywhere attributes (STR #4630) - The scheduler now supports advanced ASL and journald logging when "syslog" output is configured (STR #4474) - The scheduler now supports logging to stderr when running in the foreground (STR #4505)
2015-08-06Update to 2.0.4:wiz1-4/+4
CHANGES IN CUPS V2.0.4 - Fixed a bug in cupsRasterWritePixels (STR #4650) - Fixed redirection in the web interface (STR #4538) - The IPP backend did not respond to side-channel requests (STR #4645) - The scheduler did not start all pending jobs at once (STR #4646) - The web search incorrectly searched time-at-xxx values (STR #4652) - Fixed an RPM spec file issue (STR #4657) - The scheduler incorrectly started jobs while canceling multiple jobs (STR #4648) - Fixed processing of server overrides without port numbers (STR #4675) - Documentation changes (STR #4651, STR #4674)
2015-06-12Update to 2.0.3:wiz1-4/+4
Update print/cups to cups-2.0.3. Provided by Leonardo Taccari in PR 49960. pkgsrc changes: - Delete "slpd" in the rc.d script. According to CHANGES-1.6.txt CUPS no longer support the SLP protocol. Changes: CHANGES IN CUPS V2.0.3 ---------------------- - Security: Fixed CERT VU #810572 exploiting the dynamic linker (STR #4609) - Security: The scheduler could hang with malformed gzip data (STR #4602) - Restored missing generic printer icon file (STR #4587) - Fixed logging of configuration errors to show up as errors (STR #4582) - Fixed potential buffer overflows in raster code and filters (STR #4598, STR #4599, STR #4600, STR #4601) - Fixed a gzip processing bug (#4602) - Fixed <Limit> inside <Location> (STR #4575) - Fixed lpadmin when both -m and -o are used (STR #4578) - The web interface always showed support for 2-sided printing (STR #4595) - cupsRasterReadHeader did not fully validate the raster header (STR #4596) - The rastertopwg filter did not check for truncated input (STR #4597) - The cups-lpd mini-daemon did not check for request parameters (STR #4603) - The scheduler could get caught in a busy loop (STR #4605) - The sample Epson driver could crash (STR #4616) - The IPP backend now correctly monitors jobs (<rdar://problem/20495955>) - The ppdhtml and ppdpo utilities crashed when the -D option was used before a driver information file (STR #4627) - ippfind incorrectly substituted "=port" for service_port. - The IPP/1.1 test file did not handle the initial print job completing early (STR #4576) - Fixed a memory leak in cupsConnectDest (STR #4634) - PWG Raster Format output contained invalid ImageBox values (<rdar://problem/21144309>) - Added Russian translation (STR #4577) - Added German translation (STR #4635)
2015-02-17Update to 2.0.2:wiz1-5/+4
CHANGES IN CUPS V2.0.2 - Security: cupsRasterReadPixels buffer overflow with invalid page header and compressed raster data (STR #4551) - Command-line programs were not localized on Mac OS X (<rdar://problem/14546232>) - The scheduler incorrectly cleared the MakeModel string in the printers.conf file after a restart (<rdar://problem/16827518>) - CUPS did not compile with older versions of GNU TLS (STR #4527) - CUPS did not compile without Avahi or mDNSResponder (STR #4523) - ippLength() did not return the correct length for IPP_TAG_CONST string values. - The scheduler incorrectly aborted jobs after a job was restarted (<rdar://problem/19129387>) - The cups-files.conf file contained the old ServerCertificate/Key directives instead of ServerKeychain. - Fixed builds when no SSL/TLS library is available, or when explicitly disabled (STR #4531) - Fixed an OpenBSD charset transcoding issue. - Fixed USB printing on OpenBSD (STR #4525) - The --without-xinetd configure option did not work (STR #4542) - Backends needing to load OS X kernel extensions did not work (<rdar://problem/19015679>) - Mapping of PPD keywords to IPP keywords did not work if the PPD keyword was already an IPP keyword (<rdar://problem/19121005>) - cupsGetPPD* sent bad requests (STR #4567) - ippserver used the wrong temporary directory on Windows (STR #4547) - ippserver did not handle Bonjour registrations properly (STR #4548) - The scheduler could crash during shutdown if Avahi was shutdown first (STR #4550) - Added a USB quirk rule for Intermec printers (STR #4553) - The scheduler did not always log which configuration file had the error (STR #4559) - The ippfind and ipptool programs now correctly match hostnames with trailing dots (STR #4563) - The ipptool timeout option did not work (STR #4515) - Fixed several issues with client.conf, CUPS_SERVER, and the "-h" option of most commands (STR #4528) - Another change for OpenBSD (STR #4526) - Added Japanese localization (STR #4524) - Documentation changes (STR #4569)
2015-01-18Update bug report URL.wiz1-2/+2
2015-01-02Update cups to 2.0.1 to handle most vuln warnings.christos1-10/+11
2014-09-07Update to 1.7.5. Remove missing patch from distinfo.wiz1-5/+4
CHANGES IN CUPS V1.7.5 - Security: Addressed some more situations where symlinked files would be served by the web interface (STR #4455) - The LPD backend did not work with some versions of glibc (STR #4452) - CGI scripts did not work (STR #4454) - The cupsd.conf man page did not list the ErrorPolicy directive (STR #4457) - Updated the Brazilian Portuguese translation (STR #4456)
2014-08-23Makefile:schnoebe1-1/+2
bump PKGREVISION; drop a number of no longer supported configuration flags Add cups-files.conf to the list of CONF_FILES PLIST: add cups-files.conf to example files installed options.mk: remove a number of now meaningless configuration options.
2014-08-22Do not install banner files and testprint, to avoid conflict withwiz1-1/+2
cups-filters, which installs them too. Bump PKGREVISION.
2014-07-29Update to 1.7.4:wiz1-5/+5
CHANGES IN CUPS V1.7.4 - Security: The web interface incorrectly served symlinked files and files that were not world-readable, potentially leading to a disclosure of information (STR #4450) - The CUPS headers incorrectly needed libdispatch for blocks support (STR #4397) - CUPS did not compile when Avahi or mDNSResponder was not present (STR #4402, STR #4424) - The "snmp" option did not work with the network backends (STR #4422) - The User directive in client.conf did not override the USER environment variable (STR #4426) - The web interface now properly shows a "Go" button for all text-based browsers (STR #4425) - The MaxJobTime directive now properly supports time values (STR #4434) - The RPM spec file did not work due to the new Brazilian Portuguese localization (STR #4436) - Fixed an "IPP read error" issue (STR #4440) - Fixed the --disable-libusb configure option (STR #4439) - Fixed the debug output from the DNS-SD backend when using Avahi (STR #4444) - Fixed a bug in the CUPS_SC_GET_DEVICE_ID handling by the network backends (STR #4447) - Added USB quirk rule for Lexmark E230 (STR #4448) - The LPD backend did not work with some versions of glibc (STR #4452)
2014-06-09Fix build on NetBSD-6. From Leonardo Taccari in PR 48882.wiz1-2/+2
2014-06-07Fixes for usb and dnssd options, from Robert Swindells.wiz1-1/+2
2014-06-07Update to 1.7.3 based on patch by Leonardo Taccari on pkgsrc-users.wiz1-23/+18
Additionally, remove patch-au since it is now superfluous. CHANGES IN CUPS V1.7.3 - Added Brazilian Portuguese translation (STR #4409) - Fixed mapping of OutputBin values such as "Tray1" (<rdar://problem/16685606>) - Several ippGet* functions incorrectly returned -1 instead of 0 on error. - The cupsGetResponse function did not work properly with CUPS_HTTP_DEFAULT (<rdar://problem/16762593>) - The IPP backend did not abort a job when the printer did not validate the supplied options (<rdar://problem/16836752>) - Fixed an authentication race condition in cupsSendRequest (STR #4403) - The scheduler did not add the "job-hold-until-specified" reason when holding a job using the lp command (STR #4405) - The CUPS headers incorrectly needed libdispatch for blocks support (STR #4397) - The configure script incorrectly added libgcrypt as a GNU TLS dependency (STR #4399) - CUPS did not compile when Avahi or mDNSResponder was not present (STR #4402) - cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT (STR #4414) - Auto-typing of PWG Raster files did not work (STR #4417) - IPP queues using hardcoded credentials would ask for credentials (STR #4371) - Dates in non-UTF-8 locales did not display correctly (STR #4388) - The RPM spec file now looks for libusb-devel 1.0 or later. - Fixed the "create-printer-subscription.test" file for IPPTOOL (STR #4420) CHANGES IN CUPS V1.7.2 - Security: The scheduler now blocks URLs containing embedded HTML (STR #4356) - Documentation fixes (STR #3259, STR #4346, STR #4355) - Fixed the Japanese localization (STR #4385) - Added a German localization (STR #4363) - The cupsfilter command incorrectly read the cupsd.conf file; it now reads the cups-files.conf file instead. - Fixed OS X builds with Xcode 5.x (<rdar://problem/15914959>) - Fixed SSL support on Windows (STR #4358) - Fixed documentation and naming of Create-Job/Printer-Subscriptions operations (STR #4389) - Phone numbers in fax jobs were not properly filtered for IPP FaxOut (<rdar://problem/16351701>) - Fixed a memory leak in the label printer driver (STR #4393) - Updated Linux "relro" support (STR #4349) - cupsEnumDests did not set the "is_default" field (STR #4332) - cupsDoIORequest could miss the server status, causing failed lpadmin and other administrative commands (STR #4386) - cupsEnumDests didn't always call the callback function (STR #4380) - "lp -i job-id -H hold" did not work (STR #4401) - CUPS didn't compile on older platforms (STR #4338) - Several libcups files did not have the Apple license exception notice (STR #4361) - Fixed a D-BUS threading issue that caused the scheduler to crash (STR #4347) - The scheduler now automatically reconnects to Avahi as needed (STR #4370, STR #4373) - The scheduler did not handle GET requests for the log files properly (STR #3265) - The dnssd backend did not always report all discovered printers using Avahi (STR #4365) - The Zebra printer driver did not properly handle negative "label top" values (STR #4354) - The scheduler did not always update the MakeModel value in printers.conf after updating the driver (STR #4264) - The LPD mini daemon did not support print jobs larger than 2GB (STR #4351) - Fixed a bug in the status reading code when sending a compressed data stream to an IPP printer/server (<rdar://problem/16019623>) - The IPP backend might not include all job attributes in Validate-Job operations (<rdar://problem/16025435>) - Fixed some clang-reported issues (<rdar://problem/15936066>) CHANGES IN CUPS V1.7.1 - Security: the lppasswd program incorrectly used settings from ~/.cups/client.conf (STR #4319) - Auto debug logging was broken in 1.7.0 (<rdar://problem/15331639>) - Some gzip'd PPD files could not be used (<rdar://problem/15386424>) - Cleaned up some job logging in the scheduler (<rdar://problem/15332672>) - ATTR messages could cause string pool memory corruption in the scheduler (<rdar://problem/15382819>) - The RPM spec file did not list the build requirements; this was on purpose, but now we are listing the Red Hat package names (<rdar://problem/15375760>, STR #4322) - Printing to a raw queue could result in corrupt output due to opportunistic compression (<rdar://problem/15008524>) - The GNU TLS support code triggered many compiler warnings due to the use of old GNU TLS compatibility type names (<rdar://problem/15392966>) - The "make check" test suite did not work on Linux without the cups-filters package installed (<rdar://problem/14292998>) - Japanese PPDs using with the Shift-JIS encoding did not work (<rdar://problem/15427759>) - "tel:" URIs incorrectly had slashes (<rdar://problem/15418463>) - The libusb-based USB backend incorrectly used write timeouts (<rdar://problem/15564888>) - Shared printers could become inaccessible after a few days on OS X (<rdar://problem/15426838>) - The IPP backend did not wait for a busy printer to become available before attempting to print (<rdar://problem/15465667>) - CUPS did not support "auto-monochrome" or "process-monochrome" for the "print-color-mode" option (<rdar://problem/15482520>) - Using "@IF(name)" in an Allow or Deny rule did not work (STR #4328) - lpq and lpstat did not list jobs in the correct order when priorities were specified (STR #4326) - The D-BUS notifier did not remove its lockfile (STR #4314) - CUPS incorrectly used the USER environment variable when the name did not match the user ID (STR #4327) CHANGES IN CUPS V1.7.0 - Updated Japanese localization. - The lpadmin command did not send the PPD name from the "-m" option (<rdar://problem/15264697>) - Network backends now use the prtMarkerSuppliesClass property to determine the direction of supply level values (<rdar://problem/14302628>) - The scheduler did not remove backup PPD files when a printer was deleted (<rdar://problem/15065555>) - The scheduler incorrectly responded to HEAD requests when the web interface was disabled (<rdar://problem/15090332>) - The scheduler did not respond using the hostname specified by the client (<rdar://problem/14583574>) - Fax queues did not work when shared via Bonjour (<rdar://problem/14498310>) - Error messages from the scheduler were not localized using the language specified in the client's IPP request (<rdar://problem/14128011>) - Added an Italian localization (<rdar://problem/14481578>) - Fixed a couple memory leaks in ippfind that were reported by Clang. - Fixed a compile issue on 64-bit Linux with Clang - need to use the -pie option instead of -Wl,-pie now (<rdar://problem/14480938>) - The ippfind utility reported the wrong port numbers when compiled against Avahi (<rdar://problem/14508324>) - httpGetFd, httpGetFile, httpPutFd, and httpPutFile did not automatically reconnect if the server closed the connecion after the previous response. - Fixed a compile error in libcups (<rdar://problem/14467141>) - The scheduler incorrectly did not pass a FINAL_CONTENT_TYPE environment variable to the filters or backend (<rdar://problem/14355011>) - The cups-exec helper program could fail randomly on OS X due to sandbox violations when closing excess file descriptors (<rdar://problem/14421943>) - The scheduler incorrectly did not use the kqueue interface on OS X. CHANGES IN CUPS V1.7rc1 - Printer xxx-default values were not reported by Get-Printer-Attributes or lpoptions (<rdar://problem/14401795>) - Fixed deprecation warnings for many functions on OS X so they are tied to the deployment version when building (<rdar://problem/14210079>) - Fixed a build issue on ARM-based Linux systems - unable to validate va_list arguments. - Added a new ippfind tool for finding IPP printers and other Bonjour services (<rdar://problem/13876199>) - Fixed some issues with conversion of PWG media size names to hundredths of millimeters (<rdar://problem/14065748>) - The IPP backend could crash on OS X when printing to a Kerberized printer (<rdar://problem/14040186>) - The ipptool program now automatically extends timeouts when the output buffer is filled (<rdar://problem/14016099>) - The ipptool program now supports the --help and --version options. - The ipptool program did not continue past include file errors by default (<rdar://problem/13875803>) - The ipptool program now supports FILE-ID and TEST-ID directives and includes their values in its XML output (<rdar://problem/13876038>) - The ipptool program now supports WITH-HOSTNAME, WITH-RESOURCE, and WITH-SCHEME expect predicates to compare the corresponding URI components (<rdar://problem/13876091>) CHANGES IN CUPS V1.7b1 - The configure script now supports a --with-rundir option to change the transient run-time state directory from the default to other locations like /run/cups (STR #4306) - The scheduler now supports PPD lookups for classes (STR #4296) - The cupsfilter program did not set the FINAL_CONTENT_TYPE environment variable for filters. - Added a new "-x" option to the cancel command (STR #4103) - Made the PWG media handling APIs public (STR #4267) - Implemented ready media support for the cupsGetDestMediaXxx APIs (STR #4289) - Added new cupsFindDestDefault, cupsFindDestReady, and cupsFindDestSupported APIs (STR #4289) - Added new cupsGetDestMediaByIndex, cupsGetDestMediaCount, and cupsGetDestMediaDefault APIs (STR #4289) - Added new ippGet/SetOctetString APIs for getting and setting an octetString value (STR #4289) - Added new ippCreateRequestedArray API for generating a array of attributes from the requested-attributes attribute. - The ipptool utility now supports compression, conditional tests based on the presence of files, and new DEFINE predicates for STATUS. - Added new IPP APIs for checking values (STR #4167) - Added new IPP APis for adding and setting formatted strings. - Added new HTTP APIs to support basic server functionality via libcups. - The dnssd backend now generates a 1284 device ID as needed (STR #3702) - CUPS now supports compressing and decompressing streamed data (STR #4168) - CUPS now supports higher-level PIN printing, external accounting systems, and "print here" printing environments (STR #4169) - IRIX is no longer a supported operating system (STR #4092) - The PPD compiler now supports JCL options properly (STR #4115) - The web interface now checks whether the web browser has cookies enabled and displays a suitable error message (STR #4141) CHANGES IN CUPS V1.6.4 - Removed some duplicate size definitions for some ISO sizes that were causing problems (<rdar://problem/14722721>) - The IPP backend did not add the "last-document" attribute (<rdar://problem/114660379>) - Added a SyncOnClose directive to cups-files.conf to force cupsd to call fsync before closing any configuration/state files it writes (<rdar://problem/14523043>) - Added USB quirk rule for Lexmark E238 (<rdar://problem/14493054>) - Closed server connections were still not always detected (<rdar://problem/14484313>) - The libusb-based USB backend now loads its list of quirks from files in /usr/share/cups/usb instead of using a hardcoded table (<rdar://problem/14442769>) - The scheduler did not properly register ICC color profiles with colord (<rdar://problem/14455625>) CHANGES IN CUPS V1.6.3 - The configure script now prefers Clang over GCC. - Fixed a compile problem on AIX (STR #4307) - The default IPP version did not always get set before creating a new IPP request message (<rdar://problem/14401718>) - The lp, lpq, lpr, and lpstat now display an error message advising the use of the /version=1.1 ServerName option (<rdar://problem/14290628>) - Added documentation about the /version=1.1 option to ServerName in client.conf (<rdar://problem/14216262>) - httpStatus(HTTP_ERROR) did not return a useful error message (<rdar://problem/14217326>) - The lp, lpq, lpr, and lpstat commands incorrectly ignored the default printer set in the lpoptions file (<rdar://problem/14216472>) - Fixed a URI encoding issue for hostnames containing the ` (backquote) character (<rdar://problem/14243133>) - Added support for RFC 6874's IPv6 link local address format in URIs (<rdar://problem/13979453>) - The USB backend could crash on libusb-based systems if USB was disabled in the BIOS (<rdar://problem/13875729>) - Fixed a rounding error in the PWG media size mapping code (<rdar://problem/13493241>) - Fixed several ipptool test files that used old STATUS names. - Kerberos credentials could get truncated when printing to a shared printer. - Printing using "ipps" URIs was not encrypted. - Insecure ICC profiles prevented installation of user profiles for a printer on OS X. - Added more USB quirks for the libusb-based backend (STR #4311, <rdar://problem/13736470>) - The Russian web interface templates were broken (STR #4310) - The scheduler no longer tries to do Kerberos authentication over the loopback interface. - The IPP backend could fail to pause a job for authentication (STR #4298) - Fixed a regression on the handling of auth keys on OS X if the cups-files.conf was not present or did not contain a SystemAuthKey value. - The scheduler incorrectly did a reverse lookup of the server address when HostNameLookups was turned off (STR #4302) - The scheduler incorrectly computed the final content type value when null filters were present. CHANGES IN CUPS V1.6.2 - Documentation fixes (STR #4229, STR #4239, STR #4234, STR #4248, STR #4259) - Security: All file, directory, user, and group settings are now stored in a separate cups-files.conf configuration file that cannot be set through the CUPS web interface or APIs (STR #4223) - Added a Czech localization (STR #4201) - Added a French localization (STR #4247) - Added a Russian localization (STR #4228, STR #4285) - Updated the Catalan localization (STR #4202) - Local certificate authentication did not guard against an empty certification file (STR #4293) - The scheduler did not reject device URIs with spaces. - Added USB quirk rule for Epson Stylus Photo 750 (STR #4286) - The IPP backend could crash if the printer disconnects early (STR #4284) - cupsGetPPD did not work with statically-configured CUPS shared queues (STR #4178) - The scheduler did not support long MIME media types (STR #4270) - The cupsfilter command did not set the CHARSET environment variable for the text filters (STR #4273) - The lp command did not show errors for unknown "--foo" (STR #4261) - Bad IPP responses could crash ipptool (STR #4262) - Updated USB quirk rules for Canon and Xerox printers (STR #4217, STR #4263) - Added USB blacklisting for printers that require a custom backend (STR #4218) - The PPD compiler did not correctly JCL options (STR #4115, STR #4203) - The ipptool program now supports DEFINE-MATCH and DEFINE-NO-MATCH predicates for STATUS directives. - Fixed a problem with local Kerberos authentication (STR #4140) - Coverity scan: fixed some minor issues (STR #4242) - The scheduler did not remove color profiles after deleting a printer (STR #4232, STR #4276) - The CUPS library did not always detect a timed out connection to the server which could cause temporary loss of printing from applications (STR #4187) - The ipptool program now supports variable substitution in OPERATION and DELAY directives (STR #4175) - The IPP backend now stops queues when the server configuration prevents successful job submission (STR #4125) - The XML output of ipptool contained empty dictionaries (STR #4136) - The scheduler did not delete job control backup files (STR #4244) - cupsGetPPD3 could return a local PPD instead of the correct remote PPD. - The scheduler incorrectly advertised auth-info-required for local queues needing local authentication (STR #4205) - CUPS 1.6 clients using the ServerName directive in client.conf did not work with CUPS 1.3.x or older servers (STR #4231, STR #4291) - The SNMP backend now tries to work around broken printers that use a newline to separate key/value pairs. - The IPP backend did not send a cancel request to printers when a job was canceled and the printer did not support Create-Job. - Fixed EPM packaging files (STR #4199) - OpenBSD build fix (STR #4195, STR #4196, STR #4197) - The scheduler could crash when using Avahi (STR #4183, STR #4192, STR #4200, STR #4213) - The IPP backend could get stuck in an endless loop on certain network errors (STR #4194) - 32-bit builds failed on Debian (STR #4133) - The scheduler no longer accepts or sends job description attributes. - The IPP backend now works around some conformance issues for broken printers (STR #4190) - cupsBackendReport() now filters out all control characters from the reported 1284 device IDs (STR #4124) - The scheduler no longer allows job-name values that are not valid network Unicode strings (STR #4072) - The web interface did not preserve the order of classes, jobs, or printers (STR #4170) - The network backends now support disabling of SNMP supply level queries via the "snmp" URI option (STR #4106) - The IPP backend did not specify the compression used (STR #4181) - ipptool did not support octetString values. - The scheduler did not recognize dnssd: or ipps: URIs as Bonjour shared queues (STR #4158) - Applications could not get the PPD file for statically-configured Bonjour-shared print queues (STR #4159) - The cupsd.conf file included obsolete browsing directives (STR #4157) - Fixed a USB backend compatibility issue on systems using libusb (STR #4155, STR #4191) - Some Bonjour features were not available on systems with Avahi (STR #4156) - CUPS now includes the port number in the Host: header for HTTP requests. - Fixed REPEAT-MATCH for STATUS and EXPECT - was incorrectly erroring out. CHANGES IN CUPS V1.6.1 - Documentation fix (STR #4149) - RPM packaging fixes (STR #4129, #4145) - The Japanese and English web interface headers were swapped (STR #4148) CHANGES IN CUPS V1.6.0 - Document changes (STR #4131) - Added new Catalan (STR #4107) and Spanish (STR #4137) localizations. CHANGES IN CUPS V1.6rc1 - Added a new Japanese localization (STR #4122) - The SNMP backend no longer exits if it is unable to obtain an IPv6 socket (STR #4109) - The LPD backend incorrectly used "localhost" in the control file instead of the current hostname. CHANGES IN CUPS V1.6b1 - Documentation updates (STR #3927, STR #3980, STR #4010, STR #4068) - The scheduler now consolidates all PPD updates from filters at the end of the job (STR #4075) - CUPS now supports color management using colord (STR #3808) - CUPS now supports Bonjour using Avahi (STR #3066) - The PreserveJobFiles and PreserveJobHistory directives now support specification of a time interval (STR #3143) - PPD files can now be archived in (gzip'd) tar files to further reduce the disk space used by PPD files (STR #3772) - The network backends now deal with printers that report their levels in percent but do not specify a maximum capacity of 100 (STR #3551) - The network backends now report full/almost-full waste bins in printers along with end-of-life for cleaning pads (STR #4017) - Added a configure option to set the permissions of the installed cupsd (STR #3459) - Added a new WITH-ALL-VALUES directive to ipptool EXPECT predicates (STR #3949) - CUPS now supports a User directive in client.conf and the CUPS_USER environment variable for overriding the default username (STR #3114) - Now set the PJL USERNAME variable as needed (STR #3100) - Added support for usernames and passwords longer than 32 characters (STR #2856) - Added a new MaxHoldTime directive to automatically cancel jobs that have been held indefinitely after a specific number of seconds (STR #2291) - The LPD backend now uses the originating host name when it is not the local system (STR #2053) - CUPS now prefers the suffix "dpcm" when reporting resolution in dots- per-centimeter (STR #4006) - The configure script and build system no longer support building of separate 32-bit and 64-bit libraries. - The "brightness", "columns", "fitplot", "gamma", "hue", "natural-scaling", "penwidth", "position", "ppi", "saturation", and "scaling" options are not longer supported (STR #4010) - The "page-bottom", "page-left", "page-right", "page-top", "prettyprint", and "wrap" options have been deprecated (STR #4010) - The scheduler now reports the standard "number-of-documents" attribute instead of the CUPS-specific "document-count" attribute in job objects. - Added new destination connection and enumeration functions (STR #3924) - Added new option, localization, and job submission functions that do not depend on PPD files (STR #3925) - Added a new MaxJobTime directive for cupsd that specifies the maximum amount of time allowed for a job to complete before it is canceled. - The default password callback now supports passwords up to 127 characters. - The scheduler now supports a DefaultAuthType of "auto" to automatically choose between Basic (username/password) and Negotiate (Kerberos) authentication. - cupsSideChannelSNMPGet/Walk now support OIDs and values up to 64k in length. - CUPS no longer supports automatic remote printers or implicit classes via the CUPS, LDAP, or SLP protocols (STR #3922, STR #3923) - The PPD APIs are now deprecated and will be removed in a future version of CUPS (STR #3927) - The default IPP version for requests is now 2.0 (STR #3929) - The IPP APIs no longer expose the ipp_t or ipp_attribute_t structures and instead provide accessor functions (STR #3928) - The scheduler will no longer run programs with group write permission. - The PHP module has been removed (STR #3932) - The bannertops, commandtoescpx, commandtopclx, imagetops, imagetoraster, pdftops, rastertoescpx, rastertopclx, and texttops filters have been removed (STR #3930) - The serial and parallel backends have been removed (STR 3935)
2014-06-01Fix OpenBSD and FreeBSD (clang) buildsryoon1-2/+4
2014-05-15Fix CVE-2014-2856 using upstream patch.wiz1-1/+2
Bump PKGREVISION.
2014-05-10Use libtool -fstack-protector support in cupsrichard1-2/+2
2013-10-12improve cups builtin kerberos supportrichard1-2/+2
2013-05-09Don't create backup files.jperkin1-2/+2
2013-02-12Don't pull in sys/ucred.h on Solaris as it results in procfs.h beingjperkin1-1/+2
included and conflicts between _FILE_OFFSET_BITS=64 and 32-bit procfs.
2012-09-18fix libtool problem in unpriliged builddrochner1-2/+2
use the right libusb
2012-09-18Update to 1.5.4 (ok by wiz@):bouyer1-5/+5
- Documentation updates (STR #4112, STR #4130, STR #4134) - Fixes for libusb-based USB backend (STR #4128) - The lpq command did not show the owner or title of jobs unless passed a username on the command-line (STR #4135) - Localized empty strings contained the message catalog metadata (STR #4119) - Fixed a crash in the libusb-based USB backend (STR #4099) - The cups-lpd mini-daemon no longer handled jobs with multiple copies (STR #4118) - Multiple libusb backend fixes (STR #4098, STR #4100) - The IPP backend no longer tries to get the job status for printers that do not implement the required operation (STR #4083) - Sending a document in an unsupported format to an IPP printer now automatically cancels the job (STR #4093) - Fix some error reporting issues when printing from /dev/null and other unusual situations (STR #4015) - The scheduler now sets the CUPS_MAX_MESSAGE environment variable for filters (STR #4074) - Fixed a build issue when using older versions of autoconf (STR #4084) - The IPP backend now treats the client-error-not-possible status code as a job history issue, allowing IPP printing to Windows to work (STR #4047) - The IPP backend incorrectly included the document-format and compression attributes in Create-Job requests (STR #4086) - The libusb-based USB backend did not work on non-Linux platforms (STR #4088) - httpReconnect() did not reset the read/write buffers (STR #4065) - Compiling without threading support failed (STR #4060) - Fixed compile problem with old versions of OpenSSL (STR #4036) - The network backends did not check SNMP supply levels regularly (STR #4040) - The online help always included the "help on help" text (STR #4042) - Fixed a SSL handshake issue on OS X (STR #4045) - The scheduler could crash if a PPD file contained an invalid paper size (STR #4049) - The CUPS polling daemon did not reinitialize its connection to the remote server on errors in all cases (STR #4031) - PostScript auto-configuration was slow and unreliable with some printers (STR #4028) - Missing localizations caused empty output (STR #4033) - The cups-driverd program could temporarily "forget" a PPD file if it was updated in place. - The dnssd backend now prefers IPPS over IPP. - The USB backend now uses and requires LIBUSB 1.0 or later (STR #3477) - The LIBUSB-based USB backend now supports the back-channel (STR #2890) - Changed how timeouts are implemented in the LPD backend (STR #4013) - Added more supported color names for SNMP supplies (STR #3981) - The default InputSlot setting was never used (STR #3957) - POSIX ACLs are now set properly on certificate files (STR #3970) - Supplies with commas in their names were not reported correctly (STR #4020) - The cupsGetPPD3() function created a temporary file when one was not needed (STR #4018) - The scheduler now ensures that job notifications contain a value for the notify-printer-uri attribute (STR #4014) - The lp and lpr commands did not cancel jobs queued from stdin on an error (STR #4015) - Fixed the IPP backend's handling of HTTP/1.0 compatibility (STR #3988) - The IPP backend did not always setup username/password authentication for printers (STR #3985) - The IPP backend no longer re-queues print jobs that are too large for the printer/server (STR #3977) - The RPM spec file did not work (STR #4021, STR #4057) - Encryption did not work when the server name ended with "." (STR #4011) - The multi-purpose tray is now mapped to the IPP "by-pass-tray" (STR #4009) - The correct media size was not always passed to IPP printers (STR #4001) - Finishing options were not passed to IPP printers (STR #3995) - Fixed iCloud-based Back to My Mac printing (STR #3996)
2012-02-07Update to cups-1.5.2sbd1-5/+4
-------------------- CHANGES IN CUPS V1.5.2 - Reposted what should have been CUPS 1.5.1. CHANGES IN CUPS V1.5.1 - Documentation updates (STR #3885, STR #3886, STR #3946, STR #3969) - Localization updates (STR #3840, STR #3989, STR #3997) - Build fixes (STR #3956, STR #3999) - The SNMP backend did not validate the device URIs reported by printers (STR #4004) - cupsBackendReport() did not handle newlines in 1284 Device IDs (STR #4005) - USB backend fixes for libusb (STR #3965, STR #3978) - The DBUS notifier did not validate string parameters (STR #3984) - Group quota ACLs did not work with Kerberos (STR #3972) - The IPP backend did not retry when a printer responded with client-error-not-possible (STR #3963) - PostScript PPDs with filters used the wrong command filter (STR #3973) - The scheduler incorrectly used free() on a POSIX ACL value, which could cause a crash (STR #3970) - PPD files using the MacStandard encoding did not work. - The web interface did not work on some platforms (STR #3902) - The lpstat command would crash when then "-u" option was used by a non-administrator (STR #3953) - Japanese supply level reporting did not always work. - The DBUS notifier could crash (STR #3947) - Relaxed some of the page size checks in cupstestppd. - The ipptool program now reports attributes that are repeated within the same attribute group. - Updated the PWG raster support to match the current draft specification. - Fixed some IPP conformance issues in the scheduler. - Added ipptool support for repeating requests. - Added IPP/2.2 conformance tests and greatly improved the IPP/1.1, IPP/2.0, and IPP/2.1 conformance testing. - IPP messages containing mixed integer/rangeOfInteger values did not work (STR #3942) - The ipptool program now provides additional diagnostics for badly- formatted responses (STR #3857) - When possible, the IPP backend now stops sending job data early on a cancel. - cupsSendRequest and cupsWriteRequestData did not properly read all HTTP headers, preventing authentication and encryption upgrades from working in all cases. - The client.conf Server directive is no longer supported on Mac OS X 10.7 and later. - The IPP backend sent the wrong margins in media-col. - The scheduler did not save or restore large Kerberos credentials for jobs. - The dnssd backend did not properly browse for secure IPP printers. - httpAssembleURI* did not properly escape all special characters in the username/password field. - The scheduler now logs config file errors to stderr (STR #3936) - The configure script incorrectly used bundle-based localizations on Linux (STR #3938) - The cups-driverd helper program did not cache .drv files properly, sometimes leading to a crash (STR #3921) - CUPS did not build on stock Mac OS X installations. - Encryption was broken with OpenSSL. - ipptool's XML output used date/time values with timezone offsets, which are not supported by Mac OS X's NSDate class. - Several programs did not support the cupsFilter2 keyword in PPD files. - The IPP backend incorrectly reported spool-area-full states. - cupsMarkOptions() did not protect against a bad PPD that was missing one or more standard Duplex options. - The PostScript filter did not mirror N-up output properly. - The ipptool program did not validate UTF-8 strings in XML output. - Fixed supply level reporting for some printers. - The scheduler no longer automatically logs debug messages for jobs that were held or canceled. - The cupsSendRequest function did not flush remaining response data from a previous request, leading to apparent chunking issues. - The scheduler did not report the correct version in the Server: header (STR #3903) - The scheduler did not support 1284 device IDs reported by driver interface programs longer than 127 characters (STR #3871) - The image filters did not support loading images larger than the RIPCache setting (STR #3901) - "PAGE: total NNN" messages did not get logged properly (STR #3887) - Updated the PWG Raster support to conform to the current draft of the PWG Raster Format specification. - The PWG Raster filter did not always write the correct number of padding lines on the bottom of the page (STR #3904) - When reporting a denial-of-service attack from the domain socket, the address reported does not always contain the correct path (STR #3888) - Badly formed GIF files could cause the image filters to crash (STR #3914) - Jobs canceled at the printer were retried by the IPP backend. - "cupsfilter -u" deleted the input file instead of the PPD file. - The scheduler did not compute the cost of PPD filters defined using the cupsFilter2 keyword properly. - The scheduler did not correctly support the maxsize() attribute for PPD filters.
2011-12-21Don't use statfs() on SunOS (PR#44453).sbd1-2/+2
2011-12-02Limit ssp fix to SunOS.hans1-2/+2
2011-11-29Fix build with -fstack-protector.hans1-2/+3
2011-11-14Skip installing the config files in the ${INSTALL_TARGET} stage, insteadsbd1-1/+2
install them in the post-install target. This allows the destdir stage-install target to run as non root.
2011-11-13Update to cups-1.5.0sbd1-11/+10
-------------------- 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-13Remove the usb-backend-both-usblp-and-libusb.dpatch as it is has been droppedsbd1-6/+1
by it original author.
2011-10-13Fix build on SunOS.hans1-1/+3
2011-10-04Fix detection of -fstack-protector.hans1-2/+2
2011-08-28Use str3914.patch from STR #3914 to fix CVE-2011-3170sbd1-1/+2
Bump PKGREVISION
2011-08-28Update to cups-1.4.8sbd1-5/+4
CHANGES IN CUPS V1.4.8 - The scheduler would delete job data files when restarted (STR #3880) - The network backends could crash if a printer returned a value of 0 for the maximum capacity for a supply (STR #3875) CHANGES IN CUPS V1.4.7 - Documentation changes (STR #3710, STR #3720, STR #3745, STR #3750, STR #3757, STR #3758, STR #3782, STR #3826, STR #3829, STR #3837) - Web interface fixes (STR #3412, STR #3345, STR #3455, STR #3707, STR #3755, STR #3769, STR #3783) - Configure script fixes (STR #3659, STR #3691) - Compilation fixes (STR #3718, STR #3771, STR #3774) - The imageto* filters could crash with bad GIF files (STR #3867) - The scheduler might leave old job data files in the spool directory (STR #3795) - CUPS did not work with locales using the ASCII character set (STR #3832) - httpAddrString() did not return a URI-style IPv6 numeric address (STR #3814) - Fixed an issue when reading compressed CUPS raster streams (STR #3812) - Fixed an issue with PostScript printer auto-configuration (STR #3443) - Fixed some compatibility issues with the libusb-based USB backend (STR #3799) - The network backends no longer try to collect SNMP supply and status information for raw queues (STR #3809) - The DBUS notifier did not report job state changes (STR #3805) - The scheduler did not always report that the "normal" print-quality value was supported (STR #3803) - The gziptoany filter did not report the correct error if it was unable to write the uncompressed document to the next filter or backend in the chain (STR #3797) - The Epson and Oki 9-pin drivers had a bad resolution option (STR #3798) - The scheduler did not always register the correct default ICC profile on Mac OS X. - The scheduler did not use the job owner when authorizing access for the CUPS-Get-Document operation, preventing non-admins from accessing their own jobs. - CUPS did not work with some printers that incorrectly implemented the HTTP/1.1 standard (STR #3778, STR #3791) - The scheduler did not retry fax jobs properly. - The scheduler now recognizes an empty cupsCommands PPD keyword as meaning that CUPS commands are not supported for a printer (STR #3773) - Fixed a crash bug in the scheduler when the application/octet-stream MIME type was not defined (STR #3690) - Polled printers were advertised more slowly than necessary (STR #3574) - cupsResolveConflicts() did not handle resolving multiple UIConstraints issues (STR #3705) - The SetEnv and PassEnv directives had no effect (STR #3664) - The web interface no longer tries to use multi-part delivery when adding printers (STR #3455) - The libusb-based USB backend printed slowly to the LaserJet 1300 and other printers (STR #3405) - "lp" and "lpr" failed to print with Kerberos enabled (STR #3768) - The cupsctl program now displays an error if you try to directly set the Port or Listen directives (STR #3749) - PPD files with "*JobPatchFile: bla" no longer fail to load in relaxed conformance mode (STR #3747) - The scheduler generated a bad notify-text string for printer state change notifications (STR #3739) - The scheduler incorrectly updated printers.conf when it really needed to update classes.conf or remote.cache (STR #3726) - Hardwired remote printers with options did not work (STR #3717) - Accessing the CUPS web interface using a CNAME-based hostname would sometimes fail due to redirection to the actual hostname (STR #3701) - Subscription events had a misspelled attribute (STR #3693) - "make check" failed if LC_MESSAGES was set (STR #3765) - Fixed the configure script to always look for the pkg-config script (STR #3761) - The scheduler now only looks up interface hostnames if HostNameLookups are enabled (STR #3737) - Fixed a compilation problem on DragonFly BSD (STR #3738) - The default PageLogFormat value had the username and job ID swapped from CUPS 1.3.x (STR #3727) - The scheduler could crash if a browsed printer times out while a job is printing (STR #3754) - The scheduler incorrectly mapped custom page sizes to standard sizes (STR #3764) - cupsfilter and pstops did not map IPP attributes to PPD options due to a change in cupsMarkOptions (STR #3756) - The scheduler did not always show the most recent status message from the print filters (STR #3731) - The PostScript filter did not apply the mirror and number-up options properly, leading to offset and clipped output (STR #3732) - The network backends always reported "low toner" or "out of toner" states, even for inkjet printers (STR #3733)
2011-08-12Fix Unprivileged builds.sbd1-2/+2
2011-01-19build fix: on semi-new NetBSD, statfs() is present in libc for binarydrochner1-1/+2
compatibility and thus found by autoconf, but the API was removed. Don't try to use it.
2011-01-19Update to cups 1.4.6sbd1-6/+4
CHANGES IN CUPS V1.4.6 - Fixed a "make check" issue on Solaris (STR #3729) - Regression: The pstops filter did not support landscape printing of PostScript files (STR #3722) - The scheduler killed retried (fax) jobs after restarting them (STR #3697) - The cupsAdminSetServerSettings() function disabled sharing when debug logging was enabled (STR #3712) CHANGES IN CUPS V1.4.5 - Documentation fixes (STR #3542, STR #3650) - Localization fixes (STR #3635, STR #3636, STR #3647, STR #3666) - Security: Fixed a memory corruption bug reported in CVE-2010-2941 (STR #3648) - The CUPS API incorrectly mapped the HTTP_UNAUTHORIZED status to the IPP_NOT_AUTHORIZED status code, when IPP_NOT_AUTHENTICATED would be the correct mapping (STR #3684) - The scheduler would restart jobs while shutting down (STR #3679) - Fixed a PPD loader bug that could cause a crash in cupsd (STR #3680) - Improved the mapping of non-standard PPD and PWG names (STR #3671) - The scheduler did not initialize Kerberos in all cases (STR #3662) - cupsAdminSetServerSettings duplicated Listen and Order lines (STR #3645) - Added DeviceN colorspace support to the CUPS Raster format (STR #3419) - ppdMarkDefaults() did not clear the marked field of the previous choices (STR #3642) - The serial backend would not allow a raw job to be canceled (STR #3649) - The socket backend could go into an infinite loop with certain printers (STR #3622) - Setting the PRINTER or LPDEST environment variables to "name/instance" did not work (STR #3485) - The scheduler did not handle the JobRetryLimit setting properly (STR #3466) - The lpstat command always showed a remote job ID of 0 for shared printers (STR #3627) - Increased the write timeout for the libusb-based USB backend to 5 minutes (STR #3595) - The libusb-base USB backend did not check whether the printer has a serial number (STR #3590) - The lpadmin command did not support setting of custom option values (STR #3631) - The lpadmin command did not support setting of the location or description of a class (STR #3613) - The cupsaddsmb command did not give up after too many failed attempts (STR #3615) - The CUPS library no longer uses certain problematic ctype macros that change based on the locale's character set. - PJL value substitution of more than 9 values was broken (STR #3621) - Custom options with missing string values caused ppdEmit* to segfault (STR #3620) - Fixed an issue with the Italian version of the web interface (STR #3624) - Fixed the Solaris SMF configuration file for cups-lpd (STR #3611) - The scheduler did not set the notify-subscribed-event attribute when delivering printer-added or printer-modified events (STR #3608) - The mailto notifier could get into an infinite loop (STR #3609) - Date/time information was not shown in banner pages. - Relational operators were broken in #if/#elif/#else/#endif expressions for the PPD compiler. - Moving a job via the web interface failed without asking for authentication (STR #3559) - The scheduler now clears the printer-state-reasons when the driver is changed (STR #3570) - The web interface did not allow a user to change the driver (STR #3537, STR #3601) - The scheduler was not setting the PATH_INFO environment variable when needed (STR #3600) - The scheduler incorrectly set the CUPSD_AUTH_TYPE environment variable instead of AUTH_TYPE (STR #3599) - Fixed a buffer overrun in the PPD compiler (STR #3594) - Fixed some additional IPP job template attribute mapping issues in the scheduler.
2010-11-12Update to cups 1.4.4sbd1-10/+6
CHANGES IN CUPS V1.4.4 - Documentation updates (STR #3453, STR #3527, STR #3528, STR #3529) - Security: The texttops filter did not check the results of allocations (STR #3516) - Security: The fix for CVE-2009-3553 was incomplete (STR #3490) - Security: The web admin interface could disclose the contents of memory (STR #3577) - Security: CUPS could overwrite files as root in directories owned or writable by non-root users (STR #3510) - The cups-config utility did not return the correct linker options on AIX (STR #3587) - Fixed some IPP conformance issues with the scheduler's ippget-event-life, operations-supported, output-bin, and sides attributes (STR #3554) - The OpenSSL interfaces have been made thread-safe and the GNU TLS interface is explicitly forbidden when threading is enabled (STR #3461) - Fixed an IPP conformance issue with the scheduler's Send-Document implementation (STR #3514) - Added additional validation checks for the 1284 device ID (STR #3534) - Fixed a problem with the RPM spec file (STR #3544) - The lpstat command did not limit the job list to the specified printers (STR #3541) - The cupsfilter command did not set the RIP_MAX_CACHE environment variable (STR #3531) - Fixed support for media-col and page size variants (STR #3394) - The PostScript filter did not support all media selection options for the first page (STR #3525) - The scheduler did not always remove job control files (STR #3425) - The scheduler could crash on restart if classes were defined (STR #3524) - The scheduler no longer looks up network interface hostnames by default on Mac OS X (STR #3523) - ippWriteIO did not write collection (member) attributes properly in all cases (STR #3521) - The "cupsctl --remote-any" and corresponding web interface check box (allow printing from the Internet) did not work reliably (STR #3520) - The lpq and lpr commands would sometimes choose different default printers (STR #3503) - cupsDo*Request did not flush error text, leading to multiple issues (STR #3325, STR #3519) - cupsDoAuthentication did not cancel password authentication after 3 failures (STR #3518) - Fixed several LDAP browsing bugs (STR #3392) - The Dymo driver did not support copies (STR #3457) - The scheduler did not update the classes.conf file when deleting a printer belonging to a class (STR #3505) - The lppasswd command did not use localized password prompts (STR #3492) - The socket backend no longer waits for back-channel data on platforms other than Mac OS X (STR #3495) - The scheduler didn't send events when a printer started accepting or rejecting jobs (STR #3480) - The web interface now includes additional CSRF protection (STR #3498)