summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control10
-rwxr-xr-xdebian/rules4
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 87ecde50a..2c04049f5 100644
--- a/debian/control
+++ b/debian/control
@@ -15,3 +15,13 @@ Description: Rapid spam filtering system
Rspamd is a rapid, modular and lightweight spam filter. It is designed to work
with big amount of mail and can be easily extended with own filters written in
lua.
+
+Package: rspamd-debuginfo
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+ rspamd (= ${binary:Version}),
+ ${misc:Depends}
+Description: debugging symbols for rspamd
+ This package contains the debugging symbols for rspamd.
diff --git a/debian/rules b/debian/rules
index 9205b5a55..f96c3edb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,10 @@ override_dh_auto_configure:
override_dh_makeshlibs:
dh_makeshlibs -Xrspamd-actrie
+override_dh_strip:
+ dh_strip --dbg-package=rspamd-debuginfo
+
+
override_dh_auto_clean:
dh_auto_clean
rm -f src/modules.c