From 977561fa47cea47837ee98b7cf80f837525d4153 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 15 Jan 2021 18:22:26 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libvirt.git#c71e60c76cb86f838b9564d7666ddcfa56826e65 --- libvirt.spec | 108 ++++++++------------------------------------------- sources | 2 +- 2 files changed, 18 insertions(+), 92 deletions(-) diff --git a/libvirt.spec b/libvirt.spec index 1c6e57f..f901b48 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -6,7 +6,7 @@ %define min_rhel 7 %define min_fedora 31 -%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel}) +%if 0%{?fedora} >= %{min_fedora} || 0%{?rhel} >= %{min_rhel} %define supported_platform 1 %else %define supported_platform 0 @@ -213,8 +213,8 @@ Summary: Library providing a simple virtualization API Name: libvirt -Version: 6.10.0 -Release: 2%{?dist}.1 +Version: 7.0.0 +Release: 1%{?dist} License: LGPLv2+ URL: https://libvirt.org/ @@ -735,6 +735,9 @@ Requires: xz %if 0%{?fedora} || 0%{?rhel} > 7 Requires: systemd-container %endif + %if 0%{?fedora} || 0%{?rhel} > 7 +Requires: swtpm-tools + %endif %description daemon-driver-qemu The qemu driver plugin for the libvirtd daemon, providing @@ -1439,9 +1442,13 @@ fi rm -rf %{_localstatedir}/lib/rpm-state/libvirt || : %post daemon-config-nwfilter -cp %{_datadir}/libvirt/nwfilter/*.xml %{_sysconfdir}/libvirt/nwfilter/ -# libvirt saves these files with mode 600 -chmod 600 %{_sysconfdir}/libvirt/nwfilter/*.xml +for datadir_file in %{_datadir}/libvirt/nwfilter/*.xml; do + sysconfdir_file=%{_sysconfdir}/libvirt/nwfilter/$(basename "$datadir_file") + if [ ! -f "$sysconfdir_file" ]; then + # libvirt saves these files with mode 600 + install -m 0600 "$datadir_file" "$sysconfdir_file" + fi +done # Make sure libvirt picks up the new nwfilter defininitons mkdir -p %{_localstatedir}/lib/rpm-state/libvirt || : touch %{_localstatedir}/lib/rpm-state/libvirt/restart || : @@ -1740,7 +1747,7 @@ exit 0 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug %{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/swtpm/ -%dir %attr(0711, root, root) %{_localstatedir}/log/swtpm/libvirt/qemu/ +%dir %attr(0730, tss, tss) %{_localstatedir}/log/swtpm/libvirt/qemu/ %{_bindir}/virt-qemu-run %{_mandir}/man1/virt-qemu-run.1* %endif @@ -1943,6 +1950,9 @@ exit 0 %changelog +* Fri Jan 15 2021 Daniel P. Berrangé - 7.0.0-1 +- Rebase to 7.0.0 release + * Fri Dec 04 2020 Cole Robinson - 6.10.0-2.1 - Rebuild for wireshark soname bump @@ -2020,87 +2030,3 @@ exit 0 * Wed Jan 15 2020 Cole Robinson - 6.0.0-1 - Update to version 6.0.0 - -* Thu Dec 19 2019 Adam Williamson - 5.10.0-2 -- Rebuild for new xen-libs - -* Tue Dec 03 2019 Cole Robinson - 5.10.0-1 -- Update to version 5.10.0 - -* Mon Nov 11 2019 Cole Robinson - 5.9.0-1 -- Update to version 5.9.0 - -* Mon Oct 07 2019 Cole Robinson - 5.8.0-1 -- Update to version 5.8.0 - -* Thu Sep 26 2019 Cole Robinson - 5.7.0-3 -- Fix VM startup when legacy cgroups are defined (bz #1612383) - -* Fri Sep 20 2019 Daniel P. Berrangé - 5.7.0-2 -- Fix systemd socket activation with TLS socket - -* Tue Sep 03 2019 Cole Robinson - 5.7.0-1 -- Update to version 5.7.0 - -* Tue Aug 06 2019 Cole Robinson - 5.6.0-1 -- Update to version 5.6.0 - -* Thu Jul 25 2019 Fedora Release Engineering - 5.5.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Wed Jul 03 2019 Cole Robinson - 5.5.0-1 -- Rebased to version 5.5.0 - -* Thu Jun 20 2019 Cole Robinson - 5.4.0-2 -- CVE-2019-10161: arbitrary file read/exec via virDomainSaveImageGetXMLDesc - API (bz #1722463, bz #1720115) -- CVE-2019-10166: virDomainManagedSaveDefineXML API exposed to readonly - clients (bz #1722462, bz #1720114) -- CVE-2019-10167: arbitrary command execution via - virConnectGetDomainCapabilities API (bz #1722464, bz #1720117) -- CVE-2019-10168: arbitrary command execution via - virConnectBaselineHypervisorCPU and virConnectCompareHypervisorCPU APIs (bz - #1722466, bz #1720118) - -* Wed Jun 12 2019 Daniel P. Berrangé - 5.4.0-1 -- Update to 5.4.0 release - -* Tue May 21 2019 Daniel P. Berrangé - 5.3.0-3 -- Fix systemd socket permissions -- Resolves: rhbz #1712498 (CVE-2019-10132) - -* Tue May 14 2019 Daniel P. Berrangé - 5.3.0-2 -- Define md-clear CPUID bit -- Resolves: rhbz #1709977 (CVE-2018-12126), rhbz #1709979 (CVE-2018-12127), - rhbz #1709997 (CVE-2018-12130), rhbz #1709984 (CVE-2019-11091) - -* Tue May 7 2019 Daniel P. Berrangé - 5.3.0-1 -- Update to 5.3.0 release - -* Mon Apr 08 2019 Cole Robinson - 5.2.0-2 -- Rebuild for xen 4.12 soname bump - -* Wed Apr 3 2019 Daniel P. Berrangé - 5.2.0-1 -- Update to 5.2.0 release - -* Wed Mar 20 2019 Daniel P. Berrangé - 5.1.0-3 -- Fix upgrades for rbd on i686 (rhbz #1688121) -- Add missing xfsprogs-devel dep -- Fix use of deprecated RBD features -- Avoid using firewalld if unprivileged -- Don't require ipv6 firewall support at startup (rhbz #1688968) - -* Wed Mar 06 2019 Igor Gnatenko - 5.1.0-2 -- Remove obsolete scriptlets - -* Mon Mar 4 2019 Daniel P. Berrangé - 5.1.0-1 -- Update to 5.1.0 release - -* Sun Feb 17 2019 Igor Gnatenko - 5.0.0-3 -- Rebuild for readline 8.0 - -* Fri Feb 01 2019 Fedora Release Engineering - 5.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Jan 21 2019 Daniel P. Berrangé - 5.0.0-1 -- Update to 5.0.0 release diff --git a/sources b/sources index 83587a1..4248886 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-6.10.0.tar.xz) = 42e77a3542e9f15c3aeaab1639a80ee6539cb0f09a1e8324aa0059a8f6041acf20263a9556ac65c9a7a14693b0756020231085e4556ff54cf8329110018a2485 +SHA512 (libvirt-7.0.0.tar.xz) = dd6db5ec4971cf4c6059795fd81d5a3a889b10740e34c3c92271eda1c683c99df2c8f923398065d8a7c4f987a20eb1da617d5297ba8ea5a31f154412af50c343