[Pkg-openldap-devel] r834 - openldap/trunk-2.3/debian

Russ Allbery rra at alioth.debian.org
Sun Jun 3 04:42:37 UTC 2007


Author: rra
Date: 2007-06-03 04:42:37 +0000 (Sun, 03 Jun 2007)
New Revision: 834

Modified:
   openldap/trunk-2.3/debian/changelog
   openldap/trunk-2.3/debian/control
   openldap/trunk-2.3/debian/rules
Log:
* Add libldap-2.3-0-dbg and slapd-dbg packages with detached debugging
  information.

Modified: openldap/trunk-2.3/debian/changelog
===================================================================
--- openldap/trunk-2.3/debian/changelog	2007-06-02 18:46:30 UTC (rev 833)
+++ openldap/trunk-2.3/debian/changelog	2007-06-03 04:42:37 UTC (rev 834)
@@ -13,6 +13,8 @@
   * Remove slapd conflicts with libbind-dev and bind-dev.  There no longer
     appears to be anything in those packages that would break slapd's
     resolver.  (Closes: #225896)
+  * Add libldap-2.3-0-dbg and slapd-dbg packages with detached debugging
+    information.
   * db_recover is no longer required after changing DB_CONFIG; slapd now
     detects changes itself and does the right thing.  Also note in
     README.DB_CONFIG the existence of the dbconfig slapd.conf parameter
@@ -28,7 +30,7 @@
     for non-DFSG-free material by setting a variable. Thanks, Peter
     Marschall.  (Closes: #427245)
 
- -- Russ Allbery <rra at debian.org>  Sat, 02 Jun 2007 11:46:24 -0700
+ -- Russ Allbery <rra at debian.org>  Sat, 02 Jun 2007 20:43:22 -0700
 
 openldap2.3 (2.3.35-1) unstable; urgency=low
 

Modified: openldap/trunk-2.3/debian/control
===================================================================
--- openldap/trunk-2.3/debian/control	2007-06-02 18:46:30 UTC (rev 833)
+++ openldap/trunk-2.3/debian/control	2007-06-03 04:42:37 UTC (rev 834)
@@ -48,3 +48,24 @@
  These are the run-time libraries for the OpenLDAP (Lightweight Directory
  Access Protocol) servers and clients.
 
+Package: libldap-2.3-0-dbg
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libldap-2.3-0 (= ${binary:Version})
+Description: Debugging information for OpenLDAP libraries
+ 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: slapd-dbg
+Section: net
+Priority: extra
+Architecture: any
+Depends: slapd (= ${binary:Version})
+Description: Debugging information for the OpenLDAP server (slapd)
+ Detached debugging information for the OpenLDAP (Lightweight Directory
+ Access Protocol) standalone 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.

Modified: openldap/trunk-2.3/debian/rules
===================================================================
--- openldap/trunk-2.3/debian/rules	2007-06-02 18:46:30 UTC (rev 833)
+++ openldap/trunk-2.3/debian/rules	2007-06-03 04:42:37 UTC (rev 834)
@@ -18,9 +18,6 @@
 else
 CFLAGS += -O2
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_PROGRAM += -s
-endif
 
 CONFIG	      = $(shell grep -v "^\#" debian/configure.options)
 
@@ -28,7 +25,7 @@
 tmpdir		:= $(CURDIR)/debian/tmp
 builddir	:= $(CURDIR)/debian/build
 
-MAKEVARS	:= DESTDIR=$(installdir)
+MAKEVARS	:= DESTDIR=$(installdir) STRIP=
 
 # Include the quilt patch system.
 include /usr/share/quilt/quilt.make
@@ -136,7 +133,9 @@
 	dh_installdebconf -a
 	# when using OpenSSL, we do not need to add crontab entries
 	#dh_installcron -a
-	dh_strip -a
+	dh_strip -plibldap-2.3-0 --dbg-package=libldap-2.3-0-dbg
+	dh_strip -pslapd --dbg-package=slapd-dbg
+	dh_strip -pldap-utils
 	dh_link -a
 	dh_compress -a
 	dh_fixperms -a




More information about the Pkg-openldap-devel mailing list