aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-12-22 15:00:58 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-12-22 15:00:58 +0000
commit63664c9921c6611fec1d99a8bf95646dd05d3c2d (patch)
treeb3b4e84c866aaff59476aa2f3ade8ab529349561
parentd2154bc353c433d3a5e99103d8d8fd5911bd927d (diff)
downloadports-63664c9921c6611fec1d99a8bf95646dd05d3c2d.tar.gz
ports-63664c9921c6611fec1d99a8bf95646dd05d3c2d.zip
security/libssh2: update the port to version 1.10.0 and hook the tests
PR: 260247
-rw-r--r--security/libssh2/Makefile12
-rw-r--r--security/libssh2/distinfo6
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