From owner-freebsd-ports-bugs@freebsd.org Thu Jun 21 12:49:37 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA653101E0D1 for ; Thu, 21 Jun 2018 12:49:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3B46E7B4A7 for ; Thu, 21 Jun 2018 12:49:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E63E9101E0D0; Thu, 21 Jun 2018 12:49:36 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D40E4101E0CF for ; Thu, 21 Jun 2018 12:49:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56FC57B4A5 for ; Thu, 21 Jun 2018 12:49:36 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 92F8827679 for ; Thu, 21 Jun 2018 12:49:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5LCnZq1066906 for ; Thu, 21 Jun 2018 12:49:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5LCnZPj066902 for ports-bugs@FreeBSD.org; Thu, 21 Jun 2018 12:49:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228967] www/squid-devel Broken with LibreSSL 2.7 Date: Thu, 21 Jun 2018 12:49:34 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dweimer@dweimer.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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.26 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2018 12:49:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228967 --- Comment #7 from Dean E. Weimer --- (In reply to w.schwarzenfeld from comment #6) That worked for me as well with libressl, built in test environment. in pro= cess of rebuilding actual running jail with libressl to try it in use. It did fail when I tried to rebuild under opnessl though. libtool: link: ( cd ".libs" && rm -f "libsslutil.la" && ln -s "../libsslutil.la" "libsslutil.la" ) --- bio.lo --- bio.cc:86:28: error: use of undeclared identifier 'useMethod' if (BIO *bio =3D BIO_new(useMethod)) { ^ 1 error generated. *** [bio.lo] Error code 1 Added this to original patch: squid-devel/files/patch-src_ssl_bio.cc --- src/ssl/bio.cc.orig 2018-06-21 07:21:44.684311000 -0500 +++ src/ssl/bio.cc 2018-06-21 07:25:50.930483000 -0500 @@ -76,9 +76,11 @@ BIO_meth_set_create(SquidMethods, squid_bio_create); BIO_meth_set_destroy(SquidMethods, squid_bio_destroy); } - const BIO_METHOD *useMethod =3D SquidMethods; -#else - BIO_METHOD *useMethod =3D &SquidMethods; + #if defined(LIBRESSL_VERSION_NUMBER) + BIO_METHOD *useMethod =3D SquidMethods; + #else + const BIO_METHOD *useMethod =3D SquidMethods; + #endif #endif if (BIO *bio =3D BIO_new(useMethod)) { --=20 You are receiving this mail because: You are the assignee for the bug.=