package/collectd: make network crypto support discoverable

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>
This commit is contained in:
Pascal de Bruijn 2020-03-11 14:35:04 +01:00 committed by Thomas Petazzoni
parent fedaa28079
commit c8b8744a1a

View 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