summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2015-07-08 19:47:19 +0000
committertron <tron>2015-07-08 19:47:19 +0000
commit56ed1b300be298160631d6326fed1a91231b39da (patch)
treefa72dc6fc2fdbcd77cb4763d4f86b11582dac51d
parenta002f809db0f677bfc4d4680dc4a88d039d9597f (diff)
downloadpkgsrc-56ed1b300be298160631d6326fed1a91231b39da.tar.gz
Pullup ticket #4757 - requested by wiz
print/cups-filters: security update Revisions pulled up: - print/cups-filters/Makefile 1.23-1.24 - print/cups-filters/distinfo 1.18-1.19 - print/cups-filters/patches/patch-configure.ac deleted - print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c deleted --- Module Name: pkgsrc Committed By: wiz Date: Wed Jul 1 15:31:34 UTC 2015 Modified Files: pkgsrc/print/cups-filters: Makefile distinfo Removed Files: pkgsrc/print/cups-filters/patches: patch-configure.ac patch-filter_foomatic-rip_foomaticrip.c Log Message: Update to 1.0.70, provided by Leonardo Taccari in PR 50013: Changes: - texttopdf: Fixed buffer overflow on size allocation of texttopdf when working with extremely small line sizes, which causes the size calculation to result in 0 (CVE-2015-3258, thanks to Stefan Cornelius fro Red Hat for the patch). - cups-browsed: leak fixes - cups-browsed: Further BrowseAllow fixing - cups-browsed: BrowsePoll is an array of pointers, not structures, so allocate room for the pointers - cups-browsed: Prevent NULL dereference when handling BrowseAllow without value - cups-browsed: Use memory deallocation function corresponding to allocation function used - cups-browsed: Fixes for glib source handling (Red Hat bug #1228555) - foomatic-rip: Allow using another shell than /bin/bash using the "--with-shell=..." option for "./configure". Thanks to Leonardo Taccari for the patch (Bug #1288). --- Module Name: pkgsrc Committed By: wiz Date: Fri Jul 3 12:25:13 UTC 2015 Modified Files: pkgsrc/print/cups-filters: Makefile distinfo Log Message: Update to 1.0.71: CHANGES IN V1.0.71 - texttopdf: The Page allocation is moved into textcommon.c, where it does all the necessary checking: lower-bounds for CVE-2015-3258 and upper-bounds for CVE-2015-3259 due to integer overflows for the calloc() call initialising Page[0] and the memset() call in texttopdf.c's WritePage() function zeroing the entire array. Thanks to Tim Waugh from Red Hat for the patch. - texttopdf: Upper-bounds checking (CVE-2015-3259).
-rw-r--r--print/cups-filters/Makefile4
-rw-r--r--print/cups-filters/distinfo10
-rw-r--r--print/cups-filters/patches/patch-configure.ac35
-rw-r--r--print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c18
4 files changed, 6 insertions, 61 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile
index 705df2af422..3eda8e72297 100644
--- a/print/cups-filters/Makefile
+++ b/print/cups-filters/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2015/06/14 16:08:04 wiz Exp $
+# $NetBSD: Makefile,v 1.22.2.1 2015/07/08 19:47:19 tron Exp $
-DISTNAME= cups-filters-1.0.69
+DISTNAME= cups-filters-1.0.71
CATEGORIES= print
MASTER_SITES= http://openprinting.org/download/cups-filters/
EXTRACT_SUFX= .tar.xz
diff --git a/print/cups-filters/distinfo b/print/cups-filters/distinfo
index 640a070b214..e2cb1133b42 100644
--- a/print/cups-filters/distinfo
+++ b/print/cups-filters/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.17 2015/06/14 16:08:04 wiz Exp $
+$NetBSD: distinfo,v 1.17.2.1 2015/07/08 19:47:19 tron Exp $
-SHA1 (cups-filters-1.0.69.tar.xz) = c3d5cdbc0c7805c6a415ea05cdd7fd8b50f808b6
-RMD160 (cups-filters-1.0.69.tar.xz) = dea1d54539957a060456a6cfe98e52a23a80b575
-Size (cups-filters-1.0.69.tar.xz) = 1338548 bytes
-SHA1 (patch-configure.ac) = 4b5243c4c31541e7d44ff2d049cd5a42bc7a2267
-SHA1 (patch-filter_foomatic-rip_foomaticrip.c) = cd916bf6c211b14305c311b6ad63bd0881030b09
+SHA1 (cups-filters-1.0.71.tar.xz) = c08258c086d4a6edf5869fc29676280ad0c22b27
+RMD160 (cups-filters-1.0.71.tar.xz) = c5da92ce803f156b60e8b08bf1251fa1d06c315b
+Size (cups-filters-1.0.71.tar.xz) = 1339116 bytes
diff --git a/print/cups-filters/patches/patch-configure.ac b/print/cups-filters/patches/patch-configure.ac
deleted file mode 100644
index 119fdeaf622..00000000000
--- a/print/cups-filters/patches/patch-configure.ac
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.2 2015/06/14 16:08:04 wiz Exp $
-
-Add a --with-shell option in order to avoid hardcoding "/bin/bash" inside
-filter/foomaticrip.c.
-
-Fixed upstream as [Bug 1288]:
-https://bugs.linuxfoundation.org/show_bug.cgi?id=1288
-
---- configure.ac.orig 2015-04-13 14:47:41.000000000 +0000
-+++ configure.ac
-@@ -622,6 +622,16 @@ fi
- AC_SUBST(SED_EXTENDED_REGEX_OPT)
- AC_SUBST(CUPS_GHOSTSCRIPT)
-
-+# =========================================================
-+# Select a different shell instead of the default /bin/bash
-+# =========================================================
-+AC_ARG_WITH([shell],
-+ [AS_HELP_STRING([--with-shell=path], [Specify path for a modern shell.])],
-+ [with_shell="$withval"],
-+ [with_shell="/bin/bash"]
-+)
-+AC_DEFINE_UNQUOTED([SHELL], "$with_shell", [Path for a modern shell])]
-+
- # =====================
- # Prepare all .in files
- # =====================
-@@ -659,6 +669,7 @@ Build configuration:
- png: ${with_png}
- php: ${with_php}
- php-config: ${with_php_config}
-+ shell: ${with_shell}
- test-font: ${with_test_font_path}
- tiff: ${with_tiff}
- avahi: ${enable_avahi}
diff --git a/print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c b/print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c
deleted file mode 100644
index a3f67756c20..00000000000
--- a/print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-filter_foomatic-rip_foomaticrip.c,v 1.5 2015/06/14 16:08:04 wiz Exp $
-
-Adjust according the --with-shell option.
-
-Fixed upstream as [Bug 1288]:
-https://bugs.linuxfoundation.org/show_bug.cgi?id=1288
-
---- filter/foomatic-rip/foomaticrip.c.orig 2015-02-13 22:36:44.000000000 +0000
-+++ filter/foomatic-rip/foomaticrip.c
-@@ -174,7 +174,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/lo
- "/opt/cups/filter:"
- "/usr/lib/cups/filter";
-
--char modern_shell[64] = "/bin/bash";
-+char modern_shell[64] = SHELL;
-
- void config_set_option(const char *key, const char *value)
- {