Sun Jul 26 17:15:35 2015 UTC ()
Updated libssh2 to version 1.6.0.

Changelog:

Changes:

    Added libssh2_userauth_publickey_frommemory()

Bug fixes:

    wait_socket: wrong use of difftime()
    userauth: Fixed prompt text no longer being copied to the prompts struct
    mingw build: allow to pass custom CFLAGS
    Let mansyntax.sh work regardless of where it is called from
    Init HMAC_CTX before using it
    direct_tcpip: Fixed channel write
    WinCNG: fixed backend breakage
    OpenSSL: caused by introducing libssh2_hmac_ctx_init
    userauth.c: fix possible dereferences of a null pointer
    wincng: Added explicit clear memory feature to WinCNG backend
    openssl.c: fix possible segfault in case EVP_DigestInit fails
    wincng: fix return code of libssh2_md5_init()
    kex: do not ignore failure of libssh2_sha1_init()
    scp: fix that scp_send may transmit not initialised memory
    scp.c: improved command length calculation
    nonblocking examples: fix warning about unused tvdiff on Mac OS X
    configure: make clear-memory default but WARN if backend unsupported
    OpenSSL: Enable use of OpenSSL that doesn't have DSA
    OpenSSL: Use correct no-blowfish #define
    kex: fix libgcrypt memory leaks of bignum
    libssh2_channel_open: more detailed error message
    wincng: fixed memleak in (block) cipher destructor


(nros)
diff -r1.11 -r1.12 pkgsrc/security/libssh2/Makefile
diff -r1.5 -r1.6 pkgsrc/security/libssh2/PLIST
diff -r1.5 -r1.6 pkgsrc/security/libssh2/distinfo
diff -r1.7 -r1.8 pkgsrc/security/libssh2/buildlink3.mk

cvs diff -r1.11 -r1.12 pkgsrc/security/libssh2/Makefile (expand / switch to unified diff)

--- pkgsrc/security/libssh2/Makefile 2015/03/23 09:14:53 1.11
+++ pkgsrc/security/libssh2/Makefile 2015/07/26 17:15:34 1.12
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.11 2015/03/23 09:14:53 nros Exp $ 1# $NetBSD: Makefile,v 1.12 2015/07/26 17:15:34 nros Exp $
2# 2#
3 3
4DISTNAME= libssh2-1.5.0 4DISTNAME= libssh2-1.6.0
5CATEGORIES= security 5CATEGORIES= security
6MASTER_SITES= http://www.libssh2.org/download/ 6MASTER_SITES= http://www.libssh2.org/download/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.libssh2.org/ 9HOMEPAGE= http://www.libssh2.org/
10COMMENT= SSH2 protocol library 10COMMENT= SSH2 protocol library
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15 15
16CONFIGURE_ARGS+= --with-libgcrypt=no 16CONFIGURE_ARGS+= --with-libgcrypt=no
17CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib:Q} 17CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib:Q}

cvs diff -r1.5 -r1.6 pkgsrc/security/libssh2/PLIST (expand / switch to unified diff)

