From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 15:27:39 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 328C416A420 for ; Thu, 6 Oct 2005 15:27:39 +0000 (GMT) (envelope-from alistair.sutton@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F9143D53 for ; Thu, 6 Oct 2005 15:27:38 +0000 (GMT) (envelope-from alistair.sutton@gmail.com) Received: by nproxy.gmail.com with SMTP id x4so178543nfb for ; Thu, 06 Oct 2005 08:27:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W5ngmCLdktkLrLBalFkJJwnJ4JG2Qh9RrjDilvhGqDZNtLgr4qG2z7BWDif3vNJi48RdMaOJPseQEi9b4kZeYIbH2BGkOdCF+YevYsKVBlEMGxfeNMt76oy/vmkiGC5qoXqJphSoYG7m5h5RuseCraptWlVglHg93vKVm+a9d7E= Received: by 10.48.235.7 with SMTP id i7mr123556nfh; Thu, 06 Oct 2005 08:27:36 -0700 (PDT) Received: by 10.48.1.7 with HTTP; Thu, 6 Oct 2005 08:27:36 -0700 (PDT) Message-ID: Date: Thu, 6 Oct 2005 16:27:36 +0100 From: Alistair Sutton To: "J.D. Bronson" In-Reply-To: <6.2.5.1.2.20050730130259.00c12518@wixb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.2.5.1.2.20050730124420.00c0a808@wixb.com> <20050730175754.GA434@xor.obsecurity.org> <6.2.5.1.2.20050730130259.00c12518@wixb.com> Cc: freebsd-questions@freebsd.org Subject: Re: correct syntax for openssl 0.9.8 in port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alistair Sutton List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 15:27:39 -0000 X-List-Received-Date: Thu, 06 Oct 2005 15:27:39 -0000 On 30/07/05, J.D. Bronson wrote: > At 12:57 PM 7/30/2005, Kris Kennaway wrote: > >On Sat, Jul 30, 2005 at 12:46:37PM -0500, J.D. Bronson wrote: > > > I update my port tree on 5.4 to the latest and I am trying to figure > > > out what steps I need to build openssl 0.9.8 in /usr/ports/security/o= penssl > > > and end up overwriting any base files. > > > > > > This question comes up often, perhaps a comment can be put into the > > > makefile? > > > > > > I have tried all the ideas on the archives and either it wont build > > > or it keeps trying to build 0.9.7g !!! > > > > > > *ANY* advice will be greatly appreciated. > > > > > > I am able to compile the src code cleanly, but that install will > > > place files in their own spot and obviously not overwrite base files. > > > >Read the makefile for the appropriate variables to set. > > > >Kris > > This is obviously my issue. I cannot figure out what variables to set. > What I think it should be, it whines about. > > Can someone at least POST what we should use so this will at least be > in the archives once and for all? To get the openssl port to overwrite the base files built by the system you need to put OPENSSL_OVERWRITE_BASE=3Dyes into /etc/make.conf If you then don't want the system to rebuilt openssl you'll need to have NO_OPENSSL=3Dyes in /etc/make.conf as well otherwise each time you update your world it will overwrite the files installed by the port. It might be easier just to have WITH_OPENSSL_PORT=3Dyes in /etc make.conf so that software will always try to build with the openssl from the port. Even though the system will rebuild openssl each time you update your world, nothing outside of the base system should try and use those libraries. It might be an idea to read /usr/share/examples/etc/make.conf to get a full list of what the various options are and what they can do. HTH, Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg