Package: roundcube
Severity: wishlist

        Debian does not allow complex dependencies. Upon install, you need to
        check that you have the correct packages installed.

        If you want to use MySQL, you need mysql-client and php5-mysql. 
        For PostgreSQL, you need postgresql-client and php5-pgsql. 
        For SQLite, you need sqlite and php5-sqlite.

Annoying gotcha, how about fixing it?

So you need to express this as a dependency:

(mysql && mysql-client && php5-mysql) ||
(postgresql && postgresql-client && php5-pgsql) ||
(sqllite && php5-sqlite)

There is a way to do this. Create three dependency packages, roundcube-mysql,
roundcube-postgresql, and roundcube-sqlite, that each depend on the appropriate
set of things, and have roundcube depend on any one of the three.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to