Date: Fri, 15 Jan 2010 12:14:56 +0200 From: Andrei Brezan <andrei693@gmail.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: How to overwrite openssl base with the one from ports? Message-ID: <4B504020.7030209@gmail.com> In-Reply-To: <4B5036EF.1080903@infracaninophile.co.uk> References: <4B5027F1.4060309@gmail.com> <4B5036EF.1080903@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote: > 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. > Thank you, will use then WITH_OPENSSL_PORTS when needed. You were right in assuming 7.x or later. Regards, Andrei
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B504020.7030209>