Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/cryptsetup: use libargon2 when available
Date: Tue, 3 Dec 2019 10:52:18 +0100	[thread overview]
Message-ID: <20191203105218.3c692f32@windsurf> (raw)
In-Reply-To: <20191203092715.4605-1-p.debruijn@unilogic.nl>

Hello,

On Tue,  3 Dec 2019 10:27:15 +0100
Pascal de Bruijn <p.debruijn@unilogic.nl> wrote:

> cryptsetup has an internal copy of libargon2, which is used by default,
> but when libargon2 is available as a proper system library this is a
> duplication.
> 
> Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
> ---
>  package/cryptsetup/cryptsetup.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk
> index 7788bfb..2941328 100644
> --- a/package/cryptsetup/cryptsetup.mk
> +++ b/package/cryptsetup/cryptsetup.mk
> @@ -29,6 +29,10 @@ else
>  CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel
>  endif
>  
> +ifeq ($(BR2_PACKAGE_LIBARGON2),y)
> +CRYPTSETUP_CONF_OPTS += --enable-libargon2
> +endif

Then we want to use --disable-libargon2 when the libargon2 package is
not enabled. If libargon2 is mandatory for crypsetup, then we always
want to use the separate package rather than the internal copy from
cryptsetup.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2019-12-03  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  9:27 [Buildroot] [PATCH] package/cryptsetup: use libargon2 when available Pascal de Bruijn
2019-12-03  9:52 ` Thomas Petazzoni [this message]

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=20191203105218.3c692f32@windsurf \
    --to=thomas.petazzoni@bootlin.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