git: b9aa342e8301 - main - security/libssh2: update to 1.11.0

From: Sofian Brabez <sbz_at_FreeBSD.org>
Date: Wed, 31 May 2023 18:20:08 UTC
The branch main has been updated by sbz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b9aa342e83015f386fb75311d947eece5bd2fd7f

commit b9aa342e83015f386fb75311d947eece5bd2fd7f
Author:     Sofian Brabez <sbz@FreeBSD.org>
AuthorDate: 2023-05-31 16:17:59 +0000
Commit:     Sofian Brabez <sbz@FreeBSD.org>
CommitDate: 2023-05-31 18:19:04 +0000

    security/libssh2: update to 1.11.0
    
    Changes:        https://github.com/libssh2/libssh2/releases/tag/libssh2-1.11.0
    Changes:        https://github.com/libssh2/libssh2/compare/libssh2-1.10.0...libssh2-1.11.0
---
 security/libssh2/Makefile                  |  3 +-
 security/libssh2/distinfo                  |  6 +--
 security/libssh2/files/patch-src_openssl.h | 17 -------
 security/libssh2/pkg-plist                 | 78 +++++++++++++++++-------------
 4 files changed, 49 insertions(+), 55 deletions(-)

diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 53396fd8b69b..923a3d0a4916 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libssh2
-PORTVERSION=	1.10.0
-PORTREVISION=	1
+PORTVERSION=	1.11.0
 PORTEPOCH=	3
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.libssh2.org/download/ \
diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo
index 15f941a65e88..90ed42c342f2 100644
--- a/security/libssh2/distinfo
+++ b/security/libssh2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1630269560
-SHA256 (libssh2-1.10.0.tar.gz) = 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51
-SIZE (libssh2-1.10.0.tar.gz) = 965044
+TIMESTAMP = 1685548702
+SHA256 (libssh2-1.11.0.tar.gz) = 3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461
+SIZE (libssh2-1.11.0.tar.gz) = 1053562
diff --git a/security/libssh2/files/patch-src_openssl.h b/security/libssh2/files/patch-src_openssl.h
deleted file mode 100644
index efde2680c54d..000000000000
--- a/security/libssh2/files/patch-src_openssl.h
+++ /dev/null
@@ -1,17 +0,0 @@
-Backported from upstream commit
-<https://github.com/libssh2/libssh2/commit/b952674f>
-
---- src/openssl.h.orig	2021-05-14 21:36:06 UTC
-+++ src/openssl.h
-@@ -57,8 +57,9 @@
- #include <openssl/pem.h>
- #include <openssl/rand.h>
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \
--    !defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && \
-+    !defined(LIBRESSL_VERSION_NUMBER)) || \
-+    LIBRESSL_VERSION_NUMBER >= 0x3050000fL
- # define HAVE_OPAQUE_STRUCTS 1
- #endif
- 
diff --git a/security/libssh2/pkg-plist b/security/libssh2/pkg-plist
index a63774c5936a..f07aaa54a03a 100644
--- a/security/libssh2/pkg-plist
+++ b/security/libssh2/pkg-plist
@@ -13,21 +13,23 @@ man/man3/libssh2_agent_get_identity_path.3.gz
 man/man3/libssh2_agent_init.3.gz
 man/man3/libssh2_agent_list_identities.3.gz
 man/man3/libssh2_agent_set_identity_path.3.gz
+man/man3/libssh2_agent_sign.3.gz
 man/man3/libssh2_agent_userauth.3.gz
 man/man3/libssh2_banner_set.3.gz
 man/man3/libssh2_base64_decode.3.gz
 man/man3/libssh2_channel_close.3.gz
-man/man3/libssh2_channel_direct_tcpip_ex.3.gz
+man/man3/libssh2_channel_direct_streamlocal_ex.3.gz
 man/man3/libssh2_channel_direct_tcpip.3.gz
