Commit graph

178 commits

Author SHA1 Message Date
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
ab1247594e s/sysconfdif/sysconfdir/ 2001-01-12 18:34:23 +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
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
1c2cb843d3 Set correct permissions on /etc/cups/certs and /var/spool/cups. This also
fixes a bad chown command during binary package installation.
2000-12-28 02:22:18 +00:00
jlam
b417d89785 Note conflict with LPRng-core. 2000-12-28 00:09:38 +00:00
jlam
1bb4b8cfc6 Update cups to 1.1.5.1. Changes from version 1.1.5 are only fixes to the
build process.
2000-12-21 16:59:31 +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
12e8b340a3 Only some of those config files are supposed to be editted by the user,
so differentiate them from the CUPS-generated ones.
2000-12-15 21:57:38 +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
eeacd671b6 Add ${USE_PAM}-triggered PAM support. 2000-12-12 16:04:06 +00:00
jlam
c42e57435f Add ${USE_PAM}-triggered PAM authentication support. 2000-12-12 16:03:13 +00:00
jlam
8c40a62fe7 Substitute for @ADDGROUP@ in pkg/INSTALL file. 2000-12-11 09:00:51 +00:00
jlam
aaa8b64cb5 Set ADDUSER and ADDGROUP appropriately. 2000-12-11 08:53:07 +00:00
jlam
05ff9af2c2 s/Cyrus User/CUPS user/g 2000-12-11 08:42:03 +00:00
jlam
61365de702 Some tweaks to the DEINSTALL/INSTALL scripts and improvements to the
cupsd rc.d script.
2000-12-09 22:18:24 +00:00
jlam
db395d9c63 s/CYRUS/CUPS/g 2000-12-09 05:53:39 +00:00
jlam
c1a1bc2e81 Add CUPS_USER and CUPS_GROUP to the BUILD_DEFS. 2000-12-09 05:53:06 +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
b6c15f1bdd Be more explicit about where the example config files are copied from
during installation.
2000-07-13 01:01:11 +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
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
tron
ea7dc91900 Because the minor of "libpng" was bumped we must sure that packages
compiled for the update "png" package depend on it.
2000-03-21 22:40:50 +00:00
tron
e8a1039530 Use "png>=1.0.3" instead of "png-*" in dependence list. 2000-02-09 20:20:52 +00:00
tron
f184beb4a5 Use wildcard dependence for "png" package. 2000-02-09 15:22:32 +00:00
rh
319ab90bcc defuzz. 1999-12-07 21:01:46 +00:00
jlam
935fbd40ea Update patchsum file. 1999-11-29 02:31:13 +00:00
jlam
9e3defa0e6 Common UNIX Printing System, a IPP 1.0 implementation. 1999-11-29 02:18:53 +00:00