Bug#332595: debhelper: dh_fixperms should set all .ali files to 0444
Package: debhelper Version: 8.9.7 dh_fixperms looks for ali files in usr/lib and ignores the multiarch path. Please consider the attached suggestion, once reviewed by someone with perl experience. --- /usr/bin/dh_fixperms 2011-09-12 03:47:55.0 +0200 +++ /tmp/dh_fixperms 2011-09-12 12:21:07.0 +0200 @@ -105,10 +105,12 @@ } # ADA ali files should be mode 444 to avoid recompilation - if (-d $tmp/usr/lib/ada) { - complex_doit(find $tmp/usr/lib/ada -type f, - -name '*.ali' $find_options -print0, - 2/dev/null | xargs -0r chmod uga-w); +foreach my $ali_dir ($tmp/usr/lib/ada, $tmp/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/ada) { + if (-d $ali_dir) { + complex_doit(find $ali_dir -type f, +-name '*.ali' $find_options -print0, +2/dev/null | xargs -0r chmod uga-w); + } } # Lintian overrides should never be executable, too.
Bug#332595: debhelper: dh_fixperms should set all .ali files to 0444
Package: debhelper Version: 4.9.8 Severity: wishlist This is related to #226879 and #227162. It would be nice if dh_fixperms would set permissions of all .ali files to r--r--r-- (0444). Thanks. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (600, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages debhelper depends on: ii binutils 2.16.1-2 The GNU assembler, linker and bina ii coreutils [fileutils] 5.2.1-2.1 The GNU core utilities ii debconf-utils 1.4.58 debconf utilities ii dpkg-dev 1.13.11package building tools for Debian ii file 4.12-1 Determines file type using magic ii html2text 1.3.2a-3 An advanced HTML to text converter ii perl 5.8.7-3Larry Wall's Practical Extraction ii po-debconf0.9.0 manage translated Debconf template debhelper recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]