Code

README.templates.d: Added README file for the use of /e/pnp4nagios/templates.d.
authorSebastian Harl <sh@tokkee.org>
Tue, 31 Jan 2012 13:01:11 +0000 (14:01 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 31 Jan 2012 13:01:11 +0000 (14:01 +0100)
The file will be installed to that directory.

debian/README.templates.d [new file with mode: 0644]
debian/changelog
debian/pnp4nagios-web.install
debian/rules

diff --git a/debian/README.templates.d b/debian/README.templates.d
new file mode 100644 (file)
index 0000000..944257f
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# As of Debian version 0.6.16-1, the default config.php adds all directories
+# inside /etc/pnp4nagios/templates.d/ to the templates_dirs configuration.
+# This allows third-party packages to provide their own set of PNP4Nagios
+# templates and create a symlink to the template directory inside
+# /etc/pnp4nagios/templates.d.
+#
index 9e739eb76c03babf47d6b5a1f77b8fc52142778a..c5f5d0f1c78742dbcf6009f9a9403f23532b4b50 100644 (file)
@@ -28,8 +28,11 @@ pnp4nagios (0.6.16-1) unstable; urgency=low
       reporting this (Closes: #646587).
   * debian/patches/adjust-template-path:
     - Added support for /etc/pnp4nagios/templates.d.
       reporting this (Closes: #646587).
   * debian/patches/adjust-template-path:
     - Added support for /etc/pnp4nagios/templates.d.
+  * debian/README.templates.d:
+    - Added README file for the use of /etc/pnp4nagios/templates.d. The file
+      will be installed to that directory.
 
 
- -- Sebastian Harl <tokkee@debian.org>  Tue, 31 Jan 2012 13:53:51 +0100
+ -- Sebastian Harl <tokkee@debian.org>  Tue, 31 Jan 2012 14:00:47 +0100
 
 pnp4nagios (0.6.13-1) unstable; urgency=low
 
 
 pnp4nagios (0.6.13-1) unstable; urgency=low
 
index 84b5156189de918a9d75f4853e1bd0b2388f93de..0bbade8d6c8134f1ed816d48fe63fd6fe5b13cf8 100644 (file)
@@ -1,6 +1,7 @@
 etc/pnp4nagios/apache.conf
 etc/pnp4nagios/background.pdf
 etc/pnp4nagios/templates/
 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/pages/
 etc/pnp4nagios/templates.special/
 etc/pnp4nagios/pnp4nagios_release
index 48dac71fb942ae1db5f138c2cec273215b2c3b3c..b9e40d08de68c35d6e5c7c361280869cb747a35a 100755 (executable)
@@ -155,6 +155,9 @@ install: build
        rmdir debian/tmp/usr/share/pnp4nagios/html/application/hooks/
        #rmdir debian/tmp/usr/share/pnp4nagios/html/application/libraries/
 
        rmdir debian/tmp/usr/share/pnp4nagios/html/application/hooks/
        #rmdir debian/tmp/usr/share/pnp4nagios/html/application/libraries/
 
+       mkdir debian/tmp/etc/pnp4nagios/templates.d
+       cp debian/README.templates.d debian/tmp/etc/pnp4nagios/templates.d/README
+
        dh_install --sourcedir=debian/tmp --fail-missing
 
 # Build architecture-independent files here.
        dh_install --sourcedir=debian/tmp --fail-missing
 
 # Build architecture-independent files here.