From: Josef Schlehofer Date: Fri, 29 Sep 2023 15:40:29 +0000 (+0200) Subject: prometheus-node-exporter-lua: drop bmx6 package X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c926fd29d7a482e400a019a7e82c655b537a9c9d;p=feed%2Fpackages.git prometheus-node-exporter-lua: drop bmx6 package In the OpenWrt routing feed, package bmx6 and luci-app-bmx6 were removed because the LuCI app was vulnerable to several CVEs, as found by dependabot. It has been reporting it for a few months and has even created an issue. These two packages are not maintained in OpenWrt as well in upstream. Users should switch to the bmx7 package. Fixes: 9fb9d9343ea27d6dbb5008ece10c0c843dd2c781 ("bmx6: drop package") in the routing feed Signed-off-by: Josef Schlehofer (cherry picked from commit 9c2bf859005ada11c17835f74826b356cdb0fb7b) --- diff --git a/utils/prometheus-node-exporter-lua/Makefile b/utils/prometheus-node-exporter-lua/Makefile index f78db55ad6..5a6014b34a 100644 --- a/utils/prometheus-node-exporter-lua/Makefile +++ b/utils/prometheus-node-exporter-lua/Makefile @@ -58,17 +58,6 @@ endef # Additional optional exporters: -define Package/prometheus-node-exporter-lua-bmx6 - $(call Package/prometheus-node-exporter-lua/Default) - TITLE+= (bmx6 links collector) - DEPENDS:=prometheus-node-exporter-lua bmx6 +lua-cjson +bmx6-json -endef - -define Package/prometheus-node-exporter-lua-bmx6/install - $(INSTALL_DIR) $(1)/usr/lib/lua/prometheus-collectors - $(INSTALL_BIN) ./files/usr/lib/lua/prometheus-collectors/bmx6.lua $(1)/usr/lib/lua/prometheus-collectors/ -endef - define Package/prometheus-node-exporter-lua-bmx7 $(call Package/prometheus-node-exporter-lua/Default) TITLE+= (bmx7 links collector) @@ -224,7 +213,6 @@ define Package/prometheus-node-exporter-lua-snmp6/install endef $(eval $(call BuildPackage,prometheus-node-exporter-lua)) -$(eval $(call BuildPackage,prometheus-node-exporter-lua-bmx6)) $(eval $(call BuildPackage,prometheus-node-exporter-lua-bmx7)) $(eval $(call BuildPackage,prometheus-node-exporter-lua-dawn)) $(eval $(call BuildPackage,prometheus-node-exporter-lua-hostapd_stations))