From d4bb3432196db270c979bb9a54e44e915d46f26f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 27 May 2010 03:00:41 -0400 Subject: dh_fixperms: Tighten globs used to find library .so files, avoiding incorrectly matching things like "foo.sources". Closes: #583328 --- debian/changelog | 2 ++ dh_fixperms | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c851773c..6e2aced9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 17 May 2010 20:01:19 -0400 diff --git a/dh_fixperms b/dh_fixperms index 10261493..893ca564 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -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 .. -- cgit v1.2.3