+man/man3/libssh2_channel_direct_tcpip_ex.3.gz
 man/man3/libssh2_channel_eof.3.gz
 man/man3/libssh2_channel_exec.3.gz
+man/man3/libssh2_channel_flush.3.gz
 man/man3/libssh2_channel_flush_ex.3.gz
 man/man3/libssh2_channel_flush_stderr.3.gz
-man/man3/libssh2_channel_flush.3.gz
 man/man3/libssh2_channel_forward_accept.3.gz
 man/man3/libssh2_channel_forward_cancel.3.gz
-man/man3/libssh2_channel_forward_listen_ex.3.gz
 man/man3/libssh2_channel_forward_listen.3.gz
+man/man3/libssh2_channel_forward_listen_ex.3.gz
 man/man3/libssh2_channel_free.3.gz
 man/man3/libssh2_channel_get_exit_signal.3.gz
 man/man3/libssh2_channel_get_exit_status.3.gz
@@ -37,32 +39,35 @@ man/man3/libssh2_channel_ignore_extended_data.3.gz
 man/man3/libssh2_channel_open_ex.3.gz
 man/man3/libssh2_channel_open_session.3.gz
 man/man3/libssh2_channel_process_startup.3.gz
+man/man3/libssh2_channel_read.3.gz
 man/man3/libssh2_channel_read_ex.3.gz
 man/man3/libssh2_channel_read_stderr.3.gz
-man/man3/libssh2_channel_read.3.gz
 man/man3/libssh2_channel_receive_window_adjust.3.gz
 man/man3/libssh2_channel_receive_window_adjust2.3.gz
+man/man3/libssh2_channel_request_auth_agent.3.gz
+man/man3/libssh2_channel_request_pty.3.gz
 man/man3/libssh2_channel_request_pty_ex.3.gz
-man/man3/libssh2_channel_request_pty_size_ex.3.gz
 man/man3/libssh2_channel_request_pty_size.3.gz
-man/man3/libssh2_channel_request_pty.3.gz
+man/man3/libssh2_channel_request_pty_size_ex.3.gz
 man/man3/libssh2_channel_send_eof.3.gz
 man/man3/libssh2_channel_set_blocking.3.gz
-man/man3/libssh2_channel_setenv_ex.3.gz
 man/man3/libssh2_channel_setenv.3.gz
+man/man3/libssh2_channel_setenv_ex.3.gz
 man/man3/libssh2_channel_shell.3.gz
+man/man3/libssh2_channel_signal_ex.3.gz
 man/man3/libssh2_channel_subsystem.3.gz
 man/man3/libssh2_channel_wait_closed.3.gz
 man/man3/libssh2_channel_wait_eof.3.gz
-man/man3/libssh2_channel_window_read_ex.3.gz
 man/man3/libssh2_channel_window_read.3.gz
-man/man3/libssh2_channel_window_write_ex.3.gz
+man/man3/libssh2_channel_window_read_ex.3.gz
 man/man3/libssh2_channel_window_write.3.gz
+man/man3/libssh2_channel_window_write_ex.3.gz
+man/man3/libssh2_channel_write.3.gz
 man/man3/libssh2_channel_write_ex.3.gz
 man/man3/libssh2_channel_write_stderr.3.gz
-man/man3/libssh2_channel_write.3.gz
-man/man3/libssh2_channel_x11_req_ex.3.gz
 man/man3/libssh2_channel_x11_req.3.gz
+man/man3/libssh2_channel_x11_req_ex.3.gz
+man/man3/libssh2_crypto_engine.3.gz
 man/man3/libssh2_exit.3.gz
 man/man3/libssh2_free.3.gz
 man/man3/libssh2_hostkey_hash.3.gz
@@ -81,99 +86,106 @@ man/man3/libssh2_knownhost_readfile.3.gz
 man/man3/libssh2_knownhost_readline.3.gz
 man/man3/libssh2_knownhost_writefile.3.gz
 man/man3/libssh2_knownhost_writeline.3.gz
