textproc/expat2 2.9.0 MidnightBSD
XML 1.0 parser written in C
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
f41d5a7a2c- License
- mit
- Categories
- textproc
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | textproc/expat2 | 2.9.0 |
| FreeBSD | textproc/expat2 | 2.9.0 |
| NetBSD | textproc/expat | 2.8.5 |
| DragonFly | textproc/expat2 | 2.7.0 |
| HardenedBSD | textproc/expat2 | 2.8.4 |
| GhostBSD | textproc/expat2 | 2.8.4 |
| OPNsense | textproc/expat2 | 2.8.2 |
Install
Binary package:
mport install expat
From mports:
cd /usr/mports/textproc/expat2 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= expat>0:textproc/expat2
LIB_DEPENDS= libexpat.so:textproc/expat2
Dependencies
As this port's Makefile names them.
Test 1
bash: shells/bash
Required by 80
- archivers/libarchive
- audio/audacity
- cad/PrusaSlicer
- cad/brlcad
- cad/camotics
- cad/freecad
- cad/lepton-eda
- cad/opencascade
- cad/openvsp
- devel/apr1
- devel/cbang
- devel/dbus
- devel/dbus-glib
- devel/electron39
- devel/electron40
- devel/electron41
- devel/electron42
- devel/electron43
- devel/gdb
- devel/gdcm
- devel/libxsd
- devel/log4cxx
- devel/poco
- devel/ptlib
- devel/sdbus-cpp
- devel/subversion
- devel/subversion-lts
- dns/unbound
- editors/abiword
- editors/openoffice-4
- editors/vscode
- filesystems/httpdirfs
- filesystems/s3backer
- ftp/lftp
- games/ggz-client-libs
- graphics/exiv2
- graphics/graphviz
- graphics/libskiasharp
- graphics/libwmf
- graphics/qgis
- graphics/vips
- graphics/wayland
- mail/libetpan
- math/R-cran-units
- math/vtk9
- multimedia/dvdauthor
- multimedia/emby-server
- multimedia/kodi
- multimedia/kodi-addon-inputstream.adaptive
- net-im/ejabberd
- net/ulxmlrpcpp
- net/xmlrpc-epi
- net/zebra-server
- science/R-cran-udunits2
- science/libkml
- science/udunits
- science/zotero
- sysutils/policykit
- sysutils/polkit
- textproc/exempi
- textproc/fcitx5
- textproc/freexl
- textproc/luaexpat
- textproc/p5-XML-Parser
- textproc/scim-openvanilla
- textproc/sphinxsearch
- textproc/teckit
- www/apache24
- www/chromium
- www/chromium-bin
- www/libapreq2
- www/libdom
- www/libwww
- www/mod_security
- www/netsurf
- www/serf
- www/ungoogled-chromium
- x11-fonts/fontconfig
- x11-toolkits/wxgtk30
- x11-toolkits/wxgtk32
Configuration
Options name: textproc_expat
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| STATIC | off | |
| TEST | off |
- USES
- cpe libtool pathfix python:test tar:xz
- Service scripts
- none
Files
Manual pages 1
- xmlwf(1)
pkg-plist 16
- bin/xmlwf
- include/expat.h
- include/expat_config.h
- include/expat_external.h
- lib/cmake/expat-%%EXPAT_VERSION%%/expat-config-version.cmake
- lib/cmake/expat-%%EXPAT_VERSION%%/expat-config.cmake
- lib/cmake/expat-%%EXPAT_VERSION%%/expat-noconfig.cmake
- lib/cmake/expat-%%EXPAT_VERSION%%/expat.cmake
- lib/libexpat.a
- lib/libexpat.so
- lib/libexpat.so.1
- lib/libexpat.so.1.13.0
- libdata/pkgconfig/expat.pc
- share/man/man1/xmlwf.1.gz
- share/doc/expat/AUTHORS
- share/doc/expat/changelog
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| expat-2.9.0.tar.xz | 534052 | 1e6371862cc31999b368c3b89b49994f0677e1bab5f1b2b85ae3741f5d803051 |
Master sites 1
- https://github.com/libexpat/libexpat/releases/download/R_${DISTVERSION:S|.|_|g}/
Commit history 4
| Date | Commit | Credits | Log message |
|---|---|---|---|
f41d5a7a2c |
Lucas Holt | textproc/expat2: update to 2.9.0 for security fixes (#1708) ## Summary
- Update Expat from 2.8.5 to 2.9.0, which fixes CVE-2026-77214 and
CVE-2026-102633.
- Refresh distinfo and the versioned shared library plist entry. The
SONAME remains `libexpat.so.1`.
## Validation
- `bmake makesum`, `bmake patch`, `bmake`, `bmake fake`, `bmake package`
- `bmake OPTIONS_OVERRIDE='DOCS TEST' WRKDIRPREFIX=/tmp/expat2-testbuild
test` (1/1 upstream test target passed)
- `bmake check-license`, `portlint -C` (0 fatal errors; maintainer mode
advisory), `git diff --check`
## Summary by Sourcery
Update Expat to the 2.9.0 security release.
Bug Fixes:
- Update Expat to 2.9.0 to incorporate fixes for CVE-2026-77214 and
CVE-2026-102633.
Enhancements:
- Refresh package metadata for the new Expat release while retaining the
existing SONAME.
… |
|
a5e89f4e3e |
Lucas Holt | textproc/expat2: update to 2.8.5 (#1608) Updates `textproc/expat2` from 2.8.4 to 2.8.5, to match the base system.
## Why
2.8.5 is a security release. It fixes **CVE-2026-93990** (CVSS 9.8):
Expat didn't reject a UTF-16 high surrogate that isn't followed by a low
surrogate, so malformed UTF-16 could reach the application. There are
also a few bug fixes (an OOM-related memory leak, xmlwf output-close
error handling, and alignment on CHERI).
Upstream changelog:
https://github.com/libexpat/libexpat/blob/R_2_8_5/expat/Changes
## Changes
- `DISTVERSION` 2.8.4 → 2.8.5, distinfo regenerated. The SHA256 matches
the digest of the GitHub release asset.
- pkg-plist: `lib/libexpat.so.1.12.4` → `lib/libexpat.so.1.12.5`.
The libtool version goes from 13:4:12 to 13:5:12. The SONAME is still
… |
|
bd67cbad70 |
Lucas Holt | textproc/expat2: update to 2.8.4 (#798) Update Expat to upstream 2.8.4, which includes four security fixes.
Validation:
- bmake makesum
- bmake patch, configure, build, fake, package
- test-enabled clean build and make check
- portlint -C (0 fatal errors)
## Summary by Sourcery
Bug Fixes:
- Update Expat to upstream version 2.8.4, incorporating its security
fixes.
Signed-off-by: Lucas Holt <[email protected]> |
|
6b9a8612a4 |
Lucas Holt | textproc/expat2: update to 2.8.3 (#740) ## Summary
- update Expat from 2.8.2 to 2.8.3
- address CVE-2026-72522, an out-of-bounds read and resulting infinite
loop in 16-bit character builds
- update the packaged library filename to `libexpat.so.1.12.3`
The ABI SONAME remains `libexpat.so.1`, so dependent port revision bumps
are not required. Upstream's `COPYING` file is unchanged.
## Validation
- `bmake makesum`
- `bmake check-license`
- `bmake clean patch build fake package test`
- `WITH=TEST bmake clean test` (1 test suite passed, 0 failed)
- `portlint -AC` (0 fatal errors; maintainer-mode warning only)
- `readelf -d` confirmed SONAME `libexpat.so.1`
## Summary by Sourcery
Update the expat2 port to the 2.8.3 release.
New Features:
- Ship Expat 2.8.3, including upstream fixes such as the out-of-bounds
… |