Package: nagvis
Version: 1:1.6.6+dfsg.1-2
Severity: normal

Nagvis currently hard-depends on libapache2-mod-php5. This forces users
to use (or at least install) this particular way of PHP5 setup, while
there are a lot of others (FastCGI with Lighty or Apache2/mod_fcgid 
for example).

The attached patch changes the dependency to libapache2-mod-php5 | php5, 
as it is currently the case for most php5 based applications in the 
archive.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/control b/debian/control
index 27b56a3..86980fd 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: http://svn.debian.org/wsvn/pkg-nagios/nagvis/trunk/
 
 Package: nagvis
 Architecture: all
-Depends: ${misc:Depends}, php5-common (>= 5.3.0), libapache2-mod-php5, php5-gd, ucf, graphviz, php5-sqlite, php-net-socket, php-gettext, check-mk-livestatus
+Depends: ${misc:Depends}, php5-common (>= 5.3.0), libapache2-mod-php5 | php5, php5-gd, ucf, graphviz, php5-sqlite, php-net-socket, php-gettext, check-mk-livestatus
 Suggests: nagvis-demos
 Description: visualization addon for Nagios or Icinga
  NagVis can be used to visualize Nagios or Icinga data, for instance

Reply via email to