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

[SCM] Debian package checker branch, master, updated. 2.5.4-57-gb84f46a



The following commit has been merged in the master branch:
commit b84f46a7ab489beab67b6e34003336b05d7f24dd
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Dec 21 19:58:57 2011 +0100

    debhelper only treats executable files specially with compat 9
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/debhelper b/checks/debhelper
index d30a280..d5250ff 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -341,7 +341,7 @@ foreach my $file (sort readdir(DEBIAN)) {
             next if $level < 3;
             # Do not make assumptions about the contents of an
             # executable debhelper file.
-            next if -x "$droot/$file";
+            next if -x "$droot/$file" && $level >= 9;
             open (IN, '<', "$droot/$file")
                 or fail("Can't open debfiles/$file: $!");
             local $_;
diff --git a/debian/changelog b/debian/changelog
index 2522e19..406ce90 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,7 +17,8 @@ lintian (2.5.5) UNRELEASED; urgency=low
       Felix Geyer for the report.  (Closes: #650325)
   * checks/debhelper:
     + [NT] Do not check executable debhelper files for brace
-      expansion.  It may be allowed by tool interpretting the file.
+      expansion if compat is 9 (or greater).  It may be allowed by
+      tool interpretting the file.
   * checks/fields{,.desc}:
     + [JW] Properly handle uploader names with commas.
       (Closes: #485705)

-- 
Debian package checker


Reply to: