[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#419570: webcalendar: Package dependencies must allow php5 instead of php4



* Stephen Gran <sgran@debian.org> [2007-04-18 01:04]:

> This one time, at band camp, James Westby said:
> > That's not your job, the php maintainers have to ensure their packages
> > work, you just have to make sure enough php/mysql/apache stuff is
> > installed to work.
> 
> Well, that's glossing it over a bit - the problem of ORed dependencies
> is not trivial to deal with, and there is no support in apt for it.
> 
> Theoretically, these sorts of dependencies could be written with
> brackets or something to make a complete set soultion possible, but it's
> not there just yet.

Is this feature under development?  It would be great to be able to specify
dependencies like the following (note the parentheses):

Depends: ( ( ( apache | apache-ssl | apache-perl, libapache-mod-php4 )
             | ( apache2, libapache2-mod-php4 ),
             php4-mysql | php4-pgsql )
           | ( ( apache | apache-ssl | apache-perl, libapache-mod-php5 )
               | ( apache2, libapache2-mod-php5 ),
               php5-mysql | php5-pgsql ) )

All my problems would then be solved!

-- 
Rafael



Reply to: