git: 937cbb675624 - main - net-mgmt/librenms: Add patch for real-time graphs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Mar 2026 17:36:35 UTC
The branch main has been updated by dvl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=937cbb6756244d2a75ae2ba05627fd8575031782
commit 937cbb6756244d2a75ae2ba05627fd8575031782
Author: Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2026-03-19 17:34:00 +0000
Commit: Dan Langille <dvl@FreeBSD.org>
CommitDate: 2026-03-19 17:36:05 +0000
net-mgmt/librenms: Add patch for real-time graphs
This wasn't working in my install. Talked with librenms team and we
came up with this patch. Apply this now so that the upcoming quarterly
branch is correct.
re: https://github.com/librenms/librenms/pull/19280
---
net-mgmt/librenms/Makefile | 1 +
.../files/patch-resources_views_graphs_realtime.blade.php | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 4e21dd86f7b4..bd17b7f4e98f 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -1,5 +1,6 @@
PORTNAME= librenms
PORTVERSION= 26.3.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= LOCAL/dvl:vendor
diff --git a/net-mgmt/librenms/files/patch-resources_views_graphs_realtime.blade.php b/net-mgmt/librenms/files/patch-resources_views_graphs_realtime.blade.php
new file mode 100644
index 000000000000..b1682f81a786
--- /dev/null
+++ b/net-mgmt/librenms/files/patch-resources_views_graphs_realtime.blade.php
@@ -0,0 +1,8 @@
+--- resources/views/graphs/realtime.blade.php.orig 2026-03-17 09:25:34 UTC
++++ resources/views/graphs/realtime.blade.php
+@@ -1,4 +1,4 @@
+-{!! '<?xml version="1.0" encoding="UTF-8"?>' !!}
++{!! '<' . '?xml version="1.0" encoding="UTF-8"?>' !!}
+ <svg width="100%" height="100%" viewBox="0 0 {{ $width }} {{ $height }}" preserveAspectRatio="none" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"
+ onload="init(evt)">
+ <g id="graph">