git: 63664c9921c6 - main - security/libssh2: update the port to version 1.10.0 and hook the tests

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 22 Dec 2021 15:02:37 UTC
The branch main has been updated by danfe:

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

commit 63664c9921c6611fec1d99a8bf95646dd05d3c2d
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-12-22 15:00:58 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-12-22 15:00:58 +0000

    security/libssh2: update the port to version 1.10.0 and hook the tests
    
    PR:     260247
---
 security/libssh2/Makefile | 12 ++++++------
 security/libssh2/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 4e19b798a644..4908b61f8462 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -1,8 +1,7 @@
 # Created by: Alexander Leidinger <netchild@FreeBSD.org>
 
 PORTNAME=	libssh2
-PORTVERSION=	1.9.0
-PORTREVISION=	3
+PORTVERSION=	1.10.0
 PORTEPOCH=	3
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.libssh2.org/download/ \
@@ -14,23 +13,24 @@ COMMENT=	Library implementing the SSH2 protocol
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
 USES=		compiler:c11 cpe libtool pathfix
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 OPTIONS_DEFINE=	GCRYPT TRACE ZLIB
 OPTIONS_DEFAULT=	ZLIB
 
 TRACE_DESC=	Enable debug packet traces
 
-TRACE_CONFIGURE_ENABLE=	debug
 GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
+GCRYPT_USES_OFF=	ssl
 GCRYPT_CONFIGURE_ON=	--with-crypto=libgcrypt
 GCRYPT_CONFIGURE_OFF=	--with-crypto=openssl
 GCRYPT_CPPFLAGS=	-I${LOCALBASE}/include
 GCRYPT_LIBS=		-L${LOCALBASE}/lib
-GCRYPT_USES_OFF=	ssl
+TRACE_CONFIGURE_ENABLE=	debug
 ZLIB_CONFIGURE_WITH=	libz
 
 .include <bsd.port.pre.mk>
diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo
index 00097c81954f..15f941a65e88 100644
--- a/security/libssh2/distinfo
+++ b/security/libssh2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594489719
-SHA256 (libssh2-1.9.0.tar.gz) = d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd
-SIZE (libssh2-1.9.0.tar.gz) = 888551
+TIMESTAMP = 1630269560
+SHA256 (libssh2-1.10.0.tar.gz) = 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51
+SIZE (libssh2-1.10.0.tar.gz) = 965044