-man/man3/libssh2_poll_channel_read.3.gz
 man/man3/libssh2_poll.3.gz
-man/man3/libssh2_publickey_add_ex.3.gz
+man/man3/libssh2_poll_channel_read.3.gz
 man/man3/libssh2_publickey_add.3.gz
+man/man3/libssh2_publickey_add_ex.3.gz
 man/man3/libssh2_publickey_init.3.gz
 man/man3/libssh2_publickey_list_fetch.3.gz
 man/man3/libssh2_publickey_list_free.3.gz
-man/man3/libssh2_publickey_remove_ex.3.gz
 man/man3/libssh2_publickey_remove.3.gz
+man/man3/libssh2_publickey_remove_ex.3.gz
 man/man3/libssh2_publickey_shutdown.3.gz
 man/man3/libssh2_scp_recv.3.gz
 man/man3/libssh2_scp_recv2.3.gz
-man/man3/libssh2_scp_send_ex.3.gz
 man/man3/libssh2_scp_send.3.gz
 man/man3/libssh2_scp_send64.3.gz
+man/man3/libssh2_scp_send_ex.3.gz
 man/man3/libssh2_session_abstract.3.gz
 man/man3/libssh2_session_banner_get.3.gz
 man/man3/libssh2_session_banner_set.3.gz
 man/man3/libssh2_session_block_directions.3.gz
 man/man3/libssh2_session_callback_set.3.gz
-man/man3/libssh2_session_disconnect_ex.3.gz
 man/man3/libssh2_session_disconnect.3.gz
+man/man3/libssh2_session_disconnect_ex.3.gz
 man/man3/libssh2_session_flag.3.gz
 man/man3/libssh2_session_free.3.gz
 man/man3/libssh2_session_get_blocking.3.gz
+man/man3/libssh2_session_get_read_timeout.3.gz
 man/man3/libssh2_session_get_timeout.3.gz
 man/man3/libssh2_session_handshake.3.gz
 man/man3/libssh2_session_hostkey.3.gz
-man/man3/libssh2_session_init_ex.3.gz
 man/man3/libssh2_session_init.3.gz
+man/man3/libssh2_session_init_ex.3.gz
 man/man3/libssh2_session_last_errno.3.gz
 man/man3/libssh2_session_last_error.3.gz
 man/man3/libssh2_session_method_pref.3.gz
 man/man3/libssh2_session_methods.3.gz
 man/man3/libssh2_session_set_blocking.3.gz
 man/man3/libssh2_session_set_last_error.3.gz
+man/man3/libssh2_session_set_read_timeout.3.gz
 man/man3/libssh2_session_set_timeout.3.gz
 man/man3/libssh2_session_startup.3.gz
 man/man3/libssh2_session_supported_algs.3.gz
-man/man3/libssh2_sftp_close_handle.3.gz
 man/man3/libssh2_sftp_close.3.gz
+man/man3/libssh2_sftp_close_handle.3.gz
 man/man3/libssh2_sftp_closedir.3.gz
 man/man3/libssh2_sftp_fsetstat.3.gz
-man/man3/libssh2_sftp_fstat_ex.3.gz
 man/man3/libssh2_sftp_fstat.3.gz
+man/man3/libssh2_sftp_fstat_ex.3.gz
 man/man3/libssh2_sftp_fstatvfs.3.gz
 man/man3/libssh2_sftp_fsync.3.gz
 man/man3/libssh2_sftp_get_channel.3.gz
 man/man3/libssh2_sftp_init.3.gz
 man/man3/libssh2_sftp_last_error.3.gz
 man/man3/libssh2_sftp_lstat.3.gz
-man/man3/libssh2_sftp_mkdir_ex.3.gz
 man/man3/libssh2_sftp_mkdir.3.gz
