aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-19 17:51:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-19 17:51:53 +0000
commitc2788dafc65595414bc8ce3979758e22d183d6e8 (patch)
treea203f04d7081d856fbfb56161919a893c0fc2e28 /debian
parent85aa2f308b388f6a42f0eb14b8207310db992a4e (diff)
downloadrspamd-c2788dafc65595414bc8ce3979758e22d183d6e8.tar.gz
rspamd-c2788dafc65595414bc8ce3979758e22d183d6e8.zip
Fix linux packages.
Diffstat (limited to 'debian')
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rw-r--r--debian/postrm1
-rw-r--r--debian/preinst1
-rwxr-xr-xdebian/rules2
5 files changed, 6 insertions, 2 deletions
diff --git a/debian/compat b/debian/compat
index ec635144f..7f8f011eb 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+7
diff --git a/debian/control b/debian/control
index 93b6de926..0611624c4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: rspamd
Section: mail
Priority: optional
Maintainer: Vsevolod Stakhov <vsevolod@highsecure.ru>
-Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, liblua5.2-dev, libpcre3-dev, cdbs, libssl-dev (>= 1.0), libjudy-dev, libcurl4-openssl-dev
+Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, liblua5.2-dev | liblua5.1-dev | liblua5.1-0-dev, libpcre3-dev, cdbs, libssl-dev (>= 1.0), libcurl4-openssl-dev
Standards-Version: 3.9.5
Homepage: https://bitbucket.org/vstakhov/rspamd/
Vcs-Hg: https://bitbucket.org/vstakhov/rspamd/
diff --git a/debian/postrm b/debian/postrm
index d6910f0cc..14735e0a2 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,5 +1,6 @@
#!/bin/sh
# postrm script for rspamd
+#DEBHELPER#
set -e
diff --git a/debian/preinst b/debian/preinst
index 48d61b979..3588f2f5b 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -1,5 +1,6 @@
#!/bin/sh
# preinst script for rspamd
+#DEBHELPER#
set -e
diff --git a/debian/rules b/debian/rules
index a08711f7a..ce09d5128 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
#export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+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