From owner-svn-ports-head@FreeBSD.ORG Sun Jul 13 10:03:48 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDD35531; Sun, 13 Jul 2014 10:03:48 +0000 (UTC) Received: from winston.madpilot.net (winston.madpilot.net [78.47.75.155]) by mx1.freebsd.org (Postfix) with ESMTP id 97F642791; Sun, 13 Jul 2014 10:03:46 +0000 (UTC) Received: from winston.madpilot.net (localhost [127.0.0.1]) by winston.madpilot.net (Postfix) with ESMTP id 3hB3V870jhzFTD4; Sun, 13 Jul 2014 12:03:44 +0200 (CEST) Received: from winston.madpilot.net ([127.0.0.1]) by winston.madpilot.net (winston.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4mFs8OSMQRR; Sun, 13 Jul 2014 12:03:42 +0200 (CEST) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by winston.madpilot.net (Postfix) with ESMTPSA; Sun, 13 Jul 2014 12:03:42 +0200 (CEST) Message-ID: <53C2597E.5060403@FreeBSD.org> Date: Sun, 13 Jul 2014 12:03:42 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Vsevolod Stakhov , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r361642 - in head/security/libressl: . files References: <201407122049.s6CKnaSS010770@svn.freebsd.org> <53C250EA.9060707@FreeBSD.org> <53C25475.7060202@FreeBSD.org> In-Reply-To: <53C25475.7060202@FreeBSD.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2014 10:03:48 -0000 On 07/13/14 11:42, Vsevolod Stakhov wrote: > On 13.07.2014 10:27, Guido Falsi wrote: >> On 07/12/14 22:49, Vsevolod Stakhov wrote: >>> Author: vsevolod >>> Date: Sat Jul 12 20:49:36 2014 >>> New Revision: 361642 >>> URL: http://svnweb.freebsd.org/changeset/ports/361642 >>> QAT: https://qat.redports.org/buildarchive/r361642/ >>> >>> Log: >>> - Fix OPENSSL_VERSION_NUMBER to identify that libressl supports >>> features of >>> openssl 1.0.1g only >>> - Add LIBRESSL_VERSION_NUMBER to distinguish from openssl >>> - Strip libraries correctly >>> - Bump PORTREVISION >>> >>> Added: >>> head/security/libressl/files/ >>> head/security/libressl/files/patch-include-openssl-opensslv.h >>> (contents, props changed) >>> Modified: >>> head/security/libressl/Makefile >> >> I'm seeing error like: >> >> "/usr/local/lib/libcrypto.so.26" non-existent -- dependency list >> incomplete >> >> This is due to the fact that bsd.opensssl.mk expects library major >> version for libssl and libcrypto to be the same, which isn't the case >> for libressl (from "pkg info"): > > It cares merely about libcrypto version actually. > >> /usr/local/lib/libssl.so.26.0.0 >> /usr/local/lib/libcrypto.so.29.0.0 >> >> Is there a way to fix this? >> > > Add the following lines to your /etc/make.conf: > > WITH_OPENSSL_PORT=yes > OPENSSL_PORT=security/libressl > OPENSSL_SHLIBVER=29 > I did a simlar thing on my system to test the problem I'm facing. A user reported the port net-p2p/libtorrent fails when libressl is installed. I am fixing this, it's a problem with that port build system. I encountered this error during my tests. My fear for this is that any user which installs security/libressl by hand will start getting that error for any port with "USE_OPENSSL=yes". I think that at least a warning with the above instructions should be given, or bsd.openssl.mk modified to avoid the error. -- Guido Falsi