CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

graphics/gd 2.3.3_13,1

Graphics library for fast creation of images

Port info

Maintainer
dinoex@FreeBSD.org
Packages
latest: 2.3.3_13,1
Upstream
up to date
Last update
to 2.3.3_13,1 · 974099d0bd
Quarterly
2026Q4: 2.3.3_13,1
Formerly
graphics/gd-nox11 until 2003-08-19, graphics/gd2 until 2003-08-19
WWW
https://libgd.github.io/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install libgd
installs 2.3.3_13,1 from latest; from quarterly (2026Q4) 2.3.3_13,1
Port
# cd /usr/ports/graphics/gd && make install clean
# make -C /usr/ports/graphics/gd config  # change options first
Size
223 KiB download · 1.6 MiB installed
Depends on
graphics/jpeg-turbo 3.1.4.1, graphics/png 1.6.59_1, graphics/tiff 4.7.2, graphics/webp 1.6.0, print/freetype2 2.14.3, x11-fonts/fontconfig 2.18.3,1
License
MIT
Options
7 of 13 on in the package: FONTCONFIG FREETYPE ICONV JPEG PNG TIFF WEBP
Show the 6 options that are off
AVIF HEIF LIQ RAQM THREADS XPM

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.3.3_13,12.3.3_13,1–
FreeBSD 152.3.3_13,12.3.3_13,1–
FreeBSD 142.3.3_13,12.3.3_13,12.3.3_13,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.3.3_13,12.3.3_13,1–
FreeBSD 142.3.3_13,12.3.3_13,12.3.3_13,1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2.3.3_13,1.

Fixed (2)

Show 2 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (213)

Dirk Meyer (dinoex) · 2.0.34,1
- update to 2.0.34 - new MASTER_SITES - use smaller distfile (.bz2) - new option WITH_FONTCONFIG - new option WITH_ICONV - removed gdImageCreateFromGifSource   this breaks old version of php*-gd PR:		109149 Submitted by:	Phil Oleson

- fix gdtest
- remove gdImageLzw*, gdImageBigGif*
  this breaks old version of perl5-GD
- extend feature info
b81ee0e870
Dirk Meyer (dinoex) · 2.0.33_4,1
- use USE_LDCONFIG
b2cb5e3dc8
Dirk Meyer (dinoex) · 2.0.33_4,1
- extend functions for use with newer perl-GD Submitted by:	Tim Baur
5e83403421
Dirk Meyer (dinoex) · 2.0.33_3,1
- add SHA checksum
ec997a9574
Dirk Meyer (dinoex) · 2.0.33_3,1
- extends feature list for gdlib-config PR:		88272 Submitted by:	Helge Oldach
4ff3c3c37d
Volker Stolz (vs) · 2.0.33_3,1
Install missing header (bump PORTREV)

Approved by: dinoex (maintainer)
a66e124060
Dirk Meyer (dinoex) · 2.0.33_2,1
- add gdlib-config PR:		86574
667cd824ea
Dirk Meyer (dinoex) · 2.0.33_1,1
http://people.freebsd.org/~josef/stuff/patch-gd_png.c - fixes allocation bug for webpng (RT Ticket #159) Submitted by:	josef
b3180215a4
Dirk Meyer (dinoex) · 2.0.33,1
- update to 2.0.33
044ab71480
Dirk Meyer (dinoex) · 2.0.28_1,1
- Security patches to match 2.0.33

- drop X-less Xpm support
  (no longer supported by the distribution)
394025cc21
Sergei Kolobov (sergei) · 2.0.28,1
- Restore PORTEPOCH

Poiny hat to:	dinoex
ef22d3cf88
Dirk Meyer (dinoex) · 2.0.28
- update to 2.0.28 drop patch-gdft.c, as it won't apply after 2.0.25
b449deb25b
Dirk Meyer (dinoex) · 2.0.25,1
- update to 2.0.24 67144 Dan Lukes

- update to 2.0.25
3f83cb361c
Dirk Meyer (dinoex) · 2.0.22,1
- quote CC in MAKE_ARGS PR:		65103 Submitted by:	Michael Johnson
76b7a01e5e
Dirk Meyer (dinoex) · 2.0.22,1
- use PKGNAMESUFFIX when made with WITHOUT_X11
30d25e15e1
Dirk Meyer (dinoex) · 2.0.22,1
- update to 2.0.22 - Fix comatibility ABI - add missing includes
945c3b3d93
Dirk Meyer (dinoex) · 2.0.17,1
- update to 2.0.17 - fix freetype include problems
c3e2021256
Dirk Meyer (dinoex) · 2.0.15_1,1
- add SIZE
c600b83191
Dirk Meyer (dinoex) · 2.0.15_1,1
- ressurrect missing configure script from http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/gd/scripts/Attic/configure

Problem noted by: ldivil@smartsolutions.ru

- set SCRIPTDIR to save an extra directory
fa94392e8d
Dirk Meyer (dinoex) · 2.0.15_1,1
- Fix MASTER_SITES
81ee3c10fb
Dirk Meyer (dinoex) · 2.0.15_1,1
- take maintainership
ca27c348e1
Norikatsu Shigemura (nork) · 2.0.15_1,1
Resurrect PORTEPOCH accidentally removed in last commit.

Reported by:	ume (counterattack)
bb7551d5b5
Norikatsu Shigemura (nork) · 2.0.15_1
o Main modification   graphics/gd(based on 1.8.4)    -> graphics/gd1   graphics/gd2(based on 2.0.15)  -> graphics/gd   graphics/p5-GD(based on 1.41)  -> graphics/p5-GD1   graphics/p5-GD2(based on 2.07) -> graphics/p5-GD   japanese/gd                    -> japanese/gd1   japanese/gd2                   -> japanese/gd o Include some feature   WITH_XPM(w/, w/o WITHOUT_X11) o Chase this modification o 

PR:		ports/54540
Submitted by:	Ports Fury
Approved by:	maintainer (blanket)
Reported by:	bento via kris [1]
efb928619b
Norikatsu Shigemura (nork) · 1.8.4_7,1
o Change library name from libgd to libgd1. o Do not install everything except headers and libraries   (to avoid conflicting with graphics/gd2) o Fix dependency on new libgd1(for many ports).

PR:		ports/54100
Submitted by:	Ports Fury
99a390f50b
Daichi GOTO (daichi) · 2.0.15 · as graphics/gd2
update graphics/gd2: build fail with CFLAGS of /etc/make.conf

Submitted by:	KATO Tsuguru <tkato@prontomail.com>
Pointed out by:	Jon Noack <noackjr@alumni.rice.edu>
8eb67910e2
Daichi GOTO (daichi) · 2.0.15 · as graphics/gd2
fix graphics/gd2: gd2/Makefile change to compile gd-nox11 correctly

Submitted by:	KATO Tsuguru <tkato@prontomail.com>
Pointed out by:	Jon Noack <noackjr@alumni.rice.edu>
7b679a0523
Daichi GOTO (daichi) · 2.0.15 · as graphics/gd2
update graphics/gd2: 2.0.12 -> 2.0.15

PR:		54101
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
f5d41a577c
Norikatsu Shigemura (nork) · 1.8.4_6,1
Back out previous commit & Bump PORTEPOCH.

Pointy hat to:	daichi
Submitted by:	many many people
30f68fa24b
Dirk Meyer (dinoex) · as graphics/gd-nox11
- slave port to graphics/gd needed for packaging without installing all of X11 after update gd to 2.0.x you need X11 to install webalizer or mod_php4
49c5bc0b09
Daichi GOTO (daichi) · 2.0.15
update graphics/gd: 1.8.4 --> 2.0.15

PR:		53582
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
49dd747184
Daichi GOTO (daichi) · 2.0.12_1 · as graphics/gd2
update graphics/gd2: 2.0.11 --> 2.0.12

PR:		52235
Submitted by:	Mathieu Arnold <m@absolight.net> (maintainer)
4e408d2956
Andrey A. Chernov (ache) · 2.0.11_1 · as graphics/gd2
Restore LZW knob, not expired yet in Europe and Japan. Autoenable it, if USA_RESIDENT == YES
cc1b5a1cae
Andrey A. Chernov (ache) · 2.0.11_1 · as graphics/gd2
LZW patent expired, remove license knob
49a59e2301
Ying-Chieh Liao (ijliao) · 2.0.11 · as graphics/gd2
upgrade to 2.0.11

Submitted by:	Mikhail Teterin <mi+mx@aldan.algebra.com>
bf9d8d81b3
Akinori MUSHA (knu) · 1.8.4_6
De-pkg-comment.
98f8f27a86
Mikhail Teterin (mi) · 2.0.1_3 · as graphics/gd2
If the alternative set of fonts was requested, _add_ the build-dependency on Perl instead of setting it (and do it using the new USE_PERL_BUILD knob). This fixes ukrainian/gd, which is the only sattelite of this port at the moment.

Submitted by:	bento
Approved by:	portmgr (kris)
53692c87ec
Mario Sergio Fujikawa Ferreira (lioux) · 1.8.4_6
o Rollback PORTCOMMENT modifications while this feature's implementation   is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
f0a1969d34
Adam Weinberger (adamw) · 1.8.4_6
Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
d9611f9375
Ying-Chieh Liao (ijliao) · 2.0.1_3 · as graphics/gd2
make message clear

PR:		43111
Submitted by:	Jason Li <delphij@frontfree.net>
7b7eb05076
David W. Chapman Jr. (dwcjr) · 1.8.4_6
${PERL} -> ${REINPLACE_CMD}

PR:		40784
Submitted by:	corecode@corecode.ath.cx
Reviewed by:	flynn@energyhq.homeip.net
534fffca27
Patrick Li (pat) · 2.0.1_3 · as graphics/gd2
Fix typo that breaks patching

PR:		ports/40675
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
c68db51b8a
Mikhail Teterin (mi) · 2.0.1_3 · as graphics/gd2
Avoid using Perl in the default case, and BUILD_DEPEND on it if the alternative fonts are specified. Using USE_PERL seems to cause run-time dependency as well, which is bogus in this case.

Also, use explicit PATH to bsd.*.mk -- for some reasons, just
make -f bsd.prog.mk no longer works... See the PR's history.

PR:	ports/40479
2f7b4d7b2b
Ying-Chieh Liao (ijliao) · 2.0.1_3 · as graphics/gd2
Improved GIF support. New GIF output functions, w/ or w/o LZW compression. LZW compression is OFF by default to make the package legal in US and Canada.

Updated documentation

PR:		37455
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
c8bfa7715b
Ying-Chieh Liao (ijliao) · 1.8.4_6
bzip2 -> ${BZIP2_CMD}
d2b9a0ba5b
Dmitry Sivachenko (demon) · 1.8.4_6
Correct a typo.
990304ae5e
Akinori MUSHA (knu) · 1.8.4_6
Bump PORTREVISION after the freetype2 shlib major update.
3ea570b04f
Mikhail Teterin (mi) · 2.0.1_1 · as graphics/gd2
Obey    hier(7)    by    installing    the    include    files    into ${LOCALBASE}/include, rather than include/gd. Each file is named gd*.h anyway. Bump  the PORTREVISION.  Other ports  should be  fine, because the  have  the  -I${LOCALBASE}/include  anyway, but  should  keep  the -I${LOCALBASE}/include/gd for a while too.
dc7fc838ed