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 photosAll times are UTC
Ukraine
Port details
libxml2-python Python interface for XML parser library for GNOME
2.15.1_1 textproc on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.15.1Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Planned for removal in 2.16: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.15.0
Maintainer: desktop@FreeBSD.org search for ports maintained by this maintainer
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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 = 1768450034 SHA256 (gnome/libxml2-2.15.1.tar.xz) = c008bac08fd5c7b4a87f7b8a71f283fa581d80d80ff8d2efd3b26224c39bc54c SIZE (gnome/libxml2-2.15.1.tar.xz) = 2004588

Expand this list (2 items)

Collapse this list.

SHA256 (gnome/0e50b31902cdb1eb242eb361c123e9e033b2af87.patch) = e4f2d2cd26218bfe437d837c3003c3e58f3ea93baff62cc34c79341e83cf40bd SIZE (gnome/0e50b31902cdb1eb242eb361c123e9e033b2af87.patch) = 3864

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-libxml2-python
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.15.1_12.15.1_1-2.14.52.15.1_1n/an/an/a
FreeBSD:13:quarterly2.15.12.15.1-2.14.52.15.1n/an/an/a
FreeBSD:14:latest2.15.1_12.15.1_1-2.14.52.15.1_1---
FreeBSD:14:quarterly2.15.12.15.1-2.14.52.15.1---
FreeBSD:15:latest2.15.1_12.15.1_1n/a2.14.5n/an/a--
FreeBSD:15:quarterly2.15.12.15.1n/a-n/an/a--
FreeBSD:16:latest2.15.1_12.15.1_1n/a-n/an/a--
Master port: textproc/libxml2
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. doxygen : devel/doxygen
  3. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  4. python3.11 : lang/python311
  5. gmake>=4.4.1 : devel/gmake
  6. pkgconf>=1.3.0_1 : devel/pkgconf
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libxml2.so : textproc/libxml2
This port is required by:
for Run
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://download.gnome.org/sources/libxml2/2.15/
Collapse this list.
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
CommitCreditsLog message
2.15.1
27 Jan 2026 02:34:39
commit hash: fc6c145ef01c3418d7db4e7be89310d3f6225171commit hash: fc6c145ef01c3418d7db4e7be89310d3f6225171commit hash: fc6c145ef01c3418d7db4e7be89310d3f6225171commit hash: fc6c145ef01c3418d7db4e7be89310d3f6225171 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 5137742117b09d8dc550eb7b67dde5ab902fcdbfcommit hash: 5137742117b09d8dc550eb7b67dde5ab902fcdbfcommit hash: 5137742117b09d8dc550eb7b67dde5ab902fcdbfcommit hash: 5137742117b09d8dc550eb7b67dde5ab902fcdbf files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 099bd713e09ebdd02d73fde770c50706f980404fcommit hash: 099bd713e09ebdd02d73fde770c50706f980404fcommit hash: 099bd713e09ebdd02d73fde770c50706f980404fcommit hash: 099bd713e09ebdd02d73fde770c50706f980404f files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 571565734d6e39acfcc11b043f3c105d1024f5b7commit hash: 571565734d6e39acfcc11b043f3c105d1024f5b7commit hash: 571565734d6e39acfcc11b043f3c105d1024f5b7commit hash: 571565734d6e39acfcc11b043f3c105d1024f5b7 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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