libvirt: Update to version 7.10.0

- Update from 6.5.0 to 7.10.0 (17 releases between these versions)
- Update of rootfile
- Update of patch as source file contents changed enough that old patch failed to work
- Build changed to meson/ninja as autotools option has been removed
- Most of the existing options were available as meson options - look in
   meson_options.txt file in the source tarball.
   Three options were not available with meson
   --with-virtualport
   --with-macvtap
   --without-dbus
- Changelog is too large to include here (~1200 lines) but the detail can be seen in the
   NEWS.rst file in the source tarball. Many bug fixes identified in the changelog

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
This commit is contained in:
Adolf Belka
2022-01-13 13:24:40 +01:00
committed by Peter Müller
parent 2689bb7138
commit 084bd67b62
3 changed files with 110 additions and 354 deletions

View File

@@ -24,7 +24,7 @@
include Config
VER = 6.5.0
VER = 7.10.0
THISAPP = libvirt-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = x86_64
PROG = libvirt
PAK_VER = 26
PAK_VER = 27
DEPS = ebtables libpciaccess libtirpc libyajl ncat qemu
@@ -45,7 +45,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 19ea5c0d18bed1515c23a9e9c7427dc0
$(DL_FILE)_MD5 = 435d27a73b25c936e0451cc4397ab986
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
@@ -80,45 +80,39 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libvirt/0001-Change-default-behavior-of-libvirt-guests.sh-for-IPF.patch
mkdir -p -v $(DIR_APP)/build_libvirt && cd $(DIR_APP)/build_libvirt
cd $(DIR_APP)/build_libvirt && ../autogen.sh --no-git
cd $(DIR_APP)/build_libvirt && ../configure \
cd $(DIR_APP) && meson \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--without-sasl \
--without-vbox \
--without-lxc \
--without-esx \
--without-vmware \
--without-openvz \
--without-firewalld \
--without-network \
--with-interface \
--with-virtualport \
--with-macvtap \
--without-wireshark-dissector \
--disable-nls \
--without-test-suite \
--without-dbus \
--with-qemu-user=nobody \
--with-qemu-group=kvm \
--with-storage-dir \
--with-storage-fs \
--with-storage-lvm \
--without-storage-iscsi \
--without-storage-scsi \
--without-storage-mpath \
--without-storage-disk \
--without-storage-rbd \
--without-storage-sheepdog \
--without-storage-gluster \
--without-storage-zfs
cd $(DIR_APP)/build_libvirt && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP)/build_libvirt && make install
-D docs=disabled \
-D sasl=disabled \
-D driver_vbox=disabled \
-D driver_lxc=disabled \
-D driver_esx=disabled \
-D driver_vmware=disabled \
-D driver_openvz=disabled \
-D firewalld=disabled \
-D driver_network=disabled \
-D driver_interface=enabled \
-D wireshark_dissector=disabled \
-D nls=disabled \
-D tests=disabled \
-D qemu_user=nobody \
-D qemu_group=kvm \
-D storage_dir=enabled \
-D storage_fs=enabled \
-D storage_lvm=enabled \
-D storage_iscsi=disabled \
-D storage_scsi=disabled \
-D storage_mpath=disabled \
-D storage_disk=disabled \
-D storage_rbd=disabled \
-D storage_sheepdog=disabled \
-D storage_gluster=disabled \
-D storage_zfs=disabled \
builddir/
cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && ninja -C builddir/ install
#install initscripts
$(call INSTALL_INITSCRIPT,libvirtd)