aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2016-09-01 20:31:10 +0800
committervsevolod <vsevolod@FreeBSD.org>2016-09-01 20:31:10 +0800
commit96e99fc63500e74deb70fe4efd28e236fb785e75 (patch)
tree8c7b7abbf6ba8043548659a9b2d23023fa876e2f /mail
parentcc7efe5b202e3e4190a0c7e8b88249124f3d0b55 (diff)
downloadfreebsd-ports-gnome-96e99fc63500e74deb70fe4efd28e236fb785e75.tar.gz
freebsd-ports-gnome-96e99fc63500e74deb70fe4efd28e236fb785e75.tar.zst
freebsd-ports-gnome-96e99fc63500e74deb70fe4efd28e236fb785e75.zip
- Update to 1.4.0.a1
- Switch to gmime 2.6 - Enable fann support
Diffstat (limited to 'mail')
-rw-r--r--mail/rspamd-devel/Makefile14
-rw-r--r--mail/rspamd-devel/distinfo6
-rw-r--r--mail/rspamd-devel/pkg-plist2
3 files changed, 13 insertions, 9 deletions
diff --git a/mail/rspamd-devel/Makefile b/mail/rspamd-devel/Makefile
index 16a9a0207f96..b81244b4192b 100644
--- a/mail/rspamd-devel/Makefile
+++ b/mail/rspamd-devel/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rspamd
-PORTVERSION= 1.3.4.a1.15082016
+PORTVERSION= 1.4.0.a1.01092016
CATEGORIES= mail
PKGNAMESUFFIX= -devel
@@ -11,18 +11,19 @@ COMMENT= Fast spam filtering system dev version
LICENSE= APACHE20
LIB_DEPENDS= libpcre.so:devel/pcre \
- libgmime-2.4.so:mail/gmime24 \
+ libgmime-2.6.so:mail/gmime26 \
libevent.so:devel/libevent2 \
- libluajit-5.1.so:lang/luajit
+ libluajit-5.1.so:lang/luajit \
+ libfann.so:math/fann
BUILD_DEPENDS= ragel:devel/ragel
CONFLICTS_INSTALL= rspamd
-RSPAMD_VERSION= 1.3.4
+RSPAMD_VERSION= 1.4.0
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
GH_PROJECT= rspamd
-GH_TAGNAME= 3049988
+GH_TAGNAME= 99c2eb2
OPTIONS_DEFINE= GPERF REDIRECTOR HYPERSCAN
GPERF_DESC= Google perf-tools profiling
@@ -45,7 +46,8 @@ CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \
-DLIBDIR=${PREFIX}/lib/rspamd \
-DNO_SHARED=ON \
-DDEBUG=ON \
- -DGIT_ID=${GH_TAGNAME}
+ -DGIT_ID=${GH_TAGNAME} \
+ -DENABLE_FANN=ON
USES= cmake:outsource gettext iconv pkgconfig tar:xz perl5 \
compiler:c11 sqlite ssl
diff --git a/mail/rspamd-devel/distinfo b/mail/rspamd-devel/distinfo
index 7ce07b044f0a..47a777eb1746 100644
--- a/mail/rspamd-devel/distinfo
+++ b/mail/rspamd-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471269087
-SHA256 (vstakhov-rspamd-1.3.4.a1.15082016-3049988_GH0.tar.gz) = 030470c9809ec3fbc5d5a282fa8015b05880d7ea6d0b27cc3cd6bc7ec4cd4a39
-SIZE (vstakhov-rspamd-1.3.4.a1.15082016-3049988_GH0.tar.gz) = 1902684
+TIMESTAMP = 1472732727
+SHA256 (vstakhov-rspamd-1.4.0.a1.01092016-99c2eb2_GH0.tar.gz) = 12b3a57fff521bb15d99f339fb36a55f9ecee39e6f5d18a516a830f2e2e20ed0
+SIZE (vstakhov-rspamd-1.4.0.a1.01092016-99c2eb2_GH0.tar.gz) = 1929783
diff --git a/mail/rspamd-devel/pkg-plist b/mail/rspamd-devel/pkg-plist
index c9011cee1c79..82bb1b1949d1 100644
--- a/mail/rspamd-devel/pkg-plist
+++ b/mail/rspamd-devel/pkg-plist
@@ -47,6 +47,8 @@ bin/rspamc
etc/newsyslog.conf.d/rspamd.newsyslog.conf
lib/rspamd/librspamd-actrie.so
%%DATADIR%%/effective_tld_names.dat
+%%DATADIR%%/lua/antivirus.lua
+%%DATADIR%%/lua/asn.lua
%%DATADIR%%/lua/dcc.lua
%%DATADIR%%/lua/dmarc.lua
%%DATADIR%%/lua/emails.lua