From 304a6c51a98dc029f5067460f965b344984c76ee Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 19 Nov 2016 21:05:20 +0100 Subject: Add debug package --- debian/control | 12 ++++++++++++ debian/rules | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/debian/control b/debian/control index 7bb5670..cff31f9 100644 --- a/debian/control +++ b/debian/control @@ -20,3 +20,15 @@ Description: SLAPI plugin to manage different passwords entry (during an authenticated search with a service account) and removes this virtual prefix during bind and search requests to get the user information. + +Package: slapd-service-passwords-dbg +Architecture: any +Section: debug +Priority: extra +Depends: slapd-service-passwords (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for slapd-service-passwords + This is a SLAPI plugin to manage different passwords for different + services without duplicating all the user information. + . + This package contains the debugging symbols for + slapd-service-passwords.. diff --git a/debian/rules b/debian/rules index 0663742..c92378f 100755 --- a/debian/rules +++ b/debian/rules @@ -14,3 +14,13 @@ override_dh_auto_configure: override_dh_auto_build: dh_auto_build -- OPENLDAP_SOURCE=$(OPENLDAP_SOURCE) + +# debug package +override_dh_strip: + dh_strip --dbg-package=slapd-service-passwords-dbg + +override_dh_auto_install: + dh_auto_install --destdir=debian/slapd-service-passwords + +override_dh_installdocs: + dh_installdocs --link-doc=slapd-service-passwords -- cgit v1.2.3-1-g7c22