Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2019 22:04:25 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518277 - head/mail/rspamd
Message-ID:  <201911232204.xANM4Pdw039044@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Sat Nov 23 22:04:25 2019
New Revision: 518277
URL: https://svnweb.freebsd.org/changeset/ports/518277

Log:
  - Update to 2.2
  - Add OpenBLAS support (optional) [2]
  
  PR:		241626
  Submitted by:	Alexander Moisseev <moiseev at mezonplus.ru> [1], [2]
  Reported by:	Artyom Davidov <ard_1 at mail.ru> [2]

Modified:
  head/mail/rspamd/Makefile
  head/mail/rspamd/distinfo
  head/mail/rspamd/pkg-plist

Modified: head/mail/rspamd/Makefile
==============================================================================
--- head/mail/rspamd/Makefile	Sat Nov 23 21:41:55 2019	(r518276)
+++ head/mail/rspamd/Makefile	Sat Nov 23 22:04:25 2019	(r518277)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	rspamd
-PORTVERSION=	2.1
+PORTVERSION=	2.2
 CATEGORIES=	mail
 
 MAINTAINER=	vsevolod@FreeBSD.org
@@ -28,10 +28,11 @@ CONFLICTS_INSTALL=	rspamd-devel
 USERS=		rspamd
 GROUPS=		rspamd
 
-OPTIONS_DEFINE=		CGP GPERF
+OPTIONS_DEFINE=		BLAS CGP GPERF
 OPTIONS_DEFINE_amd64=	HYPERSCAN
 OPTIONS_SUB=	yes
 
+BLAS_DESC=		Use OpenBLAS to accelerate KANN
 CGP_DESC=		Install Communigate Pro(tm) helper
 GPERF_DESC=		Google perf-tools profiling
 HYPERSCAN_DESC=		Use hyperscan optimizations (amd64 only)
@@ -51,6 +52,9 @@ CMAKE_ARGS+=	-DCONFDIR=${PREFIX}/etc/rspamd \
 USE_GITHUB=	yes
 
 USE_RC_SUBR=	rspamd
+
+BLAS_CMAKE_ON=	-DENABLE_BLAS=ON
+BLAS_USES=	blaslapack:openblas
 
 GPERF_CMAKE_ON=	-DENABLE_GPERF_TOOLS=ON
 GPERF_LIB_DEPENDS=	libprofiler.so:devel/google-perftools

Modified: head/mail/rspamd/distinfo
==============================================================================
--- head/mail/rspamd/distinfo	Sat Nov 23 21:41:55 2019	(r518276)
+++ head/mail/rspamd/distinfo	Sat Nov 23 22:04:25 2019	(r518277)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572306585
-SHA256 (rspamd-rspamd-2.1_GH0.tar.gz) = 9b3180b5d44dd808df09dc118b73c467991f6f71e422850bc591382835f3efcc
-SIZE (rspamd-rspamd-2.1_GH0.tar.gz) = 4232297
+TIMESTAMP = 1574230570
+SHA256 (rspamd-rspamd-2.2_GH0.tar.gz) = ea45239db0abba66f1b1a07710c2306da85bfdd921f31158486d3f6522f88be5
+SIZE (rspamd-rspamd-2.2_GH0.tar.gz) = 4257574

Modified: head/mail/rspamd/pkg-plist
==============================================================================
--- head/mail/rspamd/pkg-plist	Sat Nov 23 21:41:55 2019	(r518276)
+++ head/mail/rspamd/pkg-plist	Sat Nov 23 22:04:25 2019	(r518277)
@@ -186,6 +186,7 @@ man/man8/rspamd.8.gz
 %%DATADIR%%/lualib/lua_scanners/sophos.lua
 %%DATADIR%%/lualib/lua_scanners/spamassassin.lua
 %%DATADIR%%/lualib/lua_scanners/vadesecure.lua
+%%DATADIR%%/lualib/lua_scanners/virustotal.lua
 %%DATADIR%%/lualib/lua_selectors/extractors.lua
 %%DATADIR%%/lualib/lua_selectors/init.lua
 %%DATADIR%%/lualib/lua_selectors/maps.lua
@@ -195,6 +196,7 @@ man/man8/rspamd.8.gz
 %%DATADIR%%/lualib/lua_stat.lua
 %%DATADIR%%/lualib/lua_tcp_sync.lua
 %%DATADIR%%/lualib/lua_util.lua
+%%DATADIR%%/lualib/lua_verdict.lua
 %%DATADIR%%/lualib/lupa.lua
 %%DATADIR%%/lualib/plugins_stats.lua
 %%DATADIR%%/lualib/rescore_utility.lua



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911232204.xANM4Pdw039044>