看板FB_security
標 題Re: ports/189208: Add a mention of WITH_OPENSSL_PORT to the pkg-descr
發信站NCTU CS FreeBSD Server (Sat May 3 20:55:36 2014)
轉信站ptt!csnews.cs.nctu!news.cednctu!FreeBSD.cs.nctu!.POSTED!freebsd.org!ow
On Sat, May 3, 2014 at 11:35 AM, Paul Hoffman <
[email protected]> wrote:
> Note that the description below does *not* match what people were saying last week about how things work. My reading of the earlier thread was that, unless you had WITH_OPENSSL_PORT=yes in /etc/make.conf, a port needing OpenSSL would make with OpenSSL from the base.
>
> I am not a porter and wouldn't know where to look in the code, so I can't figure out which is right. But it is clear that this is worth clarifying both in the openssl pkg-descr *and* in the make.conf man page.
>
bsd.openssl.mk has the falling checks:
if WITH_OPENSSL_BASE is set, then use the base system's OpenSSL.
if WITH_OPENSSL_BASE or WITH_OPENSSL_PORT are not set, check if
${LOCALBASE}/lib/libcrypto.so is installed, if it is then use the
OpenSSL port, otherwise use the base system's OpenSSL.
if WITH_OPENSSL_PORT is set, then use the OpenSSL port
So, if you install the OpenSSL port first, then ports that require
OpenSSL should be built against the OpenSSL Port.
--
DISCLAIMER:
No electrons were maimed while sending this message. Only slightly bruised.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"