pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/gd



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Mar 23 07:10:53 UTC 2020

Modified Files:
        pkgsrc/graphics/gd: Makefile PLIST buildlink3.mk distinfo

Log Message:
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()


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 pkgsrc/graphics/gd/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/gd/PLIST
cvs rdiff -u -r1.44 -r1.45 pkgsrc/graphics/gd/buildlink3.mk
cvs rdiff -u -r1.47 -r1.48 pkgsrc/graphics/gd/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/gd/Makefile
diff -u pkgsrc/graphics/gd/Makefile:1.123 pkgsrc/graphics/gd/Makefile:1.124
--- pkgsrc/graphics/gd/Makefile:1.123   Sat Nov  2 22:37:57 2019
+++ pkgsrc/graphics/gd/Makefile Mon Mar 23 07:10:53 2020
@@ -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-webp=${BUILDLINK
 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"

Index: pkgsrc/graphics/gd/PLIST
diff -u pkgsrc/graphics/gd/PLIST:1.7 pkgsrc/graphics/gd/PLIST:1.8
--- pkgsrc/graphics/gd/PLIST:1.7        Mon Sep  2 21:17:42 2013
+++ pkgsrc/graphics/gd/PLIST    Mon Mar 23 07:10:53 2020
@@ -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

Index: pkgsrc/graphics/gd/buildlink3.mk
diff -u pkgsrc/graphics/gd/buildlink3.mk:1.44 pkgsrc/graphics/gd/buildlink3.mk:1.45
--- pkgsrc/graphics/gd/buildlink3.mk:1.44       Mon Sep 10 13:34:16 2018
+++ pkgsrc/graphics/gd/buildlink3.mk    Mon Mar 23 07:10:53 2020
@@ -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 @@ BUILDLINK_PKGSRCDIR.gd?=    ../../graphics/
 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
 

Index: pkgsrc/graphics/gd/distinfo
diff -u pkgsrc/graphics/gd/distinfo:1.47 pkgsrc/graphics/gd/distinfo:1.48
--- pkgsrc/graphics/gd/distinfo:1.47    Mon Sep 10 13:34:16 2018
+++ pkgsrc/graphics/gd/distinfo Mon Mar 23 07:10:53 2020
@@ -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