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

[lintian] 01/01: checks/shared-libs: Relax ld.so regexp



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 0fd4a724c9d9db5ccd0909b79a7294cb099f9628
Author: Jakub Wilk <jwilk@debian.org>
Date:   Thu Oct 20 16:10:26 2016 +0200

    checks/shared-libs: Relax ld.so regexp
    
    ld.so is now shipped in a multi-arch directory (e.g.,
    /lib/i386-linux-gnu), which the original regexp didn't cover.
---
 checks/shared-libs.pm | 2 +-
 debian/changelog      | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/shared-libs.pm b/checks/shared-libs.pm
index a833b09..00d019e 100644
--- a/checks/shared-libs.pm
+++ b/checks/shared-libs.pm
@@ -151,7 +151,7 @@ sub run {
                 # special.
                 tag 'shlib-with-executable-bit', $cur_file, $perms
                   unless ($objdump->{$cur_file}{INTERP}
-                    or $cur_file =~ m,^lib(?:32|64)?/ld-[\d.]+\.so$,);
+                    or $cur_file =~ m,^lib.*/ld-[\d.]+\.so$,);
             } elsif ($perm != 0644) {
                 tag 'shlib-with-bad-permissions', $cur_file, $perms;
             }
diff --git a/debian/changelog b/debian/changelog
index b90cc76..e1207f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ lintian (2.5.49) UNRELEASED; urgency=medium
   * checks/init.d.pm:
     + [JW] Don't require version constraint for lsb-base dependencies.
       The needed version has been available for many stable releases.
+  * checks/shared-libs.pm:
+    + [JW] Don't complain about executable bit for ld.so shipped in
+      multi-arch directories.
   * checks/source-copyright.pm:
     + [RA, JW] Fix handling punctuation characters in license expressions
       in machine-readable copyright files.  (Closes: #841356)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: