- Update to 2.3-a1

- 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]
This commit is contained in:
Vsevolod Stakhov 2019-11-23 22:06:22 +00:00
parent 06064e5dd9
commit 8ce0726810
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518278
3 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= rspamd PORTNAME= rspamd
PORTVERSION= 2.1.a1.20191014 PORTVERSION= 2.3.a1.20191120
CATEGORIES= mail CATEGORIES= mail
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
@ -29,10 +29,11 @@ CONFLICTS_INSTALL= rspamd
USERS= rspamd USERS= rspamd
GROUPS= rspamd GROUPS= rspamd
OPTIONS_DEFINE= CGP GPERF OPTIONS_DEFINE= BLAS CGP GPERF
OPTIONS_DEFINE_amd64= HYPERSCAN OPTIONS_DEFINE_amd64= HYPERSCAN
OPTIONS_SUB= yes OPTIONS_SUB= yes
BLAS_DESC= Use OpenBLAS to accelerate KANN
CGP_DESC= Install Communigate Pro(tm) helper CGP_DESC= Install Communigate Pro(tm) helper
GPERF_DESC= Google perf-tools profiling GPERF_DESC= Google perf-tools profiling
HYPERSCAN_DESC= Use hyperscan optimizations (amd64 only) HYPERSCAN_DESC= Use hyperscan optimizations (amd64 only)
@ -51,13 +52,16 @@ CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \
-DDEBUG=ON \ -DDEBUG=ON \
-DGIT_ID=${GH_TAGNAME} -DGIT_ID=${GH_TAGNAME}
USE_GITHUB= yes USE_GITHUB= yes
GH_TAGNAME= fe09a19 GH_TAGNAME= b30c5df
DEBUG_FLAGS= -g -O0 DEBUG_FLAGS= -g -O0
WITH_DEBUG= yes WITH_DEBUG= yes
USE_RC_SUBR= rspamd USE_RC_SUBR= rspamd
BLAS_CMAKE_ON= -DENABLE_BLAS=ON
BLAS_USES= blaslapack:openblas
GPERF_CMAKE_ON= -DENABLE_GPERF_TOOLS=ON GPERF_CMAKE_ON= -DENABLE_GPERF_TOOLS=ON
GPERF_LIB_DEPENDS= libprofiler.so:devel/google-perftools GPERF_LIB_DEPENDS= libprofiler.so:devel/google-perftools

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1571067018 TIMESTAMP = 1574229469
SHA256 (rspamd-rspamd-2.1.a1.20191014-fe09a19_GH0.tar.gz) = ceee5af2a8a40b7e2fabd9fd57e3be737cc6cbd3d375d93b9252feefc69263de SHA256 (rspamd-rspamd-2.3.a1.20191120-b30c5df_GH0.tar.gz) = 7c3b9eac78032b3fe6aa61abe3fc4c912aee1da69e17843c8557ec4ff163f913
SIZE (rspamd-rspamd-2.1.a1.20191014-fe09a19_GH0.tar.gz) = 4230877 SIZE (rspamd-rspamd-2.3.a1.20191120-b30c5df_GH0.tar.gz) = 4257851

View File

@ -186,6 +186,7 @@ man/man8/rspamd.8.gz
%%DATADIR%%/lualib/lua_scanners/sophos.lua %%DATADIR%%/lualib/lua_scanners/sophos.lua
%%DATADIR%%/lualib/lua_scanners/spamassassin.lua %%DATADIR%%/lualib/lua_scanners/spamassassin.lua
%%DATADIR%%/lualib/lua_scanners/vadesecure.lua %%DATADIR%%/lualib/lua_scanners/vadesecure.lua
%%DATADIR%%/lualib/lua_scanners/virustotal.lua
%%DATADIR%%/lualib/lua_selectors/extractors.lua %%DATADIR%%/lualib/lua_selectors/extractors.lua
%%DATADIR%%/lualib/lua_selectors/init.lua %%DATADIR%%/lualib/lua_selectors/init.lua
%%DATADIR%%/lualib/lua_selectors/maps.lua %%DATADIR%%/lualib/lua_selectors/maps.lua
@ -195,6 +196,7 @@ man/man8/rspamd.8.gz
%%DATADIR%%/lualib/lua_stat.lua %%DATADIR%%/lualib/lua_stat.lua
%%DATADIR%%/lualib/lua_tcp_sync.lua %%DATADIR%%/lualib/lua_tcp_sync.lua
%%DATADIR%%/lualib/lua_util.lua %%DATADIR%%/lualib/lua_util.lua
%%DATADIR%%/lualib/lua_verdict.lua
%%DATADIR%%/lualib/lupa.lua %%DATADIR%%/lualib/lupa.lua
%%DATADIR%%/lualib/plugins_stats.lua %%DATADIR%%/lualib/plugins_stats.lua
%%DATADIR%%/lualib/rescore_utility.lua %%DATADIR%%/lualib/rescore_utility.lua