From 4f0758ba368203b568999c6972420a26a354de8d Mon Sep 17 00:00:00 2001 From: Rany Hany Date: Wed, 1 Jan 2025 17:21:37 +0000 Subject: [PATCH] muninlite: add /etc/munin to conffiles and install muninlite.conf The entire /etc/munin should be backed up as it includes user configuration for custom plugins and the muninlite.conf config file which is useful to override the default NTP server. Also we install muninlite.conf to /etc/munin/. Signed-off-by: Rany Hany --- admin/muninlite/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/muninlite/Makefile b/admin/muninlite/Makefile index d7f0918b47..95ad48d326 100644 --- a/admin/muninlite/Makefile +++ b/admin/muninlite/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=muninlite PKG_VERSION:=2.1.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/munin-monitoring/$(PKG_NAME)/releases/download/$(PKG_VERSION)/ @@ -37,12 +37,14 @@ endef define Package/muninlite/install $(INSTALL_DIR) $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/muninlite $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/etc/munin/plugins + $(INSTALL_DATA) $(PKG_BUILD_DIR)/muninlite.conf $(1)/etc/munin/ $(INSTALL_DIR) $(1)/etc/xinetd.d $(INSTALL_DATA) ./files/etc/xinetd.d/muninlite $(1)/etc/xinetd.d/ - $(INSTALL_DIR) $(1)/etc/munin/plugins endef define Package/muninlite/conffiles +/etc/munin/ /etc/xinetd.d/muninlite endef -- 2.30.2