aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-19 16:17:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-19 16:17:13 +0000
commit4abb85d399ff5d9ae83dc76a9cfdb416ec13137a (patch)
treeba4f28252e9bd539bc0e963f44235276c170fb8b /debian
parentc87580806c6e941fe34be0751f928325271ee7eb (diff)
downloadrspamd-4abb85d399ff5d9ae83dc76a9cfdb416ec13137a.tar.gz
rspamd-4abb85d399ff5d9ae83dc76a9cfdb416ec13137a.zip
Rework build and install paths.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rspamd.init2
-rwxr-xr-xdebian/rules13
2 files changed, 13 insertions, 2 deletions
diff --git a/debian/rspamd.init b/debian/rspamd.init
index 1ac3ea6d2..c3fab74b4 100755
--- a/debian/rspamd.init
+++ b/debian/rspamd.init
@@ -16,7 +16,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Rspamd"
NAME=rspamd
DAEMON=/usr/bin/$NAME
-DAEMON_ARGS="-c /etc/rspamd.xml"
+DAEMON_ARGS="-c /etc/rspamd.conf"
DESC="rapid spam filtering system"
PIDFILE=/var/lib/rspamd/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
diff --git a/debian/rules b/debian/rules
index 54b8a8407..d7456e138 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,17 @@ include /usr/share/dpkg/buildflags.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-DEB_CMAKE_NORMAL_ARGS+= -DETC_PREFIX=/etc -DMAN_PREFIX=/usr/share/man -DLOCALSTATES_PREFIX=/var/lib -DLIBDIR=/usr/lib -DINCLUDEDIR=/usr/include -DNO_SHARED=ON -DDEBIAN_BUILD=1 -DRSPAMD_GROUP=rspamd -DRSPAMD_USER=rspamd
+DEB_CMAKE_NORMAL_ARGS+= -DCONFDIR=/etc \
+ -DMANDIR=/usr/share/man \
+ -DRUNDIR=/var/run/rspamd \
+ -DDBDIR=/var/lib/rspamd \
+ -DLOGDIR=/var/log/rspamd \
+ -DPLUGINSDIR=/usr/share/rspamd \
+ -DLIBDIR=/usr/lib \
+ -DINCLUDEDIR=/usr/include \
+ -DNO_SHARED=ON \
+ -DDEBIAN_BUILD=1 \
+ -DRSPAMD_GROUP=rspamd \
+ -DRSPAMD_USER=rspamd
clean::
rm -f src/modules.c \ No newline at end of file