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)

Jason Helfman (jgh) · 1.2.1
- update to 1.2.1

BSD: implement nodeGetMemoryStats (Roman Bogorodskiy)

Changes:	http://libvirt.org/news.html
ea0b59575e
Jason Helfman (jgh) · 1.2.0
- update to 1.2.0 and bump shared libraries in respective ports - while here shift new lib_depends format where needed

Changes:	http://libvirt.org/news.html
cee0c06ddd
Koop Mast (kwm) · 1.1.4
Fix typo.
76f88bd805
Jason Helfman (jgh) · 1.1.4
- update to 1.1.4

Changes: http://libvirt.org/news.html
a4bef5d94c
Jason Helfman (jgh) · 1.1.3
- update to 1.1.3 - support staging

Changes: http://libvirt.org/news.html
d3eb64a0d8
Jason Helfman (jgh) · 1.1.2
- fix build on 8.x (thanks kwm@!)

Reported by: pkg-fallout
a02c48b9da
Baptiste Daroussin (bapt) · 1.1.2
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 3)
580a778a16
Jason Helfman (jgh) · 1.1.2
- update to 1.1.2 - move to new lib_depends format - shift perl build inclusion to USES framework - fix formatting of pkg-descr

Note: this should fix building on CURRENT

Changes:	http://www.libvirt.org/news.html
1d7243c71e
Baptiste Daroussin (bapt) · 1.1.1
Add an explicit dependency on pkgconf
591aba0faa
Jason Helfman (jgh) · 1.1.1
- update to 1.1.1 - workaround for pkg-config (thanks bapt@!)

Changes:	http://libvirt.org/news.html
ce3ccd0126
Jason Helfman (jgh) · 1.1.0_1
- fix plist

Reported by:	pkg (DEVELOPER_MODE)
2572affa46
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.1.0_1
- Update to 7.31.0 - Bump PORTREVISION for ftp/curl shlib change - Add TEST_DEPENDS - Convert to new options framework - Adjust options:   - Add COOKIES   - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]   - Add GSSAPI and SPNEGO [2]   - Remove KERBEROS4   - Rename LIBIDN to IDN   - Remove TRACKMEMORY [1] - Sort option handler - Add SLAVEDIRS: ftp/curl-hiphop - Cosmetic change - Cleanup

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
c2d1a14c7c
Jason Helfman (jgh) · 1.1.0
- convert USE_GMAKE to USES=gmake
0458432ec0
Jason Helfman (jgh) · 1.1.0
- bring in distinfo and pkg-plist for bump
303d3dc0d4
Jason Helfman (jgh) · 1.1.0
- update to 1.1.0 and bump shared libraries in respective ports - while here:   - fix option check in sysutils/cfengine34   - move devel/libvirt-glib to use glib20 in favor of gio-fam-backend (suggested by kwm@)   - restore ABI version in net-mgmt/collectd5
d92add59e5
Jason Helfman (jgh) · 1.0.6_1
- -fstack-protector is in CFLAGS, but not in LDFLAGS.  The compiler run inserts references to __stack_chk* symbols, but the linker run later does not resolve them.

add -fstack-protector to LDFLAGS
bump portrevision

Submitted by:	mandree@ and others
3634919b31
Jason Helfman (jgh) · 1.0.6
- update to 1.0.6 - pkg-plist cleanup

Changes:	http://www.libvirt.org/news.html
23327530f4
Jason Helfman (jgh) · 1.0.5
- update to 1.0.5

Changes: http://libvirt.org/news.html
b8e1c3bed3
Emanuel Haupt (ehaupt) · 1.0.4_1
Chase security/libgcrypt update
2898e3fa0c
Alex Kozlov (ak) · 1.0.4
- Convert USE_GETTEXT to USES (part 4)

Approved by:	portmgr (bapt)
83f02b963c
Jason Helfman (jgh) · 1.0.4
- update to 1.0.4 - add additional mirror - pet portlint - misc. cleanups

Changes:	http://libvirt.org/news.html

Feature safe:	yes
79f052a3f7
Baptiste Daroussin (bapt) · 1.0.3
Fix a long standing bug of lib/charset.alias being overwritten, modified, and badly tracked by ports.

Make lib/charset.alias a file only provided by converters/libiconv
Create a new USES: charsetfix, that will modify in post patch the Makefile.in to prevent a port from modifying/overwritting the charset.alias file during make install.
Prevent devel/gettext from installing that files.
Fix a couple of ports that actually touch charset.alias during the build phase.

Based on a patch by ale (http://lists.freebsd.org/pipermail/freebsd-gnome/2012-October/027747.html)

Approved by:	kwm (gnome)
Exp-run by:	miwi
e7b0f97788
Jason Helfman (jgh) · 1.0.3
- update to 1.0.3 - patch merged upstream

Changes:	http://libvirt.org/news.html
47be7f2e8a
Pietro Cerutti (gahr) · 1.0.2_1
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)