-man/man3/libssh2_sftp_open_ex.3.gz
+man/man3/libssh2_sftp_mkdir_ex.3.gz
 man/man3/libssh2_sftp_open.3.gz
+man/man3/libssh2_sftp_open_ex.3.gz
+man/man3/libssh2_sftp_open_ex_r.3.gz
+man/man3/libssh2_sftp_open_r.3.gz
 man/man3/libssh2_sftp_opendir.3.gz
 man/man3/libssh2_sftp_read.3.gz
-man/man3/libssh2_sftp_readdir_ex.3.gz
 man/man3/libssh2_sftp_readdir.3.gz
+man/man3/libssh2_sftp_readdir_ex.3.gz
 man/man3/libssh2_sftp_readlink.3.gz
 man/man3/libssh2_sftp_realpath.3.gz
-man/man3/libssh2_sftp_rename_ex.3.gz
 man/man3/libssh2_sftp_rename.3.gz
+man/man3/libssh2_sftp_rename_ex.3.gz
 man/man3/libssh2_sftp_rewind.3.gz
-man/man3/libssh2_sftp_rmdir_ex.3.gz
 man/man3/libssh2_sftp_rmdir.3.gz
+man/man3/libssh2_sftp_rmdir_ex.3.gz
 man/man3/libssh2_sftp_seek.3.gz
 man/man3/libssh2_sftp_seek64.3.gz
 man/man3/libssh2_sftp_setstat.3.gz
 man/man3/libssh2_sftp_shutdown.3.gz
-man/man3/libssh2_sftp_stat_ex.3.gz
 man/man3/libssh2_sftp_stat.3.gz
+man/man3/libssh2_sftp_stat_ex.3.gz
 man/man3/libssh2_sftp_statvfs.3.gz
-man/man3/libssh2_sftp_symlink_ex.3.gz
 man/man3/libssh2_sftp_symlink.3.gz
+man/man3/libssh2_sftp_symlink_ex.3.gz
 man/man3/libssh2_sftp_tell.3.gz
 man/man3/libssh2_sftp_tell64.3.gz
-man/man3/libssh2_sftp_unlink_ex.3.gz
 man/man3/libssh2_sftp_unlink.3.gz
+man/man3/libssh2_sftp_unlink_ex.3.gz
 man/man3/libssh2_sftp_write.3.gz
-man/man3/libssh2_trace_sethandler.3.gz
+man/man3/libssh2_sign_sk.3.gz
 man/man3/libssh2_trace.3.gz
+man/man3/libssh2_trace_sethandler.3.gz
 man/man3/libssh2_userauth_authenticated.3.gz
-man/man3/libssh2_userauth_hostbased_fromfile_ex.3.gz
+man/man3/libssh2_userauth_banner.3.gz
 man/man3/libssh2_userauth_hostbased_fromfile.3.gz
-man/man3/libssh2_userauth_keyboard_interactive_ex.3.gz
+man/man3/libssh2_userauth_hostbased_fromfile_ex.3.gz
 man/man3/libssh2_userauth_keyboard_interactive.3.gz
+man/man3/libssh2_userauth_keyboard_interactive_ex.3.gz
 man/man3/libssh2_userauth_list.3.gz
-man/man3/libssh2_userauth_password_ex.3.gz
 man/man3/libssh2_userauth_password.3.gz
-man/man3/libssh2_userauth_publickey_fromfile_ex.3.gz
+man/man3/libssh2_userauth_password_ex.3.gz
+man/man3/libssh2_userauth_publickey.3.gz
 man/man3/libssh2_userauth_publickey_fromfile.3.gz
+man/man3/libssh2_userauth_publickey_fromfile_ex.3.gz
 man/man3/libssh2_userauth_publickey_frommemory.3.gz
-man/man3/libssh2_userauth_publickey.3.gz
+man/man3/libssh2_userauth_publickey_sk.3.gz
 man/man3/libssh2_version.3.gz
 libdata/pkgconfig/libssh2.pc