Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] rng-tools: Don't depend on libgcrypt when the PACKAGECONFIG is disabled
@ 2019-03-06  7:43 Adrian Bunk
  2019-03-06  7:43 ` [PATCH 2/2] rng-tools: Make nistbeacon support optional Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2019-03-06  7:43 UTC (permalink / raw)
  To: openembedded-core

PACKAGECONFIG[libgcrypt] already adds it when necessary.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 meta/recipes-support/rng-tools/rng-tools_6.6.bb | 1 -
 1 file changed, 1 deletion(-)

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 4d91216e32..d3361ae4e1 100644
--- a/meta/recipes-support/rng-tools/rng-tools_6.6.bb
+++ b/meta/recipes-support/rng-tools/rng-tools_6.6.bb
@@ -21,7 +21,6 @@ DEPENDS = "curl \
            libxml2 \
            openssl \
            sysfsutils \
-           libgcrypt \
           "
 
 PACKAGECONFIG ??= "libgcrypt libjitterentropy"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] rng-tools: Make nistbeacon support optional
  2019-03-06  7:43 [PATCH 1/2] rng-tools: Don't depend on libgcrypt when the PACKAGECONFIG is disabled Adrian Bunk
@ 2019-03-06  7:43 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2019-03-06  7:43 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/recipes-support/rng-tools/rng-tools_6.6.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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 d3361ae4e1..6796c9be9e 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() {
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-06  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-06  7:43 [PATCH 1/2] rng-tools: Don't depend on libgcrypt when the PACKAGECONFIG is disabled Adrian Bunk
2019-03-06  7:43 ` [PATCH 2/2] rng-tools: Make nistbeacon support optional Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox