Bernard Spil 3b1875b273 security/openssl-devel: Remove BROKEN from some ports
* databases/freetds: Fixed 2017-02-14
 * databases/postgresql10-server: Fixed 2016-09-15 [1]
 * ftp/lftp: Fixed in 4.8.0
 * ftp/proftpd: Fixed in 1.3.5c
 * ftp/wget: Fixed in 1.19.3 [2]
 * lang/erlang-runtime20: Fixed in 20.0
 * net/socat: Fixed in 1.7.3.2
 * security/libssh2: Fixed in 1.8.0 [3]
 * security/p5-Crypt-OpenSSL-X509: Fixed in 1.8.8
 * sysutils/bacula9-server: Fixed in 9.0.6
 * www/nginx: Fixed in 1.9.14

 * Bulk build OK 10.3/11.1 both i386 and amd64:
    - multimedia/librtmp
    - net/libvncserver
    - www/lynx

PR:		225875 [1], 225872 [2], 225873 [3]
2018-02-15 14:41:29 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Alexander Leidinger <netchild@FreeBSD.org>
# $FreeBSD$
PORTNAME= libssh2
PORTVERSION= 1.8.0
PORTEPOCH= 3
CATEGORIES= security devel
MASTER_SITES= http://www.libssh2.org/download/ \
LOCAL/sbz
MAINTAINER= sbz@FreeBSD.org
COMMENT= Library implementing the SSH2 protocol
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool pathfix
USE_LDCONFIG= yes
OPTIONS_DEFINE= GCRYPT TRACE ZLIB
OPTIONS_DEFAULT= ZLIB
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_CPPFLAGS= -I${LOCALBASE}/include
GCRYPT_LIBS= -L${LOCALBASE}/lib
GCRYPT_USES_OFF= ssl
ZLIB_CONFIGURE_WITH= libz
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '/Libs:/s/@LIBS@//' \
${WRKSRC}/libssh2.pc.in
.if ! ${PORT_OPTIONS:MGCRYPT}
. if ${SSL_DEFAULT} == base
@${REINPLACE_CMD} -e 's/LIBSREQUIRED=libssl,libcrypto/LIBS="$$LIBS -lssl -lcrypto"/' \
${WRKSRC}/configure
. endif
.endif
.include <bsd.port.post.mk>