Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2014 12:03:42 +0200
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Vsevolod Stakhov <vsevolod@FreeBSD.org>,  ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r361642 - in head/security/libressl: . files
Message-ID:  <53C2597E.5060403@FreeBSD.org>
In-Reply-To: <53C25475.7060202@FreeBSD.org>
References:  <201407122049.s6CKnaSS010770@svn.freebsd.org> <53C250EA.9060707@FreeBSD.org> <53C25475.7060202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <madpilot@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C2597E.5060403>