Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 16:27:36 +0100
From:      Alistair Sutton <alistair.sutton@gmail.com>
To:        "J.D. Bronson" <jbronson@wixb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: correct syntax for openssl 0.9.8 in port
Message-ID:  <fa8f05950510060827y7ecbfa4br@mail.gmail.com>
In-Reply-To: <6.2.5.1.2.20050730130259.00c12518@wixb.com>
References:  <6.2.5.1.2.20050730124420.00c0a808@wixb.com> <20050730175754.GA434@xor.obsecurity.org> <6.2.5.1.2.20050730130259.00c12518@wixb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30/07/05, J.D. Bronson <jbronson@wixb.com> 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



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