| Port details |
- libxml2-python Python interface for XML parser library for GNOME
- 2.15.2 textproc
=1 2.15.1Version of this port present on the latest quarterly branch. DEPRECATED: Planned for removal in 2.16: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.15.0
- Maintainer: desktop@FreeBSD.org
 - Port Added: 2025-06-28 17:36:05
- Last Update: 2026-01-27 02:34:39
- Commit Hash: fc6c145
- People watching this port, also watch:: p5-OrePAN2, python311, py311-pycparser, ladspa, python
- Also Listed In: gnome python
- License: MIT
- WWW:
- http://xmlsoft.org/
- Description:
- Python interface for XML parser library for GNOME
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}libxml2-python>0:textproc/libxml2-python@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/libxml2-python/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/libxml2-python
- pkg install py311-libxml2-python
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-libxml2-python listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-libxml2-python
- Package flavors (<flavor>: <package>)
- py311: py311-libxml2-python
- distinfo:
- TIMESTAMP = 1772636013
SHA256 (gnome/libxml2-2.15.2.tar.xz) = c8b9bc81f8b590c33af8cc6c336dbff2f53409973588a351c95f1c621b13d09d
SIZE (gnome/libxml2-2.15.2.tar.xz) = 3148720
Packages (timestamps in pop-ups are UTC):
- Master port: textproc/libxml2
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- doxygen : devel/doxygen
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- Library dependencies:
-
- libxml2.so : textproc/libxml2
- This port is required by:
- for Run
-
- deskutils/virt-manager
Configuration Options:
- No options to configure
- Options name:
- textproc_libxml2-python
- USES:
- gnome python shebangfix cpe gmake iconv libtool localbase pathfix pkgconfig tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Port Moves |
- port moved here from textproc/py-libxml2 on 2025-06-28
REASON: Use correct Python package name
|
Number of commits found: 4
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| This is a slave port. You may also want to view the commits to the master port: textproc/libxml2 | | Commit | Credits | Log message |
2.15.1 27 Jan 2026 02:34:39
    |
Charlie Li (vishwin)  |
textproc/libxml2: really update to 2.15.1
Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/blob/2.15/NEWS
Notably, all documentation generation requires a circular dependency
on textproc/libxslt. While the API documentation, in HTML, lives
on the upstream site [0], the man pages are now pre-rendered manually.
Also includes an upstream commit addressing unsafe pointer usage
in XPath, leading to security bugs in consumers like libxslt
(CVE-2025-10911). [1]
Mark the -python child port DEPRECATED without expiration date since
upstream has not provided a firm one yet, particularly the release
schedule for the next major version 2.16.
[0] https://gnome.pages.gitlab.gnome.org/libxml2/html/index.html
[1]
https://gitlab.gnome.org/GNOME/libxml2/-/commit/0e50b31902cdb1eb242eb361c123e9e033b2af87
Event: Snowstorm Special January 2026
With hat: desktop
PR: 291316 |
2.14.6 27 Jan 2026 02:34:37
    |
Charlie Li (vishwin)  |
Revert "textproc/libxml2*: update to 2.15.1, split -core"
The design of this update was repeatedly rejected in the linked PR
with a prescribed different design. This commit is therefore
unauthorised.
This reverts commit 099bd713e09ebdd02d73fde770c50706f980404f.
With hat: desktop (textproc/libxml2), gnome (USES=gnome)
PR: 291316 |
2.15.1 26 Jan 2026 21:47:50
    |
Matthias Andree (mandree)  |
textproc/libxml2*: update to 2.15.1, split -core
libxml2 now requires xsltproc from libxslt to build,
yet libxslt depends on libxml2,
so we need to break a dependency cycle.
documentation needed to be split out to a separate port.
libxml2 has therefore been split into two ports,
* libxml2 builds the documentation (unless disabled),
* library and executables in libxml2-core.
Pull in one contributor patch suggested by the former libxml2 maintainer
to address one downstream security issue in recent libxslt versions.
This should address arrowd@'s hint that installing libxml2 should
provide a full-featured package.
While here, deprecate libxml2-python according to upstream plans, we
have very few users in the ports tree, and expire end of 2026Q1.
PR: 291316 |
2.14.4 28 Jun 2025 17:33:36
    |
Charlie Li (vishwin)  |
textproc/libxml2: update to 2.14.4
Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.14.4/NEWS
textproc/py-libxml2 child port is moved to textproc/libxml2-python
to match the Python package name upstream specified; it now USES=python
to build after do-configure. Consumers adjusted to match.
Includes two bug-fix commits.
PR: 279705 |
Number of commits found: 4
|