Sun Jul 9 20:02:28 2017 UTC ()
1.3.26:

Security Fixes:
---------------
DPX: Fix excessive use of memory (DOS issue) due to file header claiming large image dimensions but insufficient backing data. (CVE-2017-10799).
JNG: Fix memory leak when reading invalid JNG image (CVE-2017-8350).
MAT: Fix excessive use of memory (DOS issue) due to continuing processing with insufficient data and claimed large image size. Verify each file extent to make sure that it is within range of file size. (CVE-2017-10800).
META: Fix heap overflow while parsing 8BIM chunk (CVE-2016-7800).
PCX: Fix denial of service issue.
RLE: Fix abnomally slow operation (denial of service issue) with intentionally corrupt colormapped file.
PICT: Fix possible buffer overflow vulnerability given suitably truncated input file.
PNG: Enforce spec requirement that the dimensions of the JPEG embedded in a JDAT chunk must match the JHDR dimensions (CVE-2016-9830).
PNG: Avoid NULL dereference when MAGN chunk processing fails.
SCT: Fix stack-buffer read overflow (underflow?) while reading SCT header.
SGI: Fix denial of service issues. Delay large memory allocations until file header has fully passed sanity checks.
TIFF: Fix out of bounds read when reading CMYKA TIFF which claims to have only 2 samples per pixel (CVE-2017-6335).
TIFF: Fix out of bounds read when reading RGB TIFF which claims to have only 1 sample per pixel (CVE-2017-10794).
WPG: Fix heap overflow (CVE-2016-7996). Fix assertion crash (CVE-2016-7997).

Bug fixes:
----------
DifferenceImage(): Fix Fix all-black difference image if an input file is colormapped.
EXIF orientation was not being properly detected for some files.
-frame: The import command -frame handling was improperly implemented and was using already freed data.
GIF: Fixes for "Excessive LZW string data" problem.
Magick++: Bug fixes to PathSmoothCurvetoRel::operator() and PathSmoothCurvetoRel::operator().
PAM: Support writing GRAYSCALE PAM format.
PNG: Fix memory leaks.
SVG: Fixed a memory leak. Fixed a possible null pointer dereference.
TclMagick: Problem that TkMagick could not resolve functions from TclMagick under Linux is fixed.
TclMagick: Fix parser validatation in magickCmd() to avoid crash given a syntax error.
TIFF: Fix for reading old JPEG files (avoids "Improper call to JPEG library in state 0. (LibJpeg).").
TXT: Fixed memory leak.
XCF: Error checking is improved.

New Features:
-------------
EXIF rotation: Support is added such that the EXIF orientation tag is updated when the image is rotated.
MAT: Now support reading multiple images from Matlab V4 format.
Magick++: Orientation method now updates orientation in EXIF profile, if it exists.
Magick++: Added Image attribute method which accepts a 'char *' argument, and will remove the attribute if the value argument is NULL.
-orient: The -orient command line option now also updates the orientation in the EXIF profile, if it exists.
PGX: Support PGX JPEG 2000 format for reading and writing (within the bounds of what JasPer supports).
Wand API: Added MagickAutoOrientImage(), MagickGetImageOrientation(), MagickSetImageOrientation(), MagickRemoveImageOption(), and MagickClearException().


(adam)
diff -r1.80 -r1.81 pkgsrc/graphics/GraphicsMagick/Makefile
diff -r1.16 -r1.17 pkgsrc/graphics/GraphicsMagick/Makefile.common
diff -r1.24 -r1.25 pkgsrc/graphics/GraphicsMagick/PLIST
diff -r1.42 -r1.43 pkgsrc/graphics/GraphicsMagick/distinfo
diff -r1.30 -r1.31 pkgsrc/graphics/p5-GraphicsMagick/Makefile

cvs diff -r1.80 -r1.81 pkgsrc/graphics/GraphicsMagick/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/Makefile 2017/03/09 10:47:24 1.80
+++ pkgsrc/graphics/GraphicsMagick/Makefile 2017/07/09 20:02:28 1.81
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.80 2017/03/09 10:47:24 jperkin Exp $ 1# $NetBSD: Makefile,v 1.81 2017/07/09 20:02:28 adam Exp $
2 2
3PKGREVISION= 2 
4.include "Makefile.common" 3.include "Makefile.common"
5 4
6MAINTAINER= pkgsrc-users@NetBSD.org 5MAINTAINER= pkgsrc-users@NetBSD.org
7HOMEPAGE= http://www.graphicsmagick.org/ 6HOMEPAGE= http://www.graphicsmagick.org/
8COMMENT= X application for displaying and manipulating images 7COMMENT= X application for displaying and manipulating images
9LICENSE= mit 8LICENSE= mit
10 9
11DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts 10DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts
12 11
13USE_LANGUAGES= c c++ 12USE_LANGUAGES= c c++
14USE_LIBTOOL= yes 13USE_LIBTOOL= yes
15USE_TOOLS+= gmake pkg-config:run gs:run 14USE_TOOLS+= gmake pkg-config:run gs:run
16USE_FEATURES= vsnprintf # optional but recommended for security 15USE_FEATURES= vsnprintf # optional but recommended for security

