public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] complete switch from openssl to libressl on gentoo
@ 2020-04-17 16:04 Tamer Higazi
  2020-04-17 16:52 ` Dale
  0 siblings, 1 reply; 5+ messages in thread
From: Tamer Higazi @ 2020-04-17 16:04 UTC (permalink / raw
  To: gentoo-user

Dear everybody,

I got my Gentoo system running compiled with openssl.
I'd like to rebuild my entire system based on libreSSL.

What best practices do you advise ?


Thanks.


best, Tamer



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] complete switch from openssl to libressl on gentoo
  2020-04-17 16:04 [gentoo-user] complete switch from openssl to libressl on gentoo Tamer Higazi
@ 2020-04-17 16:52 ` Dale
  2020-04-17 17:42   ` Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Dale @ 2020-04-17 16:52 UTC (permalink / raw
  To: gentoo-user

Tamer Higazi wrote:
> Dear everybody,
>
> I got my Gentoo system running compiled with openssl.
> I'd like to rebuild my entire system based on libreSSL.
>
> What best practices do you advise ?
>
>
> Thanks.
>
>
> best, Tamer
>
>
>


If all you're doing is changing a USE flag, emerge -Na world should do
it.  If you think it needed, emerge -DNa world.  The -D, deep, may catch
a few more packages but I've never tested it.  If you want to go to the
extreme, emerge -ea world will recompile everything, changed USE flag or
not.  It won't miss a thing.  The first one should work in most cases.
If you run into trouble, maybe add the -D. 

The -N is this from man emerge:

--newuse, -N
Tells emerge to include installed packages where USE flags have changed
since compilation. This option also implies the --selective  option.  
USE  flag  changes include:

A USE flag was added to a package.  A USE flag was removed from a
package.  A USE flag was turned on for a package.  A USE flag was turned
off for a package.

Hope that helps. 

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] complete switch from openssl to libressl on gentoo
  2020-04-17 16:52 ` Dale
@ 2020-04-17 17:42   ` Michael
  2020-04-17 17:50     ` Francesco Turco
  0 siblings, 1 reply; 5+ messages in thread
From: Michael @ 2020-04-17 17:42 UTC (permalink / raw
  To: gentoo-user

On Friday, 17 April 2020 17:52:26 BST Dale wrote:
> Tamer Higazi wrote:
> > Dear everybody,
> > 
> > I got my Gentoo system running compiled with openssl.
> > I'd like to rebuild my entire system based on libreSSL.
> > 
> > What best practices do you advise ?
> > 
> > 
> > Thanks.
> > 
> > 
> > best, Tamer
> 
> If all you're doing is changing a USE flag, emerge -Na world should do
> it.  If you think it needed, emerge -DNa world.  The -D, deep, may catch
> a few more packages but I've never tested it.  If you want to go to the
> extreme, emerge -ea world will recompile everything, changed USE flag or
> not.  It won't miss a thing.  The first one should work in most cases.
> If you run into trouble, maybe add the -D. 
> 
> The -N is this from man emerge:
> 
> --newuse, -N
> Tells emerge to include installed packages where USE flags have changed
> since compilation. This option also implies the --selective  option.  
> USE  flag  changes include:
> 
> A USE flag was added to a package.  A USE flag was removed from a
> package.  A USE flag was turned on for a package.  A USE flag was turned
> off for a package.
> 
> Hope that helps. 
> 
> Dale
> 
> :-)  :-) 

You should also check any portage config files for openssl USE flags and 
remove them:

grep ssl -r /etc/portage/

should do it.

However, is there a good reason for opting for libressl instead of the 
ubiquitous openssl?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] complete switch from openssl to libressl on gentoo
  2020-04-17 17:42   ` Michael
@ 2020-04-17 17:50     ` Francesco Turco
  2020-04-17 21:02       ` Mike Gilbert
  0 siblings, 1 reply; 5+ messages in thread
From: Francesco Turco @ 2020-04-17 17:50 UTC (permalink / raw
  To: gentoo-user

> However, is there a good reason for opting for libressl instead of the 
> ubiquitous openssl?

I haven't tried libressl yet, but the main reason I'm interested in trying it is due to the fact it doesn't have a "bindist" USE flag. In fact some packages require openssl to be built with the "-bindist" USE flag, but I don't like that. By switching to libressl I hope to work around that problem.

-- 
https://fturco.net/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] complete switch from openssl to libressl on gentoo
  2020-04-17 17:50     ` Francesco Turco
@ 2020-04-17 21:02       ` Mike Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2020-04-17 21:02 UTC (permalink / raw
  To: gentoo-user

On Fri, Apr 17, 2020 at 1:50 PM Francesco Turco <mail@fturco.net> wrote:
>
> > However, is there a good reason for opting for libressl instead of the
> > ubiquitous openssl?
>
> I haven't tried libressl yet, but the main reason I'm interested in trying it is due to the fact it doesn't have a "bindist" USE flag. In fact some packages require openssl to be built with the "-bindist" USE flag, but I don't like that. By switching to libressl I hope to work around that problem.

That is a terrible reason for switching. libressl likely has the same
issue with patents, it just doesn't bother to give you the choice of
opting out.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-17 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-17 16:04 [gentoo-user] complete switch from openssl to libressl on gentoo Tamer Higazi
2020-04-17 16:52 ` Dale
2020-04-17 17:42   ` Michael
2020-04-17 17:50     ` Francesco Turco
2020-04-17 21:02       ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox