Bug#464934: php-script-but-no-php-cli-dep

2008-03-04 Thread Uwe Steinmann
Hi,

I doubt this is possible easily because dh-make-pear just creates
a source package and doesn't know how the binary package will look
like and what it depends on. This is why the option --depends exists.

  Uwe

-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: 02331 840446Fax: 02331 843920


signature.asc
Description: Digital signature


Bug#464934: php-script-but-no-php-cli-dep

2008-02-09 Thread Jack Bates
Package: dh-make-php
Version: 0.2.8
Severity: normal

I used dh-make-pear to create a Debian package of PHP_CodeSniffer:

dh-make-pear --prefix  PHP_CodeSniffer

dh-make-pear does a great job, thanks! but the resulting Debian package
has this lintian error:

E: php-codesniffer: php-script-but-no-php-cli-dep ./usr/bin/phpcs
N:   
N:   Packages with PHP scripts must depend on a php-cli package such as
N:   php5-cli. Note that a dependency on a php-cgi package (such as
N:   php5-cgi) is needlessly strict and forces the user to install a
N:   package that isn't needed.
N:   
N:   In some cases a weaker relationship, such as Suggests or
Recommends,
N:   will be more appropriate.

I wish dh-make-pear could detect, as lintian does, that the package
contains a PHP script and add the dependency.

Thanks again, Jack

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make-php depends on:
ii  cdbs  0.4.51 common build system for Debian pac
ii  php-pear  5.2.5-1PEAR - PHP Extension and Applicati
ii  php5-cli  5.2.5-1command-line interpreter for the p

dh-make-php recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]