nagios/nagios-3.4.2-fix_path_to_cgi_executables.patch
Silvan Calarco e50dcc68b4 require nagios-plugins
change lock file location from /var/run to /run
configure by default to use /etc/nagios/conf.d directory [release 3.5.1-2mamba;Wed May 07 2014]
2024-01-06 07:30:34 +01:00

27 lines
907 B
Diff

diff -ru nagios/sample-config/httpd.conf.in nagios-om/sample-config/httpd.conf.in
--- nagios/sample-config/httpd.conf.in 2005-11-26 23:47:52.000000000 +0100
+++ nagios-om/sample-config/httpd.conf.in 2012-11-16 17:40:55.000000000 +0100
@@ -6,9 +6,9 @@
# configuration file. Customize the paths, etc. as
# needed to fit your system.
-ScriptAlias @cgiurl@ "@sbindir@"
+ScriptAlias @cgiurl@ "@cgidir@"
-<Directory "@sbindir@">
+<Directory "@cgidir@">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
diff -ru nagios/subst.in nagios-om/subst.in
--- nagios/subst.in 2009-07-08 00:34:51.000000000 +0200
+++ nagios-om/subst.in 2012-11-16 17:41:38.000000000 +0100
@@ -31,6 +31,7 @@
s|\@datadir\@|@datadir@|g;
s|\@sbindir\@|@sbindir@|g;
s|\@bindir\@|@bindir@|g;
+ s|\@cgidir\@|@libdir@/cgi-bin/|g;
s|\@htmurl\@|@htmurl@|g;
s|\@cgiurl\@|@cgiurl@|g;
s|\@MAIL_PROG\@|@MAIL_PROG@|g;