Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2008 23:45:56 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        David J Brooks <freysman@comcast.net>
Cc:        ports@freebsd.org
Subject:   Re: how to upgrade ports that depend on openssl-stable?
Message-ID:  <20080919064556.GA38073@icarus.home.lan>
In-Reply-To: <20080919062732.GA37698@icarus.home.lan>
References:  <200809190008.15927.freysman@comcast.net> <20080919062732.GA37698@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080919064556.GA38073>