rng-tools: Make nistbeacon support optional

Downloading your randomness directly from the US government
is a rare usecase but adds heavy dependencies.

Make it optional and non-default.

(From OE-Core rev: aecf7673095b2338ae4617900e8300b9601ca483)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Adrian Bunk
2019-03-06 09:43:44 +02:00
committed by Richard Purdie
parent a9d7fb5449
commit ca3a3be312

View File

@@ -17,9 +17,7 @@ S = "${WORKDIR}/git"
inherit autotools update-rc.d systemd pkgconfig
DEPENDS = "curl \
libxml2 \
openssl \
DEPENDS = " \
sysfsutils \
"
@@ -28,6 +26,7 @@ PACKAGECONFIG_libc-musl = "libargp libjitterentropy"
PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone,"
PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt,"
PACKAGECONFIG[libjitterentropy] = "--enable-jitterentropy,--disable-jitterentropy,libjitterentropy"
PACKAGECONFIG[nistbeacon] = "--with-nistbeacon,--without-nistbeacon,curl libxml2 openssl"
# Refer autogen.sh in rng-tools
do_configure_prepend() {