From owner-freebsd-ports@FreeBSD.ORG Fri Sep 19 06:56:00 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB2C1106564A for ; Fri, 19 Sep 2008 06:56:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 849CB8FC1A for ; Fri, 19 Sep 2008 06:56:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA07.westchester.pa.mail.comcast.net with comcast id GWat1a00517dt5G57WlybC; Fri, 19 Sep 2008 06:45:58 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA13.westchester.pa.mail.comcast.net with comcast id GWlx1a0014v8bD73ZWlxH2; Fri, 19 Sep 2008 06:45:58 +0000 X-Authority-Analysis: v=1.0 c=1 a=JEAoL3wPed4A:10 a=y1M4WMdFjH0A:10 a=QycZ5dHgAAAA:8 a=wbZ9fHYp2X26ExPgLxkA:9 a=UZUf8WeAMR28WqMzptaJMt3QZ7UA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D16FC17B81A; Thu, 18 Sep 2008 23:45:56 -0700 (PDT) Date: Thu, 18 Sep 2008 23:45:56 -0700 From: Jeremy Chadwick To: David J Brooks Message-ID: <20080919064556.GA38073@icarus.home.lan> References: <200809190008.15927.freysman@comcast.net> <20080919062732.GA37698@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080919062732.GA37698@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@freebsd.org Subject: Re: how to upgrade ports that depend on openssl-stable? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2008 06:56:00 -0000 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 |