LibreSSL + LDNS: Fix random crashes.

This happens due to ldns-config --libs adding in too many libraries
(overlinking), and -lcrypto again, which causes some strange
conflict/corruption.  By specifying the path to --with-ldns, configure only
adds in -ldns rather than every library ldns itself needs.

PR:		223000
Reported by:	many
This commit is contained in:
Bryan Drewery 2017-10-18 17:19:26 +00:00
parent a0fcf3d8b6
commit 26b8dc385b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452358

View File

@ -3,7 +3,7 @@
PORTNAME= openssh
DISTVERSION= 7.6p1
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= security ipv6
MASTER_SITES= OPENBSD/OpenSSH/portable
@ -26,7 +26,6 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --with-md5-passwords \
ETCOLD= ${PREFIX}/etc
BROKEN_SSL= openssl-devel libressl
BROKEN_SSL_REASON_openssl-devel= incomplete definition of type struct rsa_st
BROKEN_SSL_REASON_libressl= random crashes with 7.6 PR 223000
@ -53,7 +52,7 @@ OPTIONS_SUB= yes
TCP_WRAPPERS_EXTRA_PATCHES=${FILESDIR}/extra-patch-tcpwrappers
LDNS_CONFIGURE_WITH= ldns
LDNS_CONFIGURE_WITH= ldns=${LOCALBASE}
LDNS_LIB_DEPENDS= libldns.so:dns/ldns
LDNS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ldns
LDNS_CFLAGS= -I${LOCALBASE}/include