pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gd gd: updated to 2.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de53bc41330f
branches:  trunk
changeset: 413919:de53bc41330f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 23 07:10:53 2020 +0000

description:
gd: updated to 2.3.0

2.3.0:
Security
Potential double-free in gdImage*Ptr(). (CVE-2019-6978)
gdImageColorMatch() out of bounds write on heap. (CVE-2019-6977)
Uninitialized read in gdImageCreateFromXbm(). (CVE-2019-11038)
Double-free in gdImageBmp. (CVE-2018-1000222)
Potential NULL pointer dereference in gdImageClone(). (CVE-2018-14553)
Potential infinite loop in gdImageCreateFromGifCtx(). (CVE-2018-5711)

Fixed
Fix: add codecov support
Fix: gdTransformAffineCopy run error
Fix: Install dependencies move to .travis.yml
Fix: gdTransformAffineCopy() segfaults on palette images
Fix: gdTransformAffineCopy() changes interpolation method
Fix: gdImageSetInterpolationMethod(im, GD_DEFAULT) inconsistent
Fix: gdTransformAffineCopy() may use unitialized values
Fix: Remove cmake modules
Fix: Add RAQM support for cmake
Fix: gdImageGifAnimAddPtr: heap corruption with 2 identical images
Fix: gdImageCropAuto(?, GD_CROP_SIDES) crops left but not right
Fix: auto cropping has insufficient precision
Fix: Provide a suitable malloc function to liq
Fix: libtiff link returns 404 HTTP code
Fix: Failed to open 1 bit per pixel bitmap
Fix: new_width & new_height exception handling
Fix: gdImageCrop neglecting transparency
Fix: Potential infinite loop in gdImageCreateFromGifCtx
Fix: gd_gd.c format documentation appears to be incorrect
Fix: Fix new_a init error in gdImageConvolution()
Fix: gdImageFilledArc() doesn't properly draw pies
Fix: Fatal and normal libjpeg/libpng errors not distinguishable
Fix: Update var type to hold bigger w&h for ellipse
Fix: update doc files install directory in CMakeLists.txt
Correct some test depend errors
Update cmake min version to 3.7
Delete libimagequant source code download action in CMakeLists.txt
Improve msys support
Fix some logic error in CMakeLists.txt
Remove the following macro: HAVE_STDLIB_H, HAVE_STRING_H, HAVE_STDDEF_H, HAVE_LIMITS_H, HAVE_ERRNO_H, AC_C_CONST

Added
test cases for following API: gdImageCopyResized(), gdImageWebpEx(), gdImageCreateFromGd2PartPtr(), gdImageCloneMatch(), gdImageColorClosestHWB(), gdImageColorMatch(), gdImageStringUp(), 
gdImageStringUp16(), gdImageString(), gdImageString16(), gdImageCopyMergeGray(), gdImageCopyMerge()

diffstat:

 graphics/gd/Makefile      |  15 +++++----------
 graphics/gd/PLIST         |   3 +--
 graphics/gd/buildlink3.mk |   6 +++---
 graphics/gd/distinfo      |  14 +++++---------
 4 files changed, 14 insertions(+), 24 deletions(-)

diffs (98 lines):

diff -r b90e0966d385 -r de53bc41330f graphics/gd/Makefile
--- a/graphics/gd/Makefile      Mon Mar 23 02:32:27 2020 +0000
+++ b/graphics/gd/Makefile      Mon Mar 23 07:10:53 2020 +0000
@@ -1,23 +1,17 @@
-# $NetBSD: Makefile,v 1.123 2019/11/02 22:37:57 rillig Exp $
+# $NetBSD: Makefile,v 1.124 2020/03/23 07:10:53 adam Exp $
 
-DISTNAME=      libgd-2.2.5
+DISTNAME=      libgd-2.3.0
 PKGNAME=       ${DISTNAME:S/libgd/gd/}
-PKGREVISION=   5
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libgd/}
+GITHUB_PROJECT=        libgd
+GITHUB_RELEASE=        gd-${PKGVERSION_NOREV}
 EXTRACT_SUFX=  .tar.xz
 
-PATCH_SITES=           ${MASTER_SITE_GITHUB:=libgd/libgd/commit/}
-PATCHFILES=            4b1e18a00ce7c4b7e6919c3b3109a034393b805a.patch
-PATCH_DIST_STRIP=      -p1
-
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      https://libgd.github.io/
 COMMENT=       Graphics library for the dynamic creation of images
 
