# libvirt/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.05 hours (or 003.00 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.17 hours (or 010.20 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.18 hours (or 010.52 minutes) - HP EliteBook 8560w 32GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes defer = glibc64 license = See "license*.txt" in installed tree licfile = COPYING tmpsize = 504M dontfind = fuse209 nss setpaths = \ acl avahi curl fuse310 libssh2 libtirpc libyajl \ gnutls3 libnl libsasl libvirt libxml2 libssh libcapng \ openssl #--------------------------------------------------------------------- [depends] acl actools avahi curl dmidecode dnsmasq ebtables eudev fusecore gawk gnutls3 grep gtkcore iproute2 iptables libcapng libicu libnl libpcap libsasl libssh libssh2 libtirpc libxml2 libxslt libyajl lvm2 lxc meson ncurses ninja nss numactl openssl parted pcre perl pkgconf python:strict qemu readline scrub sed util-linux wireshark xfsprogs xorg # "pciaccess" and other libraries xzutils zlib #--------------------------------------------------------------------- [configure] timeout 5 killany -2 -w virtlogd libvirtd killany -9 virtlogd libvirtd VARDIR=/var mkdir -p $VARDIR MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE MASQEXE=$PRODTREE/dnsmasq/sbin/dnsmasq treetextsub \ --keeptimes \ --pattern=/usr/sbin/dnsmasq \ --newtext=$MASQEXE treetextsub \ --keeptimes \ --pattern=/usr/bin/dnsmasq \ --newtext=$MASQEXE export LACINCDIRS=$PRODTREE/libtirpc/include/tirpc export CFLAGS=-I$LACINCDIRS export LDFLAGS=-ltirpc #--------------------------------------------------------------------- PATH=$PRODTREE/python3/bin:$PATH PP=$PKGDIR_PROD rm -fr build mkdir build meson build \ -D prefix=$PP \ -D docs=enabled \ -D driver_qemu=enabled \ -D fuse=enabled \ -D libnl=enabled \ -D libpcap=enabled \ -D no_git=true cd build if [ \! -f build.ninja ]; then exit 1; fi meson configure #--------------------------------------------------------------------- [build] cd build ninja_simple_build #--------------------------------------------------------------------- [setup.boot] PATH=$PRODTREE/libvirt/bin:$PATH PATH=$PRODTREE/libvirt/sbin:$PATH timeout 5 killany -3 -w virtlogd libvirtd dnsmasq qemu vagrant killany -9 -w virtlogd libvirtd dnsmasq qemu vagrant ifconfig virbr0 down ifconfig virbr1 down ifconfig virbr2 down brctl delbr virbr0 brctl delbr virbr1 brctl delbr virbr2 virtlogd >& /var/tmp/virtlogd.log & libvirtd >& /var/tmp/libvirtd.log & sleep 2 POOLDIR=/var/libvirtd/pools/devel VIRSHLOG=/var/tmp/virsh-startup.log mkdir -p $POOLDIR rm -fr $VIRSHLOG virsh net-autostart default >> $VIRSHLOG 2>&1 virsh net-start default >> $VIRSHLOG 2>&1 virsh -c qemu:///system pool-define-as devel \ dir --target $POOLDIR >> $VIRSHLOG 2>&1 virsh -c qemu:///system pool-autostart devel >> $VIRSHLOG 2>&1 virsh -c qemu:///system pool-start devel >> $VIRSHLOG 2>&1 #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = https://packages.debian.org/unstable/source/libvirt url_home = https://libvirt.org/ url_lfs = not current when last checked url_tarball = https://libvirt.org/sources/libvirt-10.5.0.tar.xz #--------------------------------------------------------------------- [history] 180502 Added package. Started with 4.3.0. 180616 Updated to 4.4.0 180630 Updated to 4.5.0-rc2 180706 Updated to 4.5.0 180814 Updated to 4.6.0 181011 Updated to 4.8.0 181106 Updated to 4.9.0 181204 Updated to 4.10.0 210221 Updated to 7.0.0 211204 Updated to 7.10.0 220505 Updated to 8.3.0 220701 Updated to 8.5.0 230122 Updated to 8.8.0 230226 Updated to 9.0.0 230301 Updated to 9.1.0 240708 Updated to 10.5.0