[PATCH v2] meson: Require libssh-0.8.1 or newer

Ján Tomko jtomko at redhat.com
Mon Sep 19 15:16:18 UTC 2022


On a Monday in 2022, Michal Privoznik wrote:
>According to repology.org:
>
>              RHEL-8: 0.9.4
>              RHEL-9: 0.9.6
>           Debian 11: 0.9.5
>  openSUSE Leap 15.3: 0.8.7
>        Ubuntu 20.04: 0.9.3
>
>And the rest of distros has something newer anyways. Requiring
>0.8.1 or newer allows us to drop the terrible hack where we
>rename functions at meson level using #define. Note, 0.8.0 is
>the version of libssh where the rename happened. It also allows
>us to stick with SHA-256 hash algorithm for public keys.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
>
>v2 of:
>
>https://listman.redhat.com/archives/libvir-list/2022-September/234296.html
>
>diff to v1:
>- Require even newer version so that more code can be dropped.
>
> libvirt.spec.in               |  2 +-
> meson.build                   | 15 +--------------
> src/rpc/virnetlibsshsession.c |  8 +-------
> 3 files changed, 3 insertions(+), 22 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list