[packages/libvirt] - updated to 8.8.0; sheepdog support is gone

qboosh qboosh at pld-linux.org
Mon Oct 10 06:28:05 CEST 2022


commit 9c616e1fdbf4b03a06e8d057732203dc9259103b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 10 06:28:36 2022 +0200

    - updated to 8.8.0; sheepdog support is gone

 libvirt-path-options.patch | 31 +++++-------------------------
 libvirt-qemu-acl.patch     | 11 +++++------
 libvirt.spec               | 47 ++++++++++++++++++++++++++--------------------
 3 files changed, 37 insertions(+), 52 deletions(-)
---
diff --git a/libvirt.spec b/libvirt.spec
index 20822e3..aa309dd 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -45,12 +45,12 @@
 Summary:	Toolkit to interact with virtualization capabilities
 Summary(pl.UTF-8):	Narzędzia współpracujące z funkcjami wirtualizacji
 Name:		libvirt
-Version:	8.4.0
+Version:	8.8.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://libvirt.org/sources/%{name}-%{version}.tar.xz
-# Source0-md5:	d9ffa11bc1dcbf5aca13271f3248d3f7
+# Source0-md5:	c20121ef8c9297a982dd1f2e529159f3
 Source1:	%{name}.init
 Source2:	%{name}.tmpfiles
 Patch0:		%{name}-sasl.patch
@@ -66,7 +66,7 @@ BuildRequires:	attr-devel
 BuildRequires:	audit-libs-devel
 BuildRequires:	augeas-devel
 %{?with_ceph:BuildRequires:	ceph-devel}
-BuildRequires:	curl-devel >= 7.18.0
+BuildRequires:	curl-devel >= 7.19.1
 BuildRequires:	cyrus-sasl-devel >= 2.1.26
 BuildRequires:	dbus-devel >= 1.0.0
 BuildRequires:	device-mapper-devel >= 1.0.0
@@ -75,19 +75,19 @@ BuildRequires:	docutils
 BuildRequires:	gawk
 BuildRequires:	gcc >= 6:4.4
 BuildRequires:	gettext-tools >= 0.17
-BuildRequires:	glib2-devel >= 1:2.48.0
+BuildRequires:	glib2-devel >= 1:2.56.0
 %{?with_glusterfs:BuildRequires:	glusterfs-devel >= 3.4.1}
-BuildRequires:	gnutls-devel >= 3.2.0
+BuildRequires:	gnutls-devel >= 3.6.0
 BuildRequires:	libapparmor-devel
 BuildRequires:	libblkid-devel >= 2.17
 BuildRequires:	libcap-ng-devel >= 0.4.0
-BuildRequires:	libfuse-devel >= 2.8.6
+BuildRequires:	libfuse3-devel >= 3.1.0
 BuildRequires:	libgcrypt-devel
 BuildRequires:	libiscsi-devel >= 1.18.0
 BuildRequires:	libnl-devel >= 3.2
 BuildRequires:	libpcap-devel >= 1.5.0
 BuildRequires:	libselinux-devel >= 2.5
-BuildRequires:	libssh-devel >= 0.7
+BuildRequires:	libssh-devel >= 0.8.1
 BuildRequires:	libssh2-devel >= 1.3
 BuildRequires:	libtirpc-devel
 BuildRequires:	libxml2-devel >= 1:2.9.1
@@ -114,20 +114,20 @@ BuildRequires:	systemd-devel
 %{?with_systemtap:BuildRequires:	systemtap-sdt-devel}
 BuildRequires:	udev-devel >= 1:219
 %{?with_wireshark:BuildRequires:	wireshark-devel >= 2.6.0}
-%{?with_libxl:BuildRequires:	xen-devel >= 4.6}
+%{?with_libxl:BuildRequires:	xen-devel >= 4.9}
 # For disk driver
 BuildRequires:	xorg-lib-libpciaccess-devel >= 0.10.0
 BuildRequires:	yajl-devel >= 2.0.3
-Requires:	curl-libs >= 7.18.0
+Requires:	curl-libs >= 7.19.1
 Requires:	cyrus-sasl-libs >= 2.1.26
 Requires:	device-mapper-libs >= 1.0.0
-Requires:	glib2 >= 1:2.48.0
-Requires:	gnutls-libs >= 3.2.0
+Requires:	glib2 >= 1:2.56.0
+Requires:	gnutls-libs >= 3.6.0
 Requires:	libcap-ng >= 0.4.0
 Requires:	libnl >= 3.2
 Requires:	libpcap >= 1.5.0
 Requires:	libselinux >= 2.5
-Requires:	libssh >= 0.7
+Requires:	libssh >= 0.8.1
 Requires:	libssh2 >= 1.3
 Requires:	libxml2 >= 1:2.9.1
 %{?with_hyperv:Requires:	openwsman-libs >= 2.6.3}
@@ -171,7 +171,7 @@ Ten pakiet zawiera podstawowe biblioteki oraz plik konfiguracyjny.
 Summary:	bash-completion for libvirt
 Summary(pl.UTF-8):	Bashowe dopełnianie składni poleceń libvirt
 Group:		Applications/Shells
-Requires:	bash-completion >= 2.0
+Requires:	bash-completion >= 1:2.0
 BuildArch:	noarch
 
 %description -n bash-completion-%{name}
@@ -287,7 +287,6 @@ Suggests:	parted >= 1.8.0
 Suggests:	polkit >= 0.93
 #Suggests:	radvd
 Suggests:	scrub
-#Suggests:	sheepdog
 Provides:	libvirt(hypervisor)
 
 %description daemon
@@ -331,7 +330,7 @@ Summary:	Server side driver required to run XEN guests (xenlight)
 Summary(pl.UTF-8):	Sterownik wymagany po stronie serwera do uruchamiania gości XEN (xenlight)
 Group:		Libraries
 Requires:	%{name}-daemon = %{version}-%{release}
-Requires:	xen >= 4.6
+Requires:	xen >= 4.9
 Provides:	libvirt(hypervisor)
 Obsoletes:	libvirt-daemon-xen < 4.3.0
 
@@ -348,7 +347,7 @@ Summary:	Server side driver required to run LXC guests
 Summary(pl.UTF-8):	Sterownik wymagany po stronie serwera do uruchamiania gości LXC
 Group:		Libraries
 Requires:	%{name}-daemon = %{version}-%{release}
-Requires:	libfuse >= 2.8.6
+Requires:	libfuse3 >= 3.1.0
 Provides:	libvirt(hypervisor)
 
 %description daemon-lxc
@@ -368,7 +367,7 @@ Requires:	/usr/bin/qemu-img
 Requires:	bzip2
 Requires:	gzip
 Requires:	lzop
-Requires:	qemu-system-x86
+Requires:	qemu-system-x86 >= 4.2
 Requires:	xz
 Provides:	libvirt(hypervisor)
 
@@ -421,7 +420,7 @@ Requires(postun):	systemd-units
 Requires(preun):	systemd-units
 Requires:	%{name} = %{version}-%{release}
 Requires:	gettext >= 0.18.1.1-6
-Requires:	gnutls >= 3.2.0
+Requires:	gnutls >= 3.6.0
 Requires:	netcat-openbsd
 Requires:	rc-scripts
 
@@ -550,7 +549,6 @@ Moduł sekcji Wiresharka do pakietów libvirt.
 	-Dradvd_path=/usr/sbin/radvd \
 	-Drmmod_path=/sbin/rmmod \
 	-Dscrub_path=/usr/bin/scrub \
-	-Dsheepdogcli_path=/usr/sbin/collie \
 	-Dshowmount_path=/usr/sbin/showmount \
 	-Dtc_path=/sbin/tc \
 	-Dudevadm_path=/sbin/udevadm \
@@ -694,6 +692,14 @@ fi
 
 %files daemon
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/abstractions/libvirt-lxc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/abstractions/libvirt-qemu
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/libvirt
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/local/usr.lib.libvirt.virt-aa-helper
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.lib.libvirt.virt-aa-helper
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.sbin.libvirtd
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.sbin.virtqemud
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.sbin.virtxend
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt-admin.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirtd.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtinterfaced.conf
@@ -793,7 +799,6 @@ fi
 # mpath requires libdevmapper, but libvirt itself requires it too
 %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_mpath.so
 %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_scsi.so
-%attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_sheepdog.so
 %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_vstorage.so
 %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_zfs.so
 %dir %{_libdir}/libvirt/storage-file
@@ -999,7 +1004,9 @@ fi
 %{_datadir}/libvirt/schemas/domaincaps.rng
 %{_datadir}/libvirt/schemas/domaincheckpoint.rng
 %{_datadir}/libvirt/schemas/domaincommon.rng
+%{_datadir}/libvirt/schemas/domainoverrides.rng
 %{_datadir}/libvirt/schemas/domainsnapshot.rng
+%{_datadir}/libvirt/schemas/inactiveDomain.rng
 %{_datadir}/libvirt/schemas/interface.rng
 %{_datadir}/libvirt/schemas/network.rng
 %{_datadir}/libvirt/schemas/networkcommon.rng
diff --git a/libvirt-path-options.patch b/libvirt-path-options.patch
index c9673b1..70df6f4 100644
--- a/libvirt-path-options.patch
+++ b/libvirt-path-options.patch
@@ -1,5 +1,5 @@
---- libvirt-6.10.0/meson.build.orig	2020-12-01 09:51:29.000000000 +0100
-+++ libvirt-6.10.0/meson.build	2022-06-15 21:02:52.949418900 +0200
+--- libvirt-8.8.0/meson.build.orig	2020-12-01 09:51:29.000000000 +0100
++++ libvirt-8.8.0/meson.build	2022-06-15 21:02:52.949418900 +0200
 @@ -943,16 +943,19 @@ optional_programs = [
  ]
  
