Package: lintian Version: 2.5.5~bpo60+1 Severity: wishlist Hi,
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. 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 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: Debian Release: 6.0.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.20.1-16 The GNU assembler, linker and bina ii bzip2 1.0.5-6+squeeze1 high-quality block-sorting file co ii diffstat 1.53-1 produces graph of changes introduc ii file 5.04-5+squeeze1 Determines file type using "magic" ii gettext 0.18.1.1-3 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg ii libc-bin 2.11.3-3 Embedded GNU C Library: Binaries ii libclass-accessor-perl 0.34-1 Perl module that automatically gen ii libclone-perl 0.31-1 recursively copy Perl datatypes ii libdigest-sha-perl 5.48-1 Perl extension for SHA-1/224/256/3 ii libdpkg-perl 1.15.8.12 Dpkg perl modules ii libemail-valid-perl 0.184-1 Perl module for checking the valid ii libipc-run-perl 0.89-1 Perl module for running processes ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.54-2 module to manipulate and access UR ii locales 2.11.3-3 Embedded GNU C Library: National L ii locales-all [locales] 2.11.3-3 Embedded GNU C Library: Precompile ii man-db 2.5.7-8 on-line manual pager ii patchutils 0.3.1-2 Utilities to work with patches ii perl [libdigest-sha-pe 5.10.1-17squeeze3 Larry Wall's Practical Extraction ii unzip 6.0-4 De-archiver for .zip files lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarch <none> (no description available) ii dpkg-dev 1.15.8.12 Debian package development tools ii libhtml-parser-perl 3.66-1 collection of modules that parse H pn libtext-template-perl <none> (no description available) ii man-db 2.5.7-8 on-line manual pager ii xz-utils 5.0.0-2 XZ-format compression utilities -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org