Bug#268077: lintian: Patch to change this behavior
Package: lintian
Version: 1.23.2
Followup-For: Bug #268077
I am attaching two patches to change this.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=C, LC_CTYPE=C
Versions of packages lintian depends on:
ii binutils 2.15-4 The GNU assembler, linker and bina
ii diffstat 1.34-1 produces graph of changes introduc
ii file 4.09-1 Determines file type using "magic"
ii gettext 0.14.1-5 GNU Internationalization utilities
ii man-db 2.4.2-19 The on-line manual pager
ii perl [libdigest-md5-perl] 5.8.4-2.2 Larry Wall's Practical Extraction
-- no debconf information
--- /usr/share/lintian/checks/scripts 2004-07-07 15:30:47.000000000 -0500
+++ /tmp/scripts 2004-10-10 16:15:53.000000000 -0500
@@ -116,8 +116,10 @@
'perl-5.004' => 'perl-5.004',
'pforth' => 'pforth',
'php' => 'php4-cgi',
+ 'php' => 'php4-cli',
'php3' => 'php3-cgi',
'php4' => 'php4-cgi',
+ 'php4' => 'php4-cli',
'pike' => 'pike',
'pike7' => 'pike7',
'rc' => 'rc',
--- /usr/share/lintian/checks/scripts.desc 2004-07-02 17:45:02.000000000 -0500
+++ /tmp/scripts.desc 2004-10-10 16:16:17.000000000 -0500
@@ -275,10 +275,10 @@
Type: error
Info: PHP can be called as /usr/bin/php on Debian systems.
-Tag: php-script-but-no-php4-cgi-dep
+Tag: php-script-but-no-php4-cgi-or-php4-cli-dep
Type: error
Info: Packages that use PHP scripts with /usr/bin/php as interpreter must
- depend on the php4-cgi package.
+ depend on the php4-cgi or php4-cli package.
.
In some cases a weaker relationship, such as Suggests or Recommends, will
be more appropriate.
Reply to: