lintian: r641 - in trunk: checks debian testset
Author: rra
Date: 2006-04-27 07:50:58 +0200 (Thu, 27 Apr 2006)
New Revision: 641
Modified:
trunk/checks/scripts
trunk/debian/changelog
trunk/testset/tags.scripts
Log:
* checks/scripts:
+ [RA] Debian etch release policy explicitly forbids scripts without
#! magic and they rely on being run from a shell. Revert the change
that permitted the Perl magic without a #! line. Thanks to Piotr
Engelking and Steve Langasek for pointing this out.
Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts 2006-04-27 05:35:24 UTC (rev 640)
+++ trunk/checks/scripts 2006-04-27 05:50:58 UTC (rev 641)
@@ -345,7 +345,6 @@
or $scripts{$_}
or $_ =~ m,^usr(/X11R6)?/man/,
or $_ =~ m/\.exe$/ # mono convention
- or script_is_evil_and_wrong("unpacked/$_")
);
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-04-27 05:35:24 UTC (rev 640)
+++ trunk/debian/changelog 2006-04-27 05:50:58 UTC (rev 641)
@@ -11,6 +11,11 @@
states they should be installed in /usr/lib/cgi-lib.
+ [RA] Warn about scripts installed on the user's PATH with names that
include language extensions (.sh, .pl, .py), per Policy 10.4.
+ * checks/scripts:
+ + [RA] Debian etch release policy explicitly forbids scripts without
+ #! magic and they rely on being run from a shell. Revert the change
+ that permitted the Perl magic without a #! line. Thanks to Piotr
+ Engelking and Steve Langasek for pointing this out.
* checks/scripts.desc:
+ [RA] Using invoke-rc.d is now required by Policy.
* checks/standards-version:
Modified: trunk/testset/tags.scripts
===================================================================
--- trunk/testset/tags.scripts 2006-04-27 05:35:24 UTC (rev 640)
+++ trunk/testset/tags.scripts 2006-04-27 05:50:58 UTC (rev 641)
@@ -24,6 +24,7 @@
W: scripts: binary-without-manpage suidperlfoo2
W: scripts: binary-without-manpage test.sh
W: scripts: binary-without-manpage tkfoo
+W: scripts: executable-not-elf-or-script ./usr/bin/perl-bizarre-3
W: scripts: file-in-usr-lib-cgi-bin usr/lib/cgi-bin/cgi-script
W: scripts: package-installs-python-pyc usr/lib/python2.3/site-packages/test.pyc
W: scripts: script-with-language-extension usr/bin/test.sh
Reply to: