Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 19:43:12 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548519 - head/security/libssh
Message-ID:  <202009131943.08DJhCxJ085511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Sep 13 19:43:12 2020
New Revision: 548519
URL: https://svnweb.freebsd.org/changeset/ports/548519

Log:
  Update to 0.9.5
  
  - Remove STATIC option
  - Use INSTALL_WRKSRC instead of CONFIGURE_WRKSRC in post-install:
  - Sort PLIST
  - Reformat pkg-descr
  - Update WWW
  
  Changes:	https://git.libssh.org/projects/libssh.git/tag/?h=libssh-0.9.5
  		https://www.libssh.org/2020/09/10/libssh-0-9-5/

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

Modified: head/security/libssh/Makefile
==============================================================================
--- head/security/libssh/Makefile	Sun Sep 13 19:43:08 2020	(r548518)
+++ head/security/libssh/Makefile	Sun Sep 13 19:43:12 2020	(r548519)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libssh
-DISTVERSION=	0.9.4
+PORTVERSION=	0.9.5
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.libssh.org/files/${PORTVERSION:R}/
 
@@ -13,32 +13,27 @@ LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cmake cpe tar:xz
-USE_LDCONFIG=	yes
 
 CMAKE_OFF=	WITH_EXAMPLES
+CMAKE_ON=	BUILD_STATIC_LIB
+USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	GSSAPI STATIC ZLIB
+OPTIONS_DEFINE=	GSSAPI ZLIB
 OPTIONS_RADIO=	CRYPTO
 OPTIONS_RADIO_CRYPTO=	GCRYPT OPENSSL
-OPTIONS_DEFAULT=GSSAPI OPENSSL STATIC ZLIB
-OPTIONS_SUB=	yes
+OPTIONS_DEFAULT=GSSAPI OPENSSL ZLIB
 
+GCRYPT_CMAKE_BOOL=	WITH_GCRYPT
 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=	BUILD_STATIC_LIB
 ZLIB_CMAKE_BOOL=	WITH_ZLIB
 
 post-patch:
-	${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
-	${REINPLACE_CMD} \
-		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
-		-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
-		${WRKSRC}/CMakeLists.txt
+	@${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
 
-post-install-STATIC-on:
-	${INSTALL_DATA} ${CONFIGURE_WRKSRC}/src/libssh.a ${STAGEDIR}${PREFIX}/lib/
+post-install:
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/src/libssh.a ${STAGEDIR}${PREFIX}/lib/
 
 .include <bsd.port.mk>

Modified: head/security/libssh/distinfo
==============================================================================
--- head/security/libssh/distinfo	Sun Sep 13 19:43:08 2020	(r548518)
+++ head/security/libssh/distinfo	Sun Sep 13 19:43:12 2020	(r548519)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1586473871
-SHA256 (libssh-0.9.4.tar.xz) = 150897a569852ac05aac831dc417a7ba8e610c86ca2e0154a99c6ade2486226b
-SIZE (libssh-0.9.4.tar.xz) = 500776
+TIMESTAMP = 1599924229
+SHA256 (libssh-0.9.5.tar.xz) = acffef2da98e761fc1fd9c4fddde0f3af60ab44c4f5af05cd1b2d60a3fa08718
+SIZE (libssh-0.9.5.tar.xz) = 502876

Modified: head/security/libssh/pkg-descr
==============================================================================
--- head/security/libssh/pkg-descr	Sun Sep 13 19:43:08 2020	(r548518)
+++ head/security/libssh/pkg-descr	Sun Sep 13 19:43:12 2020	(r548519)
@@ -3,22 +3,21 @@ implementation by the mean of a library. The complete 
 made by the programmer. With libssh, you can remotely execute programs, transfer
 files, use a secure and transparent tunnel for your remote programs.
 With its Secure FTP implementation, you can play with remote files easily,
-without third-party programs others than libcrypto (from openssl).
+without third-party programs others than libcrypto (from OpenSSL).
 
 libssh features:
+- Full C library functions for manipulating a client-side SSH connection
+- SSH2 protocol compliant
+- Fully configurable sessions
+- Server support, SSH agent authentication support
+- Support for AES-128, AES-192, AES-256, Blowfish, 3DES in CBC mode
+- Use multiple SSH connections in a same process, at same time
+- Use multiple channels in the same connection
+- Thread safety when using different sessions at same time
+- POSIX-like SFTP implementation with openssh extension support
+- SCP implementation
+- RSA and DSS server public key supported
+- Compression support (with zlib)
+- Public key (RSA and DSS), password and keyboard-interactive authentication
 
- * Full C library functions for manipulating a client-side SSH connection
- * SSH2 protocol compliant
- * Fully configurable sessions
- * Server support, SSH agent authentication support
- * Support for AES-128, AES-192, AES-256, Blowfish, 3DES in CBC mode
- * Use multiple SSH connections in a same process, at same time
- * Use multiple channels in the same connection
- * Thread safety when using different sessions at same time
- * POSIX-like SFTP implementation with openssh extension support
- * SCP implementation
- * RSA and DSS server public key supported
- * Compression support (with zlib)
- * Public key (RSA and DSS), password and keyboard-interactive authentication
-
-WWW: http://www.libssh.org/
+WWW: https://www.libssh.org/

Modified: head/security/libssh/pkg-plist
==============================================================================
--- head/security/libssh/pkg-plist	Sun Sep 13 19:43:08 2020	(r548518)
+++ head/security/libssh/pkg-plist	Sun Sep 13 19:43:12 2020	(r548519)
@@ -1,15 +1,16 @@
 include/libssh/callbacks.h
 include/libssh/legacy.h
 include/libssh/libssh.h
+include/libssh/libssh_version.h
 include/libssh/libsshpp.hpp
 include/libssh/server.h
 include/libssh/sftp.h
 include/libssh/ssh2.h
 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/cmake/libssh/libssh-config.cmake
+lib/libssh.a
 lib/libssh.so
 lib/libssh.so.4
-lib/libssh.so.4.8.5
+lib/libssh.so.4.8.6
 libdata/pkgconfig/libssh.pc



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