Hello community,

here is the log from the commit of package libssh2_org for openSUSE:Factory 
checked in at 2013-01-12 14:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libssh2_org (Old)
 and      /work/SRC/openSUSE:Factory/.libssh2_org.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libssh2_org", Maintainer is "vci...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libssh2_org/libssh2_org.changes  2012-02-03 
10:24:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libssh2_org.new/libssh2_org.changes     
2013-01-12 14:52:08.000000000 +0100
@@ -1,0 +2,44 @@
+Tue Jan  8 15:24:25 UTC 2013 - vci...@suse.com
+
+- update to 1.4.3
+    compression: add support for z...@openssh.com
+    Bug fixes:
+    sftp_read: return error if a too large package arrives
+    libssh2_hostkey_hash.3: update the description of return value
+    examples: use stderr for messages, stdout for data
+    openssl: do not leak memory when handling errors
+    improved handling of disabled MD5 algorithm in OpenSSL
+    known_hosts: Fail when parsing unknown keys in known_hosts file
+    configure: gcrypt doesn't come with pkg-config support
+    session_free: wrong variable used for keeping state
+    libssh2_userauth_publickey_fromfile_ex.3: mention publickey == NULL
+    comp_method_zlib_decomp: handle Z_BUF_ERROR when inflating
+    Return LIBSSH2_ERROR_SOCKET_DISCONNECT on EOF when reading banner
+    userauth.c: fread() from public key file to correctly detect any errors
+    configure.ac: Add option to disable build of the example applications
+    Added 'Requires.private:' line to libssh2.pc
+    SFTP: filter off incoming "zombie" responses
+    gettimeofday: no need for a replacement under cygwin
+    SSH_MSG_CHANNEL_REQUEST: default to want_reply
+    win32/libssh2_config.h: Remove hardcoded #define LIBSSH2_HAVE_ZLIB
+    build error with gcrypt backend
+    always do "forced" window updates to avoid corner case stalls
+    aes: the init function fails when OpenSSL has AES support
+    transport_send: Finish in-progress key exchange before sending data
+    channel_write: acknowledge transport errors
+    examples/x11.c: Make sure sizeof passed to read operation is correct
+    examples/x11.c:,Fix suspicious sizeof usage
+    sftp_packet_add: verify the packet before accepting it
+    SFTP: preserve the original error code more
+    sftp_packet_read: adjust window size as necessary
+    Use safer snprintf rather then sprintf in several places
+    Define and use LIBSSH2_INVALID_SOCKET instead of INVALID_SOCKET
+    sftp_write: cannot return acked data *and* EAGAIN
+    sftp_read: avoid data *and* EAGAIN
+    libssh2.h: Add missing prototype for libssh2_session_banner_set()
+- dropped patches (already in the upstream)
+  0004-libssh2.h-Add-missing-prototype-for-libssh2_session_.patch
+  0005-Add-symbol-versioning.patch
+  0006-missing-libssh2_session_banner_set.patch
+
+-------------------------------------------------------------------

Old:
----
  0004-libssh2.h-Add-missing-prototype-for-libssh2_session_.patch
  0005-Add-symbol-versioning.patch
  0006-missing-libssh2_session_banner_set.patch
  libssh2-1.4.0.tar.gz

New:
----
  libssh2-1.4.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libssh2_org.spec ++++++
--- /var/tmp/diff_new_pack.xUlozJ/_old  2013-01-12 14:52:09.000000000 +0100
+++ /var/tmp/diff_new_pack.xUlozJ/_new  2013-01-12 14:52:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libssh2_org
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,25 @@
 
 
 Summary:        A library implementing the SSH2 protocol
+License:        BSD-3-Clause
+Group:          Development/Libraries/C and C++
 
 Name:           libssh2_org
-Version:        1.4.0
-Release:        3
-License:        BSD-3-Clause
+Version:        1.4.3
+Release:        0
 Url:            http://www.libssh2.org/
 %define pkg_name libssh2
-Group:          Development/Libraries/C and C++
 Source:         http://www.libssh2.org/download/%{pkg_name}-%{version}.tar.gz
 Source2:        baselibs.conf
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
 #for the test suite
-BuildRequires:  openssh
 BuildRequires:  libtool
+BuildRequires:  man
+BuildRequires:  openssh
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Patch:          libssh2-ocloexec.patch
-Patch1:         
0004-libssh2.h-Add-missing-prototype-for-libssh2_session_.patch  
-Patch2:         0005-Add-symbol-versioning.patch  
-Patch3:         0006-missing-libssh2_session_banner_set.patch
 
 %description
 libssh2 is a library implementing the SSH2 protocol as defined by
