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 photos
All times are UTC
Ukraine
Commit processing is paused - The database was just upgraded and I want to review. At present, commit processing is up to 12:23 UTC on 2026-03-31
Port details on branch 2026Q1
libxml2 XML parser library for GNOME
2.15.2 textproc on this many watch lists=0 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.2Version of this port present on the latest quarterly branch.
Maintainer: desktop@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-27 02:45:07
Last Update: 2026-03-04 15:21:40
Commit Hash: 697d264
Also Listed In: gnome
License: MIT
WWW:
http://xmlsoft.org/
Description:
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform). XML itself is a metalanguage to design markup languages, i.e. text language where semantic and structure are added to the content using extra "markup" information enclosed between angle brackets.
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
Expand this list (65 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libxml2-2.15.2/catalog.mk
  3. /usr/local/share/licenses/libxml2-2.15.2/LICENSE
  4. /usr/local/share/licenses/libxml2-2.15.2/MIT
  5. bin/xml2-config
  6. bin/xmlcatalog
  7. bin/xmllint
  8. include/libxml2/libxml/HTMLparser.h
  9. include/libxml2/libxml/HTMLtree.h
  10. include/libxml2/libxml/SAX.h
  11. include/libxml2/libxml/SAX2.h
  12. include/libxml2/libxml/c14n.h
  13. include/libxml2/libxml/catalog.h
  14. include/libxml2/libxml/chvalid.h
  15. include/libxml2/libxml/debugXML.h
  16. include/libxml2/libxml/dict.h
  17. include/libxml2/libxml/encoding.h
  18. include/libxml2/libxml/entities.h
  19. include/libxml2/libxml/globals.h
  20. include/libxml2/libxml/hash.h
  21. include/libxml2/libxml/list.h
  22. include/libxml2/libxml/nanoftp.h
  23. include/libxml2/libxml/nanohttp.h
  24. include/libxml2/libxml/parser.h
  25. include/libxml2/libxml/parserInternals.h
  26. include/libxml2/libxml/pattern.h
  27. include/libxml2/libxml/relaxng.h
  28. include/libxml2/libxml/schemasInternals.h
  29. include/libxml2/libxml/schematron.h
  30. include/libxml2/libxml/threads.h
  31. include/libxml2/libxml/tree.h
  32. include/libxml2/libxml/uri.h
  33. include/libxml2/libxml/valid.h
  34. include/libxml2/libxml/xinclude.h
  35. include/libxml2/libxml/xlink.h
  36. include/libxml2/libxml/xmlIO.h
  37. include/libxml2/libxml/xmlautomata.h
  38. include/libxml2/libxml/xmlerror.h
  39. include/libxml2/libxml/xmlexports.h
  40. include/libxml2/libxml/xmlmemory.h
  41. include/libxml2/libxml/xmlmodule.h
  42. include/libxml2/libxml/xmlreader.h
  43. include/libxml2/libxml/xmlregexp.h
  44. include/libxml2/libxml/xmlsave.h
  45. include/libxml2/libxml/xmlschemas.h
  46. include/libxml2/libxml/xmlschemastypes.h
  47. include/libxml2/libxml/xmlstring.h
  48. include/libxml2/libxml/xmlunicode.h
  49. include/libxml2/libxml/xmlversion.h
  50. include/libxml2/libxml/xmlwriter.h
  51. include/libxml2/libxml/xpath.h
  52. include/libxml2/libxml/xpathInternals.h
  53. include/libxml2/libxml/xpointer.h
  54. lib/cmake/libxml2/libxml2-config.cmake
  55. lib/libxml2.a
  56. lib/libxml2.so
  57. lib/libxml2.so.16
  58. lib/libxml2.so.16.1.2
  59. libdata/pkgconfig/libxml-2.0.pc
  60. @comment share/man/man1/xml2-config.1.gz
  61. @comment share/man/man1/xmlcatalog.1.gz
  62. @comment share/man/man1/xmllint.1.gz
  63. @owner
  64. @group
  65. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libxml2>0:textproc/libxml2
To install the port:
cd /usr/ports/textproc/libxml2/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/libxml2
  • pkg install libxml2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libxml2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1772636013 SHA256 (gnome/libxml2-2.15.2.tar.xz) = c8b9bc81f8b590c33af8cc6c336dbff2f53409973588a351c95f1c621b13d09d SIZE (gnome/libxml2-2.15.2.tar.xz) = 3148720

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
Slave ports:
  1. textproc/libxml2-python
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libreadline.so : devel/readline
This port is required by:
for Build
  1. databases/postgresql17-client
  2. databases/postgresql17-docs
  3. databases/postgresql18-client
  4. databases/postgresql18-docs
for Libraries
  1. databases/postgresql13-contrib
  2. databases/postgresql13-server
  3. databases/postgresql14-contrib
  4. databases/postgresql14-server
  5. databases/postgresql15-contrib
  6. databases/postgresql15-server
  7. databases/postgresql16-contrib
Expand this list (50 items / 43 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/postgresql16-server
  3. databases/postgresql17-contrib
  4. databases/postgresql17-server
  5. databases/postgresql18-contrib
  6. databases/postgresql18-server
  7. deskutils/rednotebook
  8. devel/py-lxml
  9. dns/bind9-devel
  10. dns/bind918
  11. dns/bind920
  12. emulators/virtualbox-ose-71
  13. emulators/virtualbox-ose-72
  14. emulators/virtualbox-ose-nox11-71
  15. emulators/virtualbox-ose-nox11-72
  16. games/armagetronad
  17. graphics/ImageMagick7
  18. graphics/aeskulap
  19. graphics/dcmtk
  20. graphics/openimageio
  21. graphics/podofo
  22. multimedia/avidemux
  23. multimedia/avidemux-cli
  24. multimedia/avidemux-plugins
  25. multimedia/avidemux-qt5
  26. net/asterisk20
  27. net/asterisk22
  28. net-im/dissent
  29. security/clamav
  30. security/clamav-lts
  31. security/xmlsec1
  32. textproc/libxml2-python
  33. textproc/libxslt
  34. textproc/lttoolbox
  35. textproc/rubygem-nokogiri
  36. www/angie-module-dav-ext
  37. www/angie-module-njs
  38. www/chromium
  39. www/iridium
  40. www/qt5-webengine
  41. www/ungoogled-chromium
  42. x11/ghostty
  43. x11/xapp
  44. x11-wm/labwc
  45. Collapse this list.

Configuration Options:
===> The following configuration options are available for libxml2-2.15.2: ICU=off: Unicode support via ICU MANPAGES=off: Build and/or install manual pages READLINE=on: History for xmllint STATIC=on: Build static executables and/or libraries THREAD_ALLOC=off: Per-thread memory (DEVELOPERS ONLY!) ====> Enable legacy API compatibility HTTP=on: HTTP support ZLIB=on: zlib compression support ===> Use 'make config' to modify these settings
Options name:
textproc_libxml2
USES:
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.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.15.2
04 Mar 2026 15:21:40
commit hash: 697d2645d75e09729c93b5f9bd8503fcbccb7178commit hash: 697d2645d75e09729c93b5f9bd8503fcbccb7178commit hash: 697d2645d75e09729c93b5f9bd8503fcbccb7178commit hash: 697d2645d75e09729c93b5f9bd8503fcbccb7178 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
textproc/libxml2: update to 2.15.2

Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.2/NEWS
(cherry picked from commit 0734d7476a36a67f16580afb65b79375a3ae9fc9)
2.15.1
27 Jan 2026 02:43:01
commit hash: 87a0c21fa5687cc9020f2a94c02fef2721e8f1d9commit hash: 87a0c21fa5687cc9020f2a94c02fef2721e8f1d9commit hash: 87a0c21fa5687cc9020f2a94c02fef2721e8f1d9commit hash: 87a0c21fa5687cc9020f2a94c02fef2721e8f1d9 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
textproc/libxml2: 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

(cherry picked from commit fc6c145ef01c3418d7db4e7be89310d3f6225171)

Number of commits found: 2