Author: rra
Date: 2008-06-07 01:29:03 +0200 (Sat, 07 Jun 2008)
New Revision: 1344

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
* checks/binaries:
  + [RA] Fix code for filtering out NSS modules from SONAME checks.

Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries       2008-06-06 22:37:26 UTC (rev 1343)
+++ trunk/checks/binaries       2008-06-06 23:29:03 UTC (rev 1344)
@@ -125,10 +125,10 @@
 sub lib_soname_path {
     my (@paths) = @_;
     foreach my $path (@paths) {
+       next if $path =~ m%^(\.?/)?lib/libnss_[^.]+\.so(\.[0-9]+)$%;
        return 1 if $path =~ m%^(\.?/)?lib/[^/]+$%;
        return 1 if $path =~ m%^(\.?/)?usr/lib/[^/]+$%;
        return 1 if $path =~ m%^(\.?/)?usr/X11R6/lib/[^/]+$%;
-       return 1 if $path =~ m%^(\.?/)?lib/libnss_[^.]+\.so(\.[0-9]+)$%;
     }
     return 0;
 }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-06-06 22:37:26 UTC (rev 1343)
+++ trunk/debian/changelog      2008-06-06 23:29:03 UTC (rev 1344)
@@ -1,5 +1,7 @@
 lintian (1.23.50) unstable; urgency=low
 
+  * checks/binaries:
+    + [RA] Fix code for filtering out NSS modules from SONAME checks.
   * checks/common_data.pm:
     + [RA] armel is now a standard architecture.
   * checks/control-file{.desc,}:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to