Bug#536466: apache2.2-bin depends on libaprutil1-dbd-*
On Fri, Jul 10, 2009 at 05:42:55PM +0200, Stefan Fritsch wrote:
> On Friday 10 July 2009, Josh Triplett wrote:
> > apache2.2-bin has these in its Depends:
> >
> > libaprutil1-dbd-mysql | libaprutil1-dbd-sqlite3 |
> > libaprutil1-dbd-odbc | libaprutil1-dbd-pgsql |
> > libaprutil1-dbd-freetds libaprutil1-ldap
> >
> > These both increase the number of packages pulled in by
> > gnome-user-share and thus gnome-desktop-environment.
> >
> > - Does apache2.2-bin actually depend on having a dbd module
> > installed? Or does this appear for the benefit of some optional
> > apache module? If the latter, would you consider moving the
> > packages to Recommends?
>
> Apache itself runs without these libs but the modules (mod_*dbd,
> mod_*ldap) that use them are included in the apache2.2-bin package. I
> think it is reasonable to have them in Depends. Also, the dependencies
> are not included manually but are generated by the symbol file of
> libaprutil1 for those packages that use the relevant functions. I
> don't want to change that.
Hmmm. Splitting out those modules would address that, but I don't know
if you want to make that kind of change to the Apache packaging.
> > - Why default to the mysql module in particular?
>
> The mysql module is the one that is used the most, but I guess this
> could be changed to the sqlite module in order to reduce the size of
> the default dependencies.
That seems like a good idea, if you wouldn't mind.
Although, if you have to install the libaprutil1-dbd-* library for the
database you want to use *anyway*, it doesn't seem helpful to have a
Depends that only ensures you have *some* libaprutil1-dbd-* library.
- Josh Triplett
Reply to: