[packages/libvirt] - updated to 10.4.0; added -ssh-proxy subpackage

qboosh qboosh at pld-linux.org
Sat Jun 8 21:36:34 CEST 2024


commit b38fdb5d9464efc56cb465d68b934d76c76b11af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 8 21:28:10 2024 +0200

    - updated to 10.4.0; added -ssh-proxy subpackage

 libvirt-path-options.patch | 14 +++++++-------
 libvirt.spec               | 25 +++++++++++++++++++++++--
 2 files changed, 30 insertions(+), 9 deletions(-)
---
diff --git a/libvirt.spec b/libvirt.spec
index 9581c59..f422af2 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:	10.3.0
+Version:	10.4.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://download.libvirt.org/%{name}-%{version}.tar.xz
-# Source0-md5:	046625ca97f32aaf06737fa1ede6d018
+# Source0-md5:	446cbe5e81c8cce8b6830b93a0c7b2ee
 Source1:	%{name}.init
 Source2:	%{name}.tmpfiles
 Patch0:		%{name}-sasl.patch
@@ -451,6 +451,19 @@ recent versions of Linux (and other OSes).
 Programy klienckie potrzebne do funkcji wirtualizacji nowych wersji
 Linuksa (oraz innych systemów operacyjnych).
 
+%package ssh-proxy
+Summary:	Libvirt SSH proxy
+Summary(pl.UTF-8):	Proxy SSH dla Libvirt
+Group:		Applications/System
+Requires:	%{name} = %{version}-%{release}
+Requires:	openssh-clients
+
+%description ssh-proxy
+Allows SSH into domains via VSOCK without need for network.
+
+%description ssh-proxy -l pl.UTF-8
+Ten pakiet pozwala na SSH do domen poprzez VSOCK bez wymagania sieci.
+
 %package utils
 Summary:	Tools to interact with virtualization capabilities (metapackage)
 Summary(pl.UTF-8):	Narzędzia do współpracy z funkcjami wirtualizacyjnymi (metapakiet)
@@ -727,6 +740,7 @@ fi
 %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/network.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtinterfaced.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlockd.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlogd.conf
@@ -833,6 +847,7 @@ fi
 %dir %{_libdir}/libvirt/storage-file
 %attr(755,root,root) %{_libdir}/libvirt/storage-file/libvirt_storage_file_fs.so
 %{_datadir}/augeas/lenses/libvirtd.aug
+%{_datadir}/augeas/lenses/libvirtd_network.aug
 %{_datadir}/augeas/lenses/libvirt_lockd.aug
 %{_datadir}/augeas/lenses/virtinterfaced.aug
 %{_datadir}/augeas/lenses/virtlockd.aug
@@ -844,6 +859,7 @@ fi
 %{_datadir}/augeas/lenses/virtsecretd.aug
 %{_datadir}/augeas/lenses/virtstoraged.aug
 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
+%{_datadir}/augeas/lenses/tests/test_libvirtd_network.aug
 %{_datadir}/augeas/lenses/tests/test_virtinterfaced.aug
 %{_datadir}/augeas/lenses/tests/test_virtlockd.aug
 %{_datadir}/augeas/lenses/tests/test_virtlogd.aug
@@ -1057,6 +1073,11 @@ fi
 # for test driver (built into libvirt)
 %{_datadir}/libvirt/test-screenshot.png
 
+%files ssh-proxy
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/libvirt-ssh-proxy
+%config(noreplace) %verify(not md5 mtime size) /etc/ssh/ssh_config.d/30-libvirt-ssh-proxy.conf
+
 %files utils
 %defattr(644,root,root,755)
 
diff --git a/libvirt-path-options.patch b/libvirt-path-options.patch
index bd23574..b1298de 100644
--- a/libvirt-path-options.patch
+++ b/libvirt-path-options.patch
@@ -151,10 +151,10 @@
    endif
  elif get_option('numad').enabled()
    error('You must have numactl enabled for numad support.')
---- libvirt-9.10.0/scripts/rpcgen/meson.build.orig	2023-12-01 16:11:26.000000000 +0100
-+++ libvirt-9.10.0/scripts/rpcgen/meson.build	2024-04-06 18:12:56.287832133 +0200
+--- libvirt-10.4.0/scripts/rpcgen/meson.build.orig	2024-06-08 19:45:31.292144421 +0200
++++ libvirt-10.4.0/scripts/rpcgen/meson.build	2024-06-08 20:36:12.822333704 +0200
 @@ -3,7 +3,7 @@ subdir('rpcgen')
- if tests_enabled[0]
+ if tests_enabled[0] and xdr_dep.found()
    subdir('tests')
  
 -  if pytest_prog.found() and host_machine.system() != 'darwin'
@@ -196,10 +196,10 @@
            files('@0 at -structs'.format(proto['name'])),
          ],
          env: runutf8,
---- libvirt-10.2.0/meson_options.txt.orig	2024-05-01 06:12:22.153660598 +0200
-+++ libvirt-10.2.0/meson_options.txt	2024-05-01 06:12:47.590189463 +0200
-@@ -110,3 +110,50 @@ option('pm_utils', type: 'feature', valu
- option('sysctl_config', type: 'feature', value: 'auto', description: 'Whether to install sysctl configs')
+--- libvirt-10.4.0/meson_options.txt.orig	2024-06-08 19:45:31.292144421 +0200
++++ libvirt-10.4.0/meson_options.txt	2024-06-08 20:37:08.235366839 +0200
+@@ -133,3 +133,50 @@ option('sysctl_config', type: 'feature',
+ # dep:sysctl_config
  option('userfaultfd_sysctl', type: 'feature', value: 'auto', description: 'Whether to install sysctl config for enabling unprivileged userfaultfd')
  option('tls_priority', type: 'string', value: 'NORMAL', description: 'set the default TLS session priority string')
 +
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list