lintian: r278 - in trunk: checks debian testset/scripts/debian
Author: djpig
Date: 2004-05-31 14:54:17 +0200 (Mon, 31 May 2004)
New Revision: 278
Modified:
trunk/checks/scripts
trunk/debian/changelog
trunk/testset/scripts/debian/rules
Log:
Don't issue executable-not-elf-or-script for files
that are named *.exe on request of mono maintainers (Closes: #251075)
Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts 2004-05-31 12:49:33 UTC (rev 277)
+++ trunk/checks/scripts 2004-05-31 12:54:17 UTC (rev 278)
@@ -288,7 +288,11 @@
foreach (keys %executable) {
tag_warn("executable-not-elf-or-script", $_)
- unless $ELF{$_} or $scripts{$_} or $_ =~ m,^usr(/X11R6)?/man/,;
+ unless ( $ELF{$_}
+ or $scripts{$_}
+ or $_ =~ m,^usr(/X11R6)?/man/,
+ or $_ =~ m/\.exe$/ # mono convention
+ );
}
open(SCRIPTS, "control-scripts")
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-05-31 12:49:33 UTC (rev 277)
+++ trunk/debian/changelog 2004-05-31 12:54:17 UTC (rev 278)
@@ -49,6 +49,9 @@
Manoj Srivastava for reporting (Closes: #247805)
* checks/po-debconf:
+ [JvW] Simply fail if stuff from gettext is missing.
+ * checks/scripts:
+ + [FL] Don't issue executable-not-elf-or-script for files
+ that are named *.exe on request of mono maintainers (Closes: #251075)
* checks/shared-libs:
+ [FL] Don't report shlib-with-executable-bit and
shlib-with-bad-permissions on symbolic links to such files
Modified: trunk/testset/scripts/debian/rules
===================================================================
--- trunk/testset/scripts/debian/rules 2004-05-31 12:49:33 UTC (rev 277)
+++ trunk/testset/scripts/debian/rules 2004-05-31 12:54:17 UTC (rev 278)
@@ -19,10 +19,13 @@
install -m 4755 perlfoo $(tmp)/usr/bin/suidperlfoo2
install -m 4755 suidperlfoo $(tmp)/usr/bin/
install -m 755 tkfoo $(tmp)/usr/bin/
-
+
echo "#!/usr/bin/perl" >> $(tmp)/usr/share/scripts/foobar.in
chmod 644 $(tmp)/usr/share/scripts/foobar.in
-
+
+ touch $(tmp)/usr/share/scripts/mono.exe
+ chmod 755 $(tmp)/usr/share/scripts/mono.exe
+
touch $(tmp)/usr/lib/python2.3/site-packages/test.pyc
cp debian/changelog $(tmp)/usr/share/doc/scripts/changelog
gzip -9 $(tmp)/usr/share/doc/scripts/changelog
Reply to: