Re: How to overwrite openssl base with the one from ports?



Andrei Brezan wrote:
Hello list,

I seem to have some problems overwriting openssl base. I have tried
building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no success.

After i run:
make OPENSSL_OVERWRITE_BASE=YES install clean
i get the port installed in /usr/local/bin and lib ok, but i'm left with
openssl in /usr/bin and lib too. Do i have to make
buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not
to have openssl from base and then install it from port ?

There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports
tree[*]. There is only

WITH_OPENSSL_BASE=yes

which means link any ports against the version of the OpenSSL libs
installed by the base system, or

WITH_OPENSSL_PORTS=yes

which means link any ports against the version of OpenSSL installed
from ports. Applications that use SSL in the base system are always
linked against the base system version of OpenSSL, and the ports system
will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI
version number of the shlibs in the base system is greater than the ones
from the ports. So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not
advisable either.


Cheers,

Matthew

[*] Despite its appearance in the mail/dkim-milter and mail/dk-milter
ports. That's a bug. It won't do anything.

[+] Assuming you're running 7.x or later.

--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: broken openssl on freebsd60
    ... Russell E. Meek schrieb: ... >> I would suppose that any port, which requires openssl, would take it ... > ports look to for build information. ... So I was forced to install the ...
    (freebsd-questions)
  • Re: Should I have 2 copies of OpenSSL?
    ... you have the most recent version of openssl ... installed in base due to the upgrade to 6.0 - release. ... install of OpenSSL and not to install OpenSSL as a dependency from ports. ...
    (freebsd-questions)
  • Re: CVS removal from the base
    ... This particular bug is complicated dramatically by the fact that the ... For me the fact that I don't need to install ... to do it through the process of installing some ports for that. ... I use CVS to keep the base system up to date. ...
    (freebsd-current)
  • Re: How to overwrite openssl base with the one from ports?
    ... I seem to have some problems overwriting openssl base. ... to have openssl from base and then install it from port? ... There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports ... Applications that use SSL in the base system are always ...
    (freebsd-questions)
  • Re: broken openssl on freebsd60
    ... >> install the openssl port or at least they used to. ... > Another user had a similar issue like this with OpenSSL, ... that openssl is per default within the base system, ...
    (freebsd-questions)