On Wed, Apr 08, 2009 at 01:40:29PM +0200, Krzysztof Raczkowski wrote: > Package: rt3.8-apache2 > Version: 3.8.2-1 > Severity: normal > > I think, that dependencies in rt3.8-apache2 are a little bit insane. > > >From request-tracker3.8 control file: > > (1) Depends: apache2, > (2) libapache2-mod-perl2 (>= 2.0.0) | speedy-cgi-perl | libapache2-mod-fcgid > (3) | libapache2-mod-fastcgi, > (4) libapache2-mod-perl2 (>= 2.0.0) | speedy-cgi-perl | libcgi-fast-perl, > (5) libapache-dbi-perl (>= 0.92) | speedy-cgi-perl | libapache2-mod-fcgid > (6) | libapache2-mod-fastcgi, > (7) ${misc:Depends} > > I don't understand, why on (2) speedy-cgi-perl is an alternative to > libapache2-* modules? > Shouldn't there be libapache2-mod-speedycgi instead?
No, see #417545. > Why on (4) there is libapache2-mod-perl2? It was mentioned in (2). It's approximating ( libapache2-mod-perl2 | speedy-cgi-perl | ( libapache2-mod-fcgid, libcgi-fast-perl) | ( libapache2-mod-fastcgi, libcgi-fast-perl) ) because both libapache2-mod-fcgid and libapache2-mod-fastcgi need libcgi-fast-perl but the others don't. > I don't understand why libapache-dbi-perl is an alternative to other packages > in (5) and (6). Like the above: libapache2-mod-perl2 needs libapache-dbi-perl, the others don't, so it's actually ( ( libapache2-mod-perl2, libapache-dbi-perl ) | speedy-cgi-perl | ( libapache2-mod-fcgid, libcgi-fast-perl) | ( libapache2-mod-fastcgi, libcgi-fast-perl) ) > Are these dependencies OK, or should they be fixed? Suggestions for better expressing the above in the dpkg dependency syntax are welcome. It would also be nice to take other web servers than apache2 into account, see #503454 and #486633. I've been thinking about empty dependency packages like rt3.8-db-* for this, but that seems bloatish at least as long as we don't have any framework for actually setting up the web service. (Sean Finney was working on a webapps-common draft at some point, but I believe that's stalled) Hope this explains, -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org