tags 662936 + pending thanks On 2012-03-07 12:54, Ondřej Surý wrote: > Package: lintian > Version: 2.5.5~bpo60+1 > Severity: wishlist > > Hi, >
Hey, > this is a simple suggestion to add a lintian check for packages which contain > binary plugin for PHP located under /usr/lib/php5/<apiversion>/<component>.so > > Such packages should Depend on phpapi-<apiversion> which is provided by PHP > packages. > I think that would be "missing-dependency-on-phpapi". It is triggered on ELF ("real") files installed as: ^usr/lib/php\d/.*\.so$ > Example of such failure was found in owfs as part of transition from PHP 5.3 > to PHP 5.4: http://bugs.debian.org/662634 > Lintian did not notice this becase owfs installed the binary with a trailing SOVERSION (i.e. libowphp.so.0.0.0 rather than libowphp.so). For now, I have extended the check to catch binaries with trailing SOVERSION. > Lintian text should probably recommend something like this: > > Please add something like: > echo "php:Depends=phpapi-`php-config5 --phpapi`" >> > debian/<package>.substvars > to debian/rules and add > Depends: ${php:Depends} > to debian/control in the <package> section. > > Thanks, > Ondrej > > -- System Information: > [...] ~Niels -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org