]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Further debian packages fixes
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 18 Feb 2023 19:19:05 +0000 (19:19 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 18 Feb 2023 19:19:05 +0000 (19:19 +0000)
debian/compat
debian/rules

index ec635144f60048986bc560c5576355344005e6e7..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2 100644 (file)
@@ -1 +1 @@
-9
+10
index ce3ebf48807a465f2438b8cfe8a8c1291fc73066..d12924d227ef36e10e413992895e286a864ab872 100755 (executable)
@@ -68,9 +68,9 @@ build_%:
 override_dh_strip: $(patsubst %,strip_%,$(FLAVORS))
 strip_%:
        if [ "$*" = "asan" ]; then \
-               dh_strip --dbg-package=rspamd-dbg-asan ; \
+               dh_strip -prspamd-asan --dbg-package=rspamd-dbg-asan ; \
        else \
-               dh_strip --dbg-package=rspamd-dbg ; \
+               dh_strip -prspamd --dbg-package=rspamd-dbg ; \
        fi
 
 override_dh_makeshlibs:
@@ -80,8 +80,16 @@ override_dh_auto_install: $(patsubst %,install_%,$(FLAVORS))
 install_%:
        if [ "$*" = "asan" ]; then \
                cd $(builddir)$* && make install DESTDIR=../../../debian/rspamd-asan ; \
+               cd ../../../debian/rspamd-asan &&  mkdir -p var/lib/rspamd \
+                                                                                                                                                                                                var/log/rspamd \
+                                                                                                                                                                                                etc/rspamd/local.d \
+                                                                                                                                                                                                etc/rspamd/override.d  ; \
        else \
                cd $(builddir)$* && make install DESTDIR=../../../debian/rspamd ; \
+               cd ../../../debian/rspamd &&  mkdir -p var/lib/rspamd \
+                                                                                                                                                                                                var/log/rspamd \
+                                                                                                                                                                                                etc/rspamd/local.d \
+                                                                                                                                                                                                etc/rspamd/override.d  ; \
        fi
 
 override_dh_fixperms: