notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details on branch 2025Q1
expat2 XML 1.0 parser written in C
2.9.0 textproc on this many watch lists=713 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.8.4Version of this port present on the latest quarterly branch.
Maintainer: desktop@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2000-10-24 06:51:38
Last Update: 2026-10-10 09:07:45
Commit Hash: 62a7a0b
People watching this port, also watch:: libiconv, gmake, gettext, freetype2, m4
License: MIT
WWW:
https://github.com/libexpat/libexpat
Description:
Expat is an XML 1.0 parser written in C. It aims to be fully conforming. It is currently not a validating XML processor.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (23 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/expat-2.9.0/catalog.mk
  3. /usr/local/share/licenses/expat-2.9.0/LICENSE
  4. /usr/local/share/licenses/expat-2.9.0/MIT
  5. bin/xmlwf
  6. include/expat.h
  7. include/expat_config.h
  8. include/expat_external.h
  9. lib/cmake/expat-2.9.0/expat-config-version.cmake
  10. lib/cmake/expat-2.9.0/expat-config.cmake
  11. lib/cmake/expat-2.9.0/expat-noconfig.cmake
  12. lib/cmake/expat-2.9.0/expat.cmake
  13. @comment lib/libexpat.a
  14. lib/libexpat.so
  15. lib/libexpat.so.1
  16. lib/libexpat.so.1.13.0
  17. libdata/pkgconfig/expat.pc
  18. share/man/man1/xmlwf.1.gz
  19. share/doc/expat/AUTHORS
  20. share/doc/expat/changelog
  21. @owner
  22. @group
  23. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • expat>0:textproc/expat2
To install the port:
cd /usr/ports/textproc/expat2/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/expat2
  • pkg install expat
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: expat
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1791228458 SHA256 (expat-2.9.0.tar.xz) = 1e6371862cc31999b368c3b89b49994f0677e1bab5f1b2b85ae3741f5d803051 SIZE (expat-2.9.0.tar.xz) = 534052

Packages (timestamps in pop-ups are UTC):
expat
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest2.7.52.8.0n/an/an/an/an/an/an/a
FreeBSD:13:quarterly2.7.52.7.5n/an/an/an/an/an/an/a
FreeBSD:14:latest2.8.42.8.52.5.02.7.12.8.52.5.0-2.5.0-
FreeBSD:14:quarterly2.8.22.8.4-2.7.12.8.42.5.02.5.02.5.0-
FreeBSD:15:latest2.8.52.8.5n/a2.7.1n/an/a2.5.0_12.6.0-
FreeBSD:15:quarterly2.8.42.8.4n/a-n/an/a---
FreeBSD:16:latest2.8.42.8.5n/a-n/an/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Test dependencies:
  1. bash : shells/bash
  2. python3.12 : lang/python312
This port has no dependencies.
This port is required by:
for Build
  1. astro/libosmium
  2. multimedia/tenacity
  3. sysutils/procenv

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/libphish*
  2. devel/subversion-static*
  3. sysutils/mstflint-lite*
  4. Collapse this list of deleted ports.
for Libraries
  1. archivers/libarchive
  2. astro/gpsbabel14
  3. astro/opencpn
  4. astro/osmium-tool
  5. astro/readosm
  6. astro/viking
  7. audio/audacity
Expand this list (461 items / 454 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. audio/boca
  3. audio/calf-lv2
  4. audio/drumgizmo
  5. audio/gogglesmm
  6. audio/jack
  7. audio/ladish
  8. audio/mumble
  9. audio/musicpd
  10. audio/vst3sdk
  11. benchmarks/flowgrind
  12. biology/biosig
  13. cad/OrcaSlicer
  14. cad/PrusaSlicer
  15. cad/brlcad
  16. cad/camotics
  17. cad/freecad
  18. cad/freecad-devel
  19. cad/lepton-eda
  20. cad/opencascade
  21. cad/openvsp
  22. comms/obexapp
  23. comms/trustedqsl
  24. converters/osm2pgrouting
  25. converters/osm2pgsql
  26. databases/spatialite-tools
  27. deskutils/fbreader
  28. deskutils/presage
  29. devel/apr1
  30. devel/avr-gdb
  31. devel/cbang
  32. devel/cmake-core
  33. devel/cmake-gui
  34. devel/dbus
  35. devel/dbus-c++
  36. devel/dbus-glib
  37. devel/electron41
  38. devel/electron42
  39. devel/electron43
  40. devel/electron44
  41. devel/gdb
  42. devel/gdcm
  43. devel/git
  44. devel/hs-ghcup
  45. devel/ice
  46. devel/ice37
  47. devel/libdatovka
  48. devel/libpdel
  49. devel/log4c
  50. devel/log4cxx
  51. devel/p5-subversion
  52. devel/poco
  53. devel/ptlib
  54. devel/py-subversion
  55. devel/rsvndump
  56. devel/ruby-subversion
  57. devel/sdbus-cpp
  58. devel/simgear
  59. devel/subversion
  60. devel/subversion-lts
  61. dns/unbound
  62. editors/abiword
  63. editors/libreoffice
  64. editors/openoffice-4
  65. editors/openoffice-devel
  66. editors/vscode
  67. editors/xmlcopyeditor
  68. emulators/mame
  69. filesystems/davfs2
  70. filesystems/httpdirfs
  71. filesystems/s3backer
  72. finance/beanie
  73. ftp/lftp
  74. games/augustus
  75. games/battletanks
  76. games/dreamchess
  77. games/easyrpg-player
  78. games/ezquake
  79. games/flightgear
  80. games/liblcf
  81. games/moonlight-embedded
  82. games/moonlight-embedded-devel
  83. games/nimuh
  84. games/xpilot-ng-server
  85. graphics/art
  86. graphics/blender
  87. graphics/blender4
  88. graphics/cegui
  89. graphics/cloudcompare
  90. graphics/dcp2icc
  91. graphics/digikam
  92. graphics/exiv2
  93. graphics/gdal
  94. graphics/gimp-app
  95. graphics/gimp3-app
  96. graphics/glosm
  97. graphics/graphviz
  98. graphics/libskiasharp
  99. graphics/libwmf
  100. graphics/mesa-devel
  101. graphics/mesa-dri
  102. graphics/mesa-libs
  103. graphics/opencolorio
  104. graphics/opencolorio-tools
  105. graphics/openfx-arena
  106. graphics/py-opencolorio
  107. graphics/qgis
  108. graphics/qgis-ltr
  109. graphics/rawtherapee
  110. graphics/skia
  111. graphics/skia124
  112. graphics/vips
  113. graphics/wayland
  114. graphics/wxsvg
  115. java/java-subversion
  116. lang/python311
  117. lang/python312
  118. lang/python313
  119. lang/python313t
  120. lang/python314
  121. lang/python314t
  122. lang/python315
  123. lang/smalltalk
  124. mail/claws-mail-rssyl
  125. mail/libetpan
  126. math/R-cran-units
  127. math/vtk9
  128. misc/libcomps
  129. misc/libmetalink
  130. misc/libsolv
  131. misc/owrep
  132. misc/warp
  133. multimedia/asdcplib
  134. multimedia/dvdauthor
  135. multimedia/emby-server
  136. multimedia/kodi
  137. multimedia/kodi-addon-inputstream.adaptive
  138. multimedia/libxspf
  139. multimedia/mythtv
  140. multimedia/snapcast
  141. multimedia/tenacity
  142. net/avahi-app
  143. net/boinctui
  144. net/c3270
  145. net/grive2
  146. net/libarms
  147. net/libnpupnp
  148. net/mad_fcl
  149. net/ntopng
  150. net/rpki-client
  151. net/tcpflow
  152. net/ulxmlrpcpp
  153. net/xmlrpc-c
  154. net/xmlrpc-epi
  155. net/zebra-server
  156. net-im/ejabberd
  157. net-im/libmesode
  158. net-im/libstrophe
  159. net-im/signal-desktop
  160. net-mgmt/netxms
  161. print/miktex
  162. print/plutobook
  163. print/py-plutoprint
  164. science/InsightToolkit
  165. science/R-cran-udunits2
  166. science/afni
  167. science/dakota
  168. science/elmerfem
  169. science/geant4
  170. science/gnudatalanguage
  171. science/libkml
  172. science/liggghts
  173. science/massxpert
  174. science/paraview
  175. science/rdkit
  176. science/ttk
  177. science/udunits
  178. science/vmd
  179. science/votca
  180. science/zotero
  181. security/kdbxviewer
  182. security/ophcrack
  183. security/rats
  184. security/shibboleth-sp
  185. security/subversion-gnome-keyring
  186. sysutils/afflib
  187. sysutils/bulk_extractor
  188. sysutils/eclat
  189. sysutils/ftwin
  190. sysutils/libdnf
  191. sysutils/polkit
  192. textproc/exempi
  193. textproc/fcitx5
  194. textproc/freexl
  195. textproc/libwbxml
  196. textproc/libxode
  197. textproc/lua-luaexpat
  198. textproc/modlogan
  199. textproc/ocaml-expat
  200. textproc/p5-XML-Parser
  201. textproc/p5-XML-SAX-ExpatXS
  202. textproc/refdb
  203. textproc/rnv
  204. textproc/sablotron
  205. textproc/scew
  206. textproc/scim-openvanilla
  207. textproc/sphinxsearch
  208. textproc/teckit
  209. textproc/xlsxio
  210. textproc/xmlppm
  211. www/apache24
  212. www/cadaver
  213. www/cas
  214. www/chromium
  215. www/htdigest
  216. www/iridium
  217. www/libapreq2
  218. www/libdom
  219. www/libwww
  220. www/mod_auth_openidc
  221. www/mod_dav_svn
  222. www/mod_security
  223. www/neon
  224. www/netsurf
  225. www/newsraft
  226. www/osrm-backend
  227. www/qt6-webengine
  228. www/ungoogled-chromium
  229. x11/x3270
  230. x11/xforward
  231. x11-fonts/fontconfig
  232. x11-toolkits/wxgtk30
  233. x11-toolkits/wxgtk32
  234. x11-wm/echinus
  235. Collapse this list.

Deleted ports which required this port:

Expand this list of 221 deleted ports
  1. archivers/epkg*
  2. astro/osmium*
  3. astro/roadmap*
  4. audio/arts*
  5. audio/calf*
  6. audio/libmusicbrainz*
  7. audio/libofa*
  8. audio/libtunepimp*
  9. audio/libtunepimp-old*
  10. cad/salome-yacs*
  11. comms/tqsllib*
  12. converters/shftool*
  13. databases/compass*
  14. databases/hypertable*
  15. deskutils/nagaina*
  16. devel/anjuta*
  17. devel/apr0*
  18. devel/apr2*
  19. devel/arm-none-eabi-gdb*
  20. devel/datadesigner*
  21. devel/e4graph*
  22. devel/electron11*
  23. devel/electron12*
  24. devel/electron13*
  25. devel/electron17*
  26. devel/electron18*
  27. devel/electron19*
  28. devel/electron21*
  29. devel/electron22*
  30. devel/electron23*
  31. devel/electron24*
  32. devel/electron25*
  33. devel/electron26*
  34. devel/electron27*
  35. devel/electron28*
  36. devel/electron29*
  37. devel/electron30*
  38. devel/electron31*
  39. devel/electron32*
  40. devel/electron33*
  41. devel/electron34*
  42. devel/electron35*
  43. devel/electron36*
  44. devel/electron37*
  45. devel/electron38*
  46. devel/electron39*
  47. devel/electron4*
  48. devel/electron40*
  49. devel/electron5*
  50. devel/electron6*
  51. devel/electron7*
  52. devel/electron9*
  53. devel/erlang-exmpp*
  54. devel/git-lite*
  55. devel/git-subversion*
  56. devel/kdesvn*
  57. devel/kdesvn-kde4*
  58. devel/libopkele*
  59. devel/poco-devel*
  60. devel/ptlib26*
  61. devel/pwlib*
  62. devel/pysvn*
  63. devel/subversion16*
  64. devel/subversion17*
  65. devel/subversion18*
  66. devel/subversion19*
  67. editors/atom*
  68. editors/libreoffice-legacy*
  69. editors/libreoffice4*
  70. editors/libreoffice6*
  71. editors/openoffice-3*
  72. editors/openoffice-3-devel*
  73. emulators/advancemame*
  74. emulators/advancemenu*
  75. emulators/advancemess*
  76. emulators/gxmame*
  77. emulators/mess*
  78. emulators/xmame*
  79. emulators/xmess*
  80. games/8kingdoms*
  81. games/asc*
  82. games/capicity*
  83. games/capitalism*
  84. games/ggz-client-libs*
  85. games/mudmagic*
  86. games/scorched3d*
  87. games/spellathon*
  88. games/vegastrike*
  89. games/xpilot-ng-client*
  90. games/xptools*
  91. graphics/blender-lts29*
  92. graphics/copperspice*
  93. graphics/dri*
  94. graphics/exact-image*
  95. graphics/gbm*
  96. graphics/k3d*
  97. graphics/kipi-plugin-dngconverter*
  98. graphics/libEGL*
  99. graphics/libGL*
  100. graphics/libglapi*
  101. graphics/libglesv2*
  102. graphics/libreatlas*
  103. graphics/libwmf-nox11*
  104. graphics/libxatracker*
  105. graphics/mesa-gallium-va*
  106. graphics/mesa-gallium-vdpau*
  107. graphics/mesa-gallium-xa*
  108. graphics/natron*
  109. graphics/rawtherapee-devel*
  110. graphics/rubyphoto*
  111. graphics/vv*
  112. graphics/wdune*
  113. java/subversion-java*
  114. lang/clover*
  115. lang/hiphop-php*
  116. lang/ofc*
  117. lang/pypy*
  118. lang/pypy-devel*
  119. lang/pypy3*
  120. lang/pypy3-devel*
  121. lang/python310*
  122. lang/xotcl*
  123. math/vtk*
  124. math/vtk-headers*
  125. math/vtk-java*
  126. math/vtk-python*
  127. math/vtk-tcl*
  128. math/vtk5*
  129. math/vtk6*
  130. math/vtk8*
  131. multimedia/kodi-addon-inputstream.adaptive-devel*
  132. multimedia/kodi-devel*
  133. multimedia/mp4split*
  134. multimedia/mythtv-frontend*
  135. multimedia/opencinematools*
  136. net/ceph*
  137. net/ceph-devel*
  138. net/ceph12*
  139. net/ceph13*
  140. net/ceph14*
  141. net/clamz*
  142. net/easysoap*
  143. net/grive*
  144. net/mediatomb*
  145. net/opensips*
  146. net/opensips31*
  147. net/php4-xmlrpc*
  148. net-im/biboumi*
  149. net-im/jabber*
  150. net-im/jabberd*
  151. net-im/jggtrans*
  152. net-im/libjingle*
  153. net-im/mu-conference*
  154. net-im/webinar*
  155. polish/ekg2*
  156. print/ghostscript8*
  157. print/ghostscript8-base*
  158. print/ghostscript8-nox11*
  159. print/ghostscript9*
  160. print/ghostscript9-agpl*
  161. print/ghostscript9-agpl-nox11*
  162. print/ghostscript9-base*
  163. print/ghostscript9-nox11*
  164. science/InsightToolkit501*
  165. science/InsightToolkit521*
  166. security/kdbx-viewer*
  167. security/subversion-kwallet*
  168. sysutils/condor*
  169. sysutils/fusefs-httpdirfs*
  170. sysutils/fusefs-s3backer*
  171. sysutils/ganglia-monitor-core*
  172. sysutils/lire*
  173. sysutils/policykit*
  174. textproc/domc*
  175. textproc/erlang-fast_xml*
  176. textproc/erlang-p1xml*
  177. textproc/exmpp*
  178. textproc/hs-hexpat*
  179. textproc/luaexpat*
  180. textproc/luaexpat-51*
  181. textproc/php4-wddx*
  182. textproc/php4-xml*
  183. textproc/php4-xslt*
  184. textproc/ruby-sablot*
  185. textproc/ruby-xmlparser*
  186. textproc/simplexml*
  187. textproc/sphinxsearch-devel*
  188. textproc/tclExpat*
  189. textproc/wbxml2*
  190. www/apache20*
  191. www/apache22*
  192. www/apache22-event-mpm*
  193. www/apache22-itk-mpm*
  194. www/apache22-peruser-mpm*
  195. www/apache22-worker-mpm*
  196. www/cplanet*
  197. www/flood*
  198. www/httest*
  199. www/httpdirfs*
  200. www/mod_pagespeed*
  201. www/neon29*
  202. x11-servers/wayland*
  203. x11-toolkits/gtkada3*
  204. x11-toolkits/nucleo*
  205. x11-toolkits/paragui*
  206. x11-toolkits/paragui-devel*
  207. x11-toolkits/wxgtk26*
  208. x11-toolkits/wxgtk26-common*
  209. x11-toolkits/wxgtk26-contrib*
  210. x11-toolkits/wxgtk26-contrib-common*
  211. x11-toolkits/wxgtk26-unicode*
  212. x11-toolkits/wxgtk26-unicode-contrib*
  213. x11-toolkits/wxgtk28*
  214. x11-toolkits/wxgtk28-common*
  215. x11-toolkits/wxgtk28-contrib*
  216. x11-toolkits/wxgtk28-contrib-common*
  217. x11-toolkits/wxgtk28-unicode*
  218. x11-toolkits/wxgtk28-unicode-contrib*
  219. x11-toolkits/wxgtk29*
  220. x11-toolkits/wxgtk31*
  221. x11-wm/waimea-devel*
  222. Collapse this list of deleted ports.
for Run
  1. devel/libxsd

Configuration Options:
===> The following configuration options are available for expat-2.9.0: DOCS=on: Build and/or install documentation STATIC=off: Build static executables and/or libraries TEST=off: Build and/or run tests ===> Use 'make config' to modify these settings
Options name:
textproc_expat2
USES:
cpe libtool pathfix python:test tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/libexpat/libexpat/releases/download/R_2_9_0/
Collapse this list.

There are no commits on branch 2025Q1 for this port