Approved by:	portmgr
03cceed935
Jason Helfman (jgh) · 1.0.2_1
- drop ABI versions of all lib_depends

Reported by:	lifanov@mail.lifanov.com
0bf5d9e031
Jason Helfman (jgh) · 1.0.2_1
- fix python bindings  - upstream git commit a6b8bae5a6a4752926eba409202ec061d81c6c8a
05622c2782
Jason Helfman (jgh) · 1.0.2
- update to 1.0.2, support optional documentation installation

Changes: http://libvirt.org/news.html (or newly included NEWS file, optional docs)
bd6707d590
Jason Helfman (jgh) · 1.0.1
- update to 1.0.1 - support qemu bindings - drop dependency on autotools suite - perl is now a build dependency - fix configuration file installations - remove property on pkg-plist

Changes: http://libvirt.org/news.html
859823aa5f
Jason Helfman (jgh) · 1.0.0
- update libvirt to 1.0.0, and bump others for shlib change - explictly tie to ABI version, required - update historical headers - add shared description for libvirt
682ff4dbe0
Jason Helfman (jgh) · 0.10.2
- update to 0.10.2

Changes: http://libvirt.org/news.html
34b42bf99e
Jason Helfman (jgh) · 0.10.1
- update to 0.10.1, includes shlib bump

Changes: http://libvirt.org/news.html
38e6819bf1
Jason Helfman (jgh) · 0.9.13
- revert accidental commit 303239:300896
9fd46a1a81
Jason Helfman (jgh) · 0.9.13
10
206e828ea6
Jason Helfman (jgh) · 0.9.13
- update to 0.9.13

Changes: http://libvirt.org/news.html
a6c9b2b005
Jason Helfman (jgh) · 0.9.12
- adopt optionsNG
5e8fb43b19
Jason Helfman (jgh) · 0.9.12
- Update to 0.9.12 - remove patch files in favor of --without-sysctl (Daniel P. Berrange)

Changes: http://libvirt.org/news.html
0096819a22
Ade Lovett (ade) · 0.9.11
Update autoconf to 2.69 and automake to 1.12

PR:		166836
Tested by:	Multiple -exp runs (pav)
6d726b6c09
Jason Helfman (jgh) · 0.9.11
- add PORTSCOUT variable to not look for libvirt stable releases
65f252354c
Jason Helfman (jgh) · 0.9.11
- remove --without-libssl2

Spotted by: GeJ (#bsdports)
Feature safe:	yes
d2b3c7dbbc
Jason Helfman (jgh) · 0.9.11
- Update to 0.9.11 - bring in libssh2 support and tests

Changes: http://libvirt.org/news.html
Feature safe:   yes
c0c47dcd0c
Jason Helfman (jgh) · 0.9.10
- Update to 0.9.10 ( http://libvirt.org/news.html )
61d8152b0e
Jason Helfman (jgh) · 0.9.9
- Update to 0.9.9 - See http://libvirt.org/news.html for release notes.

Submitted by:	jgh (me)
Approved by:	rene, crees (mentors)
8218064205
Jason Helfman (jgh) · 0.9.8
update to 0.9.8 ( http://libvirt.org/news.html ) remove sysctl variable for bsd update MAINTAINER address, as submitter is now MAINTAINER

PR: ports/163212
Submitted by: Jason Helfman <jhelfman@experts-exchange.com>
Approved by: crees (mentor)
1828932297
Martin Wilke (miwi) · 0.9.7
- Update to 0.9.7

PR:		162387
Submitted by:	Jason Helfman <jhelfman@experts-exchange.com> (maintainer)
Feature safe:	yes
b41f6501e7
Chris Rees (crees) · 0.9.6_1
Only remove the locale dirs that aren't in mtree; this causes a problem in dependent ports, namely zenpack-libvirt

Approved by:	Jason Helfman (maintainer, implicit)
c3e21f1ce4
Wen Heping (wen) · 0.9.6
- Update to 0.9.6 - Pet portlint

PR:		ports/160912
Submitted by:	Jason Helfman <jhelfman@experts-exchange.com> (maintainer)
71948ca1f3
Steve Wills (swills) · 0.9.4
- Update to 0.9.4

PR:		ports/159403
Submitted by:	Jason Helfman <jhelfman@experts-exchange.com> (maintainer)
ae7cbbd864
Beech Rintoul (beech) · 0.9.3
- Update to 0.9.3

PR:		ports/158688
Submitted by:	Jason Helfman <jhelfman@experts-exchange.com> (maintainer)
711270f27b
Steve Wills (swills) · 0.9.2_1
- Chase the libgcrypt shared lib version
e0755b977d
Julien Laffaye (jlaffaye) · 0.9.2
Update to 0.9.2 Fix plist

PR:		ports/157712
Submitted by:	Jason Helfman <jhelfman@experts-exchange.com> (maintainer)
Approved by:	bapt (mentor)
bd6e1176fa