summaryrefslogtreecommitdiff
path: root/print/cups
AgeCommit message (Collapse)AuthorFilesLines
2007-11-08Add DESTDIR support.joerg1-7/+12
2007-11-05Fix for CVE-2007-4351adrianp3-3/+159
PKGREVISION++
2007-10-22Fix the output of "cups-config --ldflags" to output "-Wl,-R/usr/pkg" likedsainty1-1/+8
other config scripts do. Bump PKGREVISION since client software may not correctly build or run without this fix.
2007-10-08Fixed two hard-coded paths to /var.rillig1-3/+5
2007-08-15Update cups to 1.2.12markd2-6/+6
CUPS 1.2.12 fixes several file typing issues, a bad error message in the scheduler, a web interface setting problem, and a bug in the PHP language binding. It also includes an updated Italian translation. Changes include: * The PHP cups_print_file() function crashed if the options array contained non-string option values * The image/tiff file matching rule incorrectly identified some text files as TIFF files * The filter(7) man page incorrectly documented the "PAGE: total #-pages" message * PCL text files were mis-identified as HP-GL/2 and caused the HP-GL/2 filter to hang * When printing to a queue with user ACLs, the scheduler incorrectly returned a quota error instead of a "not allowed to print" error * cupsaddsmb could get in a loop if no printer drivers were installed * cupsRasterReadHeader() did not byte-swap the header properly when compiled with certain versions of GCC. * The IPP backend did not send the document-format attribute for filtered jobs * Some PPD files could cause a crash in ppdOpen2 * The web admin interface incorrectly handled the "share printers" and "show remote printers" settings * The scheduler's log messages about AuthClass and AuthGroupName advised using a replacement directive but had the wrong syntax * Updated the PostScript/PJL and HP-GL/2 MIME rules to look in the first 4k of the file, not just the first 1k * Updated the Italian localization
2007-07-04Make it easier to build and install packages "unprivileged", wherejlam1-2/+3
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-06-15* Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRPjlam1-2/+2
in SPECIAL_PERMS usage. * Consistently use 4555 for setuid and 2555 for setgid programs.
2007-06-06Update cups to 1.2.11markd5-43/+127
CUPS 1.2.11 fixes several build system, printing, PPD, and IPP conformance issues. It also fixes a crash bug in the scheduler when printing to files in non-existent directories.
2007-04-03Note that USB driver "use_bc=0" patch has been filed as a bug withgdt2-3/+7
cups.org.
2007-04-02Add patch to disable the use of the back channel for USB on NetBSD.gdt3-2/+20
This is based on a suggestion by Yorick Hardy, who reports that it improved behavior. Without the patch, the cups usb driver tries to read status from ulpt(4) (for most printers), and this results in no output.
2007-03-22Update to cups 1.2.10markd3-7/+21
pkgsrc changes: fix locale path patch a bug in pstops's n-up handling (reported to upstream) CUPS 1.2.10 fixes the init script used to start the scheduler, a recursion bug in the pdftops filter, and several other issues reported after the 1.2.9 release. Changes include: * ppdLocalize() now supports localizing for Japanese using the "jp" locale name used by the ppdmerge program from the CUPS DDK 1.1.0 * _cupsAdminSetServerSettings() did not support changing of top-level directives as designed. * The init script path check was broken. * CUPS incorrectly used the attribute "notify-recipient" instead of "notify-recicpient-uri" in several places * Fixed a configure script bug on MirBSD * The pdftops filter did not limit the amount of recursion of page sets * Custom page sizes with fractional point sizes did not work * The lpoptions command would crash when adding or removing options on a system with no printers
2007-03-22Don't try to install non-existent files -- they were already removeddillo1-2/+2
from the PLIST.
2007-03-19Pass down correct locale dir to configure.joerg1-1/+2
2007-03-18Update cups to 1.2.9markd2-6/+6
CUPS 1.2.9 fixes several printing issues and scheduler crash bug. Changes include: * The scheduler did not use the default job-sheets (banners) for implicit classes * The scheduler could crash when listing complete jobs that had been unloaded from memory * The French localization was doubled up * Build system fixes for several platforms * The scheduler's openssl certificate generation code was broken on some platforms * The scheduler's log rotation check for devices was broken * The LPD mini-daemon did not handle the document-format option correctly * The pdftops filter ignored the "match" size option in the pdftops.conf file * cupstestppd now validates UTF-8 text strings in globalized PPD files * The outputorder=reverse option did not work with all printers * Classes containing other classes did not always work * Printer location and description information was lost if the corresponding string contained the "#" character * cupsRemoveOption() did not work properly * The USB backend did not work with some USB to parallel cables on Mac OSX. * The test page did not print the rulers properly on large media sizes * The text filter could crash when pretty printing certain types of files
2007-03-15Fix build on DragonFly and include DragonFly handling in one more case.joerg3-4/+18
2007-03-14Update cups to 1.2.8markd25-1192/+1235
ok'ed jlam a while back. CUPS 1.2.8 adds a French localization, updates the Japanese and Spanish localizations, and fixes several web interface, printing, and networking bugs. CUPS 1.2.7 adds several Mac OS X improvements, implements timeouts in the SSL negotiation code, and fixes the bounding box generated by the PostScript filter, bidirectional support in the USB backend, and another case where the lpstat command could hang. CUPS 1.2.6 fixes some compile errors, localization of the web interface on Mac OS X, bugs in the lpc and lpstat commands, and backchannel support in the parallel backend. CUPS 1.2.5 fixes minor printing, networking, and documentation issues and adds support for older versions of DBUS and a translation for Estonian. CUPS 1.2.4 fixes a number of web interface, scheduler, and CUPS API issues. CUPS 1.2.3 fixes a number of web interface, networking, remote printing, and CUPS API issues. CUPS 1.2.2 fixes several build, platform, notification, and printing bugs. CUPS 1.2.1 fixes several build, platform, and printing bugs. CUPS 1.2.0 is the first stable feature release in the 1.2.x series and includes over 90 new features and changes since CUPS 1.1.23, including a greatly improved web interface and "plug-and-print" support for many local and network printers.
2006-12-01Explicitly disable Perl to not leak wrkdir references. Bump revision.joerg1-2/+3
2006-10-05Fixed unresolved pathnames like "${datarootdir}/cups".rillig3-16/+63
See: http://mail-index.netbsd.org/pkgsrc-users/2006/10/05/0000.html
2006-09-24Make this compile on sparc64 with gcc 4.jdc2-1/+19
(Need to cast to something at least as wide as "void *" - e.g. "long".) OK wiz@, joerg@.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-07-05Fix installation with autoconf-2.60.wiz5-2/+43
2006-05-03Optionize slp.gdt1-4/+10
The default to on (via PKG_SUGGESTED_OPTIONS), so no PKGREVISION bump. From Jukka Salmi in mail to tech-pkg@
2006-04-23Modify packages that set PKG_USERS and PKG_GROUPS to follow the newjlam1-2/+4
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-21regen patch-ai for less fuzz.wiz2-5/+5
2006-04-19Fix build with png-1.2.9nb2. Bump PKGREVISION since different functionswiz3-3/+26
are used. The patch is already integrated in the 1.2rc2 release.
2006-04-17Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.wiz2-4/+4
2006-04-17Strip ${PKGLOCALEDIR} from PLISTs of packages that already obeyjlam1-19/+19
PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-29Sync pdftops with xpdf 3.01pl2, fixing at least two possiblejoerg5-49/+115
integer overflows. Bump revision.
2006-02-16Make this buld with gcc 4.x. Fix PR 32744.yyamano2-1/+43
2006-02-15Bump revision for security fixes.joerg1-2/+2
2006-02-15Port the security fixes for SA181303 from print/xpdf to print/cups.joerg3-21/+131
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-4/+4
2006-01-06Use SUBST framework.joerg1-3/+8
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-19Compile real local backends, not just stubs, for DragonFly.joerg6-3/+68
Since this package "worked" before, bump the revision. Noticed by antencek AT gmail DOT com.
2005-12-17Change my MAINTAINER email address to the one I've been using forjlam1-2/+2
pkgsrc work.
2005-12-17Fix for the following security advisories which affect cups-1.1.x:jlam4-3/+110
CAN-2005-3191 CAN-2005-3192 The fixes were largely copied from xpdf-3.01pl1.patch from foolabs.com; however, patch-be for Stream.cxx also includes a proper fix for CAN-2005-3191 which was only partially fixed in the foolabs.com patch. Bump the PKGREVISION to 4.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-6/+6
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-4/+4
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-03Use correct locale directory on DragonFly.joerg2-4/+4
2005-08-24Fixed a double backslash that had been forgotten by the big commit.rillig1-2/+2
2005-08-23The real user name in PKG_USERS does not need to be escaped with doublerillig1-2/+2
backslashes anymore. A single backslash is enough. Changed the definition in all affected packages. For those that are not caught, an additional check is placed into bsd.pkginstall.mk.
2005-08-19Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMSjlam1-5/+5
as the INSTALL and DEINSTALL scripts no longer distinguish between the two types of files. Drop SUPPORT_FILES{,_PERMS} and modify the packages in pkgsrc accordingly.
2005-08-11Remove erroneous (literally) include.salo2-11/+3
2005-08-10Security fix for CAN-2005-2097.salo4-5/+30
"A vulnerability has been reported in CUPS, which can be exploited by malicious people to cause a DoS (Denial of Service) on a vulnerable system. When processing a PDF file, bounds checking was not correctly performed on some fields. This could cause the pdftops filter (running as user "lp") to crash." http://secunia.com/advisories/16380/ http://rhn.redhat.com/errata/RHSA-2005-706.html Patch from RedHat.
2005-06-01Remove mk/autoconf.mk and mk/automake.mk and replace their usage withjlam1-4/+3
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or "automake14". Also, we don't need to call the auto* tools via ${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care to symlink the correct tool to the correct name, so we can just use aclocal, autoconf, etc.
2005-05-31Rename option PAM to pam (so all options are lower case). Backwardsdillo1-4/+4
compatibility provided via PKG_OPTIONS_LEGACY_OPTS.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison