correct syntax for openssl 0.9.8 in port

Alistair Sutton alistair.sutton at gmail.com
Thu Oct 6 08:27:39 PDT 2005


On 30/07/05, J.D. Bronson <jbronson at 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/openssl
> > > 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=yes

into /etc/make.conf

If you then don't want the system to rebuilt openssl you'll need to have

NO_OPENSSL=yes

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=yes

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


More information about the freebsd-questions mailing list