OpenSSL engines directory path

Eugene Grosbein eugen at grosbein.net
Wed Apr 24 05:39:15 UTC 2019


24.04.2019 12:24, Eugene Grosbein wrote:

> Hi!
> 
> FreeBSD 12+ has OpenSSL version that supports loading additional "engines" (shared libraries).
> Default path for engines in FreeBSD is /usr/lib/engines currently.
> The path for security/openssl111 port (needed for FreeBSD 11) is ${LOCALBASE}/lib/engines-1.1
> 
> Please consider updating ports/Mk/Uses/ssl.conf with something like OPENSSLENGINES
> that should equal to ${OPENSSLLIB}/engines when SSL_DEFAULT is "base"
> and for openssl111 it should be ${OPENSSLLIB}/engines-1.1
> 
> This would help porting engines.

Ports should install files inside ${LOCALBASE}, so we really need some variable
that should expand to /usr/local/lib/engines-1.1 when SSL_DEFAULT is "openssl111" for FreeBSD 11
or when SSL_DEFAULT is either "base" or "openssl111" for FreeBSD 12+



More information about the freebsd-ports mailing list