pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libssh Update to 0.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/558819cd49fb
branches:  trunk
changeset: 507596:558819cd49fb
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Feb 05 00:20:17 2006 +0000

description:
Update to 0.11
> -server implementation development. I won't document it before it even works.
> -small bug corrected when connecting to sun ssh servers.
> -channel wierdness corrected (writing huge data packets)
> -channel_read_nonblocking added
> -channel bug where stderr wasn't correctly read fixed.
> -sftp_file_set_nonblocking added. It's now possible to have nonblocking SFTP IO
> -connect_status callback.
> -priv.h contains the internal functions, libssh.h the public interface
> -options_set_timeout (thx marcelo) really working.
> -tcp tunneling through channel_open_forward.
> -channel_request_exec()
> -channel_request_env()
> -ssh_get_pubkey_hash()
> -ssh_is_server_known()
> -ssh_write_known_host()
> -options_set_ssh_dir
> -how could this happen ! there weren't any channel_close !
> -nasty channel_free bug resolved.
> -removed the unsigned long all around the code. use only u8,u32 & u64.
> -it now compiles and runs under amd64 !
> -channel_request_exec()
> -channel_request_env()
> -ssh_get_pubkey_hash()
> -ssh_is_server_known()
> -ssh_write_known_host()
> -options_set_ssh_dir
> -how could this happen ! there weren't any channel_close !
> -nasty channel_free bug resolved.
> -removed the unsigned long all around the code. use only u8,u32 & u64.
> -it now compiles and runs under amd64 !
> -channel_request_pty_size
> -channel_change_pty_size
> -options_copy()
> -ported the doc to an HTML file.
> -small bugfix in packet.c
> -prefixed error constants with SSH_
> -sftp_stat, sftp_lstat, sftp_fstat. thanks Michel Bardiaux for the patch.
> -again channel number mismatch fixed.
> -fixed a bug in ssh_select making the select fail when a signal has been caught.
> -keyboard-interactive authentication working.

diffstat:

 security/libssh/Makefile         |   6 +++---
 security/libssh/buildlink3.mk    |   4 ++--
 security/libssh/distinfo         |   9 +++++----
 security/libssh/patches/patch-aa |  17 +++++++++++++++++
 4 files changed, 27 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r 2516bc910f63 -r 558819cd49fb security/libssh/Makefile
--- a/security/libssh/Makefile  Sun Feb 05 00:18:29 2006 +0000
+++ b/security/libssh/Makefile  Sun Feb 05 00:20:17 2006 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2005/12/28 17:57:14 reed Exp $
+# $NetBSD: Makefile,v 1.5 2006/02/05 00:20:17 adrianp Exp $
 #
 # This package currently exists as a dependency for the hydra package but
 # the later versions of it are not supported by hydra.
 # This package should not be updated to the latest version available.
 #
 
-DISTNAME=      libssh-0.1
+DISTNAME=      libssh-0.11
 CATEGORIES=    security
 MASTER_SITES=  http://www.0xbadc0de.be/libssh/
 EXTRACT_SUFX=  .tgz
@@ -18,7 +18,7 @@
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libssh
-       ${INSTALL_DATA} ${WRKSRC}/API.txt ${PREFIX}/share/doc/libssh
+       ${INSTALL_DATA} ${WRKSRC}/doc/API.html ${PREFIX}/share/doc/libssh
        ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libssh
 
 .include "../../security/openssl/buildlink3.mk"
diff -r 2516bc910f63 -r 558819cd49fb security/libssh/buildlink3.mk
--- a/security/libssh/buildlink3.mk     Sun Feb 05 00:18:29 2006 +0000
+++ b/security/libssh/buildlink3.mk     Sun Feb 05 00:20:17 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2005/06/01 22:34:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/02/05 00:20:17 adrianp Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 LIBSSH_BUILDLINK3_MK:= ${NETWIB_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@
 BUILDLINK_PACKAGES+=   libssh
 
 .if !empty(LIBSSH_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.libssh+=     libssh>=0.1
+BUILDLINK_DEPENDS.libssh+=     libssh>=0.11
 BUILDLINK_PKGSRCDIR.libssh?=   ../../security/libssh
 .endif # LIBSSH_BUILDLINK3_MK
 
diff -r 2516bc910f63 -r 558819cd49fb security/libssh/distinfo
--- a/security/libssh/distinfo  Sun Feb 05 00:18:29 2006 +0000
+++ b/security/libssh/distinfo  Sun Feb 05 00:20:17 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/04/17 11:34:16 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2006/02/05 00:20:17 adrianp Exp $
 
-SHA1 (libssh-0.1.tgz) = 900d4af824bd01a21c4db7c3cc36789e3f8ab525
-RMD160 (libssh-0.1.tgz) = dc195249bbf0e04390f0ecc88012e9b2f9be24fa
-Size (libssh-0.1.tgz) = 122663 bytes
+SHA1 (libssh-0.11.tgz) = 307430249ded90332c4ec77a264913b3bc93a648
+RMD160 (libssh-0.11.tgz) = 69c2cc00becb84a62555fe884345398f155815a4
+Size (libssh-0.11.tgz) = 303761 bytes
+SHA1 (patch-aa) = 193a57b02988e5170ea4b40d4e5a5e36ab6f16ac
diff -r 2516bc910f63 -r 558819cd49fb security/libssh/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libssh/patches/patch-aa  Sun Feb 05 00:20:17 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2006/02/05 00:20:17 adrianp Exp $
+
+--- sample.c.orig      2005-03-04 19:54:59.000000000 +0000
++++ sample.c
+@@ -20,7 +20,12 @@ clients must be made or how a client sho
+ 
+ #include <sys/select.h>
+ #include <sys/time.h>
++#if defined(__NetBSD__)
++#include <sys/types.h>
++#include <util.h>             /* openpty() on NetBSD */
++#else
+ #include <pty.h>
++#endif
+ #include <signal.h>
+ #include <errno.h>
+ #include <libssh/libssh.h>



Home | Main Index | Thread Index | Old Index