[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r804 - trunk/checks



Author: jaalto
Date: 2007-01-30 08:05:23 +0100 (Tue, 30 Jan 2007)
New Revision: 804

Modified:
   trunk/checks/scripts
Log:
* checks/scripts
  + [JA] Added check for `openbsd-inetd | inet-superserver'
    which compliments the older check `netbase | update-inetd'.
    Applied patch to implement this by Tatsuya Kinoshita (Closes #402319).



Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts	2007-01-30 07:00:15 UTC (rev 803)
+++ trunk/checks/scripts	2007-01-30 07:05:23 UTC (rev 804)
@@ -165,10 +165,11 @@
 # reported is maintainer-script-needs-depends-on-%s, so be sure to update
 # scripts.desc when adding a new rule.
 my @depends_needed = (
-	[ adduser => '\badduser\b' ],
-	[ 'gconf2 (>= 2.10.1-2)' => '\bgconf-schemas\b' ],
-	[ 'netbase | update-inetd' => '\bupdate-inetd\b' ],
-	[ ucf => '\bucf\s' ],
+	[ adduser                               => '\badduser\b'        ],
+	[ 'gconf2 (>= 2.10.1-2)'                => '\bgconf-schemas\b'  ],
+	[ 'netbase | update-inetd'              => '\bupdate-inetd\b'   ],
+        [ 'openbsd-inetd | inet-superserver'    => '\bupdate-inetd\b'   ],
+	[ ucf                                   => '\bucf\s'            ],
 );
 
 my %executable = ();
@@ -356,7 +357,7 @@
 
 foreach (keys %executable) {
     tag_warn("executable-not-elf-or-script", $_)
-	unless ( $ELF{$_} 
+	unless ( $ELF{$_}
 		 or $scripts{$_}
 		 or $_ =~ m,^usr(/X11R6)?/man/,
 		 or $_ =~ m/\.exe$/ # mono convention
@@ -398,7 +399,7 @@
 	    unless ($base eq 'sh'
 		    or $base eq 'bash'
 		    or $base eq 'perl');
-	
+
 	if (exists $interpreter_dependencies{$base}) {
 	    tag_error("interpreter-without-predep", $filename,
 		      "#!$interpreter")
@@ -644,7 +645,7 @@
     }
 }
 
-# Returns non-zero if the given file is not actually a shell script, 
+# Returns non-zero if the given file is not actually a shell script,
 # just looks like one.
 sub script_is_evil_and_wrong {
     my ($filename) = @_;



Reply to: