package/collectd: snmp_agent needs netsnmp mib loading
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 6 Aug 2019 17:41:55 +0000 (19:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 11 Aug 2019 12:59:13 +0000 (14:59 +0200)
commit64f78043506ae22ee7a25642b7f7cfdd2722d2b6
tree5439cd9f9b2121fe8cebfeef848c0b645e9c9739
parent5894495037c05823acfce373828a0080ad68247d
package/collectd: snmp_agent needs netsnmp mib loading

snmp_agent plugin was added in version 5.8.0 by
https://github.com/collectd/collectd/commit/8aba9d6e33dea747e4e27e35457f00c287e2c678

It depends on "struct tree" (from net-snmp/library/parse.h) which is
included if BR2_PACKAGE_NETSNMP_ENABLE_MIBS is set

Fix this error by updating configure.ac to check for get_tree in
addition to init_agent

Fixes:
 - http://autobuild.buildroot.org/results/3e24a7671e65974815072f92efaa490d2950b3d9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/collectd/0001-configure.ac-fix-activation-of-snmp_agent.patch [new file with mode: 0644]
package/collectd/collectd.mk