[Buildroot] [git commit] package/collectd: make network crypto support discoverable

From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2020-03-22 14:54:01
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=c8b8744a1aeebeba4035fdba9556226696ac2abd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

before it was completely non-obvious how to get crypto support
in collectd's network module

this introduces a collectd config option which makes sure
gcrypt is built, and can't be accidentally unselected
resulting in an accidental non-crypto build of collectd

Signed-off-by: Pascal de Bruijn <redacted>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/collectd/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 303b5dc01b..4b34ec60eb 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -603,6 +603,13 @@ config BR2_PACKAGE_COLLECTD_NETWORK
 	help
 	  Send/receive values from other instances of collectd.
 
+config BR2_PACKAGE_COLLECTD_NETWORK_GCRYPT
+	bool "crypto support"
+	depends on BR2_PACKAGE_COLLECTD_NETWORK
+	select BR2_PACKAGE_LIBGCRYPT
+	help
+	  Enable crypto support
+
 config BR2_PACKAGE_COLLECTD_RRDTOOL
 	bool "rrdtool"
 	depends on BR2_USE_WCHAR # rrdtool
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help