Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 00/13] Turn OpenSSL into a virtual package
Date: Sat, 21 Oct 2017 21:33:45 +0200	[thread overview]
Message-ID: <20171021213345.3e20e080@windsurf> (raw)
In-Reply-To: <20171018023240.22724-1-Adamduskett@outlook.com>

Hello,

On Tue, 17 Oct 2017 22:32:27 -0400, Adam Duskett wrote:

> Adam Duskett (13):
>   openssl: new virtual package
>   softether: depend on libopenssl
>   hostapd: add libressl-support.patch
>   ffmpeg: add libressl suport patch
>   mosquitto: add libressl support patch
>   opusfile: add libressl support patch
>   openldap: add libressl support patch
>   heirloom-mailx: add libressl support patch
>   libevent: add libressl support patch
>   wpa_supplicant: add libressl support patch
>   ca-certificates: fix installation against libressl
>   mosquitto: fix building against libressl
>   openssl: add libressl to virtual package

So, we finally applied this series, but with quite a few changes:

 - We were not happy with carrying all those patches to make those
   packages compatible with LibreSSL, so instead we made them depend on
   libopenssl only.

 - For heirloom-mailx, we kept the patch because it looks acceptable
   upstream. Could you submit it upstream, please?

 - For softether, switching to a "depends on" was not acceptable, as it
   would break existing defconfigs. So instead, we introduced a
   BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL hidden boolean that tells the
   openssl virtual package that only libopenssl is acceptable as a
   provider.

 - With your series, ca-certificates would not build, because it needs
   host-openssl, which would be host-libressl, which doesn't exist.
   However, using host-libressl would mean that all packages that
   depend on host-openssl would have to be checked. So instead, we
   defined BR2_PACKAGE_PROVIDES_HOST_OPENSSL to host-libopenssl, which
   forces host-openssl to always point to host-libopenssl.

With those changes, series applied. Now, it would be helpful to update
utils/genrandconfig to randomly enable libressl instead of openssl to
get this situation tested by the autobuilders.

Thanks a lot!

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

  parent reply	other threads:[~2017-10-21 19:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18  2:32 [Buildroot] [PATCH 00/13] Turn OpenSSL into a virtual package Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 01/13] openssl: new " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 02/13] softether: depend on libopenssl Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 03/13] hostapd: add libressl-support.patch Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 04/13] ffmpeg: add libressl suport patch Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 05/13] mosquitto: add libressl support patch Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 06/13] opusfile: " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 07/13] openldap: " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 08/13] heirloom-mailx: " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 09/13] libevent: " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 10/13] wpa_supplicant: " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 11/13] ca-certificates: fix installation against libressl Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 12/13] mosquitto: fix building " Adam Duskett
2017-10-18  2:32 ` [Buildroot] [PATCH 13/13] openssl: add libressl to virtual package Adam Duskett
2017-10-21 19:33 ` Thomas Petazzoni [this message]
2017-10-21 20:46   ` [Buildroot] [PATCH 00/13] Turn OpenSSL into a " Arnout Vandecappelle
  -- strict thread matches above, loose matches on Subject: below --
2017-10-18  2:32 Adam Duskett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171021213345.3e20e080@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox