Bug#398634: [Dbconfig-common-devel] Re: Bug#398634: [phpgacl]
alternative patch without hard dependencies on both db clients.
Stephen Gran
sgran at debian.org
Thu Nov 23 23:14:28 CET 2006
This one time, at band camp, sean finney said:
> hej andreas,
>
> On Thu, 2006-11-23 at 19:33 +0100, Andreas Henriksson wrote:
>
> > A slightly different way would be to:
> > - have dbconfig-common depend on "sqlite | mysql-client |
> > postgresql-client" to make sure atleast one of the supported clients is
> > always installed.
>
> unfortunately, this won't work because some apps work only with mysql,
> others with mysql | pgsql, others sqlite only, thus it's possible that
> unless it specified its own dependencies, the app would be installed
> without any supported db clients installed. (phpmysqladmin on
> a system with dbconfig+sqlite already installed, for example)
It's a bit messy, but perhaps a way to make it work with the current
dependency limitations is to have helper packages (dbconfig-mysql, etc)
which depend on dbconfig-common and the appropriate client interface.
phpmyadmin, e.g., could then depend on dbconfig-mysql, which pulls in
all the right stuff for it, and supplies mysql helper scripts.
Just a thought.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/attachments/20061123/679a550e/attachment.pgp
More information about the Dbconfig-common-devel
mailing list