CVE and update status of the FreeBSD ports tree3,298 unaddressed CVEs in 671 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)

Roman Bogorodskiy (novel) · 1.3.5
devel/libvirt: update to 1.3.5

- update to 1.3.5
 - drop the *.syms file as it's properly included in the tarball now
 - drop some --without-* flags from CONFIGURE_ARGS for those which feature
   probing improved upstream (so we don't have Linux specific features
   automatically enabled)
 - add a link to the official documentation for bhyve users
0c32f039a3
Roman Bogorodskiy (novel) · 1.3.4
devel/libvirt: update to 1.3.4
e173d4c5d3
Roman Bogorodskiy (novel) · 1.3.3
devel/libvirt: update to 1.3.3

Add NSS option to enable the nsswitch plugin (disabled by default).
cd0cd59a1f
Mathieu Arnold (mat) · 1.3.2_1
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
4e1b79a0a6
Mathieu Arnold (mat) · 1.3.2_1
Fixup some whitespace at the beginning of lines problems.

With hat:	portmgr
Sponsored by:	Absolight
999161a9ed
Tijl Coosemans (tijl) · 1.3.2_1
- Update security/gnutls to 3.4.10. - Rename the LIBDANE option DANE because that's the name of the protocol   supported by libgnutls-dane and gnutls-cli.  Also clarify the option   description. - Add an IDN option. - libgnutls-openssl has been removed in 3.4.  Some ports used this library   in their LIB_DEPENDS but no port actually required it. - Some old API functions have been removed.  Ports t

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
6bc6f3a9e0
Roman Bogorodskiy (novel) · 1.3.2
devel/libvirt: update to 1.3.2
3dffab70a3
Roman Bogorodskiy (novel) · 1.3.1_1
devel/libvirt: add GNUTLS option and custom flags support for rc script

- libvirt currently depends on gnutls, but does not really use it,
   so add GNUTLS option and pull gnutls only when it's turned on
 - add a "libvirtd_flags" variable to the rc script to allow users to
   specify e.g. "--listen" flag that's required to make libvirtd
   listen on TCP ports [1]
 - bump PORTREVISION

Differential Revision:	D5044
Reviewed by:		jgh, koobs
Tested by:		Nicolas Lienard [1]
e3189e2bdd
Roman Bogorodskiy (novel) · 1.3.1
devel/libvirt: update to 1.3.1

Also, drop patch-CVE-2015-5313 as it's now included in the release.
293ea8d24d
Roman Bogorodskiy (novel) · 1.3.0
devel/libvirt: version update and security fix

- update to 1.3.0
- add fix for CVE-2015-5313
- improve sample file renaming to do that by moving files
  in post-install rather than patching Makefiles
- add an rc script for the new virtlogd daemon. It is required
  for the qemu driver if you have stdio_handler = "logd" in
  qemu.conf (default)

Security:	CVE-2015-5313
29a2d2ad39
Roman Bogorodskiy (novel) · 1.2.21
devel/libvirt: fix BHYVE option

- Drop OSVERSION check that's always true because of incorrect
   version value
 - Fix plist when BHYVE option is disabled on systems where it's
   available

While here, clean up trailing whitespace.

Differential Revision:	D4109
06c0d21d3b
Roman Bogorodskiy (novel) · 1.2.21
devel/libvirt: update to 1.2.21
8507b48780
Roman Bogorodskiy (novel) · 1.2.20_1
devel/libvirt: improve configuration handling

libvirt stores various configuration objects in XML files and
also uses symlinks to enable/disable various things. While
using @sample could prevent from touching user-modified configs,
it is quite cumbersome to preserve state of enabled or disabled
symlink controlled objects across reinstall.

In order to address this situation:

 * Install these configuration files into %%EXAMPLESDIR%%,
 * Update pkg-message with instructions how to apply the
   default configuration if user wants to. Also, pkg-message
   moved to files/pkg-message.in to allow substitution,
 * While here, convert virtlockd.conf to @sample
 * Bump PORTREVISION

PR:			203865
Differential Revision:	D3938
726f66085d
Mathieu Arnold (mat) · 1.2.20
Drop 8 support.

With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
7f0f664d7e
Roman Bogorodskiy (novel) · 1.2.20
Update to 1.2.20
6c589e2949
Jason Helfman (jgh) · 1.2.19_1
- over to novel@
4d316806e9
Roman Bogorodskiy (novel) · 1.2.19_1
Fix plist on non-amd64 archs

When the arch-specific option is defined and OPTIONS_SUB is enabled,
PLIST_SUB is populated accordingly on the target arch. However,
on other archs PLIST_SUB is not populated and that results in a
broken pkg-plist.

Fix this by explicitly adding '@comment ' for the option feature
if it's not in PLIST_SUB.

