CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

devel/libvirt 12.8.0

Toolkit to interact with virtualization capabilities

Port info

Maintainer
novel@FreeBSD.org
Packages
latest: 12.8.0
Upstream
up to date
Last update
to 12.8.0 · 5c9aa1fb7d
Quarterly
2026Q4: 12.7.0_1
WWW
https://libvirt.org/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install libvirt
installs 12.8.0 from latest; from quarterly (2026Q4) 12.7.0_1
Port
# cd /usr/ports/devel/libvirt && make install clean
# make -C /usr/ports/devel/libvirt config  # change options first
Size
8.5 MiB download · 50 MiB installed
Depends on
devel/gettext-runtime 1.0_1, devel/glib20 2.88.3,2, devel/json-c 0.19_1, devel/readline 8.3.6, dns/dnsmasq 2.93,1, ftp/curl 8.23.0, net/libslirp 4.9.5, security/gnutls 3.8.13, security/libssh 0.12.2, security/libssh2 1.11.1_1,3, sysutils/dmidecode 3.7, textproc/libxml2 2.15.4
License
LGPL3
Options
8 of 12 on in the package: BHYVE DOCS LIBSSH LIBSSH2 NLS READLINE SLIRP ZFS
Show the 4 options that are off
NSS QEMU SASL XEN
pkg-message
Shown after installing
To enable libvirtd please add libvirtd_enable="YES" to
/etc/rc.conf.

NOTE ON CONFIGURATION:

The libvirt port does not come with networking configuration enabled.
The 'default' network definition is available at:

  /usr/local/share/examples/libvirt/networks/default.xml

To enable this network please do the following:

  cp /usr/local/share/examples/libvirt/networks/default.xml /usr/local/etc/libvirt/qemu/networks

To configure this network for autostart, execute the following:

  ln -s ../default.xml /usr/local/etc/libvirt/qemu/networks/autostart/default.xml

If you have libvirtd already running you'll need to restart it for changes
to take effect.

For more details on using libvirt with bhyve please refer to:
 /usr/local/share/doc/libvirt/html/drvbhyve.html
   or:
 http://libvirt.org/drvbhyve.html

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 1612.8.012.8.0–
FreeBSD 1512.8.012.8.0–
FreeBSD 1412.8.012.8.012.8.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1512.7.0_112.7.0_1–
FreeBSD 1412.7.0_112.7.0_112.7.0_1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 12.8.0.

Fixed (2)

Show 2 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (253)

Mathieu Arnold (mat) · 5.6.0
Convert to UCL & cleanup pkg-message (categories d)
78d1aff1fc
Roman Bogorodskiy (novel) · 5.6.0
devel/libvirt: update to 5.6.0
2b03ce2f38
Gerald Pfeifer (gerald) · 5.5.0_1
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
ea8c8ec7da
Roman Bogorodskiy (novel) · 5.5.0
devel/libvirt: update to 5.5.0
87846de6c6
Roman Bogorodskiy (novel) · 5.3.0
devel/libvirt: update to 5.3.0
0810755697
Sunpoet Po-Chuan Hsieh (sunpoet) · 5.2.0_1
Update devel/readline to 8.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
40c9c7f7eb
Roman Bogorodskiy (novel) · 5.2.0
devel/libvirt: update to 5.2.0
04384fc3e8
Roman Bogorodskiy (novel) · 5.1.0
devel/libvirt: update to 5.1.0

- Update to 5.1.0
 - Switch to update to date sysutils/xen-tools port for XEN
6a4f77e923
Roman Bogorodskiy (novel) · 5.0.0
devel/libvirt: update to 5.0.0
e3ec2386ab
Gerald Pfeifer (gerald) · 4.10.0_1
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
a9f015d155
Roman Bogorodskiy (novel) · 4.10.0
devel/libvirt: update to 4.10.0
aaee4b060c
Roman Bogorodskiy (novel) · 4.9.0
devel/libvirt: update to 4.9.0
c9668c4640
Roman Bogorodskiy (novel) · 4.8.0
devel/libvirt: update to 4.8.0
c02f24db71
Roman Bogorodskiy (novel) · 4.7.0
devel/libvirt: update to 4.7.0

