pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2004Q4]: pkgsrc/print/cups Pullup ticket 214 - requested by Jo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61a0bb2f15ad
branches:  pkgsrc-2004Q4
changeset: 485813:61a0bb2f15ad
user:      salo <salo%pkgsrc.org@localhost>
date:      Tue Jan 11 17:13:43 2005 +0000

description:
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.

diffstat:

 print/cups/Makefile         |   10 +-
 print/cups/PLIST            |  393 +++++++++++++++++++++----------------------
 print/cups/buildlink3.mk    |    5 +-
 print/cups/distinfo         |    7 +-
 print/cups/files/cupsd.sh   |    6 +-
 print/cups/patches/patch-at |   22 ++
 6 files changed, 233 insertions(+), 210 deletions(-)

diffs (truncated from 547 to 300 lines):

diff -r 75ba70a99763 -r 61a0bb2f15ad print/cups/Makefile
--- a/print/cups/Makefile       Tue Jan 11 00:06:09 2005 +0000
+++ b/print/cups/Makefile       Tue Jan 11 17:13:43 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.82 2004/11/30 17:41:52 jlam Exp $
+# $NetBSD: Makefile,v 1.82.2.1 2005/01/11 17:13:43 salo Exp $
 #
 # The CUPS author is very good about taking back changes into the main
 # CUPS distribution.  The correct place to send patches or bug-fixes is:
@@ -6,11 +6,11 @@
 
 DISTNAME=      cups-${DIST_VERS}-source
 PKGNAME=       cups-${VERS}
-BASE_VERS=     1.1.22
+BASE_VERS=     1.1.23
 DIST_VERS=     ${BASE_VERS}
 VERS=          ${DIST_VERS:S/-/./g}
 CATEGORIES=    print
-MASTER_SITES=  ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
+MASTER_SITES=  http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
                ftp://ftp2.easysw.com/pub/cups/${BASE_VERS}/ \
                ftp://ftp3.easysw.com/pub/cups/${BASE_VERS}/ \
                ftp://ftp.ntua.gr/pub/gnu/cups/${BASE_VERS}/ \
@@ -39,8 +39,8 @@
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
-CONFIGURE_ARGS+=       --localstatedir=/var
-CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/html/cups
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/cups
 CONFIGURE_ARGS+=       --with-serverbindir=${PREFIX}/libexec/cups
 CONFIGURE_ARGS+=       --with-rcdir=${RCD_SCRIPTS_DIR}
 CONFIGURE_ARGS+=       --with-cups-user=${CUPS_USER}
diff -r 75ba70a99763 -r 61a0bb2f15ad print/cups/PLIST
--- a/print/cups/PLIST  Tue Jan 11 00:06:09 2005 +0000
+++ b/print/cups/PLIST  Tue Jan 11 17:13:43 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2004/11/08 16:30:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.16.2.1 2005/01/11 17:13:43 salo Exp $
 bin/cancel
 bin/cups-config
 bin/cupstestppd
@@ -92,11 +92,11 @@
 man/es/cat5/mime.types.0
 man/es/cat5/printers.conf.0
 man/es/cat8/accept.0
-man/es/cat8/disable.0
 man/es/cat8/cups-lpd.0
 man/es/cat8/cups-polld.0
 man/es/cat8/cupsaddsmb.0
 man/es/cat8/cupsd.0
+man/es/cat8/disable.0
 man/es/cat8/enable.0
 man/es/cat8/lpadmin.0
 man/es/cat8/lpc.0
@@ -515,191 +515,191 @@
 share/doc/cups/ENCRYPTION.txt
 share/doc/cups/LICENSE.txt
 share/doc/cups/README.txt
