]> source.dussan.org Git - rspamd.git/commitdiff
Add libmagic dependency
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Nov 2015 14:36:48 +0000 (14:36 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Nov 2015 14:36:48 +0000 (14:36 +0000)
CMakeLists.txt
centos/rspamd.spec
debian/control

index a752dd0c2715ecb6eacaacdd93adf031644de5ad..c5e7625677ca38ce6da381f5625df7829e445b81 100644 (file)
@@ -617,6 +617,8 @@ ProcessPackage(ICONV LIBRARY iconv libiconv libiconv-2 c INCLUDE iconv.h INCLUDE
        ROOT ${ICONV_ROOT_DIR} MODULES iconv)
 ProcessPackage(OPENSSL LIBRARY crypto INCLUDE err.h INCLUDE_SUFFIXES include/openssl
        ROOT ${OPENSSL_ROOT_DIR} MODULES openssl)
+ProcessPackage(MAGIC LIBRARY magic INCLUDE magic.h INCLUDE_SUFFIXES include/libmagic
+       ROOT ${LIBMAGIC_ROOT_DIR} MODULES magic)
 
 #Check for openssl (required for dkim)
 IF(WITH_OPENSSL)
index 35526a887af900fd8e2fe9a0e562c316a50778d0..a051635548c4e6d0b6b4c1628bb4dc5055234c7f 100644 (file)
@@ -8,7 +8,7 @@
 %define rspamd_wwwdir   %{_datadir}/rspamd/www
 
 Name:           rspamd
-Version:        1.0.9
+Version:        1.0.10
 Release: 1
 Summary:        Rapid spam filtering system
 Group:          System Environment/Daemons
@@ -23,7 +23,7 @@ License:        BSD2c
 URL:            https://rspamd.com
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
 BuildRequires:  glib2-devel,libevent-devel,openssl-devel,pcre-devel,perl
-BuildRequires:  cmake,gmime
+BuildRequires:  cmake,gmime,libmagic-devel
 %if 0%{?suse_version} || 0%{?el7} || 0%{?fedora}
 BuildRequires:  systemd
 Requires(pre):  systemd
index fbab3851ef29d141aeb7b4ded7c1637824dc3ca0..87ecde50a8a882598aa78acc26e24d588b3cb7b3 100644 (file)
@@ -2,7 +2,7 @@ Source: rspamd
 Section: mail
 Priority: optional
 Maintainer: Mikhail Gusarov <dottedmag@debian.org>
-Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libhiredis-dev (>= 0.11.0-4), libsqlite3-dev, perl, dh-systemd
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libhiredis-dev (>= 0.11.0-4), libsqlite3-dev, libmagic-dev, perl, dh-systemd
 Standards-Version: 3.9.6
 Homepage: https://rspamd.com
 Vcs-Git: git://github.com/vstakhov/rspamd.git