Getting dovecot to use the openssl from ports

Carmel NY carmel_ny at outlook.com
Thu May 28 22:57:00 UTC 2020


On Thu, 28 May 2020 23:36:46 +0200, Willem Jan Withagen stated:
>On 28-5-2020 16:53, Carmel NY wrote:
>> On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated:  
>>> Hi,
>>>
>>> I'm trying to get dovecot to use the openssl from ports in
>>> /usr/local/lib. But whatever I try, en en op with cryptostuff from
>>> /usr/lib....
>>>
>>> I think the correct way is to set
>>> etc/make.conf
>>>      DEFAULT_VERSIONS+=ssl=openssl
>>>
>>> En though when making tells me:
>>>     dovecot-2.3.10.1 depends on file:
>>> /usr/local/lib/libcrypto.so.11 - found
>>>
>>> I end up with:
>>> /usr/local/libexec/dovecot/imap-login:
>>>          libdovecot-login.so.0 =>
>>> /usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
>>>          libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
>>> (0x801422000)
>>>          libc.so.7 => /lib/libc.so.7 (0x800825000)
>>>          libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000)
>>>          libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c00000)
>>>
>>> Which the crypto stuff from BASE
>>>
>>> But I have available....
>>> root at mailserver:/ # ls /usr/local/lib/libcrypto.so.11
>>> /usr/local/lib/libcrypto.so.11
>>>
>>> What am I missing here?  
>> How are you attempting to build the port?
>>  
>I realized this after posting, but I did this by what I'm used to doing
>since 1993:
>     cd /usr/ports/mail/dovecot
>     make install
>
>But even if I use poudriere it still uses what is in base.

Are you sure you modified the correct "make.conf" file? Specifically:

	/usr/local/etc/poudriere.d/make.conf

This is what you should have in that file:

	DEFAULT_VERSIONS+=ssl=openssl

Make sure to update the ports tree in poudriere, and then try
rebuilding "dovecot". Once it rebuilds it, look at the build log and
see if it shows any obvious errors.

Good Luck!

-- 
Carmel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200528/a4c0de7c/attachment.sig>


More information about the freebsd-ports mailing list