[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. ef8e3533cac356bf81413f09a32a07fd7d9e738e

Alexander Wirt formorer at debian.org
Thu Mar 18 09:48:12 UTC 2010


The following commit has been merged in the master branch:
commit ef8e3533cac356bf81413f09a32a07fd7d9e738e
Author: Alexander Wirt <formorer at debian.org>
Date:   Thu Mar 18 10:28:19 2010 +0100

    Fix lsb-base handling

diff --git a/debian/control b/debian/control
index afabb04..52bcad3 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 7), dpatch (>= 2.0.10), po-debconf, libperl-dev,
 
 Package: icinga-common
 Architecture: all
-Depends: nagios-plugins-basic, coreutils (>= 4.5.3), bsd-mailx | mailx, adduser, lsb-base (>= 3.0-3), ucf (>= 0.28), ${misc:Depends}, ${perl:Depends}, ${misc:Depends}
+Depends: nagios-plugins-basic, coreutils (>= 4.5.3), bsd-mailx | mailx, adduser, lsb-base (>= 3.0-6), ucf (>= 0.28), ${misc:Depends}, ${perl:Depends}, ${misc:Depends}
 Recommends: icinga-plugins
 Description: support files for icinga
  Icinga is a monitoring and management system for hosts, services and
@@ -52,7 +52,7 @@ Description: cgi files for icinga
 
 Package: icinga-idoutils
 Architecture: any
-Depends: icinga-common (= ${source:Version}), ucf, dbconfig-common, ${misc:Depends}, ${perl:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Depends: icinga-common (= ${source:Version}), ucf, dbconfig-common, ${misc:Depends}, ${perl:Depends}, ${misc:Depends}, ${shlibs:Depends}, lsb-base (>= 3.0-6)
 Recommends: libdbd-pgsql | libdbd-mysql
 Description: icinga-dataobjects support 
  Icinga is a monitoring and management system for hosts, services and
diff --git a/debian/icinga-common.icinga.init b/debian/icinga-common.icinga.init
index 961fef9..6895f6f 100644
--- a/debian/icinga-common.icinga.init
+++ b/debian/icinga-common.icinga.init
@@ -21,12 +21,7 @@
 
 set -e
 
-if ! [ -x "/lib/lsb/init-functions" ]; then
-  . /lib/lsb/init-functions
-else
-  echo "E: /lib/lsb/init-functions not found, lsb-base (>= 3.0-6) needed"
-  exit 1
-fi
+. /lib/lsb/init-functions
 
 DAEMON=/usr/sbin/icinga
 NAME="icinga"

-- 
debian packaging of icinga(-core)



More information about the Pkg-nagios-changes mailing list