@@ -70,9 +68,6 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 %patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 ./buildconf
@@ -83,6 +78,9 @@
                        --with-openssl=%{_prefix}
 make %{?_smp_mflags}
 
+%check
+make check
+
 %install
 make install DESTDIR=%{buildroot}
 rm -f  %{buildroot}%{_libdir}/*.la

++++++ libssh2-1.4.0.tar.gz -> libssh2-1.4.3.tar.gz ++++++
++++ 29539 lines of diff (skipped)

++++++ libssh2-ocloexec.patch ++++++
--- /var/tmp/diff_new_pack.xUlozJ/_old  2013-01-12 14:52:09.000000000 +0100
+++ /var/tmp/diff_new_pack.xUlozJ/_new  2013-01-12 14:52:09.000000000 +0100
@@ -9,10 +9,10 @@
  src/userauth.c  |    2 +-
  3 files changed, 4 insertions(+), 4 deletions(-)
 
-diff --git a/src/agent.c b/src/agent.c
-index 5a9e81c..af939a1 100644
---- a/src/agent.c
-+++ b/src/agent.c
+Index: libssh2-1.4.3/src/agent.c
+===================================================================
+--- libssh2-1.4.3.orig/src/agent.c     2012-03-05 20:04:56.000000000 +0100
++++ libssh2-1.4.3/src/agent.c  2013-01-08 16:24:07.572195659 +0100
 @@ -152,7 +152,7 @@ agent_connect_unix(LIBSSH2_AGENT *agent)
          return _libssh2_error(agent->session, LIBSSH2_ERROR_BAD_USE,
                                "no auth sock variable");
@@ -22,11 +22,11 @@
      if (agent->fd < 0)
          return _libssh2_error(agent->session, LIBSSH2_ERROR_BAD_SOCKET,
                                "failed creating socket");
-diff --git a/src/knownhost.c b/src/knownhost.c
-index 193bda3..418c08a 100644
---- a/src/knownhost.c
-+++ b/src/knownhost.c
-@@ -907,7 +907,7 @@ libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts,
+Index: libssh2-1.4.3/src/knownhost.c
+===================================================================
+--- libssh2-1.4.3.orig/src/knownhost.c 2012-08-21 20:27:22.000000000 +0200
++++ libssh2-1.4.3/src/knownhost.c      2013-01-08 16:24:07.573195691 +0100
+@@ -907,7 +907,7 @@ libssh2_knownhost_readfile(LIBSSH2_KNOWN
                                "Unsupported type of known-host information "
                                "store");
  
@@ -34,8 +34,8 @@
 +    file = fopen(filename, "re");
      if(file) {
          while(fgets(buf, sizeof(buf), file)) {
-             if(libssh2_knownhost_readline(hosts, buf, strlen(buf), type))
-@@ -1079,7 +1079,7 @@ libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,
+             if(libssh2_knownhost_readline(hosts, buf, strlen(buf), type)) {
+@@ -1082,7 +1082,7 @@ libssh2_knownhost_writefile(LIBSSH2_KNOW
                                "Unsupported type of known-host information "
                                "store");
  
@@ -44,11 +44,11 @@
      if(!file)
          return _libssh2_error(hosts->session, LIBSSH2_ERROR_FILE,
                                "Failed to open file");
-diff --git a/src/userauth.c b/src/userauth.c
-index 3fcb200..0f48a1d 100644
---- a/src/userauth.c
-+++ b/src/userauth.c
-@@ -467,7 +467,7 @@ file_read_publickey(LIBSSH2_SESSION * session, unsigned 
char **method,
+Index: libssh2-1.4.3/src/userauth.c
+===================================================================
+--- libssh2-1.4.3.orig/src/userauth.c  2012-04-18 22:24:04.000000000 +0200
++++ libssh2-1.4.3/src/userauth.c       2013-01-08 16:24:07.573195691 +0100
+@@ -467,7 +467,7 @@ file_read_publickey(LIBSSH2_SESSION * se
      _libssh2_debug(session, LIBSSH2_TRACE_AUTH, "Loading public key file: %s",
                     pubkeyfile);
      /* Read Public Key */
@@ -57,6 +57,3 @@
      if (!fd) {
          return _libssh2_error(session, LIBSSH2_ERROR_FILE,
                                "Unable to open public key file");
--- 
-1.7.7
-

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to