-GITHUB_PROJECT=        libgd
-GITHUB_RELEASE=        gd-${PKGVERSION_NOREV}
-
 .include "options.mk"
 
 USE_LIBTOOL=           yes
@@ -33,6 +27,7 @@
 CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}
 REPLACE_PERL+=         src/bdftogd
 PTHREAD_AUTO_VARS=     yes
+TEST_TARGET=           check
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff -r b90e0966d385 -r de53bc41330f graphics/gd/PLIST
--- a/graphics/gd/PLIST Mon Mar 23 02:32:27 2020 +0000
+++ b/graphics/gd/PLIST Mon Mar 23 07:10:53 2020 +0000
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2013/09/02 21:17:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2020/03/23 07:10:53 adam Exp $
 bin/annotate
 bin/bdftogd
 bin/gd2copypal
 bin/gd2togif
 bin/gd2topng
 bin/gdcmpgif
-bin/gdlib-config
 bin/gdparttopng
 bin/gdtopng
 bin/giftogd2
diff -r b90e0966d385 -r de53bc41330f graphics/gd/buildlink3.mk
--- a/graphics/gd/buildlink3.mk Mon Mar 23 02:32:27 2020 +0000
+++ b/graphics/gd/buildlink3.mk Mon Mar 23 07:10:53 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.44 2018/09/10 13:34:16 kim Exp $
+# $NetBSD: buildlink3.mk,v 1.45 2020/03/23 07:10:53 adam Exp $
 
 BUILDLINK_TREE+=       gd
 
@@ -14,11 +14,11 @@
 pkgbase := gd
 .include "../../mk/pkg-build-options.mk"
 
-.if !empty(PKG_BUILD_OPTIONS.gd:Mtiff)
+.if ${PKG_BUILD_OPTIONS.gd:Mtiff}
 .include "../../graphics/tiff/buildlink3.mk"
 .endif
 
-.if !empty(PKG_BUILD_OPTIONS.gd:Mx11)
+.if ${PKG_BUILD_OPTIONS.gd:Mx11}
 .include "../../x11/libXpm/buildlink3.mk"
 .endif
 
diff -r b90e0966d385 -r de53bc41330f graphics/gd/distinfo
--- a/graphics/gd/distinfo      Mon Mar 23 02:32:27 2020 +0000
+++ b/graphics/gd/distinfo      Mon Mar 23 07:10:53 2020 +0000
@@ -1,11 +1,7 @@
-$NetBSD: distinfo,v 1.47 2018/09/10 13:34:16 kim Exp $
+$NetBSD: distinfo,v 1.48 2020/03/23 07:10:53 adam Exp $
 
-SHA1 (4b1e18a00ce7c4b7e6919c3b3109a034393b805a.patch) = 3e063656c754229b56137f8213e726ff976043c0
-RMD160 (4b1e18a00ce7c4b7e6919c3b3109a034393b805a.patch) = b1bf60fa82dd125f9440547e75ab27be40ffa720
-SHA512 (4b1e18a00ce7c4b7e6919c3b3109a034393b805a.patch) = d94e4bf09e450936d2946292deee0223614a9c4461a2b8e0509e67f82ae191deabe0e1007b92fa17c99704a00085f08110cf04a4869e1b1af837a1931180737f
-Size (4b1e18a00ce7c4b7e6919c3b3109a034393b805a.patch) = 2561 bytes
-SHA1 (libgd-2.2.5.tar.xz) = b777b005c401b6fa310ccf09eeb29f6c6e17ab2c
-RMD160 (libgd-2.2.5.tar.xz) = 1c20f719161da596dac6c5c5b92bde71ddc9aedb
-SHA512 (libgd-2.2.5.tar.xz) = e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b
-Size (libgd-2.2.5.tar.xz) = 2594092 bytes
+SHA1 (libgd-2.3.0.tar.xz) = ec75c84aa6326a7ade3302d5c18471f440b2ca1e
+RMD160 (libgd-2.3.0.tar.xz) = c490d426083763bb6fc678da98a4bf6b26dc2bdb
+SHA512 (libgd-2.3.0.tar.xz) = 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a
+Size (libgd-2.3.0.tar.xz) = 2539188 bytes
 SHA1 (patch-src_gd__xbm.c) = 948942243b97a8e96838447ea1325a28ac8c828a



Home | Main Index | Thread Index | Old Index