On FreeBSD, ever since I installed openssl
explicitly I have the following message when I install most ports that require openssl
:
/!\ WARNING /!\
You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf
As I'm fairly new to FreeBSD, I would like to know what's the meaning of the message and how I can adopt my configs to get rid of it.
Best Answer
Just run
echo 'DEFAULT_VERSIONS+=ssl=openssl' >> /etc/make.conf
(as root) if you really have installed security/openssl.For users of an other port than security/openssl:
echo 'DEFAULT_VERSIONS+=ssl=openssl-devel' >> /etc/make.conf
echo 'DEFAULT_VERSIONS+=ssl=libressl' >> /etc/make.conf
echo 'DEFAULT_VERSIONS+=ssl=libressl-devel' >> /etc/make.conf
To use/link openssl from your system (world):
DEFAULT_VERSIONS+=ssl=base
(default without installing any libressl* or openssl* port).If you get the following error:
And you don't know or can't remember which one you have installed, check the output of
pkg info -ox "openssl|libressl"
, for example, to determine how to definessl
asDEFAULT_VERSIONS
.Note: OpenSSL implementation, using ports (not packages), can be switched at any time but:
portmaster -o libressl openssl && portmaster -r libressl
should do the trick)