[pkg-php-pear] Bug#744220: Bug#744220: php-file-iterator: Should depend on php5|php5-cli

Mathieu Parent math.parent at gmail.com
Fri Apr 11 20:01:47 UTC 2014

Hello all,

2014-04-11 16:22 GMT+02:00 Olivier Berger <olivier.berger at telecom-sudparis.eu>:
> Package: php-file-iterator
> Version: 1.3.1-2
> Severity: normal
> Dear Maintainer,
> The package depends on php5, which leads to installation of a server module, instead of allowing installation of php5-cli only, which should be enough for phpunit in general.
> Thus, please change the dependency on php5|php5-cli.

Currently, pkg-php-tools adds a depends on php5-common (php5 in old
versions) which become php5-cli when there is something in /usr/bin.
This heuristic has many false-positives and false-negatives.

I propose to always use "php5-common", and let the maintainer
explicitly depend on php5 | php5-cli | php5-fcgi | whatever.

Another solution would be to use overrides in many php-* packages.

What do you think?


Mathieu Parent

More information about the pkg-php-pear mailing list