lintian: r432 - in trunk: checks debian testset testset/scripts testset/scripts/debian
Author: he
Date: 2005-07-09 09:45:38 +0200 (Sat, 09 Jul 2005)
New Revision: 432
Added:
trunk/testset/scripts/lefty-foo
Modified:
trunk/checks/scripts
trunk/checks/scripts.desc
trunk/debian/changelog
trunk/testset/scripts/debian/rules
trunk/testset/tags.scripts
Log:
checks/scripts:
+ [HE] Add lefty as a valid interpreter and check for a correct dependency
on graphviz. (Closes: #295093)
Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts 2005-07-09 07:43:31 UTC (rev 431)
+++ trunk/checks/scripts 2005-07-09 07:45:38 UTC (rev 432)
@@ -49,6 +49,7 @@
'js' => '/usr/bin/js',
'kforth' => '/usr/bin/kforth',
'ksh' => '/bin/ksh',
+ 'lefty' => '/usr/bin/lefty',
'magicfilter' => '/usr/sbin/magicfilter',
'make' => '/usr/bin/make',
'mawk' => '/usr/bin/mawk',
@@ -111,6 +112,7 @@
'js' => 'ngs-js',
'kforth' => 'kforth',
'ksh' => 'pdksh',
+ 'lefty' => 'graphviz',
'magicfilter' => 'magicfilter',
'make' => 'make,build-essential',
'mawk' => 'mawk',
Modified: trunk/checks/scripts.desc
===================================================================
--- trunk/checks/scripts.desc 2005-07-09 07:43:31 UTC (rev 431)
+++ trunk/checks/scripts.desc 2005-07-09 07:45:38 UTC (rev 432)
@@ -646,3 +646,14 @@
This should be avoided, as the correct syntax is 'chown user:group'.
Using "." as a separator is still supported by the GNU tools, but it will
fail as soon as a system uses the "." in user or group names.
+
+Tag: wrong-path-for-lefty
+Type: error
+Info: lefty is installed as /usr/bin/lefty on Debian systems.
+
+Tag: lefty-script-but-no-graphviz-dep
+Type: error
+Info: Packages that use lefty must depend on the package graphviz.
+ .
+ In some cases a weaker relationship, such as Suggests or Recommends, will
+ be more appropriate.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-07-09 07:43:31 UTC (rev 431)
+++ trunk/debian/changelog 2005-07-09 07:45:38 UTC (rev 432)
@@ -32,6 +32,8 @@
+ [HE] Fix to work $interpreter-script-but-no-$pkg-dep with more than one
dependency if needed. First use case is depending on build-essential
to provide /usr/bin/make. (Closes: #294894)
+ + [HE] Add lefty as a valid interpreter and check for a correct dependency
+ on graphviz. (Closes: #295093)
* checks/shared-libs:
+ [HE] Don't allow non-PIC shared libraries. This conforms to the new
Modified: trunk/testset/scripts/debian/rules
===================================================================
--- trunk/testset/scripts/debian/rules 2005-07-09 07:43:31 UTC (rev 431)
+++ trunk/testset/scripts/debian/rules 2005-07-09 07:45:38 UTC (rev 432)
@@ -19,6 +19,7 @@
install -m 755 perlfoo $(tmp)/usr/bin/
install -m 755 rubyfoo $(tmp)/usr/bin/
install -m 755 make-foo $(tmp)/usr/bin/
+ install -m 755 lefty-foo $(tmp)/usr/bin/
install -m 4755 perlfoo $(tmp)/usr/bin/suidperlfoo2
install -m 4755 suidperlfoo $(tmp)/usr/bin/
install -m 755 tkfoo $(tmp)/usr/bin/
Added: trunk/testset/scripts/lefty-foo
===================================================================
--- trunk/testset/scripts/lefty-foo 2005-07-09 07:43:31 UTC (rev 431)
+++ trunk/testset/scripts/lefty-foo 2005-07-09 07:45:38 UTC (rev 432)
@@ -0,0 +1,2 @@
+#!/usr/local/bin/lefty
+
Modified: trunk/testset/tags.scripts
===================================================================
--- trunk/testset/tags.scripts 2005-07-09 07:43:31 UTC (rev 431)
+++ trunk/testset/tags.scripts 2005-07-09 07:45:38 UTC (rev 432)
@@ -1,12 +1,15 @@
E: scripts: calls-suidperl-directly ./usr/bin/suidperlfoo
+E: scripts: lefty-script-but-no-graphviz-dep ./usr/bin/lefty-foo
E: scripts: no-copyright-file
E: scripts: python-script-but-no-python-dep ./usr/bin/py2foo
E: scripts: python-script-but-no-python-dep ./usr/bin/pyfoo
E: scripts: suid-perl-script-but-no-perl-suid-dep ./usr/bin/suidperlfoo2
+E: scripts: wrong-path-for-lefty ./usr/bin/lefty-foo #!/usr/local/bin/lefty
E: scripts: wrong-path-for-ruby ./usr/bin/rubyfoo #!/bin/ruby1.8
W: scripts source: ancient-standards-version 3.2.1
W: scripts source: changelog-should-mention-nmu
W: scripts source: source-nmu-has-incorrect-version-number 6
+W: scripts: binary-without-manpage lefty-foo
W: scripts: binary-without-manpage make-foo
W: scripts: binary-without-manpage perlfoo
W: scripts: binary-without-manpage py2foo
Reply to: