From 210ff7e9537601f572d00148a101131aeb539f40 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sat, 4 Sep 2021 10:53:23 +0300 Subject: [PATCH] collectd: sensors plugin - depend on lm-sensors Change the sensors plugin's dependency from libsensors to lm-sensors, so that also the /usr/sbin/sensors executable gets installed if the plugin is selected. Although that is not needed for collectd itself, the LuCI statistics app expects to find the sensors executable if the plugin has been installed. Signed-off-by: Hannu Nyman --- utils/collectd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 8d195a151..ab7806411 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.12.0 -PKG_RELEASE:=11 +PKG_RELEASE:=12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ @@ -479,7 +479,7 @@ $(eval $(call BuildPlugin,processes,process status input,processes,+PACKAGE_coll $(eval $(call BuildPlugin,protocols,network protocols input,protocols,)) $(eval $(call BuildPlugin,routeros,MikroTik RouterOS input,routeros,+PACKAGE_collectd-mod-routeros:librouteros)) $(eval $(call BuildPlugin,rrdtool,RRDtool output,rrdtool,+PACKAGE_collectd-mod-rrdtool:librrd1)) -$(eval $(call BuildPlugin,sensors,lm_sensors input,sensors,+PACKAGE_collectd-mod-sensors:libsensors)) +$(eval $(call BuildPlugin,sensors,lm_sensors input,sensors,+PACKAGE_collectd-mod-sensors:lm-sensors)) $(eval $(call BuildPlugin,smart,smart input,smart,+PACKAGE_collectd-mod-smart:libatasmart)) $(eval $(call BuildPlugin,snmp,SNMP input,snmp,+PACKAGE_collectd-mod-snmp:libnetsnmp)) $(eval $(call BuildPlugin,snmp6,snmp6 input,snmp6,))