notbug ipv6 ready As 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.
Port details on branch 2026Q2
expat2 XML 1.0 parser written in C
2.8.1 textproc on this many watch lists=0 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.1Version of this port present on the latest quarterly branch.
Maintainer: desktop@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-05-11 08:33:04
Last Update: 2026-05-13 20:18:12
Commit Hash: 5e6feba
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 - no subversion history for this port

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.8.1/catalog.mk
  3. /usr/local/share/licenses/expat-2.8.1/LICENSE
  4. /usr/local/share/licenses/expat-2.8.1/MIT
  5. bin/xmlwf
  6. include/expat.h
  7. include/expat_config.h
  8. include/expat_external.h
  9. lib/cmake/expat-2.8.1/expat-config-version.cmake
  10. lib/cmake/expat-2.8.1/expat-config.cmake
  11. lib/cmake/expat-2.8.1/expat-noconfig.cmake
  12. lib/cmake/expat-2.8.1/expat.cmake
  13. @comment lib/libexpat.a
  14. lib/libexpat.so
  15. lib/libexpat.so.1
  16. lib/libexpat.so.1.12.1
  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 = 1778534912 SHA256 (expat-2.8.1.tar.xz) = 10b195ee78160a908388180a8fe3603d4e9a12f4755fbf5f3816b23a9d750da0 SIZE (expat-2.8.1.tar.xz) = 512224

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Test dependencies:
  1. bash : shells/bash
  2. python3.11 : lang/python311
This port has no dependencies.
This port is required by:
for Libraries
  1. audio/audacity
  2. audio/musicpd
  3. devel/hs-ghcup
  4. dns/unbound
  5. graphics/graphviz
  6. graphics/mesa-dri
  7. graphics/qgis
Expand this list (18 items / 11 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. lang/python310
  3. lang/python311
  4. lang/python312
  5. lang/python313
  6. lang/python313t
  7. lang/python314
  8. lang/python314t
  9. www/apache24
  10. www/chromium
  11. www/iridium
  12. www/ungoogled-chromium
  13. Collapse this list.

Configuration Options:
===> The following configuration options are available for expat-2.8.1: 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_8_1/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.8.1
13 May 2026 20:18:12
commit hash: 5e6feba16bebd4549d2b07add7556dfb16c64e48commit hash: 5e6feba16bebd4549d2b07add7556dfb16c64e48commit hash: 5e6feba16bebd4549d2b07add7556dfb16c64e48commit hash: 5e6feba16bebd4549d2b07add7556dfb16c64e48 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
textproc/expat2: [security] upgrade to 2.8.1

See https://blog.hartwork.org/posts/expat-2-8-1-released/

Fixes:	CVE-2026-45186 and CVSS unreliability
Security:	CVE-2026-45186

MFC after:	1 day

PR:		295206
Approved by:	vishwin

(cherry picked from commit 709eee0a0c626886efbef572134e0faaae3eece6)
2.8.0
11 May 2026 08:30:29
commit hash: 49fd6cb4b66e18845406b4734000a8614c8cd272commit hash: 49fd6cb4b66e18845406b4734000a8614c8cd272commit hash: 49fd6cb4b66e18845406b4734000a8614c8cd272commit hash: 49fd6cb4b66e18845406b4734000a8614c8cd272 files touched by this commit This port version is marked as vulnerable.
Gleb Popov (arrowd) search for other commits by this committer
Author: Daniel Engberg
textproc/expat2: Update to 2.8.0

Changelog:
https://github.com/libexpat/libexpat/blob/R_2_8_0/expat/Changes

PR:		294769 294969
Reviewed by:	desktop (arrowd)

(cherry picked from commit 8d36ef1d286e387c161235602ca4f95b68cb77ec)

Number of commits found: 2