Accepting request 1178390 from Virtualization
- Update to libvirt 10.4.0 - network: use nftables to setup virtual network firewall rules boo#1201510 - Many incremental improvements and bug fixes, see https://libvirt.org/news.html#v10-4-0-2024-06-03 OBS-URL: https://build.opensuse.org/request/show/1178390 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=399
This commit is contained in:
commit
ac812739ac
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9a68ef43417ba2c392c34c8635055bdb6f395ed984a79ddd3e61d613bff3bdc3
|
|
||||||
size 9822088
|
|
3
libvirt-10.4.0.tar.xz
Normal file
3
libvirt-10.4.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b5c70cb7d02807d8e39d8e4eb1e4e85c6b70c11fbf15d63656d0a84096d45031
|
||||||
|
size 9852940
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 3 18:03:34 UTC 2024 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Update to libvirt 10.4.0
|
||||||
|
- network: use nftables to setup virtual network firewall rules
|
||||||
|
boo#1201510
|
||||||
|
- Many incremental improvements and bug fixes, see
|
||||||
|
https://libvirt.org/news.html#v10-4-0-2024-06-03
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 8 22:39:10 UTC 2024 - James Fehlig <jfehlig@suse.com>
|
Wed May 8 22:39:10 UTC 2024 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
39
libvirt.spec
39
libvirt.spec
@ -119,6 +119,16 @@
|
|||||||
%define with_storage_gluster 0
|
%define with_storage_gluster 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Prefer nftables for Tumbleweed, but keep using iptables for distros based
|
||||||
|
# on SLE15 codestream
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%define prefer_nftables 1
|
||||||
|
%define firewall_backend_priority nftables,iptables
|
||||||
|
%else
|
||||||
|
%define prefer_nftables 0
|
||||||
|
%define firewall_backend_priority iptables,nftables
|
||||||
|
%endif
|
||||||
|
|
||||||
# Force QEMU to run as qemu:qemu
|
# Force QEMU to run as qemu:qemu
|
||||||
%define qemu_user qemu
|
%define qemu_user qemu
|
||||||
%define qemu_group qemu
|
%define qemu_group qemu
|
||||||
@ -135,7 +145,7 @@
|
|||||||
|
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
URL: https://libvirt.org/
|
URL: https://libvirt.org/
|
||||||
Version: 10.3.0
|
Version: 10.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library providing a virtualization API
|
Summary: Library providing a virtualization API
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -182,7 +192,7 @@ BuildRequires: libacl-devel
|
|||||||
BuildRequires: qemu-tools
|
BuildRequires: qemu-tools
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: bash-completion-devel >= 2.0
|
BuildRequires: bash-completion-devel >= 2.0
|
||||||
BuildRequires: glib2-devel >= 2.56
|
BuildRequires: glib2-devel >= 2.58
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libgnutls-devel
|
BuildRequires: libgnutls-devel
|
||||||
@ -211,8 +221,6 @@ BuildRequires: apparmor-rpm-macros
|
|||||||
BuildRequires: libapparmor-devel
|
BuildRequires: libapparmor-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cyrus-sasl-devel
|
BuildRequires: cyrus-sasl-devel
|
||||||
BuildRequires: ebtables
|
|
||||||
BuildRequires: iptables
|
|
||||||
BuildRequires: polkit >= 0.112
|
BuildRequires: polkit >= 0.112
|
||||||
%if %{with_nbdkit}
|
%if %{with_nbdkit}
|
||||||
BuildRequires: libnbd-devel
|
BuildRequires: libnbd-devel
|
||||||
@ -414,7 +422,11 @@ Summary: Network driver plugin for the libvirtd daemon
|
|||||||
Requires: %{name}-daemon-common = %{version}-%{release}
|
Requires: %{name}-daemon-common = %{version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: dnsmasq >= 2.41
|
Requires: dnsmasq >= 2.41
|
||||||
|
%if %{prefer_nftables}
|
||||||
|
Requires: nftables
|
||||||
|
%else
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
|
%endif
|
||||||
|
|
||||||
%description daemon-driver-network
|
%description daemon-driver-network
|
||||||
The network driver plugin for the libvirtd daemon, providing
|
The network driver plugin for the libvirtd daemon, providing
|
||||||
@ -596,6 +608,7 @@ Requires: /usr/bin/bzip2
|
|||||||
Requires: /usr/bin/gzip
|
Requires: /usr/bin/gzip
|
||||||
Requires: /usr/bin/lzop
|
Requires: /usr/bin/lzop
|
||||||
Requires: /usr/bin/xz
|
Requires: /usr/bin/xz
|
||||||
|
Requires: /usr/bin/zstd
|
||||||
Requires: qemu
|
Requires: qemu
|
||||||
Requires: systemd-container
|
Requires: systemd-container
|
||||||
# swtp is needed to manage <tpm> devices.
|
# swtp is needed to manage <tpm> devices.
|
||||||
@ -817,6 +830,13 @@ Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
|||||||
%description nss
|
%description nss
|
||||||
libvirt plugin for NSS for translating domain names into IP addresses.
|
libvirt plugin for NSS for translating domain names into IP addresses.
|
||||||
|
|
||||||
|
%package ssh-proxy
|
||||||
|
Summary: Libvirt SSH proxy
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description ssh-proxy
|
||||||
|
Allows SSH into domains via VSOCK without need for network.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -1036,6 +1056,7 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
%{?arg_userfaultfd_sysctl} \
|
%{?arg_userfaultfd_sysctl} \
|
||||||
%{?arg_nbdkit} \
|
%{?arg_nbdkit} \
|
||||||
%{?arg_nbdkit_config_default} \
|
%{?arg_nbdkit_config_default} \
|
||||||
|
-Dssh_proxy=enabled \
|
||||||
-Dsysctl_config=enabled \
|
-Dsysctl_config=enabled \
|
||||||
-Dcapng=enabled \
|
-Dcapng=enabled \
|
||||||
-Dfuse=enabled \
|
-Dfuse=enabled \
|
||||||
@ -1066,6 +1087,7 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
-Dexpensive_tests=enabled \
|
-Dexpensive_tests=enabled \
|
||||||
%{?arg_loader_nvram} \
|
%{?arg_loader_nvram} \
|
||||||
-Dinit_script=systemd \
|
-Dinit_script=systemd \
|
||||||
|
-Dfirewall_backend_priority=%{firewall_backend_priority} \
|
||||||
-Ddocs=enabled \
|
-Ddocs=enabled \
|
||||||
-Dtests=enabled \
|
-Dtests=enabled \
|
||||||
-Drpath=disabled \
|
-Drpath=disabled \
|
||||||
@ -1582,6 +1604,9 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/%{name}/virtnetworkd.conf
|
%config(noreplace) %{_sysconfdir}/%{name}/virtnetworkd.conf
|
||||||
%{_datadir}/augeas/lenses/virtnetworkd.aug
|
%{_datadir}/augeas/lenses/virtnetworkd.aug
|
||||||
%{_datadir}/augeas/lenses/tests/test_virtnetworkd.aug
|
%{_datadir}/augeas/lenses/tests/test_virtnetworkd.aug
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/network.conf
|
||||||
|
%{_datadir}/augeas/lenses/libvirtd_network.aug
|
||||||
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_network.aug
|
||||||
%{_unitdir}/virtnetworkd.service
|
%{_unitdir}/virtnetworkd.service
|
||||||
%{_unitdir}/virtnetworkd.socket
|
%{_unitdir}/virtnetworkd.socket
|
||||||
%{_unitdir}/virtnetworkd-ro.socket
|
%{_unitdir}/virtnetworkd-ro.socket
|
||||||
@ -1934,4 +1959,10 @@ fi
|
|||||||
%{_libdir}/libnss_libvirt.so.2
|
%{_libdir}/libnss_libvirt.so.2
|
||||||
%{_libdir}/libnss_libvirt_guest.so.2
|
%{_libdir}/libnss_libvirt_guest.so.2
|
||||||
|
|
||||||
|
%files ssh-proxy
|
||||||
|
%dir %{_sysconfdir}/ssh/
|
||||||
|
%dir %{_sysconfdir}/ssh/ssh_config.d/
|
||||||
|
%config(noreplace) %{_sysconfdir}/ssh/ssh_config.d/30-libvirt-ssh-proxy.conf
|
||||||
|
%{_libexecdir}/libvirt-ssh-proxy
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user