Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 2020 05:17:01 +0000 (UTC)
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544360 - head/security/libssh2
Message-ID:  <202008080517.0785H1u4012843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: novel
Date: Sat Aug  8 05:17:01 2020
New Revision: 544360
URL: https://svnweb.freebsd.org/changeset/ports/544360

Log:
  security/libssh2: fix the GCRYPT option
  
  The port uses the old crypto configure flags:
  --with-libgcrypt and --with-openssl. These flags
  are no longer supported.
  
  Besides from the obvious effect of the actual port configuration
  not matching user intent, it also produces incorrect pkg-config
  file for the given set of dependencies, and other ports that
  depend on libssh2 fail when it's configured with GCRYPT=on.
  
  Fix by using the proper configure arguments:
  --with-crypto=libgcrypt and --with-crypto=openssl.
  
  PR:		248164
  Submitted by:	dgilbert@eicat.ca (bug report), James French (patch)
  Approved by:	maintainer timeout

Modified:
  head/security/libssh2/Makefile

Modified: head/security/libssh2/Makefile
==============================================================================
--- head/security/libssh2/Makefile	Sat Aug  8 04:45:58 2020	(r544359)
+++ head/security/libssh2/Makefile	Sat Aug  8 05:17:01 2020	(r544360)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libssh2
 PORTVERSION=	1.9.0
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	3
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.libssh2.org/download/ \
@@ -27,8 +27,8 @@ TRACE_DESC=	Enable debug packet traces
 
 TRACE_CONFIGURE_ENABLE=	debug
 GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
-GCRYPT_CONFIGURE_ON=	--with-libgcrypt
-GCRYPT_CONFIGURE_OFF=	--with-openssl
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008080517.0785H1u4012843>