diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2014-02-23 09:36:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-24 13:17:46 +0000 |
commit | 68d3452120e3f285f01f9e671528bd42aaee8958 (patch) | |
tree | 2bcc3394d09f0af037d8f2dbc207ef52c9e1dc14 /debian/rules | |
parent | 9ab8da7bf675f3c6cb270f66738ec1875e73aa57 (diff) | |
download | rspamd-68d3452120e3f285f01f9e671528bd42aaee8958.tar.gz rspamd-68d3452120e3f285f01f9e671528bd42aaee8958.zip |
Use dh instead of CDBS
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules index 3608758ea..1128635c2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,11 @@ #!/usr/bin/make -f +%: + dh $@ -#export DEB_BUILD_MAINT_OPTIONS=hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed - -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+= -DCONFDIR=/etc/rspamd \ +override_dh_auto_configure: + dh_auto_configure -- -DCONFDIR=/etc/rspamd \ -DMANDIR=/usr/share/man \ -DRUNDIR=/run/rspamd \ -DDBDIR=/var/lib/rspamd \ @@ -22,7 +19,10 @@ DEB_CMAKE_NORMAL_ARGS+= -DCONFDIR=/etc/rspamd \ -DINSTALL_EXAMPLES=ON \ -DFORCE_GMIME24=ON \ -DRSPAMD_GROUP=rspamd \ - -DRSPAMD_USER=rspamd \ - -DENABLE_HIREDIS=ON -clean:: + -DRSPAMD_USER=_rspamd +# \ +# -DENABLE_HIREDIS=ON + +override_dh_auto_clean: + dh_auto_clean rm -f src/modules.c |