diff options
author | wiz <wiz@pkgsrc.org> | 2015-07-01 15:31:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-07-01 15:31:34 +0000 |
commit | 1bb05bbf7fd0a7042a84097cedc3809a03315f07 (patch) | |
tree | 65dc01e16721e3ca76d5e31f6c93d4386ececff7 /print | |
parent | 1a4418f7118ac936c95ad996052ced0243115ae2 (diff) | |
download | pkgsrc-1bb05bbf7fd0a7042a84097cedc3809a03315f07.tar.gz |
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).
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-filters/Makefile | 4 | ||||
-rw-r--r-- | print/cups-filters/distinfo | 10 | ||||
-rw-r--r-- | print/cups-filters/patches/patch-configure.ac | 35 | ||||
-rw-r--r-- | print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c | 18 |
4 files changed, 6 insertions, 61 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 705df2af422..c97a0f406dd 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.23 2015/07/01 15:31:34 wiz Exp $ -DISTNAME= cups-filters-1.0.69 +DISTNAME= cups-filters-1.0.70 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..869a4938b93 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.18 2015/07/01 15:31:34 wiz 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.70.tar.xz) = ec0969c66627f3770554ed73453c0fbbeb377ad8 +RMD160 (cups-filters-1.0.70.tar.xz) = 69d7461dd62917b2c7155f11a6d3df46d0b72c6a +Size (cups-filters-1.0.70.tar.xz) = 1338076 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) - { |