--- pkgsrc/security/libssh2/PLIST 2015/03/23 09:14:53 1.5
+++ pkgsrc/security/libssh2/PLIST 2015/07/26 17:15:34 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.5 2015/03/23 09:14:53 nros Exp $ 1@comment $NetBSD: PLIST,v 1.6 2015/07/26 17:15:34 nros Exp $
2include/libssh2.h 2include/libssh2.h
3include/libssh2_publickey.h 3include/libssh2_publickey.h
4include/libssh2_sftp.h 4include/libssh2_sftp.h
5lib/libssh2.la 5lib/libssh2.la
6lib/pkgconfig/libssh2.pc 6lib/pkgconfig/libssh2.pc
7man/man3/libssh2_agent_connect.3 7man/man3/libssh2_agent_connect.3
8man/man3/libssh2_agent_disconnect.3 8man/man3/libssh2_agent_disconnect.3
9man/man3/libssh2_agent_free.3 9man/man3/libssh2_agent_free.3
10man/man3/libssh2_agent_get_identity.3 10man/man3/libssh2_agent_get_identity.3
11man/man3/libssh2_agent_init.3 11man/man3/libssh2_agent_init.3
12man/man3/libssh2_agent_list_identities.3 12man/man3/libssh2_agent_list_identities.3
13man/man3/libssh2_agent_userauth.3 13man/man3/libssh2_agent_userauth.3
14man/man3/libssh2_banner_set.3 14man/man3/libssh2_banner_set.3
@@ -159,14 +159,15 @@ man/man3/libssh2_sftp_write.3 @@ -159,14 +159,15 @@ man/man3/libssh2_sftp_write.3
159man/man3/libssh2_trace.3 159man/man3/libssh2_trace.3
160man/man3/libssh2_trace_sethandler.3 160man/man3/libssh2_trace_sethandler.3
161man/man3/libssh2_userauth_authenticated.3 161man/man3/libssh2_userauth_authenticated.3
162man/man3/libssh2_userauth_hostbased_fromfile.3 162man/man3/libssh2_userauth_hostbased_fromfile.3
163man/man3/libssh2_userauth_hostbased_fromfile_ex.3 163man/man3/libssh2_userauth_hostbased_fromfile_ex.3
164man/man3/libssh2_userauth_keyboard_interactive.3 164man/man3/libssh2_userauth_keyboard_interactive.3
165man/man3/libssh2_userauth_keyboard_interactive_ex.3 165man/man3/libssh2_userauth_keyboard_interactive_ex.3
166man/man3/libssh2_userauth_list.3 166man/man3/libssh2_userauth_list.3
167man/man3/libssh2_userauth_password.3 167man/man3/libssh2_userauth_password.3
168man/man3/libssh2_userauth_password_ex.3 168man/man3/libssh2_userauth_password_ex.3
169man/man3/libssh2_userauth_publickey.3 169man/man3/libssh2_userauth_publickey.3
170man/man3/libssh2_userauth_publickey_fromfile.3 170man/man3/libssh2_userauth_publickey_fromfile.3
171man/man3/libssh2_userauth_publickey_fromfile_ex.3 171man/man3/libssh2_userauth_publickey_fromfile_ex.3
 172man/man3/libssh2_userauth_publickey_frommemory.3
172man/man3/libssh2_version.3 173man/man3/libssh2_version.3

cvs diff -r1.5 -r1.6 pkgsrc/security/libssh2/distinfo (expand / switch to unified diff)

--- pkgsrc/security/libssh2/distinfo 2015/03/23 09:14:53 1.5
+++ pkgsrc/security/libssh2/distinfo 2015/07/26 17:15:34 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2015/03/23 09:14:53 nros Exp $ 1$NetBSD: distinfo,v 1.6 2015/07/26 17:15:34 nros Exp $
2 2
3SHA1 (libssh2-1.5.0.tar.gz) = d9a97a04aef8bcf835b22a7a2e8e869782baa3aa 3SHA1 (libssh2-1.6.0.tar.gz) = 93563084168bd2595f3cbd54585c9abe8ddb0fa9
4RMD160 (libssh2-1.5.0.tar.gz) = 34c05d24f33c3ac402e9bdefa9c2346f90ad3f50 4RMD160 (libssh2-1.6.0.tar.gz) = d05ff5a755438cf25cc20b78259d7ac2b8015731
5Size (libssh2-1.5.0.tar.gz) = 728222 bytes 5Size (libssh2-1.6.0.tar.gz) = 734110 bytes

cvs diff -r1.7 -r1.8 pkgsrc/security/libssh2/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/security/libssh2/buildlink3.mk 2015/03/23 09:14:53 1.7
+++ pkgsrc/security/libssh2/buildlink3.mk 2015/07/26 17:15:34 1.8
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: buildlink3.mk,v 1.7 2015/03/23 09:14:53 nros Exp $ 1# $NetBSD: buildlink3.mk,v 1.8 2015/07/26 17:15:34 nros Exp $
2 2
3BUILDLINK_TREE+= libssh2 3BUILDLINK_TREE+= libssh2
4 4
5.if !defined(LIBSSH2_BUILDLINK3_MK) 5.if !defined(LIBSSH2_BUILDLINK3_MK)
6LIBSSH2_BUILDLINK3_MK:= 6LIBSSH2_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.libssh2+= libssh2>=0.18 8BUILDLINK_API_DEPENDS.libssh2+= libssh2>=0.18
9BUILDLINK_ABI_DEPENDS.libssh2+= libssh2>=1.5.0 9BUILDLINK_ABI_DEPENDS.libssh2+= libssh2>=1.6.0
10BUILDLINK_PKGSRCDIR.libssh2?= ../../security/libssh2 10BUILDLINK_PKGSRCDIR.libssh2?= ../../security/libssh2
11 11
12.include "../../devel/zlib/buildlink3.mk" 12.include "../../devel/zlib/buildlink3.mk"
13.include "../../security/openssl/buildlink3.mk" 13.include "../../security/openssl/buildlink3.mk"
14.endif # LIBSSH2_BUILDLINK3_MK 14.endif # LIBSSH2_BUILDLINK3_MK
15 15
16BUILDLINK_TREE+= -libssh2 16BUILDLINK_TREE+= -libssh2