]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: Require libssh-0.8.1 or newer
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Sep 2022 13:08:20 +0000 (15:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Sep 2022 07:34:52 +0000 (09:34 +0200)
commit7c35778126104308480c2ad08c4cb390d0cd1032
tree974197878d4ee758b633d270f353ad5412e19f49
parentc83c6e4e7a68767ba69159bc0316884fa81158c4
meson: Require libssh-0.8.1 or newer

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
libvirt.spec.in
meson.build
src/rpc/virnetlibsshsession.c