summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7a1884)
raw | patch | inline | side by side (parent: e7a1884)
author | tolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Wed, 7 Sep 2011 12:23:13 +0000 (12:23 +0000) | ||
committer | tolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Wed, 7 Sep 2011 12:23:13 +0000 (12:23 +0000) |
git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@1944 98d490a6-b407-0410-aaaa-fdee166ba3f5
debian/changelog | patch | blob | history | |
debian/patches/config.dpatch | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 1a4ea0f51bb2acdf520560ccb34e719612a58fe2..4082f0e1df8bde757138bf65b17b49720d7fd61f 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* Add myself to uploaders
* Only call ucf on purge if it's available (Closes: #620037)
* Set urgency to medium due to RC bug fix
-
- -- Alexander Reichle-Schmehl <tolimar@debian.org> Wed, 07 Sep 2011 14:02:20 +0200
+ * Set Path to gadget files in example configuration (via
+ patches/config.dpatch) and activate default configuration
+ (Closes: #611909)
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org> Wed, 07 Sep 2011 14:21:29 +0200
nagvis (1:1.4.6-1.1) unstable; urgency=low
index b02c730dd7724e233dfce4ad8aa9ebf4e6f754d6..5cf9f6f4df81c8b077dc27fe2784eda719f11760 100755 (executable)
## DP: changes default configs
@DPATCH@
-diff -urNad nagvis-1.4.6~/etc/nagvis.ini.php-sample nagvis-1.4.6/etc/nagvis.ini.php-sample
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' nagvis-1.4.6~/etc/nagvis.ini.php-sample nagvis-1.4.6/etc/nagvis.ini.php-sample
--- nagvis-1.4.6~/etc/nagvis.ini.php-sample 2010-02-04 21:51:13.000000000 +0100
-+++ nagvis-1.4.6/etc/nagvis.ini.php-sample 2010-03-01 18:40:01.000000000 +0100
-@@ -24,17 +24,26 @@
++++ nagvis-1.4.6/etc/nagvis.ini.php-sample 2011-09-07 14:19:01.000000000 +0200
+@@ -24,17 +24,27 @@
; Path definitions
[paths]
+headertemplate="/etc/nagvis/templates/header/"
+hovertemplate="/etc/nagvis/templates/hover/"
+contexttemplate="/etc/nagvis/templates/context/"
++gadget="/etc/nagvis/gadgets"
; absolute html NagVis path
-;htmlbase="/nagios/nagvis"
+htmlbase="/nagvis"
; ------------------------------------------------------------------------------
; Below you find some advanced stuff
-diff -urNad nagvis-1.4.6~/nagvis/includes/defines/global.php nagvis-1.4.6/nagvis/includes/defines/global.php
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' nagvis-1.4.6~/nagvis/includes/defines/global.php nagvis-1.4.6/nagvis/includes/defines/global.php
--- nagvis-1.4.6~/nagvis/includes/defines/global.php 2010-02-04 21:51:13.000000000 +0100
-+++ nagvis-1.4.6/nagvis/includes/defines/global.php 2010-03-01 18:39:30.000000000 +0100
++++ nagvis-1.4.6/nagvis/includes/defines/global.php 2011-09-07 14:18:33.000000000 +0200
@@ -61,13 +61,13 @@
define('DEBUGLEVEL', 4);
diff --git a/debian/rules b/debian/rules
index aff715c55d20a24b9191f4cc5ea7d5ade37bd1ef..52ce134cb85629cb0e4b935bc7647a09f1c49341 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
[ -x /usr/bin/html2text ] && \
/usr/bin/html2text -ascii -nobs < docs/en_US/changelog.html > docs/changelog
mv $(DEST)/etc/nagvis/nagvis.ini.php-sample \
+ $(DEST)/etc/nagvis/nagvis.ini.php
+ cp $(DEST)/etc/nagvis/nagvis.ini.php-sample \
$(DEST)/usr/share/nagvis/debian/
sed -e 's/^[; ]*\(\<dbhost\) *=.*$$/\1=_DBC_DBSERVER_/' \
-e 's/^[; ]*\(\<dbport\) *=.*$$/\1=_DBC_DBPORT_/' \