git: 6400e513ceda - main - security/libssh: Update to 0.10.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 31 Aug 2022 18:50:43 UTC
The branch main has been updated by sunpoet:

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

commit 6400e513cedae74935c265dc27e11ced3e52131b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 18:25:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 18:49:30 +0000

    security/libssh: Update to 0.10.1
    
    Changes:        https://git.libssh.org/projects/libssh.git/tree/CHANGELOG?h=stable-0.10
---
 security/libssh/Makefile                           |  2 +-
 security/libssh/distinfo                           |  6 +++---
 security/libssh/files/patch-src_libcrypto-compat.h | 11 +++++------
 security/libssh/pkg-plist                          |  2 +-
 4 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index 15a4a9cd63c9..38b550a93dc0 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libssh
-PORTVERSION=	0.9.6
+PORTVERSION=	0.10.1
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.libssh.org/files/${PORTVERSION:R}/
 
diff --git a/security/libssh/distinfo b/security/libssh/distinfo
index e9f01696fd42..85d4913bd42c 100644
--- a/security/libssh/distinfo
+++ b/security/libssh/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632036902
-SHA256 (libssh-0.9.6.tar.xz) = 86bcf885bd9b80466fe0e05453c58b877df61afa8ba947a58c356d7f0fab829b
-SIZE (libssh-0.9.6.tar.xz) = 1053056
+TIMESTAMP = 1661950826
+SHA256 (libssh-0.10.1.tar.xz) = da2b3337a0dd1d1e3788376ee471548520cad91a4f3f23ea3f50c5a73a7e69a5
+SIZE (libssh-0.10.1.tar.xz) = 553808
diff --git a/security/libssh/files/patch-src_libcrypto-compat.h b/security/libssh/files/patch-src_libcrypto-compat.h
index 449c9c26cfdd..aebef255f03a 100644
--- a/security/libssh/files/patch-src_libcrypto-compat.h
+++ b/security/libssh/files/patch-src_libcrypto-compat.h
@@ -1,12 +1,11 @@
---- src/libcrypto-compat.h	2018-10-19 05:11:14 UTC
+--- src/libcrypto-compat.h.orig	2022-07-07 13:53:51 UTC
 +++ src/libcrypto-compat.h
-@@ -2,7 +2,8 @@
- #define LIBCRYPTO_COMPAT_H
+@@ -7,7 +7,7 @@
+ #define NISTP384 "P-384"
+ #define NISTP521 "P-521"
  
- #include <openssl/opensslv.h>
 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
-+    (defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x20700000L)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x20700000L)
  
  #include <openssl/rsa.h>
  #include <openssl/dsa.h>
diff --git a/security/libssh/pkg-plist b/security/libssh/pkg-plist
index 43b210c05d32..055597ad8d43 100644
--- a/security/libssh/pkg-plist
+++ b/security/libssh/pkg-plist
@@ -12,5 +12,5 @@ lib/cmake/libssh/libssh-config.cmake
 lib/libssh.a
 lib/libssh.so
 lib/libssh.so.4
-lib/libssh.so.4.8.7
+lib/libssh.so.4.9.1
 libdata/pkgconfig/libssh.pc