From: Adrian Bunk Date: Wed, 6 Mar 2019 07:43:44 +0000 (+0200) Subject: rng-tools: Make nistbeacon support optional X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aecf7673095b2338ae4617900e8300b9601ca483;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Adrian Bunk Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/rng-tools/rng-tools_6.6.bb b/meta/recipes-support/rng-tools/rng-tools_6.6.bb index d3361ae4e1e..6796c9be9ee 100644 --- a/meta/recipes-support/rng-tools/rng-tools_6.6.bb +++ b/meta/recipes-support/rng-tools/rng-tools_6.6.bb @@ -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() {