summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bbd222f)
raw | patch | inline | side by side (parent: bbd222f)
author | Alexander Wirt <alexander.wirt@credativ.de> | |
Mon, 18 Feb 2013 13:15:21 +0000 (14:15 +0100) | ||
committer | Alexander Wirt <alexander.wirt@credativ.de> | |
Mon, 18 Feb 2013 13:15:21 +0000 (14:15 +0100) |
debian/pnp4nagios-web-config-nagios3.install | [new file with mode: 0644] | patch | blob |
debian/pnp4nagios-web.install | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/pnp4nagios-web-config-nagios3.install b/debian/pnp4nagios-web-config-nagios3.install
--- /dev/null
@@ -0,0 +1,2 @@
+etc/pnp4nagios/apache.conf
+etc/pnp4nagios/config.php
index 0bbade8d6c8134f1ed816d48fe63fd6fe5b13cf8..fccb4cb00ce7bf45b02376bc6d23b319ac79e654 100644 (file)
-etc/pnp4nagios/apache.conf
etc/pnp4nagios/background.pdf
etc/pnp4nagios/templates/
etc/pnp4nagios/templates.d/
etc/pnp4nagios/pages/
etc/pnp4nagios/templates.special/
etc/pnp4nagios/pnp4nagios_release
-etc/pnp4nagios/config.php
usr/share/doc/pnp4nagios/examples/templates.special/
usr/share/doc/pnp4nagios/examples/pages/
usr/share/doc/pnp4nagios/examples/ssi/
diff --git a/debian/rules b/debian/rules
index b9e40d08de68c35d6e5c7c361280869cb747a35a..acb0c5600f23195b40a864445039202bc3457e81 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
rmdir debian/tmp/usr/share/pnp4nagios/html/application/hooks/
#rmdir debian/tmp/usr/share/pnp4nagios/html/application/libraries/
+ #create modified version of icinga specific configs
+ mkdir -p debian/pnp4nagios-web-config-icinga/etc/pnp4nagios
+ sed -e 's/nagios3/icinga/' -e 's/Nagios/Icinga/' \
+ debian/tmp/etc/pnp4nagios/apache.conf >\
+ debian/pnp4nagios-web-config-icinga/etc/pnp4nagios/apache.conf
+
+ sed -e 's/nagios3/icinga/' -e 's/nagiosadmin/icingadmin/' \
+ debian/tmp/etc/pnp4nagios/config.php >\
+ debian/pnp4nagios-web-config-icinga/etc/pnp4nagios/config.php
+
mkdir debian/tmp/etc/pnp4nagios/templates.d
cp debian/README.templates.d debian/tmp/etc/pnp4nagios/templates.d/README