Installing OpenSSL from ports, how to remove base-openssl?

Herbert J. Skuhra h.skuhra at gmail.com
Fri Jan 16 01:20:35 PST 2009


Frederique Rijsdijk <frederique at isafeelin.org> writes:

> For a certain customer that wants to use a later version of OpenSSL
> (base is at 'e' while ports is at 'j') I installed
> /usr/ports/security/openssl. This is all fine, but now I have two sets
> binaries and libraries of OpenSSL on that system.

To build you ports with the openssl version in /usr/ports:

# echo "WITH_OPENSSL_PORT=yes" >> /etc/make.conf

> What is the proper way to remove the base openssl? I looked with
> sysinstall distributions but it's not listed there as something that you
> can add or remove.

# echo "WITHOUT_OPENSSL=yes" >> /etc/src.conf
# cd /usr/src && make check-old
# make delete-old 
# make delete-old-libs

Read src.conf(5).

- Herbert


More information about the freebsd-questions mailing list