package/collectd: make network crypto support discoverable
authorPascal de Bruijn <p.debruijn@unilogic.nl>
Wed, 11 Mar 2020 13:35:04 +0000 (14:35 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 22 Mar 2020 14:54:01 +0000 (15:54 +0100)
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 <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/collectd/Config.in

index 303b5dc01b76ec311b3a333be93add067630d5e8..4b34ec60ebb0ee8d8a7ceedadac937e756c0b2a6 100644 (file)
@@ -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