b10d49d761
Rewrite the implementation of the ssh block driver to use libssh instead of libssh2. The libssh library has various advantages over libssh2: - easier API for authentication (for example for using ssh-agent) - easier API for known_hosts handling - supports newer types of keys in known_hosts Use APIs/features available in libssh 0.8 conditionally, to support older versions (which are not recommended though). Adjust the iotest 207 according to the different error message, and to find the default key type for localhost (to properly compare the fingerprint with). Contributed-by: Max Reitz <mreitz@redhat.com> Adjust the various Docker/Travis scripts to use libssh when available instead of libssh2. The mingw/mxe testing is dropped for now, as there are no packages for it. Signed-off-by: Pino Toscano <ptoscano@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20190620200840.17655-1-ptoscano@redhat.com Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 5873173.t2JhDm7DL7@lindworm.usersys.redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
99 lines
1.9 KiB
Docker
99 lines
1.9 KiB
Docker
FROM fedora:30
|
|
ENV PACKAGES \
|
|
bc \
|
|
bison \
|
|
bluez-libs-devel \
|
|
brlapi-devel \
|
|
bzip2 \
|
|
bzip2-devel \
|
|
ccache \
|
|
clang \
|
|
cyrus-sasl-devel \
|
|
device-mapper-multipath-devel \
|
|
findutils \
|
|
flex \
|
|
gcc \
|
|
gcc-c++ \
|
|
gettext \
|
|
git \
|
|
glib2-devel \
|
|
glusterfs-api-devel \
|
|
gnutls-devel \
|
|
gtk3-devel \
|
|
hostname \
|
|
libaio-devel \
|
|
libasan \
|
|
libattr-devel \
|
|
libblockdev-mpath-devel \
|
|
libcap-devel \
|
|
libcap-ng-devel \
|
|
libcurl-devel \
|
|
libfdt-devel \
|
|
libiscsi-devel \
|
|
libjpeg-devel \
|
|
libpmem-devel \
|
|
libpng-devel \
|
|
librbd-devel \
|
|
libseccomp-devel \
|
|
libssh-devel \
|
|
libubsan \
|
|
libusbx-devel \
|
|
libxml2-devel \
|
|
llvm \
|
|
lzo-devel \
|
|
make \
|
|
mingw32-bzip2 \
|
|
mingw32-curl \
|
|
mingw32-glib2 \
|
|
mingw32-gmp \
|
|
mingw32-gnutls \
|
|
mingw32-gtk3 \
|
|
mingw32-libjpeg-turbo \
|
|
mingw32-libpng \
|
|
mingw32-libtasn1 \
|
|
mingw32-nettle \
|
|
mingw32-pixman \
|
|
mingw32-pkg-config \
|
|
mingw32-SDL2 \
|
|
mingw64-bzip2 \
|
|
mingw64-curl \
|
|
mingw64-glib2 \
|
|
mingw64-gmp \
|
|
mingw64-gnutls \
|
|
mingw64-gtk3 \
|
|
mingw64-libjpeg-turbo \
|
|
mingw64-libpng \
|
|
mingw64-libtasn1 \
|
|
mingw64-nettle \
|
|
mingw64-pixman \
|
|
mingw64-pkg-config \
|
|
mingw64-SDL2 \
|
|
ncurses-devel \
|
|
nettle-devel \
|
|
nss-devel \
|
|
numactl-devel \
|
|
perl \
|
|
perl-Test-Harness \
|
|
pixman-devel \
|
|
python3 \
|
|
PyYAML \
|
|
rdma-core-devel \
|
|
SDL2-devel \
|
|
snappy-devel \
|
|
sparse \
|
|
spice-server-devel \
|
|
systemd-devel \
|
|
systemtap-sdt-devel \
|
|
tar \
|
|
usbredir-devel \
|
|
virglrenderer-devel \
|
|
vte291-devel \
|
|
which \
|
|
xen-devel \
|
|
zlib-devel
|
|
ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3
|
|
|
|
RUN dnf install -y $PACKAGES
|
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|
|
ENV FEATURES mingw clang pyyaml asan
|