[Buildroot] [PATCH v2 2/4] libssl: new virtual package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jun 24 19:45:28 UTC 2017


Hello,

On Sat, 24 Jun 2017 13:28:58 -0400, Adam Duskett wrote:
> libressl is API compatible with OpenSSL 1.0.1 and is almost API
> compatible with OpenSSL 1.0.2.  As such, a new virtual package is needed
> to handle having both libressl and openssl.
> 
> Signed-off-by: Adam Duskett <Adamduskett at outlook.com>
> ---
> Changes v1 -> v2:
>   - Removed final "." in commit title. (Thomas)
>   - Fixed indentation issues in commit message.

I still don't get what is the plan for this virtual package. We have
two options:

 - Make it a regular virtual package, like package/opengl/libgles/.
   However in this case, we must change all packages that need
   OpenSSL/LibreSSL to use a "depends on BR2_PACKAGE_LIBSSL", which is
   a bit annoying.

 - Make it a virtual package like package/jpeg/, where it has a choice
   to define which jpeg implementation should be used. This nicely
   allows packages to "select BR2_PACKAGE_LIBSSL".

Also, how are we going to handle the fact that some packages support
only OpenSSL, while some support both OpenSSL and LibreSSL.

Even if all of this doesn't get implemented in the first series, I
still would like to understand what the plan is.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list