aboutsummaryrefslogtreecommitdiff
path: root/security/libssh
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 18:25:42 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 18:49:30 +0000
commit6400e513cedae74935c265dc27e11ced3e52131b (patch)
treeb7900ce2945b1d1bce9f31a3153b40ffbb024e6a /security/libssh
parentc36ff43bd13c3e84fe19b418c7a602c890f1973a (diff)
downloadports-6400e513cedae74935c265dc27e11ced3e52131b.tar.gz
ports-6400e513cedae74935c265dc27e11ced3e52131b.zip
Diffstat (limited to 'security/libssh')
-rw-r--r--security/libssh/Makefile2
-rw-r--r--security/libssh/distinfo6
-rw-r--r--security/libssh/files/patch-src_libcrypto-compat.h11
-rw-r--r--security/libssh/pkg-plist2
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