[Pkg-openldap-devel] [openldap] 06/13: Drop manual dbg packages

Ryan Tandy rtandy-guest at moszumanska.debian.org
Fri Jul 28 03:20:51 UTC 2017


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

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

commit baa9d16df30d12bd49e956bb16f7c5a84cfc651b
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Wed Jul 26 19:43:41 2017 -0700

    Drop manual dbg packages
---
 debian/changelog |  2 ++
 debian/control   | 26 --------------------------
 debian/rules     |  6 +++---
 3 files changed, 5 insertions(+), 29 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 718d501..b846218 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ openldap (2.4.45+dfsg-1) UNRELEASED; urgency=medium
     - Drop dh-autoreconf from build-depends since debhelper requires it.
   * Add -Wno-format-extra-args to CFLAGS to reduce the noise in the build 
     logs, as this warning is emitted on each use of the Debug() macro.
+  * Drop libldap-2.4-4-dbg and slapd-dbg binary packages in favour of 
+    automatic dbgsym packages.
 
  -- Ryan Tandy <ryan at nardis.ca>  Mon, 17 Jul 2017 20:30:07 -0700
 
diff --git a/debian/control b/debian/control
index d05ffdb..43e311e 100644
--- a/debian/control
+++ b/debian/control
@@ -101,19 +101,6 @@ Description: OpenLDAP common files for libraries
  These are common files for the run-time libraries for the OpenLDAP
  (Lightweight Directory Access Protocol) servers and clients.
 
-Package: libldap-2.4-2-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Multi-Arch: same
-Depends: libldap-2.4-2 (= ${binary:Version}), ${misc:Depends}
-Description: Debugging information for OpenLDAP libraries
- This package provides detached debugging information for the OpenLDAP
- (Lightweight Directory Access Protocol) libraries. It is useful
- primarily to permit better backtraces and crash dump analysis after
- problems with the libraries. GDB will find this debug information
- automatically.
-
 Package: libldap2-dev
 Section: libdevel
 Priority: extra
@@ -127,16 +114,3 @@ Description: OpenLDAP development libraries
  This package allows development of LDAP applications using the OpenLDAP
  libraries. It includes headers, libraries and links to allow static and
  dynamic linking.
-
-Package: slapd-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Build-Profiles: <!stage1>
-Depends: slapd (= ${binary:Version}), ${misc:Depends}
-Description: Debugging information for the OpenLDAP server (slapd)
- This package provides detached debugging information for the OpenLDAP
- (Lightweight Directory Access Protocol) server (slapd). It is useful
- primarily to permit better backtraces and crash dump analysis after
- problems with the libraries. GDB will find this debug information
- automatically.
diff --git a/debian/rules b/debian/rules
index 4034f46..a138fc6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -169,11 +169,11 @@ override_dh_fixperms-arch:
 endif
 
 override_dh_strip:
-	dh_strip -plibldap-2.4-2 --dbg-package=libldap-2.4-2-dbg
+	dh_strip -plibldap-2.4-2 --dbgsym-migration='libldap-2.4-2-dbg (<< 2.4.45+dfsg-1~)'
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
-	dh_strip -pslapd --dbg-package=slapd-dbg
+	dh_strip -pslapd --dbgsym-migration='slapd-dbg (<< 2.4.45+dfsg-1~)'
 endif
-	dh_strip -Nlibldap-2.4-2 -Nslapd
+	dh_strip --remaining-packages
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 	# hardlink these so not confined by apparmor; do this here and not
 	# in dh_link so that dh_strip doesn't get confused and put the wrong

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