Hi, This diff updates libssh2 to the latest release 1.4.0. Tested on amd64.
Comments ? OK ? Cheers, benoit
Index: Makefile =================================================================== RCS file: /cvs/ports/security/libssh2/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 26 Nov 2011 09:25:46 -0000 1.12 +++ Makefile 19 Feb 2012 07:39:04 -0000 @@ -2,9 +2,9 @@ COMMENT = library implementing the SSH2 protocol -DISTNAME = libssh2-1.3.0 +DISTNAME = libssh2-1.4.0 CATEGORIES = security -SHARED_LIBS += ssh2 5.1 # .1.1 +SHARED_LIBS += ssh2 6.0 # .1.1 HOMEPAGE = http://www.libssh2.org/ Index: distinfo =================================================================== RCS file: /cvs/ports/security/libssh2/distinfo,v retrieving revision 1.10 diff -u -r1.10 distinfo --- distinfo 26 Nov 2011 09:25:46 -0000 1.10 +++ distinfo 19 Feb 2012 07:39:04 -0000 @@ -1,5 +1,5 @@ -MD5 (libssh2-1.3.0.tar.gz) = ZCUzGJnM8QFfHteUSMtHCQ== -RMD160 (libssh2-1.3.0.tar.gz) = XI8M/eb7Q3jrCYX27MCQBhMpoTM= -SHA1 (libssh2-1.3.0.tar.gz) = 00Lgar44opsbu5xY1Q3Qk+qwvuk= -SHA256 (libssh2-1.3.0.tar.gz) = neN3hUIC8DO/tXzk+VGUorEoPUX7JDtefcow4Fj0D5w= -SIZE (libssh2-1.3.0.tar.gz) = 639262 +MD5 (libssh2-1.4.0.tar.gz) = 7mcBYdjF3/k66Eo/NPFWaQ== +RMD160 (libssh2-1.4.0.tar.gz) = NvGo+8CoBVUqqNtZrJBug3q/j5s= +SHA1 (libssh2-1.4.0.tar.gz) = U0KLSTWrbrhD1F8Vk9xDTLKHuT4= +SHA256 (libssh2-1.4.0.tar.gz) = 38W7rRSlBJ/qXF6KenQxMLseNlcw4T4rt9ZJTJKkxYE= +SIZE (libssh2-1.4.0.tar.gz) = 653514 Index: patches/patch-example-x11_c =================================================================== RCS file: patches/patch-example-x11_c diff -N patches/patch-example-x11_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-example-x11_c 19 Feb 2012 07:39:04 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ +--- example/x11.c.orig Sun Feb 19 08:33:45 2012 ++++ example/x11.c Sun Feb 19 08:33:59 2012 +@@ -8,10 +8,10 @@ + + #include <string.h> + #include <sys/ioctl.h> ++#include <unistd.h> + #include <netinet/in.h> + #include <sys/socket.h> + #include <arpa/inet.h> +-#include <unistd.h> + #include <sys/types.h> + #include <sys/un.h> + #include <fcntl.h> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/libssh2/pkg/PLIST,v retrieving revision 1.9 diff -u -r1.9 PLIST --- pkg/PLIST 26 Nov 2011 09:25:49 -0000 1.9 +++ pkg/PLIST 19 Feb 2012 07:39:04 -0000 @@ -96,6 +96,8 @@ @man man/man3/libssh2_scp_send64.3 @man man/man3/libssh2_scp_send_ex.3 @man man/man3/libssh2_session_abstract.3 +@man man/man3/libssh2_session_banner_get.3 +@man man/man3/libssh2_session_banner_set.3 @man man/man3/libssh2_session_block_directions.3 @man man/man3/libssh2_session_callback_set.3 @man man/man3/libssh2_session_disconnect.3 @@ -114,6 +116,7 @@ @man man/man3/libssh2_session_set_blocking.3 @man man/man3/libssh2_session_set_timeout.3 @man man/man3/libssh2_session_startup.3 +@man man/man3/libssh2_session_supported_algs.3 @man man/man3/libssh2_sftp_close.3 @man man/man3/libssh2_sftp_close_handle.3 @man man/man3/libssh2_sftp_closedir.3 @@ -121,6 +124,7 @@ @man man/man3/libssh2_sftp_fstat.3 @man man/man3/libssh2_sftp_fstat_ex.3 @man man/man3/libssh2_sftp_fstatvfs.3 +@man man/man3/libssh2_sftp_get_channel.3 @man man/man3/libssh2_sftp_init.3 @man man/man3/libssh2_sftp_last_error.3 @man man/man3/libssh2_sftp_lstat.3