[Pkg-openldap-devel] [openldap] 01/02: Move ldiftopasswd chmod to override_dh_fixperms

Ryan Tandy rtandy-guest at moszumanska.debian.org
Tue Nov 29 02:52:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

rtandy-guest pushed a commit to branch master
in repository openldap.

commit 97013b96c02b31201665b3dd9cc4b5e6210e4669
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Mon Nov 28 18:31:43 2016 -0800

    Move ldiftopasswd chmod to override_dh_fixperms
---
 debian/changelog | 2 ++
 debian/rules     | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 46027da..8a88464 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ openldap (2.4.44+dfsg-2) UNRELEASED; urgency=medium
     arch-independent packages. (Closes: #845506)
   * Override lintian false positives on slapd.README.Debian, 
     slapd-smbk5pwd.postinst, and slapd-smbk5pwd triggering ldconfig.
+  * Perform permissions changes in override_dh_fixperms instead of in 
+    override_dh_install.
 
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass CC to make explicitly. (Closes: #839251)
diff --git a/debian/rules b/debian/rules
index cc9dbc7..93c85c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -147,7 +147,6 @@ ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 override_dh_install-arch:
 	dh_install
 	rm -rf $(CURDIR)/debian/slapd/usr/lib/ldap/smbk5pwd*
-	chmod 0755 $(CURDIR)/debian/slapd/usr/share/slapd/ldiftopasswd
 endif
 
 override_dh_installinit:
@@ -157,6 +156,10 @@ ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 override_dh_installman:
 	dh_installman
 	rm -f $(CURDIR)/debian/slapd/usr/share/man/man5/slapo-smbk5pwd.*
+
+override_dh_fixperms-arch:
+	dh_fixperms
+	chmod +x $(CURDIR)/debian/slapd/usr/share/slapd/ldiftopasswd
 endif
 
 override_dh_strip:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list