Hi All. please find blow a diff to update libssh to the last stable version.
ChangeLog 0.7.5: Fixed a memory allocation issue with buffers Fixed PKI on Windows Fixed some SSHv1 functions Fixed config hostname expansion ChangeLog 0.7.4: Added id_ed25519 to the default identity list Fixed sftp EOF packet handling Fixed ssh_send_banner() to confirm with RFC 4253 Fixed some memory leaks Comments? Ok? Rafael Sadowski Index: Makefile =================================================================== RCS file: /cvs/ports/security/libssh/Makefile,v retrieving revision 1.15 diff -u -p -u -p -r1.15 Makefile --- Makefile 12 May 2017 15:11:18 -0000 1.15 +++ Makefile 16 Sep 2017 07:50:59 -0000 @@ -2,15 +2,15 @@ COMMENT = C library implementing server and client side # XXX if updating, check the number in the MASTER_SITES path -DISTNAME = libssh-0.7.3 +DISTNAME = libssh-0.7.5 -SHARED_LIBS += ssh 2.0 # 4.5 +SHARED_LIBS += ssh 3.0 # 4.5 SHARED_LIBS += ssh_threads 2.0 # 4.5 CATEGORIES = security devel -HOMEPAGE = http://www.libssh.org/ -MASTER_SITES = https://red.libssh.org/attachments/download/195/ +HOMEPAGE = https://www.libssh.org/ +MASTER_SITES = https://red.libssh.org/attachments/download/218/ EXTRACT_SUFX = .tar.xz MAINTAINER = Remi Pointel <rpoin...@openbsd.org> @@ -18,7 +18,7 @@ MAINTAINER = Remi Pointel <rpointel@ope # LGPL v2.1 PERMIT_PACKAGE_CDROM = Yes -WANTLIB += crypto pthread ssl z +WANTLIB += crypto pthread z MODULES = devel/cmake Index: distinfo =================================================================== RCS file: /cvs/ports/security/libssh/distinfo,v retrieving revision 1.11 diff -u -p -u -p -r1.11 distinfo --- distinfo 23 Feb 2016 14:09:59 -0000 1.11 +++ distinfo 16 Sep 2017 07:50:59 -0000 @@ -1,2 +1,2 @@ -SHA256 (libssh-0.7.3.tar.xz) = Ju9GvlVdohESwB5Ln146u6kZRIXIgiq1W6PWSWIir5g= -SIZE (libssh-0.7.3.tar.xz) = 350464 +SHA256 (libssh-0.7.5.tar.xz) = VOht1dwg5TZ+WPPKqzN843Z1+GP4DfhbaxYUlmozcJU= +SIZE (libssh-0.7.5.tar.xz) = 351632 Index: patches/patch-ConfigureChecks_cmake =================================================================== RCS file: /cvs/ports/security/libssh/patches/patch-ConfigureChecks_cmake,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-ConfigureChecks_cmake --- patches/patch-ConfigureChecks_cmake 11 May 2017 00:21:50 -0000 1.1 +++ patches/patch-ConfigureChecks_cmake 16 Sep 2017 07:50:59 -0000 @@ -3,7 +3,7 @@ $OpenBSD: patch-ConfigureChecks_cmake,v Index: ConfigureChecks.cmake --- ConfigureChecks.cmake.orig +++ ConfigureChecks.cmake -@@ -200,7 +200,7 @@ check_c_source_compiles(" +@@ -205,7 +205,7 @@ check_c_source_compiles(" __thread int tls; int main(void) {