summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ac9233)
raw | patch | inline | side by side (parent: 3ac9233)
author | wob-guest <wob-guest@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Sat, 28 Nov 2009 16:36:46 +0000 (16:36 +0000) | ||
committer | wob-guest <wob-guest@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Sat, 28 Nov 2009 16:36:46 +0000 (16:36 +0000) |
git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@1796 98d490a6-b407-0410-aaaa-fdee166ba3f5
debian/apache.conf | patch | blob | history | |
debian/patches/10_pathnames.dpatch | patch | blob | history | |
debian/postrm | patch | blob | history |
diff --git a/debian/apache.conf b/debian/apache.conf
index 16e5bcb63a03427a6b99b3c4d446758a3719d743..1683c74fcb0dee34c9ca4d480c7bdf13ee407226 100644 (file)
--- a/debian/apache.conf
+++ b/debian/apache.conf
# -- new style
Alias /nagvis /usr/share/nagvis/htdocs
-# -- backward compatibility
-Alias /nagios3/nagvis /usr/share/nagvis/htdocs
+# -- old style
+# Alias /nagios3/nagvis /usr/share/nagvis/htdocs
# -- use basic authentification from nagios3 package
# please adapt to your needs
index 912513abb27e0cb960bfc31f21668df5749f94d9..cc3453e362699d511f57e914a97ff723d73d5208 100755 (executable)
@DPATCH@
diff -urNad trunk~/etc/nagvis.ini.php-sample trunk/etc/nagvis.ini.php-sample
--- trunk~/etc/nagvis.ini.php-sample 2009-11-27 16:41:36.000000000 +0100
-+++ trunk/etc/nagvis.ini.php-sample 2009-11-27 18:35:57.000000000 +0100
++++ trunk/etc/nagvis.ini.php-sample 2009-11-28 17:20:58.000000000 +0100
@@ -24,17 +24,20 @@
; Path definitions
; Path to the ndo2fs var directory where the VOLATILE and PERSISTENT directories are
;path="/usr/local/ndo2fs/var"
; Name of the instance to get the data from
-@@ -199,9 +202,9 @@
+@@ -198,37 +201,18 @@
+ ; path to the cgi-bin of this backend
;htmlcgi="/nagios/cgi-bin"
- ; in this example the ID of the Backend is "merlinmy_1" you can define another ID.
+-; in this example the ID of the Backend is "merlinmy_1" you can define another ID.
-[backend_merlinmy_1]
-+;[backend_merlinmy_1]
- ; type of backend - MUST be set
+-; type of backend - MUST be set
-backendtype="merlinmy"
-+;backendtype="merlinmy"
- ; hostname for Merlin db
- ;dbhost="localhost"
- ; portname for Merlin db
-@@ -223,12 +226,12 @@
+-; hostname for Merlin db
+-;dbhost="localhost"
+-; portname for Merlin db
+-;dbport=3306
+-; database name for Merlin db
+-;dbname="merlin"
+-; username for Merlin db
+-;dbuser="merlin"
+-; password for Merlin db
+-;dbpass="merlin"
+-; maximum delay of the Merlin Database in seconds
+-;maxtimewithoutupdate=180
+-; path to the cgi-bin of this backend
+-;htmlcgi="/nagios/cgi-bin"
+-
+ ; ----------------------------
+ ; Rotation pool definitions
+ ; ----------------------------
; in this example the browser switches between the maps demo and demo2 every 15
; seconds, the rotation is enabled by url: index.php?rotation=demo
diff --git a/debian/postrm b/debian/postrm
index fa212e61ff71822e726e43b0a5cde2fa77dc7a35..3535fedbed28cc6cf2078749b47e0cea3ac7b9a9 100644 (file)
--- a/debian/postrm
+++ b/debian/postrm
#!/bin/sh
-# postrm script for #PACKAGE#
+# postrm script for nagvis
#
# see: dh_installdeb(1)
. /usr/share/debconf/confmodule
fi
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.@@DB@@ ]; then
+if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
. /usr/share/dbconfig-common/dpkg/frontend.postrm.mysql
dbc_go nagvis $@
fi
# rm -f /etc/apache2/conf.d/nagvis.conf
#fi
- rm -f /var/cache/nagvis/*
- rmdir /var/cache/nagvis
+ rm -rf /var/cache/nagvis
fi
# dh_installdeb will replace this with shell code automatically