head 1.17; access; symbols pkgsrc-2026Q1:1.17.0.2 pkgsrc-2026Q1-base:1.17 pkgsrc-2025Q4:1.16.0.6 pkgsrc-2025Q4-base:1.16 pkgsrc-2025Q3:1.16.0.4 pkgsrc-2025Q3-base:1.16 pkgsrc-2025Q2:1.16.0.2 pkgsrc-2025Q2-base:1.16 pkgsrc-2025Q1:1.15.0.6 pkgsrc-2025Q1-base:1.15 pkgsrc-2024Q4:1.15.0.4 pkgsrc-2024Q4-base:1.15 pkgsrc-2024Q3:1.15.0.2 pkgsrc-2024Q3-base:1.15 pkgsrc-2024Q2:1.14.0.6 pkgsrc-2024Q2-base:1.14 pkgsrc-2024Q1:1.14.0.4 pkgsrc-2024Q1-base:1.14 pkgsrc-2023Q4:1.14.0.2 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.13.0.4 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.13.0.2 pkgsrc-2023Q2-base:1.13 pkgsrc-2023Q1:1.12.0.24 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.22 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.20 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.18 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.16 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.14 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.12 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.10 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.8 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.6 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.4 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.2 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.11.0.2 pkgsrc-2020Q1-base:1.11 pkgsrc-2019Q4:1.10.0.44 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.40 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.38 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.36 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.34 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.32 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.30 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.28 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.26 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.24 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.20 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.18 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.16 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.14 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.10.0.12 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.10 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.8 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.6 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.4 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.2 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.9.0.6 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.4 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.2 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.7.0.6 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.4 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.2 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.2.0.6 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.4 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.2 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.17 date 2026.03.10.20.40.57; author wiz; state Exp; branches; next 1.16; commitid P9yH2T43POTpctxG; 1.16 date 2025.05.04.11.19.20; author nia; state Exp; branches; next 1.15; commitid 6TgjucbydiQv4ATF; 1.15 date 2024.09.18.23.02.59; author nia; state Exp; branches; next 1.14; commitid tTvHV4bovc8eilqF; 1.14 date 2023.12.21.10.46.15; author nros; state Exp; branches; next 1.13; commitid vTK8auxr8xPEXjRE; 1.13 date 2023.06.06.12.41.31; author riastradh; state Exp; branches; next 1.12; commitid xhspr6Z8JLQOWSrE; 1.12 date 2020.06.05.12.49.07; author jperkin; state Exp; branches; next 1.11; commitid pgIAzOApZQche2bC; 1.11 date 2020.01.07.20.25.14; author sevan; state Exp; branches; next 1.10; commitid bJ5uJpXJfuYEzNRB; 1.10 date 2015.01.16.09.35.43; author wiz; state Exp; branches; next 1.9; commitid luJfGooxRT6goe6y; 1.9 date 2014.05.31.15.56.27; author wiz; state Exp; branches; next 1.8; commitid TwWauuYi4Q3JSHCx; 1.8 date 2014.05.15.14.16.11; author adam; state Exp; branches; next 1.7; commitid fdeThOFpISAGQDAx; 1.7 date 2013.08.31.18.41.33; author adam; state Exp; branches; next 1.6; commitid AqjCS4xPS1bWzD3x; 1.6 date 2013.07.05.13.47.53; author ryoon; state Exp; branches; next 1.5; commitid psstPAFA2I0PMhWw; 1.5 date 2013.05.31.12.41.06; author wiz; state Exp; branches; next 1.4; commitid hIeXGcx6VfKHwMRw; 1.4 date 2012.10.06.14.10.52; author asau; state Exp; branches; next 1.3; 1.3 date 2012.10.03.21.56.09; author wiz; state Exp; branches; next 1.2; 1.2 date 2012.02.15.11.08.46; author obache; state Exp; branches; next 1.1; 1.1 date 2011.09.06.18.45.46; author drochner; state Exp; branches; next ; desc @@ 1.17 log @giflib*: update to 6.1.2 Version 6.1.2 ============= Code Fixes ---------- * Fix for low-severity CVE-2026-23868 affecting gifponge, giftool, and gifbuild, but not the core library - library clients need not be alarned. Version 6.1.1 ============= This release bumps the major version, but only one entry point - EGifSpew() - has changed signature and behavior (in order to be able to pass out a detailed error code). The internal error codes in the E_GIF_ERR series have changed value so none of them collides with GIF_ERROR. This code has been systematically audited and hardened wuth ChatGPT-5.2. The only library fixes reported by users or found by robot were for some memory leaks that could only triggered by severely malformed GIFs. Other bugs are edge-case failures in the CLI tools. The gif2rbg CLI tool has been moved to the "obsolete" bin, because its only deployment case in 2026 is as a piñata at fuzzer parties. Warning: the CLI tools in the obsolete category will soon be removed from the distribution entirely. The maintainer is tired of fielding junk bugs filed against them by would-be coup-counters who found yet another edge case, and the rest of the world doesn't need noisy CVEs that aren't actually DoS or security issues for giflib clients. Code Fixes ---------- * Fix for CVE-2021-40633. * Fix SF bug #165 EGifSpew leaks GifFileOut->SColorMap * Fix SF bug #171 ImageMagick required to build giflib on non-Darwin Platforms * Fix SF bug #172 Incorrect object files in shared libutil on darwin * Fix SF bug #173 installation of manual pages and html documentation * Fix SF bug #175 Memory leaks in gifecho.c's main() and in gifalloc.c's GifMakeMapObject * Fix SF bug #177 wrong pointer used in giftool getbool * Fix SF bug #179 Path Traversal vulnerability * Fix SF bug #180: -Wformat-truncation likely pointing out an actual bug * Fix SF bug #182 out‐of‐bounds writes in Icon2Gif * Fix SF bug #184 uninitialized buffer in DumpScreen2RGB * Fix SF bug #185 integer overflow in gifbg.c * Fix SF bug #186 integer overflow in Icon2Gif * Fix SF bug #187: CVE-2025-31344 * Fix SF bug #170 Tests failing on Ubuntu Noble, giftext buffer overflow * Fix SF bug #165 EGifSpew leaks GifFileOut->SColorMap * Fix SF bug #162 detected memory leaks in GifMakeSavedImage giflib/gifalloc.c * Fix SF bug #161 detected memory leaks in EGifOpenFileHandle giflib/egif_lib.c * Fix SF bug #142 ABI break public symbol GifQuantizeBuffer Other bugs that duplicate these have breen addressesed by these fixes * SF bug #156 EGifSpew leaks SavedImages (and more); won't fix, caller might want to write a GIF, modify the in-memory data, then write again. Tests ----- Test suite now emits TAP (Test Anything Protocol). @ text @# $NetBSD: Makefile,v 1.16 2025/05/04 11:19:20 nia Exp $ .include "../../graphics/giflib/Makefile.common" PKGNAME= ${DISTNAME:S/-/-util-/} COMMENT= GIF image format utility CONFLICTS+= libungif-[0-9]* TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto INSTALL_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} HTMLDIR= share/doc/giflib INSTALLATION_DIRS= ${HTMLDIR} ${HTMLDIR}/gifstandard \ ${HTMLDIR}/whatsinagif \ ${PKGMANDIR}/man1 INSTALL_TARGET= install-bin post-install: cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html \ ${DESTDIR}${PREFIX}/${HTMLDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} *.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 cd ${WRKSRC}/doc/gifstandard && ${INSTALL_DATA} *.txt \ ${DESTDIR}${PREFIX}/${HTMLDIR}/gifstandard cd ${WRKSRC}/doc/whatsinagif && ${INSTALL_DATA} *.html *.gif \ ${DESTDIR}${PREFIX}/${HTMLDIR}/whatsinagif .include "../../graphics/giflib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.16 log @giflib: Apply patch for CVE-2025-31344 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2024/09/18 23:02:59 nia Exp $ a5 1 PKGREVISION= 1 @ 1.15 log @giflib[-util]: Update to 5.2.2. Libtoolize. This is a point release intended to clear up a couple of CVEs and apply point fixes that have been accumulating since 5.2.1 There are a few unresolved (but minor) memory leaks related to design issues in the API that still need to be resolved. Expect those fixes in the next release. Code Fixes ---------- * Fixes for CVE-2023-48161, CVE-2022-28506, * Address SF issue #138 Documentation for obsolete utilities still installed * Address SF issue #139: Typo in "LZW image data" page ("110_2 = 4_10") * Address SF issue #140: Typo in "LZW image data" page ("LWZ") * Address SF issue #141: Typo in "Bits and bytes" page ("filed") * Note as already fixed SF issue #143: cannot compile under mingw * Address SF issue #144: giflib-5.2.1 cannot be build on windows and other platforms using c89 * Address SF issue #145: Remove manual pages installation for binaries that are not installed too * Address SF issue #146: [PATCH] Limit installed man pages to binaries, move giflib to section 7 * Address SF issue #147 [PATCH] Fixes to doc/whatsinagif/ content * Address SF issue #148: heap Out of Bound Read in gif2rgb.c:298 DumpScreen2RGB * Declared no-info on SF issue #150: There is a denial of service vulnerability in GIFLIB 5.2.1 * Declared Won't-fix on SF issue 149: Out of source builds no longer possible * Address SF issue #151: A heap-buffer-overflow in gif2rgb.c:294:45 * Address SF issue #152: Fix some typos on the html documentation and man pages * Address SF issue #153: Fix segmentation faults due to non correct checking for args * Address SF issue #154: Recover the giffilter manual page * Address SF issue #155: Add gifsponge docs * Address SF issue #157: An OutofMemory-Exception or Memory Leak in gif2rgb * Address SF issue #158: There is a null pointer problem in gif2rgb * Address SF issue #159 A heap-buffer-overflow in GIFLIB5.2.1 DumpScreen2RGB() in gif2rgb.c:298:45 * Address SF issue #163: detected memory leaks in openbsd_reallocarray giflib/openbsd-reallocarray.c * Address SF issue #164: detected memory leaks in GifMakeMapObject giflib/gifalloc.c * Address SF issue #166: a read zero page leads segment fault in getarg.c and memory leaks in gif2rgb.c and gifmalloc.c * Address SF issue #167: Heap-Buffer Overflow during Image Saving in DumpScreen2RGB Function at Line 321 of gif2rgb.c @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2023/12/21 10:46:15 nros Exp $ d6 1 @ 1.14 log @giflib-util: Fix manpage installation when custom PKGMANDIR is set @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2023/06/06 12:41:31 riastradh Exp $ a2 1 PKGREVISION= 1 d17 2 a18 1 ${HTMLDIR}/whatsinagif a20 1 INSTALL_TARGET+= install-man d24 2 @ 1.13 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/06/05 12:49:07 jperkin Exp $ d14 2 @ 1.12 log @*: Apply revbump for graphics/giflib API change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/01/07 20:25:14 sevan Exp $ d12 1 a12 1 BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto @ 1.11 log @Update to giflib/giflib-util 5.2.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2015/01/16 09:35:43 wiz Exp $ d3 1 @ 1.10 log @Update giflib* to 5.1.1: Version 5.1.1 ============= Code Fixes ---------- * Numerous minor fixes in getarg.c. Affects only the utilities, not the core library. * Fix SourceForge bug #59 DGifOpen can segfault if DGifGetScreenDesc fails. * SourceForge patch #20: In gifalloc, fix usage of realloc() in case of failure. * Fix SourceForge bug #61 Leak in gifsponge. Build Fixes ---------- * glibtoolize port fix for OS X. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2014/05/31 15:56:27 wiz Exp $ a12 1 BUILD_DIRS+= util doc d14 2 a15 1 INSTALLATION_DIRS= ${HTMLDIR} ${HTMLDIR}/whatsinagif d17 2 d20 1 a20 1 cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.txt \ d22 2 @ 1.9 log @libungif is not relevant any longer since the GIF relevant patents expired (about 10 years ago). Unconditionally switch to libgif. As discussed on tech-pkg without dissent. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2014/05/15 14:16:11 adam Exp $ a5 1 PKGREVISION= 1 @ 1.8 log @Version 5.1.0 ============= Changes to the API require a library major-version bump. Code Fixes ---------- * A small change to the API: DGifClose() and EGifClose() now take a pointer-to-int second argument (like the corresponding openers) where a diagnostic code will be deposited when they return GIF_ERROR. This replaces the old behavior in which the GifFile structure was left unfreed so the Error member in it could be filled and remain available. The change was was required because it's not always possible to free the struct afterwards. Case in point is a C# wrapper for giflib (or any language/environment where you can't just free objects allocated in a foreign shared library.) * Minor fix for SF bug 56; BitsPerPixel may be left as uninitialized value when reading (truncated) gif. * Applied SF patch 17: Use a fallback on Windows where mkstemp is not available. * Applied SF patch 15: Code hardening, preventing spurious defective-image messages. Retirements ----------- * Removed gif2raw from utils. Its blithe assumption that the EGA16 palette is a reliable default is now about 20 years obsolete. Format conversion is better done with convert(1) from the ImageMagick suite, anyway. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2013/08/31 18:41:33 adam Exp $ d6 1 d24 1 a24 4 .include "../../mk/giflib.buildlink3.mk" .if ${GIFLIB_IMPLEMENTATION} == "libungif" PKG_FAIL_REASON= "please use graphics/libungif" .endif @ 1.7 log @Changes 5.0.5: This release sets the error return properly when a screen descriptor read fails, and fixes minor API documentation bugs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2013/07/05 13:47:53 ryoon Exp $ d18 1 a18 1 cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt \ d20 1 a20 1 cd ${WRKSRC}/doc/whatsinagif; ${INSTALL_DATA} *.html *.gif \ @ 1.6 log @Update to 5.0.4. * Sync with giflib 5.0.4. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.5 2013/05/31 12:41:06 wiz Exp $ # d5 1 a5 1 PKGNAME= giflib-util-5.0.4 d13 2 a14 2 BUILD_DIRS+= util doc HTMLDIR= share/doc/html/giflib @ 1.5 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2012/10/06 14:10:52 asau Exp $ d6 1 a6 2 PKGNAME= giflib-util-4.1.6 PKGREVISION= 2 d12 1 a12 2 USE_TOOLS+= perl:run REPLACE_PERL+= util/gifburst d14 3 a16 10 INSTALL_DIRS+= util doc HTMLDIR= ${PREFIX}/share/doc/html/giflib post-patch: ${RM} ${WRKSRC}/doc/gif2x11.html do-build: (cd ${WRKSRC}/lib && ${SETENV} ${BUILD_ENV} ${MAKE} libgetarg.a) (cd ${WRKSRC}/util && ${SETENV} ${BUILD_ENV} ${MAKE}) (cd ${WRKSRC}/doc && ${SETENV} ${BUILD_ENV} ${MAKE}) d19 4 a22 2 ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DESTDIR}${HTMLDIR} @ 1.4 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2012/10/03 21:56:09 wiz Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.3 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/02/15 11:08:46 obache Exp $ a11 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.2 log @Move common settings for giflib to Makefile.common @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2011/09/06 18:45:46 drochner Exp $ d7 1 @ 1.1 log @split giflib into 2 pkgs: one for the lib, one for cmd line utils @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2011/01/18 11:57:53 drochner Exp $ d4 2 a5 1 DISTNAME= giflib-4.1.6 a6 8 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://giflib.sourceforge.net/ COMMENT= GIF image format library LICENSE= mit d8 1 a8 2 PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo a12 3 GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ d32 3 @