From 3d31f1b2a91df02cbd6dbe10ff65332195c060db Mon Sep 17 00:00:00 2001 From: David Thiel Date: Mon, 17 Aug 2009 22:57:47 +0000 Subject: [PATCH] Update to 1.2. PR: 137760 Submitted by: Sofian Brabez Approved by: maintainer --- security/libssh2/Makefile | 127 +++++++++++++++++++++++++++---------- security/libssh2/distinfo | 6 +- security/libssh2/pkg-descr | 2 +- 3 files changed, 97 insertions(+), 38 deletions(-) diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile index 3ac2aedd2103..a21c56d999ec 100644 --- a/security/libssh2/Makefile +++ b/security/libssh2/Makefile @@ -6,11 +6,11 @@ # PORTNAME= libssh2 -PORTVERSION= 1.1 +PORTVERSION= 1.2 PORTEPOCH= 2 CATEGORIES= security devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= http://www.libssh2.org/download/ \ + http://redundancy.redundancy.org/mirror/ MAINTAINER= lx@FreeBSD.org COMMENT= A library implementing the SSH2 protocol @@ -27,40 +27,99 @@ PLIST_FILES= include/libssh2.h \ lib/libssh2.la \ lib/libssh2.a -MAN3= libssh2_banner_set.3 libssh2_channel_close.3 \ - libssh2_channel_direct_tcpip_ex.3 libssh2_channel_eof.3 \ - libssh2_channel_flush_ex.3 libssh2_channel_forward_accept.3 \ - libssh2_channel_forward_cancel.3 libssh2_channel_forward_listen_ex.3 \ - libssh2_channel_free.3 libssh2_channel_get_exit_status.3 \ +MAN3= libssh2_banner_set.3 \ + libssh2_base64_decode.3 \ + libssh2_channel_close.3 \ + libssh2_channel_direct_tcpip_ex.3 \ + libssh2_channel_eof.3 \ + libssh2_channel_flush_ex.3 \ + libssh2_channel_forward_accept.3 \ + libssh2_channel_forward_cancel.3 \ + libssh2_channel_forward_listen_ex.3 \ + libssh2_channel_free.3 \ + libssh2_channel_get_exit_status.3 \ libssh2_channel_handle_extended_data.3 \ - libssh2_channel_handle_extended_data2.3 libssh2_channel_open_ex.3 \ - libssh2_channel_process_startup.3 libssh2_channel_read_ex.3 \ + libssh2_channel_handle_extended_data2.3 \ + libssh2_channel_open_ex.3 \ + libssh2_channel_process_startup.3 \ + libssh2_channel_read_ex.3 \ libssh2_channel_receive_window_adjust.3 \ libssh2_channel_receive_window_adjust2.3 \ - libssh2_channel_request_pty_ex.3 libssh2_channel_send_eof.3 \ - libssh2_channel_set_blocking.3 libssh2_channel_setenv_ex.3 \ - libssh2_channel_wait_eof.3 libssh2_channel_window_read_ex.3 \ - libssh2_channel_window_write_ex.3 libssh2_channel_x11_req_ex.3 \ - libssh2_hostkey_hash.3 libssh2_scp_recv.3 libssh2_scp_send_ex.3 \ - libssh2_session_abstract.3 libssh2_session_free.3 \ - libssh2_session_callback_set.3 libssh2_session_disconnect_ex.3 \ - libssh2_session_init_ex.3 libssh2_session_last_errno.3 \ - libssh2_session_last_error.3 libssh2_session_method_pref.3 \ - libssh2_session_methods.3 libssh2_session_set_blocking.3 \ - libssh2_session_startup.3 libssh2_poll.3 libssh2_poll_channel_read.3 \ - libssh2_sftp_close_handle.3 libssh2_sftp_fstat_ex.3 \ - libssh2_sftp_last_error.3 libssh2_sftp_init.3 libssh2_sftp_open_ex.3 \ - libssh2_sftp_mkdir_ex.3 libssh2_sftp_read.3 libssh2_sftp_readdir_ex.3 \ - libssh2_sftp_rename_ex.3 libssh2_sftp_rmdir_ex.3 libssh2_sftp_seek.3 \ - libssh2_sftp_shutdown.3 libssh2_sftp_stat_ex.3 \ - libssh2_sftp_symlink_ex.3 libssh2_sftp_tell.3 \ - libssh2_sftp_unlink_ex.3 libssh2_sftp_write.3 \ - libssh2_userauth_authenticated.3 libssh2_userauth_list.3 \ - libssh2_userauth_password_ex.3 libssh2_userauth_publickey_fromfile_ex.3 \ - libssh2_channel_wait_closed.3 libssh2_channel_write_ex.3 \ - libssh2_session_block_directions.3 libssh2_trace.3 \ - libssh2_sftp_tell64.3 libssh2_userauth_keyboard_interactive_ex.3 \ - libssh2_base64_decode.3 libssh2_version.3 + libssh2_channel_request_pty_ex.3 \ + libssh2_channel_request_pty_size_ex.3 \ + libssh2_channel_send_eof.3 \ + libssh2_channel_set_blocking.3 \ + libssh2_channel_setenv_ex.3 \ + libssh2_channel_wait_closed.3 \ + libssh2_channel_wait_eof.3 \ + libssh2_channel_window_read_ex.3 \ + libssh2_channel_window_write_ex.3 \ + libssh2_channel_write_ex.3 \ + libssh2_channel_x11_req_ex.3 \ + libssh2_free_host_entry.3 \ + libssh2_host_entry_match.3 \ + libssh2_hostkey_hash.3 \ + libssh2_knownhost_add.3 \ + libssh2_knownhost_check.3 \ + libssh2_knownhost_del.3 \ + libssh2_knownhost_get.3 \ + libssh2_knownhost_init.3 \ + libssh2_knownhost_readfile.3 \ + libssh2_knownhost_readline.3 \ + libssh2_knownhost_writefile.3 \ + libssh2_knownhost_writeline.3 \ + libssh2_new_host_entry.3 \ + libssh2_poll.3 \ + libssh2_poll_channel_read.3 \ + libssh2_publickey_add_ex.3 \ + libssh2_publickey_init.3 \ + libssh2_publickey_list_fetch.3 \ + libssh2_publickey_list_free.3 \ + libssh2_publickey_remove_ex.3 \ + libssh2_publickey_shutdown.3 \ + libssh2_scp_recv.3 \ + libssh2_scp_send_ex.3 \ + libssh2_session_abstract.3 \ + libssh2_session_block_directions.3 \ + libssh2_session_callback_set.3 \ + libssh2_session_disconnect_ex.3 \ + libssh2_session_flag.3 \ + libssh2_session_free.3 \ + libssh2_session_get_blocking.3 \ + libssh2_session_hostkey.3 \ + libssh2_session_init_ex.3 \ + libssh2_session_last_errno.3 \ + libssh2_session_last_error.3 \ + libssh2_session_method_pref.3 \ + libssh2_session_methods.3 \ + libssh2_session_set_blocking.3 \ + libssh2_session_startup.3 \ + libssh2_sftp_close_handle.3 \ + libssh2_sftp_fstat_ex.3 \ + libssh2_sftp_init.3 \ + libssh2_sftp_last_error.3 \ + libssh2_sftp_mkdir_ex.3 \ + libssh2_sftp_open_ex.3 \ + libssh2_sftp_read.3 \ + libssh2_sftp_readdir_ex.3 \ + libssh2_sftp_rename_ex.3 \ + libssh2_sftp_rmdir_ex.3 \ + libssh2_sftp_seek.3 \ + libssh2_sftp_shutdown.3 \ + libssh2_sftp_stat_ex.3 \ + libssh2_sftp_symlink_ex.3 \ + libssh2_sftp_tell.3 \ + libssh2_sftp_tell64.3 \ + libssh2_sftp_unlink_ex.3 \ + libssh2_sftp_write.3 \ + libssh2_trace.3 \ + libssh2_userauth_authenticated.3 \ + libssh2_userauth_hostbased_fromfile_ex.3 \ + libssh2_userauth_keyboard_interactive_ex.3 \ + libssh2_userauth_list.3 \ + libssh2_userauth_password_ex.3 \ + libssh2_userauth_publickey_fromfile_ex.3 \ + libssh2_version.3 post-patch: @${REINPLACE_CMD} -e '/ssh2_sample\.o/d' ${WRKSRC}/Makefile.in diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo index 535615fb6249..03b322188c69 100644 --- a/security/libssh2/distinfo +++ b/security/libssh2/distinfo @@ -1,3 +1,3 @@ -MD5 (libssh2-1.1.tar.gz) = f8a3eb9bb814e0a5a2bb76a5423f5129 -SHA256 (libssh2-1.1.tar.gz) = 507b7a60b7cafeef071c58a93d2c3c9ee07092a61d5ab29aee73e8c4c6c7020a -SIZE (libssh2-1.1.tar.gz) = 582185 +MD5 (libssh2-1.2.tar.gz) = 751f4b5b5d8091f84cfe25fa52226cf9 +SHA256 (libssh2-1.2.tar.gz) = 3176fc0c31de6be74e531680319cbf595637667c0645223d5d66caec54937bb8 +SIZE (libssh2-1.2.tar.gz) = 532299 diff --git a/security/libssh2/pkg-descr b/security/libssh2/pkg-descr index 2924354b240c..17f98494d653 100644 --- a/security/libssh2/pkg-descr +++ b/security/libssh2/pkg-descr @@ -2,4 +2,4 @@ libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10). -WWW: http://libssh2.sourceforge.net/ +WWW: http://www.libssh2.org/