On Tuesday, 7 February 2006 16:30, Matt Zimmerman wrote: > On Tue, Feb 07, 2006 at 10:27:30AM -0500, Rudy Godoy wrote: > > On 07/02/2006 at 10:21 Matt Zimmerman wrote... > > > > <snip> > > > > > > Would it not be better to depend on php4 or php5 rather than force > > > > people > > > > to upgrade to PHP5? > > > > > > Possibly, but it is quite tricky to express this correctly using the > > > available dependency relationships. > > > > > > > This works for me. > > Depends: ${misc:Depends}, php4 (>= 4.1.0) | php5 | php4-cgi (>= > > 4.1.0) | php5-cgi, php4-pgsql (>= 4.1.0) | php4-mysql (>= 4.1.0) | > > php5-mysql | > > php5-pgsql, php4-gd | php5-gd, apache | httpd, php4-cli | php5-cli, > > wwwconfig-common (>= 0.0.7), mimetex I've moved to something like this and left to the user the responsibility to get a sensible set of packages. If I get bug reports which are caused by these "loose" Depends: I'll move to the Depends: to php5 too.
Best regards -- Isaac Clerencia at Warp Networks, http://www.warp.es Work: <[EMAIL PROTECTED]> | Debian: <[EMAIL PROTECTED]>
pgphrlgwTUjOW.pgp
Description: PGP signature