Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2019 21:30:19 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519242 - head/security/libssh
Message-ID:  <201912072130.xB7LUJEv067475@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Dec  7 21:30:18 2019
New Revision: 519242
URL: https://svnweb.freebsd.org/changeset/ports/519242

Log:
  security/libssh: Update to 0.9.2
  
  PR:		241761
  Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch>  (maintainer)

Modified:
  head/security/libssh/Makefile
  head/security/libssh/distinfo
  head/security/libssh/pkg-plist

Modified: head/security/libssh/Makefile
==============================================================================
--- head/security/libssh/Makefile	Sat Dec  7 21:28:10 2019	(r519241)
+++ head/security/libssh/Makefile	Sat Dec  7 21:30:18 2019	(r519242)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	libssh
-DISTVERSION=	0.8.6
+DISTVERSION=	0.9.2
 CATEGORIES=	security devel
-MASTER_SITES=	https://www.libssh.org/files/0.8/
+MASTER_SITES=	https://www.libssh.org/files/0.9/
 
 MAINTAINER=	phascolarctos@protonmail.ch
 COMMENT=	Library implementing the SSH2 protocol
@@ -15,21 +15,21 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		cmake cpe tar:xz
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DWITH_EXAMPLES:BOOL=OFF \
-		-DWITH_TESTING:BOOL=OFF \
-		-DWITH_ZLIB:BOOL=ON
+CMAKE_OFF=	WITH_EXAMPLES
 
-OPTIONS_DEFINE=	GSSAPI STATIC
+OPTIONS_DEFINE=	GSSAPI STATIC ZLIB
 OPTIONS_RADIO=	CRYPTO
 OPTIONS_RADIO_CRYPTO=	GCRYPT OPENSSL
-OPTIONS_DEFAULT=	GSSAPI OPENSSL STATIC
+OPTIONS_DEFAULT=	GSSAPI OPENSSL STATIC ZLIB
 OPTIONS_SUB=	yes
 
-GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
+GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
+			libgpg-error.so:security/libgpg-error
 GCRYPT_CMAKE_BOOL=	WITH_GCRYPT
 GSSAPI_CMAKE_BOOL=	WITH_GSSAPI
 OPENSSL_USES=		ssl
-STATIC_CMAKE_BOOL=	WITH_STATIC_LIB
+STATIC_CMAKE_BOOL=	BUILD_STATIC_LIB
+ZLIB_CMAKE_BOOL=	WITH_ZLIB
 
 post-patch:
 	${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
@@ -37,9 +37,8 @@ post-patch:
 		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
 		-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
 		${WRKSRC}/CMakeLists.txt
-#	${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \
-#		${WRKSRC}/libssh_threads.pc.cmake
-	${REINPLACE_CMD} -e 's| -pedantic-errors||' \
-		${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake
+
+post-install-STATIC-on:
+	${INSTALL_DATA} ${CONFIGURE_WRKSRC}/src/libssh.a ${STAGEDIR}${PREFIX}/lib/
 
 .include <bsd.port.mk>

Modified: head/security/libssh/distinfo
==============================================================================
--- head/security/libssh/distinfo	Sat Dec  7 21:28:10 2019	(r519241)
+++ head/security/libssh/distinfo	Sat Dec  7 21:30:18 2019	(r519242)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1548450366
-SHA256 (libssh-0.8.6.tar.xz) = 1046b95632a07fc00b1ea70ee683072d0c8a23f544f4535440b727812002fd01
-SIZE (libssh-0.8.6.tar.xz) = 433680
+TIMESTAMP = 1573566147
+SHA256 (libssh-0.9.2.tar.xz) = 1970a8991374fc8cbdcb7fcc3683fe8f8824aa37d575f38cfb75fe0fe50fd9ad
+SIZE (libssh-0.9.2.tar.xz) = 495876

Modified: head/security/libssh/pkg-plist
==============================================================================
--- head/security/libssh/pkg-plist	Sat Dec  7 21:28:10 2019	(r519241)
+++ head/security/libssh/pkg-plist	Sat Dec  7 21:30:18 2019	(r519242)
@@ -5,10 +5,11 @@ include/libssh/libsshpp.hpp
 include/libssh/server.h
 include/libssh/sftp.h
 include/libssh/ssh2.h
-lib/cmake/libssh/libssh/libssh-config.cmake
-lib/cmake/libssh/libssh/libssh-config-version.cmake
+lib/cmake/libssh/libssh-config-release.cmake
+lib/cmake/libssh/libssh-config.cmake
+lib/cmake/libssh/libssh-config-version.cmake
 %%STATIC%%lib/libssh.a
 lib/libssh.so
 lib/libssh.so.4
-lib/libssh.so.4.7.3
+lib/libssh.so.4.8.3
 libdata/pkgconfig/libssh.pc



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