Accepting request 637016 from devel:libraries:c_c++

- Update to version 0.8.3
  * Added support for rsa-sha2
  * Added support to parse private keys in openssh container format
    (other than ed25519)
  * Added support for diffie-hellman-group18-sha512 and
    diffie-hellman-group16-sha512
  * Added ssh_get_fingerprint_hash()
  * Added ssh_pki_export_privkey_base64()
  * Added support for Match keyword in config file
  * Improved performance and reduced memory footprint for sftp
  * Fixed ecdsa publickey auth
  * Fixed reading a closed channel
  * Added support to announce posix-rename@openssh.com and
    hardlink@openssh.com in the sftp server
- Removed patch: 0001-poll-Fix-size-types-in-ssh_event_free.patch

OBS-URL: https://build.opensuse.org/request/show/637016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libssh?expand=0&rev=49
This commit is contained in:
Dominique Leuenberger 2018-10-01 07:04:20 +00:00 committed by Git OBS Bridge
commit 718e93dcc2
7 changed files with 52 additions and 115 deletions

View File

@ -1,77 +0,0 @@
From 2f69c5f022c4911b1c39dcb302859cecc53d94d1 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@cryptomilk.org>
Date: Thu, 30 Aug 2018 08:51:33 +0200
Subject: [PATCH 1/2] poll: Reformat ssh_event_free()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 8243030c55e4ab277981d3ea69f7863d5acd5da4)
---
src/poll.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/poll.c b/src/poll.c
index df72c6fa..a12b4d36 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -1013,17 +1013,20 @@ int ssh_event_remove_connector(ssh_event event, ssh_connector connector){
* fds before freeing the event object.
*
*/
-void ssh_event_free(ssh_event event) {
- int used, i;
- ssh_poll_handle p;
- if(event == NULL) {
+void ssh_event_free(ssh_event event)
+{
+ int used, i;
+ ssh_poll_handle p;
+
+ if(event == NULL) {
return;
}
- if(event->ctx != NULL) {
+
+ if (event->ctx != NULL) {
used = event->ctx->polls_used;
for(i = 0; i < used; i++) {
- p = event->ctx->pollptrs[i];
- if(p->session != NULL){
+ p = event->ctx->pollptrs[i];
+ if (p->session != NULL) {
ssh_poll_ctx_remove(event->ctx, p);
ssh_poll_ctx_add(p->session->default_poll_ctx, p);
p->session = NULL;
--
2.18.0
From 7458e95ee5047538c3601a4b926c8153e3fe8aa1 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@cryptomilk.org>
Date: Thu, 30 Aug 2018 08:52:42 +0200
Subject: [PATCH 2/2] poll: Fix size types in ssh_event_free()
src/poll.c:1024:9: error: assuming signed overflow does not occur when
simplifying conditional to constant [-Werror=strict-overflow]
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 11d87238b86732d53378e8acf792838914a38f14)
---
src/poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/poll.c b/src/poll.c
index a12b4d36..8f4a0764 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -1015,7 +1015,7 @@ int ssh_event_remove_connector(ssh_event event, ssh_connector connector){
*/
void ssh_event_free(ssh_event event)
{
- int used, i;
+ size_t used, i;
ssh_poll_handle p;
if(event == NULL) {
--
2.18.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d1290f0fac4f8a75a9001dd404a8a093daba4e86c90c45ecf77d62f14c7b8a5
size 408412

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAluHh24ACgkQfuD8TcwB
Tj1r3xAAqXDoMZBiXR3Z53kceWxTSfvOt1XtX5P9vNmoKACzmXZSQE1qsXnPuunc
uobHIbJ9rn4RuiwnaaUk1f2TWfWY80vYFBCyHE0et2DyLWwDxLuUrGQxAQmEYgXD
mFbUYCT8FRbEXBspzP4ZRN0v6Y8LFmQFFwZJsUFf1sxUqKoY5R7AQjajMUKKl52Z
yB0Hz/qgjbpTpB3x8n1qUp6kZX6bozyKaFicwxJm53DhK2+fUf0QoNSLu0yeVTWI
TiL50RN2/7VVhvOl5OWDDNf0+5TaIbUPnomanzEtVd+0MvrSncaEwGIoCcBVLUBL
UL6pvqiMg7MUEO41Rq4t8OsvSXCqJRKm3euwN3ZHzig2n9tuVMOBHirygLJOqtz6
Agi3C2cMBJJ163JOhZ9uCXz0+uy+66Z7bHIqPhQ3lg80RYB46oeViySElFt5Xbxu
XgsPvpgfqHHrGiqUnOIqQGlfwwrLzyGdS65nmHB1VPpRcSfB86oL1DzcA21JHHJV
mQ6p5yLT5aImxevBSyqgDcZY/A01Qi3vJxFu78qtn0oOWYdSADsZIDbZj7lRof8X
POBzkoB7WMfJ7J6dw3HPSHP8AVvNA+14OzJvGsnaO7Z0O5U1mn306jv/uJPRDclI
ALy05VlVZ0IDTRnQ2b/F1WvGqn9K4q/y1uIJPdPAhfHMBRlKk/E=
=rCxZ
-----END PGP SIGNATURE-----

3
libssh-0.8.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:302f31f606f2368cd3ce77d7a69f7464c18eae176e73e59102e0524401bd29d0
size 422244

16
libssh-0.8.3.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAlukpGkACgkQfuD8TcwB
Tj3qsA//bPS3hYBbKIChg1+o2s/lAbkjV6mv5LR9gyTljjUAikFNf/AN/yrNLD/H
0sAAD8S2Mj5t4+daUronpX9IJPZtimFB3WoBl+S9J9ybyzpgsspTNv0KZt/O9Vt+
QamOYkMXDtDcqUCHxIzURKiIc6ATsobiUx6EhWOSa8fFsnW6golCJtHzHi5fKsPF
x92J5gZ4jUehZJEiX/LmqFCblLK5qV8g/F+TauWg9jL5m0SNuR0gfDxi3VNV+yeG
gCtneHNrg/Jq9PwI71dIAQ+EDxYARBrLRe7zNSJgZHNuHttyVZaObgO/tFGzAwfj
g+9cuBTHvkKbgM0CodT9ftmdXU8Gt2/3yugfP/FSHUKCy9YgOM5Yo+T8lhAw3Pnt
5ZienZztJwBabui7rWeebhaBSFNuaFUhp1V5HOBT1YjKWlr3yqSGs2PmYYA7Ioeq
ulcyUsNZFXj7hALCxhyBfcwz+USWBpjuxZz5gK5uXbwWcxZUkiRTCXprKiN8jUn/
1/wteO4inm3dpKM3oMuxsk6c64JZnbXkD9vPEP7Fv48nPVVcqs+jk5RPK7iOBUgd
bglc6F05cnUzFz78Lj/FIgEqdYV/vGtxxpwOCRPBDhDWvjbDltN7GkcKQ7ItNd9L
UpMir12LL1Lo32IWxH457dKSCut2/+wGGLcXjUMMhhs/6UDqerg=
=uDol
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Sep 21 08:32:56 UTC 2018 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 0.8.3
* Added support for rsa-sha2
* Added support to parse private keys in openssh container format
(other than ed25519)
* Added support for diffie-hellman-group18-sha512 and
diffie-hellman-group16-sha512
* Added ssh_get_fingerprint_hash()
* Added ssh_pki_export_privkey_base64()
* Added support for Match keyword in config file
* Improved performance and reduced memory footprint for sftp
* Fixed ecdsa publickey auth
* Fixed reading a closed channel
* Added support to announce posix-rename@openssh.com and
hardlink@openssh.com in the sftp server
- Removed patch: 0001-poll-Fix-size-types-in-ssh_event_free.patch
-------------------------------------------------------------------
Thu Aug 30 06:00:24 UTC 2018 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -12,19 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 150000
%bcond_without docs
%if 0%{?suse_version} < 1500 || 0%{?sle_version} < 150000
%else
# We need cmake >= 3.9 to build docs
%bcond_with docs
%endif
Name: libssh
Version: 0.8.2
Version: 0.8.3
Release: 0
Summary: The SSH library
License: LGPL-2.1-or-later
@ -35,7 +35,6 @@ Source1: https://www.libssh.org/files/0.8/%{name}-%{version}.tar.xz.asc
Source2: https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg#/%{name}.keyring
Source99: baselibs.conf
Patch0: 0001-disable-timeout-test-on-slow-buildsystems.patch
Patch1: 0001-poll-Fix-size-types-in-ssh_event_free.patch
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc-c++
@ -47,28 +46,24 @@ BuildRequires: xz
BuildRequires: zlib-devel
%description
An SSH implementation in the form of a library. With libssh, you can
remotely execute programs, transfer files, use a secure and
transparent tunnel for your remote programs. It supports SFTP as
well.
An SSH implementation in the form of a library. With libssh, you can remotely
execute programs, transfer files, use a secure and transparent tunnel for your
remote programs. It supports SFTP as well.
This package provides libssh from http://www.libssh.org that should not
be confused with libssh2 available from http://www.libssh2.org (libssh2
package)
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 -n libssh4
Summary: SSH library
Group: System/Libraries
%description -n libssh4
An SSH implementation in the form of a library. With libssh, you can
remotely execute programs, transfer files, use a secure and
transparent tunnel for your remote programs. It supports SFTP as
well.
An SSH implementation in the form of a library. With libssh, you can remotely
execute programs, transfer files, use a secure and transparent tunnel for your
remote programs. It supports SFTP as well.
This package provides libssh from http://www.libssh.org that should not
be confused with libssh2 available from http://www.libssh2.org (libssh2
package)
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 devel
Summary: SSH library development headers