View | Details | Raw Unified | Return to bug 232344
Collapse All | Expand All

(-)Makefile (-7 / +7 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libssh
4
PORTNAME=	libssh
5
DISTVERSION=	0.7.5
5
DISTVERSION=	0.8.4
6
CATEGORIES=	security devel
6
CATEGORIES=	security devel
7
MASTER_SITES=	https://git.libssh.org/projects/libssh.git/snapshot/
7
MASTER_SITES=	https://www.libssh.org/files/0.8/
8
8
9
MAINTAINER=	johans@FreeBSD.org
9
MAINTAINER=	johans@FreeBSD.org
10
COMMENT=	Library implementing the SSH1 and SSH2 protocol
10
COMMENT=	Library implementing the SSH1 and SSH2 protocol
Lines 43-56 Link Here
43
STATIC_CMAKE_OFF=	-DWITH_STATIC_LIB:BOOL=OFF
43
STATIC_CMAKE_OFF=	-DWITH_STATIC_LIB:BOOL=OFF
44
44
45
post-patch:
45
post-patch:
46
	@${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
46
	${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
47
	@${REINPLACE_CMD} \
47
	${REINPLACE_CMD} \
48
		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
48
		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
49
		-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
49
		-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \
50
		${WRKSRC}/CMakeLists.txt
50
		${WRKSRC}/CMakeLists.txt
51
	@${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \
51
#	${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \
52
		${WRKSRC}/libssh_threads.pc.cmake
52
#		${WRKSRC}/libssh_threads.pc.cmake
53
	@${REINPLACE_CMD} -e 's| -pedantic-errors||' \
53
	${REINPLACE_CMD} -e 's| -pedantic-errors||' \
54
		${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake
54
		${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake
55
55
56
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1493578451
1
TIMESTAMP = 1539760504
2
SHA256 (libssh-0.7.5.tar.xz) = 6f7d5b9f3089164eec7408d35b99194b17352cce436a4a95485b511bce2aab4b
2
SHA256 (libssh-0.8.4.tar.xz) = 6bb07713021a8586ba2120b2c36c468dc9ac8096d043f9b1726639aa4275b81b
3
SIZE (libssh-0.7.5.tar.xz) = 351364
3
SIZE (libssh-0.8.4.tar.xz) = 425848
(-)pkg-plist (-6 / +1 lines)
Lines 11-20 Link Here
11
%%STATIC%%lib/libssh.a
11
%%STATIC%%lib/libssh.a
12
lib/libssh.so
12
lib/libssh.so
13
lib/libssh.so.4
13
lib/libssh.so.4
14
lib/libssh.so.4.4.2
14
lib/libssh.so.4.7.1
15
%%STATIC%%lib/libssh_threads.a
16
lib/libssh_threads.so
17
lib/libssh_threads.so.4
18
lib/libssh_threads.so.4.4.2
19
libdata/pkgconfig/libssh.pc
15
libdata/pkgconfig/libssh.pc
20
libdata/pkgconfig/libssh_threads.pc

Return to bug 232344