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

[SCM] Debian package checker branch, master, updated. 2.5.3-33-gb8064a5



The following commit has been merged in the master branch:
commit b8064a5cb9378602282efa4d0f9ecb9c3969f2e0
Author: Jakub Wilk <jwilk@debian.org>
Date:   Wed Sep 28 13:16:17 2011 +0200

    Improve "linked against libvga.so" test
    
    Acked-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/files b/checks/files
index f9bda8f..82c82fd 100644
--- a/checks/files
+++ b/checks/files
@@ -181,9 +181,10 @@ foreach my $file (sort keys %{$info->objdump_info}) {
     my $objdump = $info->objdump_info->{$file};
 
     if (defined $objdump->{NEEDED}) {
-        my $lib = $objdump->{NEEDED};
-        $linked_against_libvga{$file} = 1
-            if $lib =~ m/libvga/;
+        for my $lib (@{$objdump->{NEEDED}}) {
+            $linked_against_libvga{$file} = 1
+                if $lib =~ /^libvga\.so\./;
+        }
     }
 }
 
diff --git a/debian/changelog b/debian/changelog
index 2730722..2dcac3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,9 +12,11 @@ lintian (2.5.4) UNRELEASED; urgency=low
   * checks/dehelper:
     + [JW,NT] Check for versioned dependencies for some dh_commands.
       (Closes: #641035)
-  * checks/files.desc:
+  * checks/files{,.desc}:
     + [JW] Suggest the usage of "-delete" rather than "| xargs rm -f".
       (Closes: #641983)
+    + [JW] Improve "linked against libvga.so" test.  This avoid
+      setuid-binary false-positives.  (Closes: #642038)
   * checks/scripts:
     + [RA] Exclude files ending in *.erb from several shell script
       checks.  ERB is a Ruby templating language, so these will probably

-- 
Debian package checker


Reply to: