From aac517d2871493439abd0782562d4fabb5e277c7 Mon Sep 17 00:00:00 2001 From: Jorik Jonker Date: Wed, 29 Aug 2018 10:36:42 +0200 Subject: [PATCH] muninlite: fix irqstats plugin The config() function of irqstats seems to contain a superfluous semicolon, causing munin to choke on this plugin. This simple patch fixes exactly that. Signed-off-by: Jorik Jonker --- admin/muninlite/Makefile | 2 +- admin/muninlite/patches/240-fix-irqstats.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 admin/muninlite/patches/240-fix-irqstats.patch diff --git a/admin/muninlite/Makefile b/admin/muninlite/Makefile index 022da0188..2d98cf34e 100644 --- a/admin/muninlite/Makefile +++ b/admin/muninlite/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=muninlite PKG_VERSION:=1.0.4 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) diff --git a/admin/muninlite/patches/240-fix-irqstats.patch b/admin/muninlite/patches/240-fix-irqstats.patch new file mode 100644 index 000000000..4e2fb23ed --- /dev/null +++ b/admin/muninlite/patches/240-fix-irqstats.patch @@ -0,0 +1,10 @@ +--- a/plugins/irqstats 2007-11-30 11:39:08.000000000 +0100 ++++ b/plugins/irqstats 2018-08-29 08:20:50.809468406 +0200 +@@ -1,6 +1,6 @@ + config_irqstats() { + echo "graph_title Individual interrupts +-graph_args --base 1000 -l 0; ++graph_args --base 1000 -l 0 + graph_vlabel interrupts / \${graph_period} + graph_category system" + CPUS=$(grep 'CPU[0-9]' /proc/interrupts | wc -w)