From beb0de663c112ecb439fa30c4bd4aad73add2b6a Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Wed, 11 Jun 2025 18:53:52 +0300 Subject: [PATCH] collectd: Adjust .json names to match plugin names Adjust .json names to match the plugin names: use '-' instead of '_' Fix commits 033c19a and e36b727 that used a filename differing from the plugin name used in OpenWrt. That prevented package compilation to find and include the .json files that were left out of the package. Signed-off-by: Hannu Nyman --- utils/collectd/Makefile | 2 +- .../share/collectd/plugin/{write_http.json => write-http.json} | 0 .../plugin/{write_prometheus.json => write-prometheus.json} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename utils/collectd/files/usr/share/collectd/plugin/{write_http.json => write-http.json} (100%) rename utils/collectd/files/usr/share/collectd/plugin/{write_prometheus.json => write-prometheus.json} (100%) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index cb7c061519..cb2bb9fe65 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:=53 +PKG_RELEASE:=54 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ diff --git a/utils/collectd/files/usr/share/collectd/plugin/write_http.json b/utils/collectd/files/usr/share/collectd/plugin/write-http.json similarity index 100% rename from utils/collectd/files/usr/share/collectd/plugin/write_http.json rename to utils/collectd/files/usr/share/collectd/plugin/write-http.json diff --git a/utils/collectd/files/usr/share/collectd/plugin/write_prometheus.json b/utils/collectd/files/usr/share/collectd/plugin/write-prometheus.json similarity index 100% rename from utils/collectd/files/usr/share/collectd/plugin/write_prometheus.json rename to utils/collectd/files/usr/share/collectd/plugin/write-prometheus.json