summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3ee51a)
raw | patch | inline | side by side (parent: f3ee51a)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 31 Jan 2012 13:01:11 +0000 (14:01 +0100) | ||
committer | Sebastian 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] | patch | blob |
debian/changelog | patch | blob | history | |
debian/pnp4nagios-web.install | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/README.templates.d b/debian/README.templates.d
--- /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.
+#
diff --git a/debian/changelog b/debian/changelog
index 9e739eb76c03babf47d6b5a1f77b8fc52142778a..c5f5d0f1c78742dbcf6009f9a9403f23532b4b50 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
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
index 84b5156189de918a9d75f4853e1bd0b2388f93de..0bbade8d6c8134f1ed816d48fe63fd6fe5b13cf8 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
diff --git a/debian/rules b/debian/rules
index 48dac71fb942ae1db5f138c2cec273215b2c3b3c..b9e40d08de68c35d6e5c7c361280869cb747a35a 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/
+ 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.