summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/cups/Makefile5
-rw-r--r--print/cups/PLIST158
-rw-r--r--print/cups/distinfo9
-rw-r--r--print/cups/patches/patch-filter_image-gif.c36
4 files changed, 162 insertions, 46 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index 334575e2932..c2c1e313b1f 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.188 2012/02/06 12:41:20 wiz Exp $
+# $NetBSD: Makefile,v 1.189 2012/02/07 23:16:57 sbd 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,9 +6,8 @@
DISTNAME= cups-${DIST_VERS}-source
PKGNAME= cups-${DIST_VERS:S/-/./g}
-BASE_VERS= 1.5.0
+BASE_VERS= 1.5.2
DIST_VERS= ${BASE_VERS}
-PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
diff --git a/print/cups/PLIST b/print/cups/PLIST
index 9b0d51fe800..d7f7d7a920d 100644
--- a/print/cups/PLIST
+++ b/print/cups/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2011/11/13 21:49:17 sbd Exp $
+@comment $NetBSD: PLIST,v 1.38 2012/02/07 23:16:57 sbd Exp $
bin/cancel
bin/cups-config
bin/cupstestdsc
@@ -174,12 +174,23 @@ share/cups/fonts/Monospace
share/cups/fonts/Monospace-Bold
share/cups/fonts/Monospace-BoldOblique
share/cups/fonts/Monospace-Oblique
+share/cups/ipptool/color.jpg
share/cups/ipptool/create-printer-subscription.test
+share/cups/ipptool/document-a4.pdf
+share/cups/ipptool/document-a4.ps
+share/cups/ipptool/document-letter.pdf
+share/cups/ipptool/document-letter.ps
share/cups/ipptool/get-completed-jobs.test
share/cups/ipptool/get-jobs.test
+share/cups/ipptool/gray.jpg
share/cups/ipptool/ipp-1.1.test
share/cups/ipptool/ipp-2.0.test
share/cups/ipptool/ipp-2.1.test
+share/cups/ipptool/ipp-2.2.test
+share/cups/ipptool/onepage-a4.pdf
+share/cups/ipptool/onepage-a4.ps
+share/cups/ipptool/onepage-letter.pdf
+share/cups/ipptool/onepage-letter.ps
share/cups/ipptool/testfile.jpg
share/cups/ipptool/testfile.pdf
share/cups/ipptool/testfile.ps
@@ -425,10 +436,150 @@ share/cups/templates/eu/subscription-canceled.tmpl
share/cups/templates/eu/test-page.tmpl
share/cups/templates/eu/trailer.tmpl
share/cups/templates/eu/users.tmpl
+share/cups/templates/fr/add-class.tmpl
+share/cups/templates/fr/add-printer.tmpl
+share/cups/templates/fr/add-rss-subscription.tmpl
+share/cups/templates/fr/admin.tmpl
+share/cups/templates/fr/choose-device.tmpl
+share/cups/templates/fr/choose-make.tmpl
+share/cups/templates/fr/choose-model.tmpl
+share/cups/templates/fr/choose-serial.tmpl
+share/cups/templates/fr/choose-uri.tmpl
+share/cups/templates/fr/class-added.tmpl
+share/cups/templates/fr/class-confirm.tmpl
+share/cups/templates/fr/class-deleted.tmpl
+share/cups/templates/fr/class-jobs-header.tmpl
+share/cups/templates/fr/class-modified.tmpl
+share/cups/templates/fr/class.tmpl
+share/cups/templates/fr/classes-header.tmpl
+share/cups/templates/fr/classes.tmpl
+share/cups/templates/fr/command.tmpl
+share/cups/templates/fr/edit-config.tmpl
+share/cups/templates/fr/error-op.tmpl
+share/cups/templates/fr/error.tmpl
+share/cups/templates/fr/header.tmpl
+share/cups/templates/fr/help-header.tmpl
+share/cups/templates/fr/help-printable.tmpl
+share/cups/templates/fr/help-trailer.tmpl
+share/cups/templates/fr/job-cancel.tmpl
+share/cups/templates/fr/job-hold.tmpl
+share/cups/templates/fr/job-move.tmpl
+share/cups/templates/fr/job-moved.tmpl
+share/cups/templates/fr/job-release.tmpl
+share/cups/templates/fr/job-restart.tmpl
+share/cups/templates/fr/jobs-header.tmpl
+share/cups/templates/fr/jobs.tmpl
+share/cups/templates/fr/list-available-printers.tmpl
+share/cups/templates/fr/modify-class.tmpl
+share/cups/templates/fr/modify-printer.tmpl
+share/cups/templates/fr/norestart.tmpl
+share/cups/templates/fr/option-boolean.tmpl
+share/cups/templates/fr/option-conflict.tmpl
+share/cups/templates/fr/option-header.tmpl
+share/cups/templates/fr/option-pickmany.tmpl
+share/cups/templates/fr/option-pickone.tmpl
+share/cups/templates/fr/option-trailer.tmpl
+share/cups/templates/fr/pager.tmpl
+share/cups/templates/fr/printer-accept.tmpl
+share/cups/templates/fr/printer-added.tmpl
+share/cups/templates/fr/printer-configured.tmpl
+share/cups/templates/fr/printer-confirm.tmpl
+share/cups/templates/fr/printer-default.tmpl
+share/cups/templates/fr/printer-deleted.tmpl
+share/cups/templates/fr/printer-jobs-header.tmpl
+share/cups/templates/fr/printer-modified.tmpl
+share/cups/templates/fr/printer-purge.tmpl
+share/cups/templates/fr/printer-reject.tmpl
+share/cups/templates/fr/printer-start.tmpl
+share/cups/templates/fr/printer-stop.tmpl
+share/cups/templates/fr/printer.tmpl
+share/cups/templates/fr/printers-header.tmpl
+share/cups/templates/fr/printers.tmpl
+share/cups/templates/fr/restart.tmpl
+share/cups/templates/fr/samba-export.tmpl
+share/cups/templates/fr/samba-exported.tmpl
+share/cups/templates/fr/search.tmpl
+share/cups/templates/fr/set-printer-options-header.tmpl
+share/cups/templates/fr/set-printer-options-trailer.tmpl
+share/cups/templates/fr/subscription-added.tmpl
+share/cups/templates/fr/subscription-canceled.tmpl
+share/cups/templates/fr/test-page.tmpl
+share/cups/templates/fr/trailer.tmpl
+share/cups/templates/fr/users.tmpl
share/cups/templates/header.tmpl
share/cups/templates/help-header.tmpl
share/cups/templates/help-printable.tmpl
share/cups/templates/help-trailer.tmpl
+share/cups/templates/hu/add-class.tmpl
+share/cups/templates/hu/add-printer.tmpl
+share/cups/templates/hu/add-rss-subscription.tmpl
+share/cups/templates/hu/admin.tmpl
+share/cups/templates/hu/choose-device.tmpl
+share/cups/templates/hu/choose-make.tmpl
+share/cups/templates/hu/choose-model.tmpl
+share/cups/templates/hu/choose-serial.tmpl
+share/cups/templates/hu/choose-uri.tmpl
+share/cups/templates/hu/class-added.tmpl
+share/cups/templates/hu/class-confirm.tmpl
+share/cups/templates/hu/class-deleted.tmpl
+share/cups/templates/hu/class-jobs-header.tmpl
+share/cups/templates/hu/class-modified.tmpl
+share/cups/templates/hu/class.tmpl
+share/cups/templates/hu/classes-header.tmpl
+share/cups/templates/hu/classes.tmpl
+share/cups/templates/hu/command.tmpl
+share/cups/templates/hu/edit-config.tmpl
+share/cups/templates/hu/error-op.tmpl
+share/cups/templates/hu/error.tmpl
+share/cups/templates/hu/header.tmpl
+share/cups/templates/hu/help-header.tmpl
+share/cups/templates/hu/help-printable.tmpl
+share/cups/templates/hu/help-trailer.tmpl
+share/cups/templates/hu/job-cancel.tmpl
+share/cups/templates/hu/job-hold.tmpl
+share/cups/templates/hu/job-move.tmpl
+share/cups/templates/hu/job-moved.tmpl
+share/cups/templates/hu/job-release.tmpl
+share/cups/templates/hu/job-restart.tmpl
+share/cups/templates/hu/jobs-header.tmpl
+share/cups/templates/hu/jobs.tmpl
+share/cups/templates/hu/list-available-printers.tmpl
+share/cups/templates/hu/modify-class.tmpl
+share/cups/templates/hu/modify-printer.tmpl
+share/cups/templates/hu/norestart.tmpl
+share/cups/templates/hu/option-boolean.tmpl
+share/cups/templates/hu/option-conflict.tmpl
+share/cups/templates/hu/option-header.tmpl
+share/cups/templates/hu/option-pickmany.tmpl
+share/cups/templates/hu/option-pickone.tmpl
+share/cups/templates/hu/option-trailer.tmpl
+share/cups/templates/hu/pager.tmpl
+share/cups/templates/hu/printer-accept.tmpl
+share/cups/templates/hu/printer-added.tmpl
+share/cups/templates/hu/printer-configured.tmpl
+share/cups/templates/hu/printer-confirm.tmpl
+share/cups/templates/hu/printer-default.tmpl
+share/cups/templates/hu/printer-deleted.tmpl
+share/cups/templates/hu/printer-jobs-header.tmpl
+share/cups/templates/hu/printer-modified.tmpl
+share/cups/templates/hu/printer-purge.tmpl
+share/cups/templates/hu/printer-reject.tmpl
+share/cups/templates/hu/printer-start.tmpl
+share/cups/templates/hu/printer-stop.tmpl
+share/cups/templates/hu/printer.tmpl
+share/cups/templates/hu/printers-header.tmpl
+share/cups/templates/hu/printers.tmpl
+share/cups/templates/hu/restart.tmpl
+share/cups/templates/hu/samba-export.tmpl
+share/cups/templates/hu/samba-exported.tmpl
+share/cups/templates/hu/search.tmpl
+share/cups/templates/hu/set-printer-options-header.tmpl
+share/cups/templates/hu/set-printer-options-trailer.tmpl
+share/cups/templates/hu/subscription-added.tmpl
+share/cups/templates/hu/subscription-canceled.tmpl
+share/cups/templates/hu/test-page.tmpl
+share/cups/templates/hu/trailer.tmpl
+share/cups/templates/hu/users.tmpl
share/cups/templates/id/add-class.tmpl
share/cups/templates/id/add-printer.tmpl
share/cups/templates/id/add-rss-subscription.tmpl
@@ -830,6 +981,7 @@ share/doc/cups/cups.css
share/doc/cups/de/index.html
share/doc/cups/es/index.html
share/doc/cups/eu/index.html
+share/doc/cups/fr/index.html
share/doc/cups/help/accounting.html
share/doc/cups/help/api-array.html
share/doc/cups/help/api-cgi.html
@@ -914,6 +1066,7 @@ share/doc/cups/help/spec-stp.html
share/doc/cups/help/standard.html
share/doc/cups/help/translation.html
share/doc/cups/help/whatsnew.html
+share/doc/cups/hu/index.html
share/doc/cups/id/index.html
share/doc/cups/images/color-wheel.png
share/doc/cups/images/cups-block-diagram.png
@@ -948,6 +1101,7 @@ share/locale/es/cups_es.po
share/locale/eu/cups_eu.po
share/locale/fi/cups_fi.po
share/locale/fr/cups_fr.po
+share/locale/hu/cups_hu.po
share/locale/id/cups_id.po
share/locale/it/cups_it.po
share/locale/ja/cups_ja.po
@@ -961,5 +1115,5 @@ share/locale/ru/cups_ru.po
share/locale/sv/cups_sv.po
share/locale/zh/cups_zh.po
share/locale/zh_TW/cups_zh_TW.po
-@pkgdir share/cups/profiles
@pkgdir share/cups/model
+@pkgdir share/cups/profiles
diff --git a/print/cups/distinfo b/print/cups/distinfo
index e9076191c8d..c84757e1700 100644
--- a/print/cups/distinfo
+++ b/print/cups/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.90 2011/12/21 08:57:11 sbd Exp $
+$NetBSD: distinfo,v 1.91 2012/02/07 23:16:57 sbd Exp $
-SHA1 (cups-1.5.0-source.tar.bz2) = 628f549867751e373fc20c7558fec422f9eb942b
-RMD160 (cups-1.5.0-source.tar.bz2) = e7be9b6b44428561609c59abaea8fa31a11aefff
-Size (cups-1.5.0-source.tar.bz2) = 4090210 bytes
+SHA1 (cups-1.5.2-source.tar.bz2) = 56fdb4f58e676607845321c0296c1e90e416883f
+RMD160 (cups-1.5.2-source.tar.bz2) = 98181e2ee8c6e574fb6d405f688f52c9b61a2355
+Size (cups-1.5.2-source.tar.bz2) = 9595665 bytes
SHA1 (patch-ac) = d99dfa6e71efdc5f069c2c3e73e1b29beebf5c9b
SHA1 (patch-ad) = a8d6610c4057ae98d98435ba577606e3c2bfb4b9
SHA1 (patch-ae) = 7806067b36fa1c98763cf51a14941665f590b816
@@ -16,6 +16,5 @@ SHA1 (patch-at) = bbda891ed0820e23fe7f6fe3dd5326eeda5b3b2e
SHA1 (patch-au) = 0d1d3cf255b996c96b0ea798f46b08523ef22a60
SHA1 (patch-conf_Makefile) = 9bb4106e9fecaed2ba9bb67b7989f2ac9a9494fc
SHA1 (patch-config-scripts_cups-gssapi.m4) = a3505afd30f0864e3022d8f65c810b9614d82cf4
-SHA1 (patch-filter_image-gif.c) = 2269cbf7e42ec80ba91c27eda4871884775f4b7a
SHA1 (patch-ppdc_Makefile) = 7dcc34217557a4c6f42064b61abf593bd7620b60
SHA1 (patch-scheduler_dirsvc.c) = 62c6b47522a60b9f8042421e4a9d25a5dfa47c47
diff --git a/print/cups/patches/patch-filter_image-gif.c b/print/cups/patches/patch-filter_image-gif.c
deleted file mode 100644
index 370e2c2504c..00000000000
--- a/print/cups/patches/patch-filter_image-gif.c
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-filter_image-gif.c,v 1.1 2011/08/28 07:22:12 sbd Exp $
-
-Use str3914.patch from STR #3914 to fix CVE-2011-3170
-
---- filter/image-gif.c.orig 2011-06-20 20:37:51.000000000 +0000
-+++ filter/image-gif.c
-@@ -648,11 +648,13 @@ gif_read_lzw(FILE *fp, /* I - File to
-
- if (code == max_code)
- {
-- *sp++ = firstcode;
-- code = oldcode;
-+ if (sp < (stack + 8192))
-+ *sp++ = firstcode;
-+
-+ code = oldcode;
- }
-
-- while (code >= clear_code)
-+ while (code >= clear_code && sp < (stack + 8192))
- {
- *sp++ = table[1][code];
- if (code == table[0][code])
-@@ -661,8 +663,10 @@ gif_read_lzw(FILE *fp, /* I - File to
- code = table[0][code];
- }
-
-- *sp++ = firstcode = table[1][code];
-- code = max_code;
-+ if (sp < (stack + 8192))
-+ *sp++ = firstcode = table[1][code];
-+
-+ code = max_code;
-
- if (code < 4096)
- {