Files
packages/admin/muninlite/patches/203-Make-example-more-portable.patch
Rany Hany 7d752193e4 muninlite: add some patches to address old issues
As muninlite doesn't appear to have had a release in a few years and activity
on the git repo appears to have stalled, we add some patches on our end for now.

Patches:

- 001->004 are upstream fixes from master.
- 100 is a submitted PR: https://github.com/munin-monitoring/muninlite/pull/19
  to fix https://github.com/munin-monitoring/muninlite/issues/14.
- 200->204 is a submitted PR to allow customizing the monitored network interfaces:
  https://github.com/munin-monitoring/muninlite/pull/18. Despite the large
  number of patches it is actually a trivial change.

Signed-off-by: Rany Hany <rany_hany@riseup.net>
2025-01-10 00:11:38 +01:00

19 lines
774 B
Diff

From e0f0687247958a19911d0f874fd8bff3b50fbede Mon Sep 17 00:00:00 2001
From: daald <daald@users.noreply.github.com>
Date: Thu, 14 Dec 2023 02:29:15 +0100
Subject: [PATCH 203/204] Make example more portable
Co-authored-by: Kenyon Ralph <kenyon@kenyonralph.com>
---
muninlite.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/muninlite.conf
+++ b/muninlite.conf
@@ -3,4 +3,4 @@ NTP_PEER="pool.ntp.org"
DF_IGNORE_FILESYSTEM_REGEX="(none|unknown|rootfs|iso9660|squashfs|udf|romfs|ramfs|debugfs|cgroup_root|devtmpfs)"
#INTERFACE_NAMES_OVERRIDE="eth0"
-#INTERFACE_NAMES_OVERRIDE="$(sed 's/^ *//; s/:.*$//; / /d' /proc/net/dev | grep -P '^(eth|wlan|en)')"
+#INTERFACE_NAMES_OVERRIDE="$(sed 's/^ *//; s/:.*$//; / /d' /proc/net/dev | grep -E '^(eth|wlan|en)')"