-share/doc/html/cups/be/documentation.html
-share/doc/html/cups/be/images/accept-jobs.gif
-share/doc/html/cups/be/images/add-class.gif
-share/doc/html/cups/be/images/add-printer.gif
-share/doc/html/cups/be/images/cancel-job.gif
-share/doc/html/cups/be/images/config-printer.gif
-share/doc/html/cups/be/images/continue.gif
-share/doc/html/cups/be/images/delete-class.gif
-share/doc/html/cups/be/images/delete-printer.gif
-share/doc/html/cups/be/images/hold-job.gif
-share/doc/html/cups/be/images/manage-classes.gif
-share/doc/html/cups/be/images/manage-jobs.gif
-share/doc/html/cups/be/images/manage-printers.gif
-share/doc/html/cups/be/images/modify-class.gif
-share/doc/html/cups/be/images/modify-printer.gif
-share/doc/html/cups/be/images/navbar.gif
-share/doc/html/cups/be/images/print-test-page.gif
-share/doc/html/cups/be/images/reject-jobs.gif
-share/doc/html/cups/be/images/release-job.gif
-share/doc/html/cups/be/images/restart-job.gif
-share/doc/html/cups/be/images/show-active.gif
-share/doc/html/cups/be/images/show-completed.gif
-share/doc/html/cups/be/images/start-class.gif
-share/doc/html/cups/be/images/start-printer.gif
-share/doc/html/cups/be/images/stop-class.gif
-share/doc/html/cups/be/images/stop-printer.gif
-share/doc/html/cups/be/index.html
-share/doc/html/cups/cmp.html
-share/doc/html/cups/cmp.pdf
-share/doc/html/cups/cups.css
-share/doc/html/cups/cupsdoc.css
-share/doc/html/cups/de/documentation.html
-share/doc/html/cups/de/images/accept-jobs.gif
-share/doc/html/cups/de/images/add-class.gif
-share/doc/html/cups/de/images/add-printer.gif
-share/doc/html/cups/de/images/cancel-job.gif
-share/doc/html/cups/de/images/config-printer.gif
-share/doc/html/cups/de/images/continue.gif
-share/doc/html/cups/de/images/delete-class.gif
-share/doc/html/cups/de/images/delete-printer.gif
-share/doc/html/cups/de/images/hold-job.gif
-share/doc/html/cups/de/images/manage-classes.gif
-share/doc/html/cups/de/images/manage-jobs.gif
-share/doc/html/cups/de/images/manage-printers.gif
-share/doc/html/cups/de/images/modify-class.gif
-share/doc/html/cups/de/images/modify-printer.gif
-share/doc/html/cups/de/images/navbar.gif
-share/doc/html/cups/de/images/print-test-page.gif
-share/doc/html/cups/de/images/reject-jobs.gif
-share/doc/html/cups/de/images/release-job.gif
-share/doc/html/cups/de/images/restart-job.gif
-share/doc/html/cups/de/images/show-active.gif
-share/doc/html/cups/de/images/show-completed.gif
-share/doc/html/cups/de/images/start-class.gif
-share/doc/html/cups/de/images/start-printer.gif
-share/doc/html/cups/de/images/stop-class.gif
-share/doc/html/cups/de/images/stop-printer.gif
-share/doc/html/cups/de/index.html
-share/doc/html/cups/documentation.html
-share/doc/html/cups/es/documentation.html
-share/doc/html/cups/es/images/accept-jobs.gif
-share/doc/html/cups/es/images/add-class.gif
-share/doc/html/cups/es/images/add-printer.gif
-share/doc/html/cups/es/images/cancel-job.gif
-share/doc/html/cups/es/images/config-printer.gif
-share/doc/html/cups/es/images/continue.gif
-share/doc/html/cups/es/images/delete-class.gif
-share/doc/html/cups/es/images/delete-printer.gif
-share/doc/html/cups/es/images/hold-job.gif
-share/doc/html/cups/es/images/manage-classes.gif
-share/doc/html/cups/es/images/manage-jobs.gif
-share/doc/html/cups/es/images/manage-printers.gif
-share/doc/html/cups/es/images/modify-class.gif
-share/doc/html/cups/es/images/modify-printer.gif
-share/doc/html/cups/es/images/navbar.gif
-share/doc/html/cups/es/images/print-test-page.gif
-share/doc/html/cups/es/images/reject-jobs.gif
-share/doc/html/cups/es/images/release-job.gif
-share/doc/html/cups/es/images/restart-job.gif
-share/doc/html/cups/es/images/set-as-default.gif
-share/doc/html/cups/es/images/show-active.gif
-share/doc/html/cups/es/images/show-completed.gif
-share/doc/html/cups/es/images/start-class.gif
-share/doc/html/cups/es/images/start-printer.gif
-share/doc/html/cups/es/images/stop-class.gif
-share/doc/html/cups/es/images/stop-printer.gif
-share/doc/html/cups/es/index.html
-share/doc/html/cups/fr/cups.css
-share/doc/html/cups/fr/cupsdoc.css
-share/doc/html/cups/fr/documentation.html
-share/doc/html/cups/fr/images/accept-jobs.gif
-share/doc/html/cups/fr/images/add-class.gif
-share/doc/html/cups/fr/images/add-printer.gif
-share/doc/html/cups/fr/images/cancel-job.gif
-share/doc/html/cups/fr/images/config-printer.gif
-share/doc/html/cups/fr/images/continue.gif
-share/doc/html/cups/fr/images/delete-class.gif
-share/doc/html/cups/fr/images/delete-printer.gif
-share/doc/html/cups/fr/images/hold-job.gif
-share/doc/html/cups/fr/images/manage-classes.gif
-share/doc/html/cups/fr/images/manage-jobs.gif
-share/doc/html/cups/fr/images/manage-printers.gif
-share/doc/html/cups/fr/images/modify-class.gif
-share/doc/html/cups/fr/images/modify-printer.gif
-share/doc/html/cups/fr/images/navbar.gif
-share/doc/html/cups/fr/images/print-test-page.gif
-share/doc/html/cups/fr/images/reject-jobs.gif
-share/doc/html/cups/fr/images/release-job.gif
-share/doc/html/cups/fr/images/restart-job.gif
-share/doc/html/cups/fr/images/show-active.gif
-share/doc/html/cups/fr/images/show-completed.gif
-share/doc/html/cups/fr/images/start-class.gif
-share/doc/html/cups/fr/images/start-printer.gif
-share/doc/html/cups/fr/images/stop-class.gif
-share/doc/html/cups/fr/images/stop-printer.gif
-share/doc/html/cups/fr/index.html
-share/doc/html/cups/fr/overview.html
-share/doc/html/cups/fr/overview.pdf
-share/doc/html/cups/fr/sam.html
-share/doc/html/cups/fr/sam.pdf
-share/doc/html/cups/fr/sum.html
-share/doc/html/cups/fr/sum.pdf
-share/doc/html/cups/idd.html
-share/doc/html/cups/idd.pdf
-share/doc/html/cups/images/accept-jobs.gif
-share/doc/html/cups/images/add-class.gif
-share/doc/html/cups/images/add-printer.gif
-share/doc/html/cups/images/cancel-job.gif
-share/doc/html/cups/images/classes.gif
-share/doc/html/cups/images/config-printer.gif
-share/doc/html/cups/images/continue.gif
-share/doc/html/cups/images/cups-block-diagram.gif
-share/doc/html/cups/images/cups-large.gif
-share/doc/html/cups/images/cups-medium.gif
-share/doc/html/cups/images/cups-small.gif
-share/doc/html/cups/images/delete-class.gif
-share/doc/html/cups/images/delete-printer.gif
-share/doc/html/cups/images/hold-job.gif
-share/doc/html/cups/images/left.gif
-share/doc/html/cups/images/logo.gif
-share/doc/html/cups/images/manage-classes.gif
-share/doc/html/cups/images/manage-jobs.gif
-share/doc/html/cups/images/manage-printers.gif
-share/doc/html/cups/images/modify-class.gif
-share/doc/html/cups/images/modify-printer.gif
-share/doc/html/cups/images/navbar.gif
-share/doc/html/cups/images/print-test-page.gif
-share/doc/html/cups/images/printer-idle.gif
-share/doc/html/cups/images/printer-processing.gif
-share/doc/html/cups/images/printer-stopped.gif
-share/doc/html/cups/images/reject-jobs.gif
-share/doc/html/cups/images/release-job.gif
-share/doc/html/cups/images/restart-job.gif
-share/doc/html/cups/images/right.gif
-share/doc/html/cups/images/set-as-default.gif
-share/doc/html/cups/images/show-active.gif
-share/doc/html/cups/images/show-completed.gif
-share/doc/html/cups/images/start-class.gif
-share/doc/html/cups/images/start-printer.gif
-share/doc/html/cups/images/stop-class.gif
-share/doc/html/cups/images/stop-printer.gif
-share/doc/html/cups/index.html
-share/doc/html/cups/ipp.html
-share/doc/html/cups/ipp.pdf
-share/doc/html/cups/overview.html
-share/doc/html/cups/overview.pdf
-share/doc/html/cups/robots.txt
-share/doc/html/cups/sam.html
-share/doc/html/cups/sam.pdf
-share/doc/html/cups/sdd.html
-share/doc/html/cups/sdd.pdf
-share/doc/html/cups/spm.html
-share/doc/html/cups/spm.pdf
-share/doc/html/cups/sps.html
-share/doc/html/cups/sps.pdf
-share/doc/html/cups/ssr.html
-share/doc/html/cups/ssr.pdf
-share/doc/html/cups/stp.html
-share/doc/html/cups/stp.pdf
-share/doc/html/cups/sum.html
-share/doc/html/cups/sum.pdf
-share/doc/html/cups/svd.html
-share/doc/html/cups/svd.pdf
-share/doc/html/cups/translation.html
-share/doc/html/cups/translation.pdf
+share/doc/cups/be/documentation.html
+share/doc/cups/be/images/accept-jobs.gif
+share/doc/cups/be/images/add-class.gif
+share/doc/cups/be/images/add-printer.gif
+share/doc/cups/be/images/cancel-job.gif
+share/doc/cups/be/images/config-printer.gif
+share/doc/cups/be/images/continue.gif
+share/doc/cups/be/images/delete-class.gif
+share/doc/cups/be/images/delete-printer.gif
+share/doc/cups/be/images/hold-job.gif
+share/doc/cups/be/images/manage-classes.gif
+share/doc/cups/be/images/manage-jobs.gif
+share/doc/cups/be/images/manage-printers.gif
+share/doc/cups/be/images/modify-class.gif
+share/doc/cups/be/images/modify-printer.gif
+share/doc/cups/be/images/navbar.gif
+share/doc/cups/be/images/print-test-page.gif
+share/doc/cups/be/images/reject-jobs.gif
+share/doc/cups/be/images/release-job.gif
+share/doc/cups/be/images/restart-job.gif
+share/doc/cups/be/images/show-active.gif
+share/doc/cups/be/images/show-completed.gif
+share/doc/cups/be/images/start-class.gif
+share/doc/cups/be/images/start-printer.gif
+share/doc/cups/be/images/stop-class.gif
+share/doc/cups/be/images/stop-printer.gif
+share/doc/cups/be/index.html
+share/doc/cups/cmp.html
+share/doc/cups/cmp.pdf
+share/doc/cups/cups.css
+share/doc/cups/cupsdoc.css
+share/doc/cups/de/documentation.html
+share/doc/cups/de/images/accept-jobs.gif
+share/doc/cups/de/images/add-class.gif
+share/doc/cups/de/images/add-printer.gif
+share/doc/cups/de/images/cancel-job.gif
+share/doc/cups/de/images/config-printer.gif
+share/doc/cups/de/images/continue.gif
+share/doc/cups/de/images/delete-class.gif
+share/doc/cups/de/images/delete-printer.gif
+share/doc/cups/de/images/hold-job.gif
+share/doc/cups/de/images/manage-classes.gif
+share/doc/cups/de/images/manage-jobs.gif
+share/doc/cups/de/images/manage-printers.gif
+share/doc/cups/de/images/modify-class.gif
+share/doc/cups/de/images/modify-printer.gif
+share/doc/cups/de/images/navbar.gif
+share/doc/cups/de/images/print-test-page.gif
+share/doc/cups/de/images/reject-jobs.gif
+share/doc/cups/de/images/release-job.gif
+share/doc/cups/de/images/restart-job.gif
+share/doc/cups/de/images/show-active.gif
+share/doc/cups/de/images/show-completed.gif
+share/doc/cups/de/images/start-class.gif
+share/doc/cups/de/images/start-printer.gif



Home | Main Index | Thread Index | Old Index