View | Details | Raw Unified | Return to bug 241761 | Differences between
and this patch

Collapse All | Expand All

(-)security/libssh/Makefile (-14 / +17 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libssh
4
PORTNAME=	libssh
5
DISTVERSION=	0.8.6
5
DISTVERSION=	0.9.2
6
CATEGORIES=	security devel
6
CATEGORIES=	security devel
7
MASTER_SITES=	https://www.libssh.org/files/0.8/
7
MASTER_SITES=	https://www.libssh.org/files/0.9/
8
8
9
MAINTAINER=	phascolarctos@protonmail.ch
9
MAINTAINER=	phascolarctos@protonmail.ch
10
COMMENT=	Library implementing the SSH2 protocol
10
COMMENT=	Library implementing the SSH2 protocol
Lines 15-45 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
USES=		cmake cpe tar:xz
15
USES=		cmake cpe tar:xz
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
18
CMAKE_ARGS=	-DWITH_EXAMPLES:BOOL=OFF \
18
CMAKE_ARGS=	-DWITH_EXAMPLES:BOOL=OFF
19
		-DWITH_TESTING:BOOL=OFF \
20
		-DWITH_ZLIB:BOOL=ON
21
19
22
OPTIONS_DEFINE=	GSSAPI STATIC
20
OPTIONS_DEFINE=	GSSAPI STATIC ZLIB
23
OPTIONS_RADIO=	CRYPTO
21
OPTIONS_RADIO=	CRYPTO
24
OPTIONS_RADIO_CRYPTO=	GCRYPT OPENSSL
22
OPTIONS_RADIO_CRYPTO=	GCRYPT OPENSSL
25
OPTIONS_DEFAULT=	GSSAPI OPENSSL STATIC
23
OPTIONS_DEFAULT=	GSSAPI OPENSSL STATIC ZLIB
26
OPTIONS_SUB=	yes
24
OPTIONS_SUB=	yes
27
25
28
GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
26
GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
27
			libgpg-error.so:security/libgpg-error
29
GCRYPT_CMAKE_BOOL=	WITH_GCRYPT
28
GCRYPT_CMAKE_BOOL=	WITH_GCRYPT
30
GSSAPI_CMAKE_BOOL=	WITH_GSSAPI
29
GSSAPI_CMAKE_BOOL=	WITH_GSSAPI
31
OPENSSL_USES=		ssl
30
OPENSSL_USES=		ssl
32
STATIC_CMAKE_BOOL=	WITH_STATIC_LIB
31
STATIC_CMAKE_BOOL=	BUILD_STATIC_LIB
32
ZLIB_CMAKE_BOOL=	WITH_ZLIB
33
34
.include <bsd.port.pre.mk>
33
35
34
post-patch:
36
post-patch:
35
	${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
37
	${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
38
.if ${LOCALBASE} != "/usr/local"
36
	${REINPLACE_CMD} \
39
	${REINPLACE_CMD} \
37
		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
40
		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
38
		-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
41
		-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
39
		${WRKSRC}/CMakeLists.txt
42
		${WRKSRC}/CMakeLists.txt
40
#	${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \
43
.endif
41
#		${WRKSRC}/libssh_threads.pc.cmake
44
42
	${REINPLACE_CMD} -e 's| -pedantic-errors||' \
45
post-install-STATIC-on:
43
		${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake
46
	${INSTALL_DATA} ${CONFIGURE_WRKSRC}/src/libssh.a ${STAGEDIR}${PREFIX}/lib/
44
47
45
.include <bsd.port.mk>
48
.include <bsd.port.post.mk>
(-)security/libssh/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1548450366
1
TIMESTAMP = 1573566147
2
SHA256 (libssh-0.8.6.tar.xz) = 1046b95632a07fc00b1ea70ee683072d0c8a23f544f4535440b727812002fd01
2
SHA256 (libssh-0.9.2.tar.xz) = 1970a8991374fc8cbdcb7fcc3683fe8f8824aa37d575f38cfb75fe0fe50fd9ad
3
SIZE (libssh-0.8.6.tar.xz) = 433680
3
SIZE (libssh-0.9.2.tar.xz) = 495876
(-)security/libssh/pkg-plist (-3 / +4 lines)
Lines 5-14 include/libssh/libsshpp.hpp Link Here
5
include/libssh/server.h
5
include/libssh/server.h
6
include/libssh/sftp.h
6
include/libssh/sftp.h
7
include/libssh/ssh2.h
7
include/libssh/ssh2.h
8
lib/cmake/libssh/libssh/libssh-config.cmake
8
lib/cmake/libssh/libssh-config-%%CMAKE_BUILD_TYPE%%.cmake
9
lib/cmake/libssh/libssh/libssh-config-version.cmake
9
lib/cmake/libssh/libssh-config.cmake
10
lib/cmake/libssh/libssh-config-version.cmake
10
%%STATIC%%lib/libssh.a
11
%%STATIC%%lib/libssh.a
11
lib/libssh.so
12
lib/libssh.so
12
lib/libssh.so.4
13
lib/libssh.so.4
13
lib/libssh.so.4.7.3
14
lib/libssh.so.4.8.3
14
libdata/pkgconfig/libssh.pc
15
libdata/pkgconfig/libssh.pc

Return to bug 241761