Libvirt has moved back from jansson to yajl, so update dependencies accordingly.
4ad7d60a9e
Roman Bogorodskiy (novel) · 4.6.0_1
devel/libvirt: fix build with QEMU enabled

Libvirt has switched from yajl to jansson for JSON parsing,
so update dependencies accordingly. Also add some missing
directories to plist.

Bump PORTREVISION.

PR:		230583 (based on)
Submitted by:	hashiz@meridiani.jp
1c53a715a8
Roman Bogorodskiy (novel) · 4.6.0
devel/libvirt: update to 4.6.0
911eac788b
Gerald Pfeifer (gerald) · 4.5.0_2
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
09f9633cb6
Roman Bogorodskiy (novel) · 4.5.0_1
devel/libvirt: fix xen-tools dependency

sysutils/xen-tools was moved to sysutils/xen-tools47, so update
dependency accordingly.

PR:		230041
Reported by:	Ting-Wei Lan
5eaaaa1a6a
Roman Bogorodskiy (novel) · 4.5.0
devel/libvirt: update to 4.5.0
108dc5b676
Mark Linimon (linimon) · 4.4.0
Adjust USES to fix builds on gcc-based architectures.

While here, pet portlint.

Tested for no regression on amd64.

Approved by:	portmgr (tier-2 blanket)
efc62e6bcd
Roman Bogorodskiy (novel) · 4.4.0
devel/libvirt: update to 4.4.0
1ba36d942a
Roman Bogorodskiy (novel) · 4.3.0
devel/libvirt: update to 4.3.0

- Update to 4.3.0,
 - Chase a change in libintl detection by removing no longer functional
   '--with-libintl-prefix' configure flag and setting CFLAGS appropriately,
 - Remove trailing whitespace from pkg-plist [1],
 - Update website [1].

PR:		227883 [1]
Submitted by:	0mp [1]
da868733d6
Roman Bogorodskiy (novel) · 4.2.0
devel/libvirt: update to 4.2.0

- update to 4.2.0,
 - python build scripts now support python3, so remove '2.7' restriction,
 - remove patches included upstream.
39b397d272
Roman Bogorodskiy (novel) · 4.1.0_2
devel/libvirt: add a fix for QEMU agent denial of service vulnerability

Add a fix from upstream master for QEMU agent
denial of service (LSN-2018-0004, CVE-2018-1064).

Security:	https://security.libvirt.org/2018/0004.html
6f4eec7a4f
Roman Bogorodskiy (novel) · 4.1.0_1
devel/libvirt: fix crash in bhyve driver

Fix crash on domains with interfaces that have no model specified.

PR:		221877
Reported by:	David Harrigan
cf80afdc67
Roman Bogorodskiy (novel) · 4.1.0
devel/libvirt: update to 4.1.0
56efb0fbaa
Dmitry Marakasov (amdmi3) · 4.0.0
- Switch to new test framework

Approved by:	portmgr blanket
20fcfc9dee
Roman Bogorodskiy (novel) · 4.0.0
devel/libvirt: update to 4.0.0
3bc65a9d05
Roman Bogorodskiy (novel) · 3.10.0
devel/libvirt: update to 3.10.0

- update to 3.10.0;
 - remove hard-coded dependency on libssh2, instead add LIBSSH and LIBSSH2
   options, both enabled by default;
 - add 'gettext-runtime' to USES to fix build without NLS.
636ca0629f
Antoine Brodin (antoine) · 3.9.0
libvirt fails to build with python3
fce133038f
Roman Bogorodskiy (novel) · 3.9.0
devel/libvirt: update to 3.9.0
9841244d34
Roman Bogorodskiy (novel) · 3.8.0
devel/libvirt: update to 3.8.0
8671ce8bcc
Roman Bogorodskiy (novel) · 3.7.0
devel/libvirt: update to 3.7.0
421732da1d
Roman Bogorodskiy (novel) · 3.6.0
devel/libvirt: improve sasl configuration

Explicitly pass SASL path to 'sasl' configuration option
to make sure that configure finds proper include and library paths
and don't depend on other options adding -I{LOCALBASE}/include to
CFLAGS.
a51280d8f4
Roman Bogorodskiy (novel) · 3.6.0
devel/libvirt: add yajl dependency for nss

The nss plugin requires yajl. It's pulled for qemu when it's enabled, but
build fails when nss plugin is enabled and qemu driver is disabled, so
add a dependency on yajl for both options.

PR:		221279
Reported by:	vvd@unislabs.com
c58a42f627
Roman Bogorodskiy (novel) · 3.6.0
devel/libvirt: update to 3.6.0
8452ddaf03
Roman Bogorodskiy (novel) · 3.5.0
devel/libvirt: update to 3.5.0
1f51e90fba
Sunpoet Po-Chuan Hsieh (sunpoet) · 3.4.0_1
Update devel/readline to 7.0 patch 3

- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
cb037d3c98
Roman Bogorodskiy (novel) · 3.4.0
devel/libvirt: update to 3.4.0
a162d6d185
Roman Bogorodskiy (novel) · 3.3.0
devel/libvirt: update to 3.3.0

- update to 3.3.0
 - switch from emulators/qemu-devel to emulators/qemu as the former
   is newer now
 - add python:build and shebangfix to USES as now Python
   scripts are used during the build
2dd9639fc7
Roman Bogorodskiy (novel) · 3.2.0
devel/libvirt: update to 3.2.0

- Add new plist entries for the new bhyve.conf configuration
   file
 - Remove '--without-storage-scsi' that doesn't work on FreeBSD
   as it's now automatically disabled by configure
94a4499e8a
Roman Bogorodskiy (novel) · 3.1.0
devel/libvirt: update to 3.1.0

- update to 3.1.0
 - disable scsi storage driver: it builds fine, but will
   not work on FreeBSD
 - Add an OPTION for the ZFS storage driver (enabled by default)
2d9cef96c3
Roman Bogorodskiy (novel) · 2.5.0
devel/libvirt: tabs/spaces cleanup

Replace a couple of spaces with tabs to follow common style.

PR:		215264
Submitted by:	timp87@gmail.com
2e22d2b6f4
Roman Bogorodskiy (novel) · 2.5.0
devel/libvirt: update to 2.5.0
68b69878da
Roman Bogorodskiy (novel) · 2.4.0_1
devel/libvirt: improve tier-2 packaging

Add RUN_DEPEND on sysutils/dmidecode only on amd64 and i386 as it's
available only on these ARCHs. Also, bump PORTREVISION due to
dependencies change.

Submitted by:	linimon
Reported by:	linimon
7760321433
Roman Bogorodskiy (novel) · 2.4.0
devel/libvirt: fix build when wireshark installed

When wireshark is installed, libvirt automatically detects that and
tries to build wireshark dissector plugin, but fails because net/wireshark
doesn't provide required headers.

So disable wireshark support explicitly.

PR:		214555
Submitted by:	Koichiro IWAO
d1fb19c104
Roman Bogorodskiy (novel) · 2.4.0
devel/libvirt: update to 2.4.0

- update to 2.4.0
 - add an explicit dependency on readline via READLINE option,
   enabled by default
 - explicitly disable dbus as it's used for firewalld and polkit,
   that are not supported by the port
e7f0809217
Roman Bogorodskiy (novel) · 2.3.0
devel/libvirt: update to 2.3.0
b937525219
Roman Bogorodskiy (novel) · 2.2.0
devel/libvirt: update to 2.2.0
0bf08f89ae
Roman Bogorodskiy (novel) · 2.0.0
devel/libvirt: update to 2.0.0
75facd0915