cvs diff -r1.16 -r1.17 pkgsrc/graphics/GraphicsMagick/Makefile.common (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/Makefile.common 2017/01/19 18:52:11 1.16
+++ pkgsrc/graphics/GraphicsMagick/Makefile.common 2017/07/09 20:02:28 1.17
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile.common,v 1.16 2017/01/19 18:52:11 agc Exp $ 1# $NetBSD: Makefile.common,v 1.17 2017/07/09 20:02:28 adam Exp $
2# used by graphics/GraphicsMagick/Makefile 2# used by graphics/GraphicsMagick/Makefile
3# used by graphics/p5-GraphicsMagick/Makefile 3# used by graphics/p5-GraphicsMagick/Makefile
4 4
5GM_MAJOR_VER= 1.3 5GM_MAJOR_VER= 1.3
6GM_MINOR_VER= 25 6GM_MINOR_VER= 26
7DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER} 7DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER}
8DISTNAME= GraphicsMagick-${DISTVERSION} 8DISTNAME= GraphicsMagick-${DISTVERSION}
9CATEGORIES= graphics 9CATEGORIES= graphics
10MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/} 10MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/}
11MASTER_SITES+= ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${GM_MAJOR_VER}/ 11MASTER_SITES+= ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${GM_MAJOR_VER}/
12EXTRACT_SUFX= .tar.xz 12EXTRACT_SUFX= .tar.xz
13 13
14DISTINFO_FILE= ${.CURDIR}/../../graphics/GraphicsMagick/distinfo 14DISTINFO_FILE= ${.CURDIR}/../../graphics/GraphicsMagick/distinfo
15#FILESDIR= ${.CURDIR}/../../graphics/GraphicsMagick/files 15#FILESDIR= ${.CURDIR}/../../graphics/GraphicsMagick/files
16PATCHDIR= ${.CURDIR}/../../graphics/GraphicsMagick/patches 16PATCHDIR= ${.CURDIR}/../../graphics/GraphicsMagick/patches

cvs diff -r1.24 -r1.25 pkgsrc/graphics/GraphicsMagick/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/PLIST 2016/09/07 06:29:31 1.24
+++ pkgsrc/graphics/GraphicsMagick/PLIST 2017/07/09 20:02:28 1.25
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.24 2016/09/07 06:29:31 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.25 2017/07/09 20:02:28 adam Exp $
2bin/GraphicsMagick++-config 2bin/GraphicsMagick++-config
3bin/GraphicsMagick-config 3bin/GraphicsMagick-config
4bin/GraphicsMagickWand-config 4bin/GraphicsMagickWand-config
5bin/gm 5bin/gm
6include/GraphicsMagick/Magick++.h 6include/GraphicsMagick/Magick++.h
7include/GraphicsMagick/Magick++/Blob.h 7include/GraphicsMagick/Magick++/Blob.h
8include/GraphicsMagick/Magick++/CoderInfo.h 8include/GraphicsMagick/Magick++/CoderInfo.h
9include/GraphicsMagick/Magick++/Color.h 9include/GraphicsMagick/Magick++/Color.h
10include/GraphicsMagick/Magick++/Drawable.h 10include/GraphicsMagick/Magick++/Drawable.h
11include/GraphicsMagick/Magick++/Exception.h 11include/GraphicsMagick/Magick++/Exception.h
12include/GraphicsMagick/Magick++/Geometry.h 12include/GraphicsMagick/Magick++/Geometry.h
13include/GraphicsMagick/Magick++/Image.h 13include/GraphicsMagick/Magick++/Image.h
14include/GraphicsMagick/Magick++/Include.h 14include/GraphicsMagick/Magick++/Include.h
@@ -224,26 +224,27 @@ share/doc/GraphicsMagick/www/ChangeLog-2 @@ -224,26 +224,27 @@ share/doc/GraphicsMagick/www/ChangeLog-2
224share/doc/GraphicsMagick/www/ChangeLog-2003.html 224share/doc/GraphicsMagick/www/ChangeLog-2003.html
225share/doc/GraphicsMagick/www/ChangeLog-2004.html 225share/doc/GraphicsMagick/www/ChangeLog-2004.html
226share/doc/GraphicsMagick/www/ChangeLog-2005.html 226share/doc/GraphicsMagick/www/ChangeLog-2005.html
227share/doc/GraphicsMagick/www/ChangeLog-2006.html 227share/doc/GraphicsMagick/www/ChangeLog-2006.html
228share/doc/GraphicsMagick/www/ChangeLog-2007.html 228share/doc/GraphicsMagick/www/ChangeLog-2007.html
229share/doc/GraphicsMagick/www/ChangeLog-2008.html 229share/doc/GraphicsMagick/www/ChangeLog-2008.html
230share/doc/GraphicsMagick/www/ChangeLog-2009.html 230share/doc/GraphicsMagick/www/ChangeLog-2009.html
231share/doc/GraphicsMagick/www/ChangeLog-2010.html 231share/doc/GraphicsMagick/www/ChangeLog-2010.html
232share/doc/GraphicsMagick/www/ChangeLog-2011.html 232share/doc/GraphicsMagick/www/ChangeLog-2011.html
233share/doc/GraphicsMagick/www/ChangeLog-2012.html 233share/doc/GraphicsMagick/www/ChangeLog-2012.html
234share/doc/GraphicsMagick/www/ChangeLog-2013.html 234share/doc/GraphicsMagick/www/ChangeLog-2013.html
235share/doc/GraphicsMagick/www/ChangeLog-2014.html 235share/doc/GraphicsMagick/www/ChangeLog-2014.html
236share/doc/GraphicsMagick/www/ChangeLog-2015.html 236share/doc/GraphicsMagick/www/ChangeLog-2015.html
 237share/doc/GraphicsMagick/www/ChangeLog-2016.html
