A toolkit to interact with the virtualization capabilities of recent versions of
Linux, and other OSes.
libvirt provides:
* Remote management using TLS encryption and x509 certificates
* Remote management authenticating with Kerberos and SASL
* Local access control using PolicyKit
* Zero-conf discovery using Avahi multicast-DNS
* Management of virtual machines, virtual networks and storage
* Portable client API for Linux, Solaris and Windows
===> The following configuration options are available for libvirt-12.8.0:
BHYVE=on: bhyve driver
DOCS=on: Build and/or install documentation
LIBSSH=on: libssh remote transport
LIBSSH2=on: libssh2 remote transport
NLS=on: Native Language Support
NSS=off: Name Service Switch plugin
QEMU=off: QEMU driver
READLINE=on: Command line editing via libreadline
SASL=off: SASL authentication support
SLIRP=on: SLIRP networking for bhyve driver
XEN=off: Xen support via libxl
ZFS=on: ZFS storage driver
===> Use 'make config' to modify these settings
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
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
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
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
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
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)
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]
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.
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
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.
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.
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
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
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
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)
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
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
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
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
- 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 that used these have been
updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.
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)
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]
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
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
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
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
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
(Only the first 15 lines of the commit message are shown above )
- 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
- 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
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)
- 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)
- 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 that
PR: 190767
PR: 190783
Submitted by: rodrigc@, roman@
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
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
(Only the first 15 lines of the commit message are shown above )
- 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]