[packages/nagios-naglite] Rel 6

arekm arekm at pld-linux.org
Fri May 8 23:31:36 CEST 2026


commit 7a007876cf45e5d15594dad7de5f7da5e3cfe1b4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri May 8 23:31:26 2026 +0200

    Rel 6

 nagios-naglite.spec |  4 ++--
 paths.patch         | 35 +++++++++++++----------------------
 2 files changed, 15 insertions(+), 24 deletions(-)
---
diff --git a/nagios-naglite.spec b/nagios-naglite.spec
index 6299c58..ec8cdf2 100644
--- a/nagios-naglite.spec
+++ b/nagios-naglite.spec
@@ -3,7 +3,7 @@
 Summary:	Naglite3 – Nagios status monitor for a NOC or operations room
 Name:		nagios-%{pname}
 Version:	1.6
-Release:	5
+Release:	6
 License:	GPL
 Group:		Applications/WWW
 Source0:	https://github.com/saz/Naglite3/archive/master/%{pname}-%{version}.tar.gz
@@ -55,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
 %triggerin -- apache1 < 1.3.37-3, apache1-base >= 1.3.37-3
 %webapp_register apache %{_webapp}
 
-%triggerin -- apache1 < 1.3.37-3, apache1-base >= 1.3.37-3
+%triggerun -- apache1 < 1.3.37-3, apache1-base >= 1.3.37-3
 %webapp_unregister apache %{_webapp}
 
 %triggerin -- apache < 2.2.0, apache-base
diff --git a/paths.patch b/paths.patch
index 037e0b4..033084b 100644
--- a/paths.patch
+++ b/paths.patch
@@ -1,44 +1,35 @@
---- nagios-naglite-1.6/index.php~	2013-10-28 23:52:47.000000000 +0200
-+++ nagios-naglite-1.6/index.php	2015-08-06 18:14:13.011808961 +0300
+--- nagios-naglite-1.6/index.php~	2013-10-28 22:52:47.000000000 +0100
++++ nagios-naglite-1.6/index.php	2026-05-08 23:19:53.497321922 +0200
 @@ -18,10 +18,10 @@
   **/
- 
+
  // Set file path to your nagios status log
 -$statusFile = '/var/cache/nagios3/status.dat';
 +$statusFile = '/var/lib/nagios/status.dat';
- 
+
  // Objects file
 -$objectsFile = '/var/cache/icinga/objects.cache';
 +$objectsFile = '/var/lib/nagios/objects.cache';
- 
+
  // Default refresh time in seconds
  $refresh = 10;
 @@ -35,7 +35,7 @@
- 
+
  // Enable fortune output
  $enableFortune = false;
 -$fortunePath = "/usr/games/fortune";
 +$fortunePath = "/usr/bin/fortune";
- 
+
  // Uncomment to show custom heading
  //$nagliteHeading = '<Your Custom Heading>';
---- nagios-naglite-1.6/config.php~	2015-08-06 18:09:21.000000000 +0300
-+++ nagios-naglite-1.6/config.php	2015-08-06 18:09:45.158645407 +0300
+--- nagios-naglite-1.6/config.php~	2013-10-28 22:52:47.000000000 +0100
++++ nagios-naglite-1.6/config.php	2026-05-08 23:19:53.500333973 +0200
 @@ -8,7 +8,7 @@
   **/
- 
+
  // Set file path to your nagios status log
 -// $statusFile = '/var/cache/nagios3/status.dat';
 +// $statusFile = '/var/lib/nagios/status.dat';
- 
- // Refresh time in seconds
- // $refresh = 10; 
-@@ -30,7 +30,7 @@
- 
- // Enable fortune output
- // $enableFortune = false;
--// $fortunePath = "/usr/games/fortune";
-+// $fortunePath = "/usr/bin/fortune";
- 
- // Set to callable to write custom heading by function
- // $nagliteHeading = function() { echo("<h2>This is Naglite3</h2>\n"); };
+
+ // Objects file
+ // $objectsFile = '/var/cache/icinga/objects.cache';
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-naglite.git/commitdiff/7a007876cf45e5d15594dad7de5f7da5e3cfe1b4



More information about the pld-cvs-commit mailing list