Browse Source

[Minor] Further debian packages fixes

tags/3.5
Vsevolod Stakhov 1 year ago
parent
commit
2f0d146b19
No account linked to committer's email address
2 changed files with 11 additions and 3 deletions
  1. 1
    1
      debian/compat
  2. 10
    2
      debian/rules

+ 1
- 1
debian/compat View File

@@ -1 +1 @@
9
10

+ 10
- 2
debian/rules View File

@@ -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:

Loading…
Cancel
Save