Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
libxml2-python Python interface for XML parser library for GNOME
2.15.4 textproc Σ=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: libgd, netpbm, mutt, libwmf, p5-Socket6
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 py312-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 py312-libxml2-python listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-libxml2-python
Package flavors (<flavor>: <package>) #
  • py312: py312-libxml2-python
distinfo: #
TIMESTAMP = 1788620503 SHA256 (gnome/libxml2-2.15.4.tar.xz) = 98087fd181d9070724f3fbc65c7377db03038eb92bd882374daff44940138821 SIZE (gnome/libxml2-2.15.4.tar.xz) = 3177444

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
Master port: textproc/libxml2 #
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. doxygen : devel/doxygen
  3. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
  4. python3.12 : lang/python312
  5. gmake>=4.4.1 : devel/gmake
  6. pkgconf>=1.3.0_1 : devel/pkgconf
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
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