237share/doc/GraphicsMagick/www/Changelog.html 238share/doc/GraphicsMagick/www/Changelog.html
238share/doc/GraphicsMagick/www/Changes.html 239share/doc/GraphicsMagick/www/Changes.html
239share/doc/GraphicsMagick/www/Copyright.html 240share/doc/GraphicsMagick/www/Copyright.html
240share/doc/GraphicsMagick/www/FAQ.html 241share/doc/GraphicsMagick/www/FAQ.html
241share/doc/GraphicsMagick/www/GraphicsMagick.html 242share/doc/GraphicsMagick/www/GraphicsMagick.html
242share/doc/GraphicsMagick/www/Hg.html 243share/doc/GraphicsMagick/www/Hg.html
243share/doc/GraphicsMagick/www/INSTALL-unix.html 244share/doc/GraphicsMagick/www/INSTALL-unix.html
244share/doc/GraphicsMagick/www/INSTALL-windows.html 245share/doc/GraphicsMagick/www/INSTALL-windows.html
245share/doc/GraphicsMagick/www/ImageMagickObject.html 246share/doc/GraphicsMagick/www/ImageMagickObject.html
246share/doc/GraphicsMagick/www/Magick++/Blob.html 247share/doc/GraphicsMagick/www/Magick++/Blob.html
247share/doc/GraphicsMagick/www/Magick++/Cache.png 248share/doc/GraphicsMagick/www/Magick++/Cache.png
248share/doc/GraphicsMagick/www/Magick++/ChangeLog.html 249share/doc/GraphicsMagick/www/Magick++/ChangeLog.html
249share/doc/GraphicsMagick/www/Magick++/CoderInfo.html 250share/doc/GraphicsMagick/www/Magick++/CoderInfo.html
@@ -359,21 +360,22 @@ share/doc/GraphicsMagick/www/magick.css @@ -359,21 +360,22 @@ share/doc/GraphicsMagick/www/magick.css
359share/doc/GraphicsMagick/www/miff.html 360share/doc/GraphicsMagick/www/miff.html
360share/doc/GraphicsMagick/www/mission.html 361share/doc/GraphicsMagick/www/mission.html
361share/doc/GraphicsMagick/www/mogrify.html 362share/doc/GraphicsMagick/www/mogrify.html
362share/doc/GraphicsMagick/www/montage.html 363share/doc/GraphicsMagick/www/montage.html
363share/doc/GraphicsMagick/www/motion-picture.html 364share/doc/GraphicsMagick/www/motion-picture.html
364share/doc/GraphicsMagick/www/perl.html 365share/doc/GraphicsMagick/www/perl.html
365share/doc/GraphicsMagick/www/process.html 366share/doc/GraphicsMagick/www/process.html
366share/doc/GraphicsMagick/www/programming.html 367share/doc/GraphicsMagick/www/programming.html
367share/doc/GraphicsMagick/www/project.html 368share/doc/GraphicsMagick/www/project.html
368share/doc/GraphicsMagick/www/quantize.html 369share/doc/GraphicsMagick/www/quantize.html
369share/doc/GraphicsMagick/www/reference.html 370share/doc/GraphicsMagick/www/reference.html
370share/doc/GraphicsMagick/www/security.html 371share/doc/GraphicsMagick/www/security.html
371share/doc/GraphicsMagick/www/smile.c 372share/doc/GraphicsMagick/www/smile.c
 373share/doc/GraphicsMagick/www/thanks.html
