From: Joey Hess <joey@kitenet.net>
Date: Fri, 9 Dec 2011 17:53:45 +0000 (-0400)
Subject: Only enable executable config files in v9. The quality of file permissions in debian... 
X-Git-Tag: 8.9.13~1
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=77b80367ad0cfdbb3d78242fda3127559e2df576;p=debhelper.git

Only enable executable config files in v9. The quality of file permissions in debian/ directories turns out to be atrocious; who knew?
---

diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index a86688a..3940c05 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -613,7 +613,8 @@ sub filedoublearray {
 	my $file=shift;
 	my $globdir=shift;
 
-	my $x=-x $file;
+	# executable confi files are a v9 thing.
+	my $x=! compat(8) && -x $file;
 	if ($x) {
 		require Cwd;
 		my $cmd=Cwd::abs_path($file);
diff --git a/debhelper.pod b/debhelper.pod
index 72234ca..dc2295c 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -514,6 +514,11 @@ F<Build.PL>
 B<dh_strip> puts separated debug symbols in a location based on their
 build-id.
 
+=item -
+
+Executable debconf config files are run and their output used as the
+configuration.
+
 =back
 
 =back
diff --git a/debian/changelog b/debian/changelog
index 43c9d4a..682700a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,13 @@
-debhelper (8.9.13) UNRELEASED; urgency=low
+debhelper (8.9.13) unstable; urgency=low
 
   * Pass CPPFLAGS to qmake. Closes: #646129 Thanks, Felix Geyert
   * dh_strip: Use build-id in /usr/lib/debug in v9.
     Closes: #642158 Thanks, Jakub Wilk
   * Spanish translation update. Closes: #636245 Thanks, Omar Campagne
+  * Only enable executable config files in v9. The quality of file permissions
+    in debian/ directories turns out to be atrocious; who knew?
 
- -- Joey Hess <joeyh@debian.org>  Thu, 08 Dec 2011 18:27:02 -0400
+ -- Joey Hess <joeyh@debian.org>  Fri, 09 Dec 2011 13:53:38 -0400
 
 debhelper (8.9.12) unstable; urgency=low