From 3b97fb28c66103f0071b8a4a0a9b3b736b5e8b26 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Wed, 18 Oct 2017 17:19:26 +0000 Subject: 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 --- security/openssh-portable/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'security') diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index f9f227d3e345..45b14a27a9a2 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -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 -- cgit