From owner-freebsd-ports-bugs@freebsd.org Fri Apr 21 05:08:10 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 18CB8D487B0 for ; Fri, 21 Apr 2017 05:08:10 +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 06CA6EBE for ; Fri, 21 Apr 2017 05:08:10 +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 v3L589Cx008137 for ; Fri, 21 Apr 2017 05:08:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212149] security/strongswan: Build with libressl 2.4 causes runtime failure: Undefined symbol "CMS_RecipientInfo_ktri_get0_signer_id" Date: Fri, 21 Apr 2017 05:08:10 +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-patch, 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, 21 Apr 2017 05:08:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212149 --- Comment #12 from dewayne@heuristicsystems.com.au --- (In reply to Bernard Spil from comment #11) Thanks Bernand. There was a differences between your patch and what was on latests ports for strongswan 5.5.2. Regardless, this is heading in the right direction. I moved your patch higher in the file, prior to first comparison with the openssl version. Result: # /usr/local/libexec/ipsec/charon 00[DMN] Starting IKE charon daemon (strongSwan 5.5.2, FreeBSD 11.0-STABLE, amd64) 00[LIB] plugin 'openssl' failed to load: /usr/local/lib/ipsec/plugins/libstrongswan-openssl.so: Undefined symbol "RSA_set0_factors" which is used in=20 /var/ports/usr/ports/security/strongswan/work/strongswan-5.5.2/src/libstron= gswan/plugins/openssl/openssl_rsa_private_key.c Unfortunate. The patch used was: --- src/libstrongswan/plugins/openssl/openssl_plugin.c.orig 2017-04-21 14:46:36.000000000 +1000 +++ src/libstrongswan/plugins/openssl/openssl_plugin.c 2017-04-21 14:47:25.000000000 +1000 @@ -65,6 +65,10 @@ openssl_plugin_t public; }; +#ifdef LIBRESSL_VERSION_NUMBER +#define OPENSSL_VERSION_NUMBER 0x1000107fL +#endif + /** * OpenSSL is thread-safe since 1.1.0 */ --=20 You are receiving this mail because: You are the assignee for the bug.=