]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_fixperms: Tighten globs used to find library .so files, avoiding incorrectly match...
authorJoey Hess <joey@kitenet.net>
Thu, 27 May 2010 07:00:41 +0000 (03:00 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 27 May 2010 07:00:41 +0000 (03:00 -0400)
debian/changelog
dh_fixperms

index c851773ce70f102ab44479bf928e6323077755db..6e2aced954733ea1860e1c058fafbaca130e9fba 100644 (file)
@@ -16,6 +16,8 @@ debhelper (7.4.21) UNRELEASED; urgency=low
   * dh_testversion: Removed this deprecated command.
   * debian/compress files are now deprecated. Seems only one package
     (genesis) still uses them.
+  * dh_fixperms: Tighten globs used to find library .so files,
+    avoiding incorrectly matching things like "foo.sources". Closes: #583328
 
  -- Joey Hess <joeyh@debian.org>  Mon, 17 May 2010 20:01:19 -0400
 
index 10261493fe85516f612e7cb8ad59cc03ce5a6b0f..893ca56482e76649107805b65abd1af0f4466951 100755 (executable)
@@ -72,7 +72,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        # ..and so are executable shared and static libraries 
        # (and .la files from libtool) ..
        complex_doit("find $tmp -perm -5 -type f",
-               "\\( -name '*.so*' -or -name '*.la' -or -name '*.a' \\) $find_options -print0",
+               "\\( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \\) $find_options -print0",
                "2>/dev/null | xargs -0r chmod 644");
        
        # ..and header files ..