Reported by:	jgh
Pointy hat to:	novel
3ec809fa41
Roman Bogorodskiy (novel) · 1.2.19_1
Add XEN option that enables the libxl hypervisor driver.

PR:		203202
Approved by:	jgh (maintainer)
6c3018c719
Jason Helfman (jgh) · 1.2.19
- update to devel/libvirt [1] and devel/py-libvirt to 1.2.19

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.19

PR:		202839 [1]
Submitted by:	novel@ [1]
8b8ce2fcfa
Jason Helfman (jgh) · 1.2.18
- update devel/libvirt and devel/py-libvirt to 1.2.18

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.18
37b3be648c
Jason Helfman (jgh) · 1.2.17
- update devel/libvirt and devel/py-libvirt to 1.2.17 - update devel/libvirt-glib to 0.2.2

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.17
303907e562
Jason Helfman (jgh) · 1.2.16
- remove unneeded BUILD_DEPENDS define for SASL option

PR:		200752
Submitted by:	crest@sahiro.org
fbf89cdd30
Jason Helfman (jgh) · 1.2.16
- update devel/libvirt and devel/py-libvirt to 1.2.16

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.16
33f88471b0
Jason Helfman (jgh) · 1.2.15
- update to devel/libvirt and devel/py-libvirt to 1.2.15

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.15
a1b450d338
Jason Helfman (jgh) · 1.2.14
- update to devel/libvirt and devel/py-libvirt to 1.2.14

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.14
8f684ed810
Baptiste Daroussin (bapt) · 1.2.13
Replace all those @unexec rmdir by proper @dir
70b77d3b8c
Jason Helfman (jgh) · 1.2.13
- update to devel/libvirt and devel/py-libvirt to 1.2.13

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.13
7eeea064af
Jason Helfman (jgh) · 1.2.12_1
- add dmidecode run dependency   - filed issue upstream to potentially use sysctl

PR:		196733
Submitted by:	fabian.freyer@physik.tu-berlin.de
91c30ffbdc
Jason Helfman (jgh) · 1.2.12
- fix build failures on 8/9 (bhyve)

Reported by:	mat@
8a548f82a5
Jason Helfman (jgh) · 1.2.12
- add sasl support

PR:		196732
Submitted by:	fabian.freyer@physik.tu-berlin.de
988968be67
Jason Helfman (jgh) · 1.2.12
- update to devel/libvirt and devel/py-libvirt to 1.2.12

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.12
67ab1dd02c
Kurt Jaeger (pi) · 1.2.11_1
security/libgcrypt: 1.6.1 -> 1.6.2, bump depends

Changes:
- src/sexp.c (do_vsexp_sscan): Return error for invalid args.
- cipher/md.c (_gcry_md_info): Fix a segv in case of calling
  with wrong parameters.
- cipher/primegen.c (_gcry_generate_elg_prime): Change to return an
  error code, possible NULL deref in call to prime generator.
- cipher/dsa.c (generate): Take care of new return code.
- cipher/elgamal.c (generate): Change to return an error code.  Take
	care of _gcry_generate_elg_prime return code.
- ecc: Support the non-standard 0x40 compression flag for EdDSA.
- mpi: Extend the internal mpi_get_buffer.
- mpi: Fix regression for powerpc-apple-darwin detection.
- Fix bug inhibiting the use of the sentinel attribute in src/gcrypt.h.in
- Fix building for the x32 target without asm modules in
  mpi/generic/mpi-asm-defs.h: Use a fixed value for the x32 ABI.
- Fix ARM assembly when building __PIC__
- mpi: Fix a subtle bug setting spurious bits with in mpi_set_bit.
  * mpi/mpi-bit.c (_gcry_mpi_set_bit, _gcry_mpi_set_highbit): Clear
    allocated but not used bits before resizing.
  * tests/t-mpi-bits.c (set_bit_with_resize): New.
- Use internal malloc function in fips.c.
  * src/fips.c (check_binary_integrity): s/gcry_malloc/xtrymalloc/.
- pubkey: Re-map all deprecated RSA algo numbers.
- cipher: Fix possible NULL dereference in cipher/md.c for being NULL.
- Fix ARMv6 detection when CFLAGS modify target CPU architecture.

PR:		193264
Approved by:	cpm@fbsd.es (maintainer)
cba03c03e1
Jason Helfman (jgh) · 1.2.11
- update to devel/libvirt and devel/py-libvirt to 1.2.11

http://libvirt.org/git/?p=libvirt.git;a=shortlog;h=refs/tags/v1.2.11
0513f5bb55
Jason Helfman (jgh) · 1.2.10_1
- fix packaging list for libvirt - update py-libvirt to 1.2.10
4f0e5048fb
Jason Helfman (jgh) · 1.2.10
- update libvirt to 1.2.10 - chase shared library bump
1616d90abe
Jason Helfman (jgh) · 1.2.9
- update libvirt,py-libvirt,libvirt-glib to 0.1.9 - shift var from ${PREFIX} to /var - bump shared libs of dep. port

PR:		192441 (based on)
Submitted by:	olevole@olevole.ru
763dd97ec9
Baptiste Daroussin (bapt) · 1.2.6_4
Cleanup plist
831295c29e
Bryan Drewery (bdrewery) · 1.2.6_4
- Fix support for BHYVE on head/amd64.

Modifying OPTIONS_DEFAULT after including bsd.port.option.mk is not valid.
  Just check for existence of bhyve for now instead to determine default.

PR:		194531
Reported by:	Conrad Meyer
137f2059f6
Tijl Coosemans (tijl) · 1.2.6_3
security/libssh2: - Convert to USES=libtool and USES=pathfix - Add INSTALL_TARGET=install-strip - Only depend on openssl if GCRYPT option is off - Sanitize libssh2.pc

devel/libvirt:
- Remove workaround for broken libssh2.pc
- Add USES=libtool and bump dependent ports
- Convert to INSTALL_TARGET=install-strip

devel/libvirt-glib:
- Convert to USES=libtool

Approved by:	portmgr (implicit, bump unstaged port)
009d225dd5
Kurt Jaeger (pi) · 1.2.6_2
security/libgcrypt: 1.5.3_3 -> 1.6.1

- Update to 1.6.1
- Remove some unneeded patches
- Fix pkg-plist
- report configure bug upstream
  https://bugs.g10code.com/gnupg/issue1668
- report API breakage downstream and find that MacPorts had the same issue
  https://rt.cpan.org/Ticket/Display.html?id=97201
- bump PORTREVISION for dependent ports (approx. 100 ports)
- Thanks to exp-run by antoine@ to find ports that break
- patch ports that would otherwise break
  security/shishi with PR 192164 is already committed
  [1] devel/ccrtp
  [2] editors/abiword
  [3] security/p5-Crypt-GCrypt

PR:		191256, 192162 [1], 192163 [2], 192166 [3]
Submitted by:	Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
Approved by:	maintainer timeout, antoine (exp-run), portmgr (implicit)
b95d127471
Tijl Coosemans (tijl) · 1.2.6_1
- Replace security/gnutls with security/gnutls3 and update to 3.2.15 - Bump PORTREVISION on all ports that depend on security/gnutls and   adjust all ports that depend on security/gnutls3 - Update mail/anubis to version 4.2 which supports gnutls 3.x - Update mail/libvmime to a development snapshot (recommended by upstream   developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
3ab1b8443e
Jason Helfman (jgh) · 1.2.6
- update to 1.2.6 - Make sure not to build uml driver as it's useless on FreeBSD - Enable bhyve by default on 10.0 and newer on amd64 - Fix sample config handling to work with staging - Fix bhyve detection in the configure script - Add a patch to fix segfaults in case of problems with bridge   creation - Enable networking port and install default networking definition;   add dnsmasq dependency for

PR:		190767
PR:		190783
Submitted by:	rodrigc@, roman@
443a44d151
Baptiste Daroussin (bapt) · 1.2.5
Convert GMAKE to MAKE_CMD Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends

With hat:	portmgr
a33191366c
Jason Helfman (jgh) · 1.2.5
- update to 1.2.5 - bhyve driver updates from novel@

Changes:	http://libvirt.org/news.html
732c834c38
Jason Helfman (jgh) · 1.2.4
- update to 1.2.4

Changelog:	http://libvirt.org/news.html
c564054155
Niclas Zeising (zeising) · 1.2.3_1
The FreeBSD x11@ and graphics team proudly presents a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
39fc32e828
Jason Helfman (jgh) · 1.2.3_1
- adjust package listing

Spotted by:	swills
3a30df7656
Jason Helfman (jgh) · 1.2.3
- update to 1.2.3 - support bhyve [1]

PR:	187584 (based on)
Submitted by:	xmj@chaot.net
Changes:	http://libvirt.org/news.html
ba38df0152
Jason Helfman (jgh) · 1.2.2
- update libvirt to 1.2.2   - fix qemu when not enabled, and disable linux containers [1] - update libvirt-glib to 0.1.8

Changes:	http://libvirt.org/news.html
Submitted by:	roman@ [1]
638c0d826d
Jason Helfman (jgh) · 1.2.1_1
- add rc.d script for libvirtd daemon control [1] - rename option description for qemu - fix qemu dependencies for libvirtd operations - strip libraries - add pkg-message

Many thanks to roman@ for testing!

PR:		168656 [1]
Submitted by:	dpejesh@yahoo.com
1f604d9171