summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-11-19 21:05:20 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-11-19 21:47:55 +0100
commit304a6c51a98dc029f5067460f965b344984c76ee (patch)
treea88b2357b70eed35283549cadf880853b38d2bf2
parent42307b4e4a5ab899cbfb07808f61b47ede6d19c8 (diff)
downloadldap-plugin-304a6c51a98dc029f5067460f965b344984c76ee.tar.gz
ldap-plugin-304a6c51a98dc029f5067460f965b344984c76ee.tar.bz2
ldap-plugin-304a6c51a98dc029f5067460f965b344984c76ee.zip
Add debug package
-rw-r--r--debian/control12
-rwxr-xr-xdebian/rules10
2 files changed, 22 insertions, 0 deletions
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