From owner-freebsd-ports-bugs@freebsd.org Sun Oct 22 16:28:01 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A128E561A1 for ; Sun, 22 Oct 2017 16:28:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F391A6C9CA for ; Sun, 22 Oct 2017 16:28:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9MGS07x086589 for ; Sun, 22 Oct 2017 16:28:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223171] dns/unbound: Respect $OPENSSLBASE Date: Sun, 22 Oct 2017 16:28:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thierry@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2017 16:28:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223171 Bug ID: 223171 Summary: dns/unbound: Respect $OPENSSLBASE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: thierry@FreeBSD.org CC: jaap@NLnetLabs.nl CC: jaap@NLnetLabs.nl Flags: maintainer-feedback?(jaap@NLnetLabs.nl) Created attachment 187372 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187372&action= =3Dedit Link with ssl in $OPENSSLBASE USES=3Dssl is set correctly in Makefile, but configure ignore it, and libunbound.so is always linked against libssl.so provided by the base SSL: ldd /usr/local/lib/libunbound.so /usr/local/lib/libunbound.so: libssl.so.8 =3D> /usr/lib/libssl.so.8 (0x8012bf000) libutil.so.9 =3D> /lib/libutil.so.9 (0x801531000) libevent-2.1.so.6 =3D> /usr/local/lib/libevent-2.1.so.6 (0x80174500= 0) libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x801a00000) libthr.so.3 =3D> /lib/libthr.so.3 (0x801e69000) libc.so.7 =3D> /lib/libc.so.7 (0x800825000) When you link it from another port, you get this warning: /usr/bin/ld: warning: libssl.so.8, needed by /usr/local/lib/libunbound.so, = may conflict with libssl.so.9 /usr/bin/ld: warning: libcrypto.so.8, needed by /usr/local/lib/libunbound.s= o, may conflict with libcrypto.so.9 and actually this might cause hard to debug problems. The proposed patch fixes the problem. After this fix: ldd /usr/local/lib/libunbound.so /usr/local/lib/libunbound.so: libssl.so.9 =3D> /usr/local/lib/libssl.so.9 (0x8012c0000) libutil.so.9 =3D> /lib/libutil.so.9 (0x801535000) libevent-2.1.so.6 =3D> /usr/local/lib/libevent-2.1.so.6 (0x80174900= 0) libcrypto.so.9 =3D> /usr/local/lib/libcrypto.so.9 (0x801a00000) libthr.so.3 =3D> /lib/libthr.so.3 (0x801e75000) libc.so.7 =3D> /lib/libc.so.7 (0x800825000) --=20 You are receiving this mail because: You are the assignee for the bug.=