看板FB_security
标 题Re: ports/189208: Add a mention of WITH_OPENSSL_PORT to the pkg-descr
发信站NCTU CS FreeBSD Server (Sun May 4 10:18:08 2014)
转信站ptt!csnews.cs.nctu!news.cednctu!FreeBSD.cs.nctu!.POSTED!freebsd.org!ow
<<On Sat, 3 May 2014 12:55:36 -0500, Scot Hetzel <
[email protected]> said:
> 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.
Doesn't work for package builds: the OpenSSL package will not be
installed prior to building the port unless the port depends on it.
On the other hand, it's probably necessary for non-poudriere builds,
because if your build environment *does* have the OpenSSL port
installed, chances are high that anything you build will end up
linking against it unless it's installed with a nonstandard PREFIX.
-GAWollman
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"