@@ -167,26 +167,6 @@
        endforeach
      endif
    endif
-@@ -1945,12 +1992,17 @@ if conf.has('WITH_LIBVIRTD')
-   endif
- 
-   if not get_option('storage_sheepdog').disabled()
-+   sheepdogcli_path = get_option('sheepdogcli_path')
-+   if sheepdogcli_path == ''
-     sheepdogcli_prog = find_program('dog', required: get_option('storage_sheepdog'), dirs: libvirt_sbin_path)
--
-     if sheepdogcli_prog.found()
-+      sheepdogcli_path = sheepdogcli_prog.path()
-+    endif
-+   endif
-+    if sheepdogcli_path != ''
-       use_storage = true
-       conf.set('WITH_STORAGE_SHEEPDOG', 1)
--      conf.set_quoted('SHEEPDOGCLI', sheepdogcli_prog.path())
-+      conf.set_quoted('SHEEPDOGCLI', sheepdogcli_path)
-     endif
-   endif
- 
 @@ -2104,10 +2168,16 @@ if not get_option('nss').disabled()
  endif
  
@@ -249,9 +229,9 @@
          files('@0 at -structs'.format(proto['name'])),
        ],
        env: runutf8,
---- libvirt-6.10.0/meson_options.txt.orig	2020-12-01 09:51:29.000000000 +0100
-+++ libvirt-6.10.0/meson_options.txt	2022-06-15 21:47:27.468263121 +0200
-@@ -102,3 +102,51 @@ option('numad', type: 'feature', value:
+--- libvirt-8.8.0/meson_options.txt.orig	2020-12-01 09:51:29.000000000 +0100
++++ libvirt-8.8.0/meson_options.txt	2022-06-15 21:47:27.468263121 +0200
+@@ -102,3 +102,50 @@ option('numad', type: 'feature', value:
  option('pm_utils', type: 'feature', value: 'auto', description: 'use pm-utils for power management')
  option('sysctl_config', type: 'feature', value: 'auto', description: 'Whether to install sysctl configs')
  option('tls_priority', type: 'string', value: 'NORMAL', description: 'set the default TLS session priority string')
@@ -289,7 +269,6 @@
 +option('radvd_path', type: 'string', value: '', description: 'executable path')
 +option('rmmod_path', type: 'string', value: '', description: 'executable path')
 +option('scrub_path', type: 'string', value: '', description: 'executable path')
-+option('sheepdogcli_path', type: 'string', value: '', description: 'executable path')
 +option('showmount_path', type: 'string', value: '', description: 'executable path')
 +option('tc_path', type: 'string', value: '', description: 'executable path')
 +option('udevadm_path', type: 'string', value: '', description: 'executable path')
diff --git a/libvirt-qemu-acl.patch b/libvirt-qemu-acl.patch
index de9941b..03f883f 100644
--- a/libvirt-qemu-acl.patch
+++ b/libvirt-qemu-acl.patch
@@ -17,12 +17,11 @@ diff -urNp -x '*.orig' libvirt-8.4.0.org/src/qemu/qemu.conf.in libvirt-8.4.0/src
  # The default SASL configuration file is located in /etc/sasl/
  # When running libvirtd unprivileged, it may be desirable to
  # override the configs in this location. Set this parameter to
-diff -urNp -x '*.orig' libvirt-8.4.0.org/src/qemu/qemu_command.c libvirt-8.4.0/src/qemu/qemu_command.c
---- libvirt-8.4.0.org/src/qemu/qemu_command.c	2022-06-01 09:28:24.000000000 +0200
-+++ libvirt-8.4.0/src/qemu/qemu_command.c	2022-06-19 22:15:28.366510311 +0200
-@@ -8333,6 +8333,9 @@ qemuBuildGraphicsVNCCommandLine(virQEMUD
-         virBufferAsprintf(&opt, ",audiodev=%s", audioid);
-     }
+--- libvirt-8.8.0/src/qemu/qemu_command.c.orig	2022-10-09 21:14:42.031046895 +0200
++++ libvirt-8.8.0/src/qemu/qemu_command.c	2022-10-09 21:16:56.026987643 +0200
+@@ -7737,6 +7737,9 @@ qemuBuildGraphicsVNCCommandLine(virQEMUD
+ 
+     virBufferAsprintf(&opt, ",audiodev=%s", audioid);
  
 +    if (cfg->vncACL)
 +	    virBufferAddLit(&opt, ",acl");
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/9c616e1fdbf4b03a06e8d057732203dc9259103b



More information about the pld-cvs-commit mailing list