[Pkg-openldap-devel] [openldap] 14/29: Lintian cleanup: Perms on shlibs, manpage sections

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:34:13 UTC 2013


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

tjaalton-guest pushed a commit to annotated tag 2.2.23-0.pre1
in repository openldap.

commit 615bb357b5d1a6ee6e81e97b7d8621e656e5a68c
Author: Torsten Landschoff <torsten at debian.org>
Date:   Thu Jan 13 12:49:55 2005 +0000

    Lintian cleanup: Perms on shlibs, manpage sections
---
 debian/changelog |    4 ++++
 debian/rules     |    6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5cddfcb..5b73b74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ openldap2 (2.2.18-0.pre2) experimental; urgency=low
       requested.
     + Update config.guess and config.sub in debian/rules clean as well.
       First update done.
+    + debian/rules (install): Fix the manpage section of the admin commands 
+      from 8C to 8.
+    + debian/rules (binary-arch): Run dh_fixperms to fix the permissions 
+      on shared libraries.
 
  -- Torsten Landschoff <torsten at pulsar.galaxy>  Thu, 13 Jan 2005 11:53:28 +0100
 
diff --git a/debian/rules b/debian/rules
index 45ecfef..2c60653 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,9 @@ install-stamp: build-stamp
 	$(MAKE) -C $(builddir) DESTDIR=$(installdir) install
 	# Upstream installs schema files in mode 0444 - policy wants 0644
 	find $(installdir)/etc -type f|xargs chmod 0644
+	# Upstream manpages are section 8C but installed as section 8
+	find $(installdir)/usr/share/man -name \*.8 \
+		| xargs perl -pi -e 's#(\.TH \w+ 8)C#$$1#'
 	touch $@
 
 
@@ -81,10 +84,11 @@ binary-arch: install-stamp
 	dh_strip -a
 	dh_link -a
 	dh_compress -a
+	dh_fixperms -a
 	dh_makeshlibs -plibldap2.2
 	dh_installdeb -a
 	perl -w debian/dh_installscripts-common -p slapd
-	dh_shlibdeps -a
+	dh_shlibdeps -a -l$(installdir)/usr/lib
 	dh_gencontrol -a
 	dh_md5sums -a
 	dh_builddeb -a

-- 
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