[Pkg-freeipa-devel] freeipa: Changes to 'master'

Timo Aaltonen tjaalton at moszumanska.debian.org
Wed Oct 5 22:22:33 UTC 2016


 debian/changelog |    7 +++++++
 debian/rules     |    8 ++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

New commits:
commit f5b7751bcacd286e8e1941170123615e7163bf2c
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Thu Oct 6 01:22:22 2016 +0300

    releasing package freeipa version 4.3.2-3

diff --git a/debian/changelog b/debian/changelog
index e50298a..ca02711 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-freeipa (4.3.2-3) UNRELEASED; urgency=medium
+freeipa (4.3.2-3) unstable; urgency=medium
 
   * rules: Add a check to override_dh_fixperms so that chmod is not run
     on arch-indep build where the targets don't exist. (Closes: #839844)
 
- -- Timo Aaltonen <tjaalton at debian.org>  Wed, 05 Oct 2016 21:22:01 +0300
+ -- Timo Aaltonen <tjaalton at debian.org>  Thu, 06 Oct 2016 01:22:13 +0300
 
 freeipa (4.3.2-2) unstable; urgency=medium
 

commit 2bf9b08353f55bcc1d06aea91616aa7436327e99
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Wed Oct 5 21:35:47 2016 +0300

    rules: Add a check to override_dh_fixperms so that chmod is not run on arch-indep build where the targets don't exist. (Closes: #839844)

diff --git a/debian/changelog b/debian/changelog
index 65d8e44..e50298a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+freeipa (4.3.2-3) UNRELEASED; urgency=medium
+
+  * rules: Add a check to override_dh_fixperms so that chmod is not run
+    on arch-indep build where the targets don't exist. (Closes: #839844)
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Wed, 05 Oct 2016 21:22:01 +0300
+
 freeipa (4.3.2-2) unstable; urgency=medium
 
   * copyright: Since ffb9a09a0d all original code should be GPL-3+, so
diff --git a/debian/rules b/debian/rules
index 2647fe7..794f7bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -117,8 +117,12 @@ override_dh_systemd_enable:
 
 override_dh_fixperms:
 	dh_fixperms
-	chmod 0700 $(CURDIR)/debian/freeipa-server/etc/ipa/custodia
-	chmod 0700 $(CURDIR)/debian/freeipa-server/var/lib/ipa/backup
+
+	# check needed to not fail arch-indep build which doesn't run dh_installdirs
+	if [ -d $(CURDIR)/debian/freeipa-server/etc/ipa/custodia ]; then \
+	    chmod 0700 $(CURDIR)/debian/freeipa-server/etc/ipa/custodia; \
+	    chmod 0700 $(CURDIR)/debian/freeipa-server/var/lib/ipa/backup; \
+	fi
 
 %:
 	dh $@ --with autoreconf,python2,systemd



More information about the Pkg-freeipa-devel mailing list