Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 18:56:47 -0400
From:      Carmel NY <carmel_ny@outlook.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Getting dovecot to use the openssl from ports
Message-ID:  <SN6PR04MB50216728F7C19AEA00863C9D808E0@SN6PR04MB5021.namprd04.prod.outlook.com>
In-Reply-To: <d7e25932-cbf4-19c7-4d54-63dbd0ae1803@digiware.nl>
References:  <d0083758-d965-6430-2405-f752fdfb2914@digiware.nl> <SN6PR04MB502165741ACC45C0DD543BDF808E0@SN6PR04MB5021.namprd04.prod.outlook.com> <d7e25932-cbf4-19c7-4d54-63dbd0ae1803@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/dG5TBPpWqHF.oY7FfkMRSjD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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: =20
>>> 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
>>>  =C2=A0=C2=A0=C2=A0 DEFAULT_VERSIONS+=3Dssl=3Dopenssl
>>>
>>> En though when making tells me:
>>>  =C2=A0=C2=A0 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:
>>>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libdovecot-login.so.0 =3D>
>>> /usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000)
>>>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libdovecot.so.0 =3D> /usr/l=
ocal/lib/dovecot/libdovecot.so.0
>>> (0x801422000)
>>>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libc.so.7 =3D> /lib/libc.so=
.7 (0x800825000)
>>>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libssl.so.8 =3D> /usr/lib/l=
ibssl.so.8 (0x8017c5000)
>>>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libcrypto.so.8 =3D> /lib/li=
bcrypto.so.8 (0x801c00000)
>>>
>>> Which the crypto stuff from BASE
>>>
>>> But I have available....
>>> root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11
>>> /usr/local/lib/libcrypto.so.11
>>>
>>> What am I missing here? =20
>> How are you attempting to build the port?
>> =20
>I realized this after posting, but I did this by what I'm used to doing
>since 1993:
> =C2=A0=C2=A0=C2=A0 cd /usr/ports/mail/dovecot
> =C2=A0=C2=A0=C2=A0 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+=3Dssl=3Dopenssl

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!

--=20
Carmel

--Sig_/dG5TBPpWqHF.oY7FfkMRSjD
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl7QQbAACgkQOHMGOIfe
xWSxIQf/UzCDMl1S+fYQ1fn8CB460vcwBtzRy+9QLerZQkhUcJoyPHB8gMQAXyHM
NunNIc232JAgOzE5ClDTypQtW48FmXJM3p3/IirUbPIy0RP6CGhwQ17C+MRG0WZl
f8nyKYQBbNW58JcA9lkaAI3kbEedyqgKnMfePdxCQ0yPIefE5QRNDA8lgqRmoM5S
5m1K4rq78I4iNQzFTTZKzceBOtBIZxwThCbukaV73OkjfsVKvuET50oXzY9RB9SA
O2haS/fiFJp0buJQUEvXNqO2f2qIf2zTK9DtVzmDDGeH65w/XffLUTW4lIx4sDnu
Sq8tsa9vvnYe/XcZHQs01AXgBaq26g==
=Tzur
-----END PGP SIGNATURE-----

--Sig_/dG5TBPpWqHF.oY7FfkMRSjD--



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