372share/doc/GraphicsMagick/www/time.html 374share/doc/GraphicsMagick/www/time.html
373share/doc/GraphicsMagick/www/tools.html 375share/doc/GraphicsMagick/www/tools.html
374share/doc/GraphicsMagick/www/utilities.html 376share/doc/GraphicsMagick/www/utilities.html
375share/doc/GraphicsMagick/www/version.html 377share/doc/GraphicsMagick/www/version.html
376share/doc/GraphicsMagick/www/wand/drawing_wand.html 378share/doc/GraphicsMagick/www/wand/drawing_wand.html
377share/doc/GraphicsMagick/www/wand/magick_wand.html 379share/doc/GraphicsMagick/www/wand/magick_wand.html
378share/doc/GraphicsMagick/www/wand/pixel_wand.html 380share/doc/GraphicsMagick/www/wand/pixel_wand.html
379share/doc/GraphicsMagick/www/wand/wand.html 381share/doc/GraphicsMagick/www/wand/wand.html

cvs diff -r1.42 -r1.43 pkgsrc/graphics/GraphicsMagick/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/distinfo 2016/09/07 06:29:31 1.42
+++ pkgsrc/graphics/GraphicsMagick/distinfo 2017/07/09 20:02:28 1.43
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.42 2016/09/07 06:29:31 wiz Exp $ 1$NetBSD: distinfo,v 1.43 2017/07/09 20:02:28 adam Exp $
2 2
3SHA1 (GraphicsMagick-1.3.25.tar.xz) = 0dcf4c1f6f3ead29147ea0392a148ce50cd64bb4 3SHA1 (GraphicsMagick-1.3.26.tar.xz) = 2cc885d1b157996aa14c98e34f7aa17815d00c41
4RMD160 (GraphicsMagick-1.3.25.tar.xz) = 6a4e8c415c3d268a46f1327c819d7ec2afd9bc60 4RMD160 (GraphicsMagick-1.3.26.tar.xz) = 3dd490364c3e4498c308c38b26a0fe41cf4e81f2
5SHA512 (GraphicsMagick-1.3.25.tar.xz) = d62d6aee96d7b8444f1aa206b0c5cbbed9511612cb71d667af072ea52b68dcd11088699debc58faacbb014ad83fb8c2b3e474220f506069f7b5d22f0340f8ef8 5SHA512 (GraphicsMagick-1.3.26.tar.xz) = b33ca0f1c858428693aee27a9089acff9e63d1110f85fa036894cfefe6274e7b2422758ea39852f94fdb4823c9c3f3c44b0d8906627503301f5928096f739f22
6Size (GraphicsMagick-1.3.25.tar.xz) = 5387880 bytes 6Size (GraphicsMagick-1.3.26.tar.xz) = 5400564 bytes
7SHA1 (patch-config_delegates.mgk.in) = c7a38daeeccd12e19480d1222e400899da1d4153 7SHA1 (patch-config_delegates.mgk.in) = c7a38daeeccd12e19480d1222e400899da1d4153

cvs diff -r1.30 -r1.31 pkgsrc/graphics/p5-GraphicsMagick/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/p5-GraphicsMagick/Makefile 2017/06/05 14:24:01 1.30
+++ pkgsrc/graphics/p5-GraphicsMagick/Makefile 2017/07/09 20:02:28 1.31
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.30 2017/06/05 14:24:01 ryoon Exp $ 1# $NetBSD: Makefile,v 1.31 2017/07/09 20:02:28 adam Exp $
2 2
3PKGREVISION= 1 
4.include "../../graphics/GraphicsMagick/Makefile.common" 3.include "../../graphics/GraphicsMagick/Makefile.common"
5 4
6PKGNAME= p5-GraphicsMagick-${DISTVERSION} 5PKGNAME= p5-GraphicsMagick-${DISTVERSION}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.graphicsmagick.org/perl.html 8HOMEPAGE= http://www.graphicsmagick.org/perl.html
10COMMENT= Object-oriented Perl interface to GraphicMagick 9COMMENT= Object-oriented Perl interface to GraphicMagick
11LICENSE= mit 10LICENSE= mit
12 11
13USE_LIBTOOL= yes 12USE_LIBTOOL= yes
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
15CONFIGURE_ARGS+= --with-perl=${PERL5:Q} 14CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
16 15