]> code.ossystems Code Review - openembedded-core.git/commitdiff
rng-tools: Make nistbeacon support optional
authorAdrian Bunk <bunk@stusta.de>
Wed, 6 Mar 2019 07:43:44 +0000 (09:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Mar 2019 16:26:36 +0000 (16:26 +0000)
Downloading your randomness directly from the US government
is a rare usecase but adds heavy dependencies.

Make it optional and non-default.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/rng-tools/rng-tools_6.6.bb

index d3361ae4e1e1a466f2239fae87e73aa5c8c696d1..6796c9be9ee819e13b0b0f381defa06e6d734dcf 100644 (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() {