How to overwrite openssl base with the one from ports?
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 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
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 signature.asc Description: OpenPGP digital signature
Re: How to overwrite openssl base with the one from ports?
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org