Commit graph

16 commits

Author SHA1 Message Date
jlam
50d677b8f0 Update print/cups to 1.1.19. Major changes from version 1.1.18nb2 include:
- security fix to scheduler to address a DoS attack
- improve conformance to IPP specification
- miscellaneous bug fixes to server and userland utilities
- plug memory leaks
- bug fixes to SSL code
- the mime.convs file was missing the filter definition for Windows BMP
  (image/x-bitmap) files
- improved test suite
- added CUPS support files for Java, Perl, and PHP
- The cups-lpd mini-daemon now sends jobs to the default queue when an
  empty queue name (or "lp" and there is no "lp" queue) is sent.
- The scheduler now supports fax queues identified by a "*cupsFax: True"
  attribute in the PPD file.
- The scheduler now supports print files that have been compressed using
  gzip.
- Added a robots.txt file to the standard install to prevent search
  engines from indexing the CUPS server.
- When writing BSD printcap files, the scheduler now includes the rm and
  rp attributes, allowing the file to be exported to LPD clients.
- The pdftops filter now scales PDF pages within the printable area of the
  page.
- The PostScript filter now supports binary PostScript files and files
  beginning with the PJL language escape sequence.
- Fixed the CIE colorspace support code in the image and PS RIPs.
2003-05-28 02:33:59 +00:00
fredb
58d3160965 Give authentication with blowfish hashes a fighting chance to work on
NetBSD, by linking in -lcrypt before -lcrypto in the shared library and
scheduler. (cups_crypto() looks to fall-back to crypt(). Both of the
shared libraries in question have crypt(), but only the one in -lcrypt
supports blowfish hashes.) Not tested.
2003-03-20 17:30:17 +00:00
jlam
fdc7832875 Update print/cups to 1.15.1. Changes from version 1.14 include:
======================================================================
* Removed the pstoraster filter (based on GNU Ghostscript 5.50) and now
* provide the raster "driver" and patch file necessary to use the current
* GNU Ghostscript 7.05 release.  Pkgsrc users should install the
* print/ghostscript-esp package.
======================================================================

- Many, many bug fixes.
- Improvements to polling and scheduling of jobs to CUPS and to connected
  printers.
- Updated the CUPS license agreement for the new MacOS and OpenSSL license
  exceptions.
- The jobs.cgi web interface now handles all job operations, allowing the
  administrator to allow "job administrators" or operators to manage jobs
  (but not queues) on the server.
- New SCSI printer backend.
- The PostScript filter now supports 6, 9, and 16-up output, as well as new
  page-border and number-up-layout options.
- Added ConfigFilePerm and LogFilePerm directives.
- The HTML job operation templates now link back to the destination printer
  or class.
- Removed unnecessary fonts and updated the Courier and Symbol fonts to the
  latest versions to better support non-ISOLatin1 text.
- The text filter now always embeds the Courier and Symbol fonts to ensure
  that they contain the full set of glyphs.
- The PostScript image filter (imagetops) now supports printing CMYK images
  using the CMYK colorspace.
- The cupsaddsmb program was updated to use the setdriver command instead of
  addprinter.
- The Allow, Deny, BrowseAllow, BrowseDeny, and BrowseAddress directives
  now support the network interface names "@LOCAL" and "@IF(name)" for
  access control and browsing based on the current interface addresses
  instead of fixed names or IP addresses.
- The cupsaddsmb program now supports alternative CUPS and SAMBA server names.
- The PostScript filter now supports the Orientation comment and rotates the
  page as needed automatically.
2002-09-18 22:58:46 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
03fe331ee1 Apply patch from pkg/16643 submitted by Tero Kivinen <kivinen@ssh.fi> to
fix the problem where cupsd dumps core if BrowseProtocols is empty in the
config file.  The fix was taken from the CUPS CVS.
2002-06-09 20:59:34 +00:00
jlam
2e160df727 Update print/cups to 1.1.10.1. Changes from version 1.1.9.1 include:
+ Use our own cupsd rc.d-style script instead of using the one supplied
  with the CUPS sources.
- Bug fixes.
- Added a driver for DYMO label printers.
- Added new ClassifyOverride directive to allow users to override the
  classification of individual jobs.
- Added new BrowseProtocols directive to control which browse protocols
  are used (currently CUPS and SLP).
- Added SLPv2 support.
- The pdftops filter did not have the Japanese and Chinese text support
  compiled into it.
2001-08-18 04:41:45 +00:00
jlam
d438151d1e Update cups to 1.1.9.1. Changes from version 1.1.8 include:
* Bug fixes to the pstoraster filter, the DeskJet printer driver,
    digest authentication.
  * Optimized PPD file scanner so servers with lots of PPD files start
    much faster (up to 40%).
  * Fixed the "N * N copy bug" where N * N copies were sent when N were
    specified.
  * Added new DeskJet and Stylus Photo printer drivers.
  * Workaround buggy IPP implementations in some HP JetDirect servers.
2001-08-02 03:37:39 +00:00
jlam
38bf1f61db Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:

- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
  standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
  priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
  printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
  for users that go to the trouble of removing the required localhost entry
  in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
  USB devices.
- The LPD backend now supports a new "order" option:
  "lpd://server/queue?order=control,data" (default) and
  "lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
  classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
  "Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
  is only available for *testing* and should never be used in a production
  environment.  The file: device can still be used, but it won't show up in
  the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
  results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
  an administrator to set the maximum number of pending jobs in a queue or
  submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
  operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
  the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
  cupsParseOptions() would add names of 0 length.
2001-05-15 17:43:20 +00:00
jlam
4cbcdacb90 Update cups to 1.1.6.2nb1. Changes from version 1.1.6.1 include:
- Added changes to support NetBSD startup scripts.
	- The mime.types file contained syntax errors.
	- Updated the FreeBSD USB device filenames to use the /dev/unlptN files
	  so that the USB device is not reset prior to printing (causes print
	  corruption on many printers)
	- Added new cupsTempFd() function to avoid serious security bug in
	  glibc fopen() function.  The glibc fopen() function unlinks a file
	  before creating it, which opens up possible symlink attacks.
	- Now reject 0-length names in add-printer and add-class
	  requests.
	- cupsGetPPD() didn't reconnect when a HTTP connection
	  was lost.
	- Many security-related fixes from SuSE.
2001-02-08 19:05:00 +00:00
jlam
fe06314b7b Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes,
additions to the documentation, plus the following changes:

	- Fixed another possible DoS attack in httpGets().
	- Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in
	  mime.types.
	- The printers.conf and classes.conf files are now written with
	  restricted permissions.
	- If LoadAllJobs() is unable to determine the file type of a print
	  job, assume "application/vnd.cups-raw".
	- The web interface now provides a job_printer_name value for any
	  corresponding job_printer_uri value.
	- The cups-lpd mini-daemon now logs the client address and hostname
	  as well as all commands and errors in the syslog file.
	- The IPP backend now detects the supported file formats and only
	  specifies the document format if it is supported.  This makes IPP
	  printing to network print servers and cards more reliable without
	  affecting the capabilities of CUPS servers.
	- The time_at_xyz attributes are now converted to human-readable
	  dates and times for the web interfaces.
	- The file type logging code in the scheduler referenced the optional
	  document-format attribute; the new code uses the resolved MIME type
	  instead.
	- The client.conf parsing code now removes trailing whitespace.
	- The lpadmin command now supports setting of options and user-level
	  access control.
	- Added "-E" option to all printing commands to force encryption.
	- The socket backend now starts retries at 5 seconds and increases
	  the interval to 30 seconds.  This should provide faster printing
	  when multiple jobs/files are queued for a printer.
	- The filters and backends no longer buffer output to stderr.  This
	  should provide much more accurate status reporting.
2001-01-28 02:05:36 +00:00
jlam
bfa4a03f52 Update cups to 1.1.5.2. No functional changes from 1.1.5.1, but NetBSD
changes were folded back into the main source tree.
2001-01-11 19:00:42 +00:00
jlam
5c6edcdd63 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 14:59:37 +00:00
jlam
493b7f7fe5 Deal with init script in a better way. Also update various patches to
versions sent back to Easy Software.
2000-12-14 17:04:44 +00:00
jlam
7f0c7f923b Update cups to 1.1.4. Changes from version 1.1 include a large number of
bugfixes, security fixes, improvements to the web admin interface, addition
of new printer drivers, improved documentation, and improvements to the CUPS
API for client development.
2000-12-07 20:33:05 +00:00
jlam
84fe60f2c4 Update CUPS to 1.1. Remove most of the patches; I worked closely with
the author to make this package compile more seamlessly on BSD systems,
and in particular with the NetBSD pkgsrc software collection.

CUPS 1.1 is the newest production (stable) release of CUPS.  It
provides many new features from the 1.0.x releases, including a
new Level 3 PostScript RIP, a new PDF filter, EPSON printer
drivers, IPP/1.1 support, banner page support, and LPD client
support.  Binaries for several platforms are also available.

Major changes in v1.1 include:

	- The text filter now embeds missing fonts.
	- Integrated Xpdf's pdftops filter into CUPS, which is a
	  lightweight and reliable replacement for Ghostscript's
	  PDF support.
	- The web administration interface now allows you to set
	  the default banner pages.
	- Images can now be positioned on the page using the new
	  "position" option.
	- Updated the serial, parallel, and usb backends to do
	  multiple writes and ignore ioctl() errors as needed;
	  this should fix problems with serial printing on old
	  serial drivers and with the UltraSPARC parallel port
	  driver under Solaris 2.7.
	- Now propagate LD_LIBRARY_PATH to child processes from
	  cupsd.
	- Queued remote jobs recreate remote printers as needed
	  when the scheduler is started.
	- Deleting a printer also purges all jobs on that
	  printer.
	- Old job and control files that don't belong to a
	  printer are automatically deleted.
	- cups-lpd now supports options set with lpoptions.
	- The IPP backend now switches to IPP/1.0 if a 1.1
	  request fails.
2000-07-12 20:09:33 +00:00
jlam
9e3defa0e6 Common UNIX Printing System, a IPP 1.0 implementation. 1999-11-29 02:18:53 +00:00