Up to [cvs.NetBSD.org] / pkgsrc / print / cups
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update dependencies on print/cups to print/cups-base This is with the notable exception of meta-pkgs/desktop-gnome, which I believe implies a fully functional cups. This is still missing revision bumps - I'll be right there (first time I am doing this on so many packages at a time). As discussed on tech-pkg@
Rename print/cups to print/cups-base to depend on cups-filters 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.
Recursive revbump from fonts/harfbuzz
Recursive bump for harfbuzz's new graphite2 dependency.
Added avahi as an option so ippfind can be build; unified PLIST and cleanup for Darwin
Recursive bump for cups openssl -> gnutls change.
cups removed openssl support in 2.0b1. Switch to gnutls. Reported by Stephan <stephanwib@googlemail.com> on tech-pkg. Bump PKGREVISION.
Bump PKGREVISION for security/openssl ABI bump.
Use libtool -fstack-protector support in cups
Recursive PKGREVISION bump for OpenSSL API version bump.
Recursive bump for png-1.6.
PKGREVISION bumps for the security/openssl 1.0.1d update.
Revbump after graphics/jpeg and textproc/icu
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.
If the dnssd options is enabled net/mDNSResponder must be buildlinked
Bump PKGREVISION for libpng shlib name change. Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
Second try at jpeg-8 recursive PKGREVISION bump.
Recursive PKGREVISION bump for jpeg update to 8.
bump revision because of graphics/jpeg update
Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
When CUPS is compiled with Kerberos support, buildlink that as well.
Per the process outlined in revbump(1), perform a recursive revbump on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
Change the format of BUILDLINK_ORDER to contain depth information as well, 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
Track information in a new variable BUILDLINK_ORDER that informs us of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.
Over 1200 files touched but no revisions bumped :) 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).
Recursive revision bump / recommended bump for gettext ABI change.
Pullup ticket 673 - requested by Lubomir Sedlacik security fix for cups Revisions pulled up: - pkgsrc/print/cups/Makefile 1.95 - pkgsrc/print/cups/buildlink3.mk 1.13 - pkgsrc/print/cups/distinfo 1.32-1.33 - pkgsrc/print/cups/patches/patch-aw 1.3-1.4 Module Name: pkgsrc Committed By: salo Date: Wed Aug 10 23:37:08 UTC 2005 Modified Files: pkgsrc/print/cups: Makefile buildlink3.mk distinfo Added Files: pkgsrc/print/cups/patches: patch-aw Log Message: Security fix for CAN-2005-2097. "A vulnerability has been reported in CUPS, which can be exploited by malic ious 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. ---- Module Name: pkgsrc Committed By: salo Date: Thu Aug 11 00:03:18 UTC 2005 Modified Files: pkgsrc/print/cups: distinfo pkgsrc/print/cups/patches: patch-aw Log Message: Remove erroneous (literally) include.
Security fix for CAN-2005-2097. "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.
Pullup ticket 214 - requested by Johnny C. Lam security and build fixes for cups Module Name: pkgsrc Committed By: minskim Date: Wed Dec 29 15:31:24 UTC 2004 Modified Files: pkgsrc/print/cups: Makefile Log Message: Use VARBASE. --- Module Name: pkgsrc Committed By: jmmv Date: Tue Jan 4 14:48:22 UTC 2005 Modified Files: pkgsrc/print/cups: buildlink3.mk Log Message: OpenSSL is needed here because 'cups-config --libs' lists -lssl as a dependency (so we need it in the buildlink directory to build other packages). Should fix build of libgnomeprint shown in minskim@'s latest Linux bulk build. --- Module Name: pkgsrc Committed By: jlam Date: Thu Jan 6 07:26:39 UTC 2005 Modified Files: pkgsrc/print/cups: Makefile PLIST distinfo pkgsrc/print/cups/files: cupsd.sh Added Files: pkgsrc/print/cups/patches: patch-at Log Message: Update print/cups to 1.1.23. Changes from version 1.1.22 include: - The scheduler's is_path_absolute() code could cause a DoS (STR #1042) - The scheduler's device loading code used the wrong size limits for the make/model and info parameters (STR #1035) - The PNG loading code did not use a "long unsigned integer" format specifier for the width and height (STR #1032) - The web interface only showed the first 4 or 8 characters of "{variable-name}" for undefined template variables (STR #1031) - The hpgltops filter did not handle a common PCL command to enter HP-GL/2 mode (STR #1037) - The scheduler no longer sends the page-set option when printing banner pages (STR #995) - The hpgltops filter contained two buffer overflows that could potentially allow remote access to the "lp" account (STR #1024) - The lppasswd command did not protect against file descriptor or ulimit attacks (STR #1023) - The "lpc status" command used the wrong resource path when querying the list of printers and jobs, causing unnecessary authentication requests (STR #1018) - The httpWait() function did not handle signal interruptions (STR #1020) - The USB backend used the wrong size status variable when checking the printer status (STR #1017) - The scheduler did not delete classes from other classes or implicit classes, which could cause a crash (STR #1015) - The IPP backend now logs the remote print job ID at log level NOTICE instead of INFO (so it shows up in the error_log file...) --- Module Name: pkgsrc Committed By: jlam Date: Thu Jan 6 18:22:29 UTC 2005 Modified Files: pkgsrc/print/cups: distinfo pkgsrc/print/cups/patches: patch-at Log Message: Don't create the directories during installation... let the pkgsrc INSTALL script handle it instead to ensure proper ownership. --- Module Name: pkgsrc Committed By: salo Date: Tue Jan 11 00:09:21 UTC 2005 Modified Files: pkgsrc/print/cups: buildlink3.mk Log Message: Bump BUILDLINK_RECOMMENDED after latest security update.
Bump BUILDLINK_RECOMMENDED after latest security update.
OpenSSL is needed here because 'cups-config --libs' lists -lssl as a dependency (so we need it in the buildlink directory to build other packages). Should fix build of libgnomeprint shown in minskim@'s latest Linux bulk build.
Bump PKGREVISIONs due to libtiff update. Some BUILDLINK_RECOMMENDED bumps done also. (If I missed any, please let me know -- and let me know a good way to automate this.)
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
PKGREVISION bump after openssl-security-fix-update to 0.9.6m. Buildlink files: RECOMMENDED version changed to current version.
Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
Reorder location and setting of BUILDLINK_PACKAGES to match template buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk and any pre-existing buildlink2.mk files.
Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
Use S/+$// instead of C/\+$// to save a backslash. Very highly recommended by seb :)
Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.
Initial sprinkling of work-in-progress buildlink3.mk files for using the buildlink3 framework.