From owner-freebsd-ports-bugs@freebsd.org Fri Aug 25 23:11:21 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 D7179DE37C6 for ; Fri, 25 Aug 2017 23:11:21 +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 C4AAB74858 for ; Fri, 25 Aug 2017 23:11:21 +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 v7PNBL0E071546 for ; Fri, 25 Aug 2017 23:11:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212149] security/strongswan: Runtime failures with LibreSSL Date: Fri, 25 Aug 2017 23:11:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Fri, 25 Aug 2017 23:11:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212149 --- Comment #29 from dewayne@heuristicsystems.com.au --- (In reply to Franco Fichtner from comment #28) Thanks Franco.=20=20 Strongswan 5.6.0 builds on my FreeBSD 11.1 Stable i386/amd64. Unfortunately= on libressl,=20 # /usr/local/libexec/ipsec/charon coughs up=20 00[LIB] plugin 'openssl' failed to load: /usr/local/lib/ipsec/plugins/libstrongswan-openssl.so: Undefined symbol "X509_get0_signature" with libressl 2.5.5.=20=20 Sequence=20 -1. svnlite update --accept=3Dtc /usr/ports 0. Rebuild all ports, strongswan failed (due to previous files/patch*) 1. remove /usr/ports/security/strongswan 2. svnlite update /usr/ports/security/strongswan 3. make -C /usr/ports/security/strongswan clean package 4. Installed the package 5. /usr/local/libexec/ipsec/charon Plugin failed. Applied /usr/include/openssl/opensslv.h patch (below) for OPENSSL_VERSION_NUMBER changes and modified my make.conf to include=20 CFLAGS+=3D -DOPENSSL_IS_LIBRESSL Same failure result. With openssl (not libressl), strongswan 5.6.0 builds and runs. Patch applied was restated from=20 https://github.com/opnsense/ports/commit/d76955f3d #define LIBRESSL_VERSION_TEXT "LibreSSL 2.5.5" /* These will never change */ #ifndef OPENSSL_IS_LIBRESSL #define OPENSSL_VERSION_NUMBER 0x20000000L /* Suggested by https://github.com/opnsense/ports/commit/d76955f3d */ #else #define OPENSSL_VERSION_NUMBER 0x1000107fL #endif /* OPENSSL_IS_LIBRESSL */ /* For libressl 2.5.5 this is/should be # define OPENSSL_VERSION_NUMBER=20 0x100020bfL */ --=20 You are receiving this mail because: You are the assignee for the bug.=