Hello community,
here is the log from the commit of package libssh for openSUSE:Factory checked in at 2019-07-13 13:35:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libssh (Old)
and /work/SRC/openSUSE:Factory/.libssh.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libssh"
Sat Jul 13 13:35:52 2019 rev:58 rq:714399 version:0.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/libssh/libssh.changes 2019-06-12 13:04:51.885219744 +0200
+++ /work/SRC/openSUSE:Factory/.libssh.new.4615/libssh.changes 2019-07-13 13:35:54.955311623 +0200
@@ -1,0 +2,28 @@
+Wed Jul 10 08:42:34 UTC 2019 - Tomáš Chvátal
+
+- Split out configuration to separate package to not mess up the
+ library packaging and coinstallation
+
+-------------------------------------------------------------------
+Fri Jun 28 06:40:49 UTC 2019 - Andreas Schneider
+
+- Update to verion 0.9.0
+ * Added support for AES-GCM
+ * Added improved rekeying support
+ * Added performance improvements
+ * Disabled blowfish support by default
+ * Fixed several ssh config parsing issues
+ * Added support for DH Group Exchange KEX
+ * Added support for Encrypt-then-MAC mode
+ * Added support for parsing server side configuration file
+ * Added support for ECDSA/Ed25519 certificates
+ * Added FIPS 140-2 compatibility
+ * Improved known_hosts parsing
+ * Improved documentation
+ * Improved OpenSSL API usage for KEX, DH, and signatures
+- Removed 0001-libcrypto-Implement-OpenSSH-compatible-AES-GCM-ciphe.patch
+- Removed 0001-libgcrypt-Implement-OpenSSH-compatible-AES-GCM-ciphe.patch
+- Removed 0001-tests-Add-aes-gcm-ciphers-tests.patch
+- Add libssh client and server config files
+
+-------------------------------------------------------------------
Old:
----
0001-libcrypto-Implement-OpenSSH-compatible-AES-GCM-ciphe.patch
0001-libgcrypt-Implement-OpenSSH-compatible-AES-GCM-ciphe.patch
0001-tests-Add-aes-gcm-ciphers-tests.patch
libssh-0.8.7.tar.xz
libssh-0.8.7.tar.xz.asc
New:
----
libssh-0.9.0.tar.xz
libssh-0.9.0.tar.xz.asc
libssh_client.config
libssh_server.config
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libssh.spec ++++++
--- /var/tmp/diff_new_pack.i1DDFX/_old 2019-07-13 13:35:55.971311353 +0200
+++ /var/tmp/diff_new_pack.i1DDFX/_new 2019-07-13 13:35:55.975311352 +0200
@@ -19,26 +19,30 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define suffix -test
+%ifarch s390 s390x ppc64le
+ %define slow_test_system "ON"
+%else
+ %define slow_test_system "OFF"
+%endif
%bcond_without test
%else
%define suffix %{nil}
%bcond_with test
%endif
Name: libssh%{suffix}
-Version: 0.8.7
+Version: 0.9.0
Release: 0
Summary: The SSH library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://www.libssh.org
-Source0: https://www.libssh.org/files/0.8/libssh-%{version}.tar.xz
-Source1: https://www.libssh.org/files/0.8/libssh-%{version}.tar.xz.asc
+Source0: https://www.libssh.org/files/0.9/libssh-%{version}.tar.xz
+Source1: https://www.libssh.org/files/0.9/libssh-%{version}.tar.xz.asc
Source2: https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg#/...
+Source3: libssh_client.config
+Source4: libssh_server.config
Source99: baselibs.conf
Patch0: 0001-disable-timeout-test-on-slow-buildsystems.patch
-Patch1: 0001-libcrypto-Implement-OpenSSH-compatible-AES-GCM-ciphe.patch
-Patch2: 0001-libgcrypt-Implement-OpenSSH-compatible-AES-GCM-ciphe.patch
-Patch3: 0001-tests-Add-aes-gcm-ciphers-tests.patch
# cmake pulls curl, but libssh is a dependency of it, so avoid cycles by using curl-mini
#!BuildRequires: libcurl4-mini
BuildRequires: cmake
@@ -65,6 +69,7 @@
%package -n libssh4
Summary: SSH library
Group: System/Libraries
+Requires: %{name}-config >= %{version}
%description -n libssh4
An SSH implementation in the form of a library. With libssh, you can remotely
@@ -74,6 +79,13 @@
This package provides libssh from https://www.libssh.org that should not be
confused with libssh2 available from https://www.libssh2.org (libssh2 package)
+%package config
+Summary: SSH library configuration files
+Group: Productivity/Networking/SSH
+
+%description config
+Configuration files for the SSH library.
+
%package devel
Summary: SSH library development headers
Group: Development/Libraries/C and C++
@@ -87,15 +99,6 @@
%autosetup -p1 -n libssh-%{version}
%build
-
-%if %{with test}
- %ifarch s390 s390x ppc64le
- %define slow_test_system "ON"
- %else
- %define slow_test_system "OFF"
- %endif
-%endif
-
%cmake \
-DCMAKE_C_FLAGS:STRING="%{optflags} -DOPENSSL_LOAD_CONF" \
%if %{with test}
@@ -103,13 +106,19 @@
-DSLOW_TEST_SYSTEM=%{slow_test_system} \
%endif
-DWITH_GSSAPI=ON \
- -DWITH_EXAMPLES="OFF"
+ -DWITH_EXAMPLES="OFF" \
+ -DGLOBAL_CLIENT_CONFIG="%{_sysconfdir}/libssh/libssh_client.config" \
+ -DGLOBAL_BIND_CONFIG="%{_sysconfdir}/libssh/libssh_server.config"
make %{?_smp_mflags}
%install
%if !%{with test}
%cmake_install
+
+install -d -m755 %{buildroot}%{_sysconfdir}/libssh
+install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/libssh/libssh_client.config
+install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/libssh/libssh_server.config
%endif
%check
@@ -125,6 +134,11 @@
%doc AUTHORS README ChangeLog
%{_libdir}/libssh.so.*
+%files config
+%dir %{_sysconfdir}/libssh
+%config(noreplace) %{_sysconfdir}/libssh/libssh_client.config
+%config(noreplace) %{_sysconfdir}/libssh/libssh_server.config
+
%files devel
%{_includedir}/libssh
%{_libdir}/libssh.so
++++++ 0001-disable-timeout-test-on-slow-buildsystems.patch ++++++
--- /var/tmp/diff_new_pack.i1DDFX/_old 2019-07-13 13:35:55.987311349 +0200
+++ /var/tmp/diff_new_pack.i1DDFX/_new 2019-07-13 13:35:55.987311349 +0200
@@ -1,7 +1,7 @@
-Index: libssh-0.8.2/tests/unittests/torture_misc.c
+Index: libssh-0.9.0/tests/unittests/torture_misc.c
===================================================================
---- libssh-0.8.2.orig/tests/unittests/torture_misc.c 2018-08-30 08:12:50.355846083 +0200
-+++ libssh-0.8.2/tests/unittests/torture_misc.c 2018-08-30 08:12:54.831889573 +0200
+--- libssh-0.9.0.orig/tests/unittests/torture_misc.c 2019-06-28 08:45:32.418434037 +0200
++++ libssh-0.9.0/tests/unittests/torture_misc.c 2019-06-28 08:45:38.766497056 +0200
@@ -197,11 +197,13 @@ static void torture_timeout_elapsed(void
(void) state;
ssh_timestamp_init(&ts);
@@ -30,22 +30,22 @@
}
static void torture_ssh_analyze_banner(void **state) {
-Index: libssh-0.8.2/DefineOptions.cmake
+Index: libssh-0.9.0/DefineOptions.cmake
===================================================================
---- libssh-0.8.2.orig/DefineOptions.cmake 2018-08-30 08:12:50.355846083 +0200
-+++ libssh-0.8.2/DefineOptions.cmake 2018-08-30 08:13:25.020182668 +0200
-@@ -20,6 +20,7 @@ option(WITH_SYMBOL_VERSIONING "Build wit
- option(WITH_ABI_BREAK "Allow ABI break" OFF)
+--- libssh-0.9.0.orig/DefineOptions.cmake 2019-06-28 08:45:32.418434037 +0200
++++ libssh-0.9.0/DefineOptions.cmake 2019-06-28 08:46:08.330789588 +0200
+@@ -22,6 +22,7 @@ option(WITH_ABI_BREAK "Allow ABI break"
+ option(WITH_GEX "Enable DH Group exchange mechanisms" ON)
option(FUZZ_TESTING "Build with fuzzer for the server" OFF)
option(PICKY_DEVELOPER "Build with picky developer flags" OFF)
+option(SLOW_TEST_SYSTEM "Disable tests that fail on slow systems" OFF)
if (WITH_ZLIB)
set(WITH_LIBZ ON)
-@@ -46,3 +47,8 @@ endif (WITH_NACL)
- if (WITH_ABI_BREAK)
- set(WITH_SYMBOL_VERSIONING ON)
- endif (WITH_ABI_BREAK)
+@@ -57,3 +58,8 @@ endif (NOT GLOBAL_BIND_CONFIG)
+ if (NOT GLOBAL_CLIENT_CONFIG)
+ set(GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config")
+ endif (NOT GLOBAL_CLIENT_CONFIG)
+
+if (SLOW_TEST_SYSTEM)
+ set (SLOW_TEST_SYSTEM ON)
++++++ libssh-0.8.7.tar.xz -> libssh-0.9.0.tar.xz ++++++
++++ 47274 lines of diff (skipped)
++++++ libssh_client.config ++++++
# Parse OpenSSH configuration file for consistency
Include /etc/ssh/ssh_config
++++++ libssh_server.config ++++++
# Parse OpenSSH configuration file for consistency
Include /etc/ssh/sshd_config