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.lede-project.org./?a=commitdiff_plain;h=9c2bf859005ada11c17835f74826b356cdb0fb7b;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 --- diff --git a/utils/prometheus-node-exporter-lua/Makefile b/utils/prometheus-node-exporter-lua/Makefile index 29a313bdbf..a69f5320d6 100644 --- a/utils/prometheus-node-exporter-lua/Makefile +++ b/utils/prometheus-node-exporter-lua/Makefile @@ -59,17 +59,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) @@ -236,7 +225,6 @@ define Package/prometheus-node-exporter-lua-realtek-poe/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))