how to upgrade ports that depend on openssl-stable?

Jeremy Chadwick koitsu at
Fri Sep 19 06:56:00 UTC 2008

On Thu, Sep 18, 2008 at 11:27:32PM -0700, Jeremy Chadwick wrote:
> On Fri, Sep 19, 2008 at 12:08:15AM -0500, David J Brooks wrote:
> > I keep running into this error:
> > 
> > ===>  openssl-stable-0.9.7m_1 Conflicts with version in the base.
> > *** Error code 1
> OpenSSL is included in FreeBSD in the base system.  The port you're
> trying to install requires a newer version of OpenSSL than what's in the
> base system.
> You need to define WITH_OPENSSL_BASE=yes in your /etc/make.conf.  This
> should make the port build/install successfully, and will overwrite
> the OpenSSL installation in the base system.
> You will also need to set WITHOUT_OPENSSL=true in /etc/src.conf
> (assuming this is FreeBSD 7.x), to ensure the next time you
> build/install world, that you do not bother building the "base version"
> of OpenSSL, and instead continue to rely on the port version.

One other thing I forgot to mention:

You will need to rebuild all ports reliant on SSL (this may be hard to
determine reliably), as well as all base system utilities reliant on SSL
(make world will suffice for this), as there will very likely be a
library version mismatch between the old base OpenSSL and the port
version of OpenSSL.

There's a chance you won't have to do this ("I installed the port like
you said and everything still works"), but I would recommend you not
take any chances.

| Jeremy Chadwick                                jdc at |
| Parodius Networking              |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |

More information about the freebsd-ports mailing list