summaryrefslogtreecommitdiff
path: root/print/cups
AgeCommit message (Collapse)AuthorFilesLines
2002-02-18Updated cups to 1.1.14martti4-13/+13
- The ippRead() function did not verify that the attribute name length or string with language value was not larger than the read buffer. - The scheduler set the signal handlers before loading the configuration files the first time; this prevented the RunAsUser directive from blocking server reloads. - Added Swedish message catalog. - The parallel backend now recognizes the /dev/printers device directory under Linux 2.4.x. - MacOS X fixes. - The cupsaddsmb utility sent the server name after the user information when executing the rpcclient program. This caused problems with some versions of SAMBA 2.2.x. - The IPP backend did not pass the requesting user name when checking on the print job status. This prevented it from waiting for the job to complete when communicating with some IPP implementations that require it.
2002-02-05Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".jlam1-3/+3
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05Build checksum from a clean copy of the distfile.jlam1-3/+3
2002-01-31Update print/cups to 1.1.13:jlam6-22/+50
CUPS 1.1.13 adds support for the KOI8-R and KOI8-U encodings, message catalogs for several Russian locales and for Simplified Chinese, improvements for MacOS X (Darwin) and IRIX, improvements to the PDF, PostScript, and text filters, status reporting for IPP-based printers (paper out, etc.), and improvements to the SAMBA driver export facility. The new release also fixes bugs in the scheduler, the lpstat command, the CUPS API, and the pstoraster filter.
2002-01-30Add USE_PAM to BUILD_DEFS when we build with PAM support.jlam1-1/+2
2002-01-06The configure script auto-appends "cups" to "sysconfdir", so passjlam1-3/+4
"${PKG_SYSCONFBASE}" to the script and set PKG_SYSCONFSUBDIR directly to "cups".
2001-12-14Update print/cups to 1.1.12. Relevant changes from version 1.1.10.1 include:jlam5-45/+75
- Bug fixes. - Start of internationalization support for banner and PPD files. - Added support for embedded TrueType fonts in PDF files. - Added support for PostScript functions in PDF files. - Added new "cupsaddsmb" utility for exporting CUPS printer drivers to SAMBA/Windows clients. - The ippRead() and ipp_read_file() functions could not handle more than IPP_MAX_VALUES (100) values in a 1setOf attribute. These functions have been updated to dynamically allocate more memory as needed, and the IPP_MAX_VALUES constant now represents the allocation increment. [this caused some versions of the GIMP-print drivers to fail since the number of media options exceeded 100...] - The web interfaces did not always quote < and & in things like the job title. This had the potential for browser-based security violations (on the browser's machine); bug report from SuSE. - The scheduler now treats unauthenticated usernames as case-insensitive when doing quota and allow/deny processing. - The PostScript filter (pstops) now handles EPS files, adding a showpage command to the files as needed. - The cups-lpd mini-daemon did not support anonymous printing (no username specified). While the username is REQUIRED by RFC-1179, MacOS clients do not send the REQUIRED username information when printing via LPD. - The httpConnect*() functions now try all available addresses for a host when connecting for the first time.
2001-12-10Make the patch actually compile..I missed here..jmc2-11/+6
2001-12-09Assembler on 1.5.2 or below macppc can't handle some parts in genarch. Patch ↵jmc2-1/+23
around that
2001-12-02bsd.pkg.install.mk calls the INSTALL script at the right timesjlam1-3/+1
automatically, so no need to do it ourselves.
2001-11-26Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}.jlam1-4/+3
2001-11-26Forgot a CONFDIR -> PKG_SYSCONFDIR replacement.jlam1-2/+2
2001-11-25PKG_SYSCONFDIR is where the configuration files for a package may be found.jlam1-13/+14
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
2001-11-21These rc.d scripts are copied to ${RCD_SCRIPTS_DIR} == /etc/rc.d, so changejlam1-7/+7
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
2001-11-21RCD_SCRIPTS now just lists the filenames (see bsd.pkg.install.mk).jlam1-2/+2
2001-11-21Respect ${CONFDIR}.jlam1-2/+2
2001-11-19Adapt to use shared INSTALL/DEINSTALL scripts by using the logic injlam5-274/+38
bsd.pkg.install.mk: * Remove old DEINSTALL/INSTALL scripts. * Move some text printed at POST-INSTALL time into the MESSAGE file. * Adjust rc.d scripts to respect rc.conf settings, so that the script may be directly copied into /etc/rc.d.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum7-6/+6
2001-08-18Update print/cups to 1.1.10.1. Changes from version 1.1.9.1 include:jlam13-217/+62
+ 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-14grep isn't used anymore, so don't substitute for @GREP@ in the INSTALLjlam2-5/+5
files. Substitute for @ID@ instead of directly using 'id', and use the value of ${ID} already set in defs.*.mk.
2001-08-12Fix same problems with the user check:veego1-5/+5
- use 'id' instead of 'finger'. this is not a real problem, but it is enough and fixing the next problem makes it possible to use it. - grep -q doesn't work on solaris, so use a different way to suppress the output from the user check. - the return code check for the user was reversed.
2001-08-06Link sbin/accept, not bin/accept, to bin/{disable,enable}.jlam2-5/+5
2001-08-02Update cups to 1.1.9.1. Changes from version 1.1.8 include:jlam13-68/+243
* 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-07-27Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the defaultjlam1-1/+2
installation directory in case the package isn't installed.
2001-07-20Mechanical changes to buildlink.mk files to use EVAL_PREFIX to setjlam1-2/+2
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages regardless of whether they were installed before or after xpkgwedge was installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-13In package Makefiles, create FILES_SUBST instead of duplicating sedjlam2-3/+5
expression for substituting in DEINSTALL/INSTALL scripts. Use "${CMP} -s" instead of "diff -q" since the former is more portable across OSes.
2001-07-01Move inclusion of bsd.buildlink.mk to start of file.jlam1-3/+3
2001-06-23Generalize how the dependency pattern may be specified. Instead of justjlam1-4/+5
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify the dependency pattern as FOO_DEPENDS=foo>=1.0. This allows things like JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib. Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-19Use openssl/buildlink.mk instead of USE_SSL, mark as USE_BUILDLINK_ONLY,jlam1-28/+27
and use FILES_SUBST instead of repeating sed script throughout the Makefile.
2001-06-11The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,jlam1-5/+1
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths.
2001-06-11Use bsd.buildlink.mk instead of duplicating code all over the place.jlam1-46/+12
2001-06-10Use cookies (.*_done) to determine whether headers and libs have beenjlam1-6/+12
linked from a particular package, and add a pre-configure target to the buildlink.mk file to more painlessly use buildlink.mk files. A ${BUILDLINK_TARGETS} variable still exists in case a package _must_ define NO_CONFIGURE.
2001-06-10Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-buildjlam1-3/+1
targets as the buildlink.mk files now add the dependency automatically. Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-09' ' -> '\t'wiz1-2/+2
2001-05-26Use buildlink.mk files to get dependencies for png, jpeg, and tiff.jlam1-13/+12
2001-05-26No functional change...just rework some code and resort some lines.jlam1-9/+8
2001-05-26Protect against multiple inclusion.jlam1-1/+6
2001-05-24Add buildlink.mk file to link libraries and headers into ${WRKDIR}, to bejlam1-0/+57
used by other packages.
2001-05-24Update cups to 1.1.8. Relevant changes from version 1.1.7 include:jlam2-6/+6
- The scheduler might restart a stopped printer after stopping a print job. - The IPP backend did not handle the client-error-not-found error when checking the status of the job that was sent. This caused remote queues to stop on client machines when the server had job history disabled. - Added httpConnectEncrypt() function to avoid performance penalty for setting up encrypted connections initially. - Jobs weren't queued to remote classes (fix from Richard Begg.) - Fixed the pstops fix for GNOME output - no longer use the page numbers in the %%Page: comment since GNOME puts a filename instead (!?@!#?!). - The imagetops filter produced PAGE: messages when generating PostScript for a non-PostScript printer (only affects page-label and Classification options.) - The updated pdftops filter was looking for an options file called xpdf.conf instead of pdftops.conf. - The scheduler would not force the default job sheets for printers to the current classification setting. - Added a new ippFindNextAttribute() function to the CUPS API. - ppdEmitJCL() now strips any leading path info from the title string. This is only an issue for non-CUPS clients that don't do this already... - Other pstops fixed from Helge Blischke for printing non-conforming documents. - The MaxJobs parameter was not reset when loading the cupsd.conf file.
2001-05-22Update dependency on png to >=1.0.11 because of the shlib major bump.wiz1-2/+2
Noted by Frederick Bruckman.
2001-05-15Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,jlam12-199/+30
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-04-20Move to sha1 digests, where appropriate and possible, and add distfileagc1-2/+3
sizes.
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc2-4/+2
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-30Update cups to 1.1.6.3nb3. Add a patch from the mailing list to fix a bug injlam2-9/+31
IPP Set-Job-Attributes operation, which is only used if you alter a job with "lp -i job-id".
2001-03-27Change BUILD_DEPENDS semantics:hubertf1-2/+2
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
2001-03-07Update cups to 1.1.6.3nb2. Changes from version 1.1.6.3nb1 include two fixesjlam4-3/+39
from the mailing list: 1) Use /dev/urandom instead of /dev/random for random device. 2) Read configuration file before creating certificates as the conf file may redefine the location of the certs directory.
2001-03-04Because the minor number of the PNG library was increased packages compiledtron1-2/+2
using the newest PNG library won't work on system with an older one. To prevent such problems with precompiled binary packages require at least "png-1.0.9nb1" in all dependences.
2001-02-27Update CUPS to 1.1.6.3nb1 from source distribution 1.1.6-3. Changes fromjlam8-89/+102
version 1.1.6.2nb1 include incorporation of USB fixes from NetBSD pkgsrc, security fixes from SuSE, lpr-compatibility fixes from Caldera, and: - Fix problem exposed by the MaxJobs directive where the scheduler was losing count of the number of jobs. This fix, stored in patch-ah, was gleaned from the CUPS mailing list, and bumps the cups packages version number to 1.1.6.3nb1. - The updated cupsTempFile() function did not return the filename when called with a filename buffer of NULL (previously it used a static buffer.) - DeletePrinter() didn't remove the printer from any classes it was a member of. - DeletePrinterFromClass() didn't preserve the implicit status of a class. - DeletePrinterFromClasses() didn't remove printers from implicit classes. - StartJob() didn't send the job-sheets, job-priority, and job-hold-until attributes to remote printers. - LoadAllJobs() was looking for job-sheets-completed instead of job-media-sheets-completed. This would prevent accumulation of page data after a restart of the scheduler. - The pstops and imagetops filters now generate copies using the appropriate method for a Level 1, 2, or 3 printer since some Level 2/3 printers don't support the /#copies variable anymore. - The IPP backend didn't handle version-not-supported errors and revert to IPP/1.0 (previously it only checked for a bad-request error)
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2001-02-13Remove extra #endifjlam2-5/+4