[Pkg-nagios-changes] [pkg-nagios] r1746 - nagios3/trunk/debian

Alexander Wirt formorer at alioth.debian.org
Sat Sep 5 13:59:32 UTC 2009


Author: formorer
Date: 2009-09-05 13:59:32 +0000 (Sat, 05 Sep 2009)
New Revision: 1746

Removed:
   nagios3/trunk/debian/nagios3-common.prerm
Modified:
   nagios3/trunk/debian/control
Log:
Depend on adduser

Modified: nagios3/trunk/debian/control
===================================================================
--- nagios3/trunk/debian/control	2009-09-05 13:59:31 UTC (rev 1745)
+++ nagios3/trunk/debian/control	2009-09-05 13:59:32 UTC (rev 1746)
@@ -42,7 +42,7 @@
 
 Package: nagios3-cgi
 Architecture: any
-Depends: nagios3-common (= ${source:Version}), coreutils (>= 4.5.3), ucf (>= 0.28), apache2-utils, ${misc:Depends}, ${perl:Depends}, ${misc:Depends}, ${shlibs:Depends} 
+Depends: nagios3-common (= ${source:Version}), coreutils (>= 4.5.3), ucf (>= 0.28), apache2-utils, ${misc:Depends}, ${perl:Depends}, ${misc:Depends}, ${shlibs:Depends}, adduser
 Recommends: apache2 | httpd, nagios-images (>> 0.1)
 Description: cgi files for nagios3
  Nagios is a monitoring and management system for hosts, services and

Deleted: nagios3/trunk/debian/nagios3-common.prerm
===================================================================
--- nagios3/trunk/debian/nagios3-common.prerm	2009-09-05 13:59:31 UTC (rev 1745)
+++ nagios3/trunk/debian/nagios3-common.prerm	2009-09-05 13:59:32 UTC (rev 1746)
@@ -1,25 +0,0 @@
-#!/bin/sh -e
-
-. /usr/share/nagios3/debian/httpd.webapps-common
-
-apacheconf="/etc/nagios3/apache2.conf"
-
-if [ -f $apacheconf ]; then
-  case "$1" in
-    remove)
-	# find the configured servers
-	configured_servers=`wc_httpd_apache_configured $apacheconf nagios3`
-	if [ "$configured_servers" ]; then
-		# deconfigure them
-		wc_httpd_apache_uninclude $apacheconf nagios3 $configured_servers
-		# reload the configured servers if they are running 
-		running_servers="`wc_httpd_running $configured_servers`"
-		if [ "$running_servers" ]; then
-			wc_httpd_invoke "reload" $running_servers
-		fi
-	fi
-      ;;
-  esac
-fi
-
-#DEBHELPER#




More information about the Pkg-nagios-changes mailing list