summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-31 18:04:17 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-31 18:04:17 +0000
commit4eb2317f5cb1d8e9f27f7d1161d2fcd54c28d27f (patch)
tree4fb212e6077b01319ed87be6e9d35fdacd4fbdf3 /debian
parent9632becffbb8268365b511fd7793c14b99a18fc8 (diff)
downloadrspamd-4eb2317f5cb1d8e9f27f7d1161d2fcd54c28d27f.tar.gz
rspamd-4eb2317f5cb1d8e9f27f7d1161d2fcd54c28d27f.zip
Add debuginfo package
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