mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
mail/rspamd*: use luajit only on architectures where it's supported
Otherwise use standard Lua. PR: 243051 Approved by: vsevolod (maintainer timeout)
This commit is contained in:
parent
af2e3cb51a
commit
615c00302c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524446
@ -13,12 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre \
|
||||
libicui18n.so:devel/icu \
|
||||
libsodium.so:security/libsodium \
|
||||
${LIB_DEPENDS_${ARCH}}
|
||||
LIB_DEPENDS_amd64= libluajit-5.1.so:lang/luajit
|
||||
LIB_DEPENDS_armv7= libluajit-5.1.so:lang/luajit
|
||||
LIB_DEPENDS_i386= libluajit-5.1.so:lang/luajit
|
||||
LIB_DEPENDS_powerpc= libluajit-5.1.so:lang/luajit
|
||||
libsodium.so:security/libsodium
|
||||
BUILD_DEPENDS= ragel:devel/ragel
|
||||
RUN_DEPENDS= ca_root_nss>=3.*:security/ca_root_nss
|
||||
|
||||
@ -33,14 +28,19 @@ CONFLICTS_INSTALL= rspamd
|
||||
USERS= rspamd
|
||||
GROUPS= rspamd
|
||||
|
||||
OPTIONS_DEFINE= BLAS CGP GPERF
|
||||
OPTIONS_DEFINE= BLAS CGP GPERF LUAJIT
|
||||
OPTIONS_DEFINE_amd64= HYPERSCAN
|
||||
OPTIONS_DEFAULT_amd64= LUAJIT
|
||||
OPTIONS_DEFAULT_armv7= LUAJIT
|
||||
OPTIONS_DEFAULT_i386= LUAJIT
|
||||
OPTIONS_DEFAULT_powerpc= LUAJIT
|
||||
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)
|
||||
LUAJIT_DESC= Use LuaJIT instead of standard Lua
|
||||
|
||||
SUB_FILES= pkg-message rspamd.newsyslog.conf.sample
|
||||
PLIST_SUB+= ETCDIR=etc/rspamd \
|
||||
@ -72,6 +72,9 @@ GPERF_LIB_DEPENDS= libprofiler.so:devel/google-perftools
|
||||
HYPERSCAN_CMAKE_ON= -DENABLE_HYPERSCAN=ON
|
||||
HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan
|
||||
|
||||
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
|
||||
LUAJIT_USES_OFF= lua:51
|
||||
|
||||
CGP_RUN_DEPENDS+= \
|
||||
p5-AnyEvent-HTTP>=0:www/p5-AnyEvent-HTTP \
|
||||
p5-AnyEvent>=0:devel/p5-AnyEvent \
|
||||
|
@ -11,7 +11,6 @@ LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre \
|
||||
libluajit-5.1.so:lang/luajit \
|
||||
libicui18n.so:devel/icu \
|
||||
libsodium.so:security/libsodium
|
||||
BUILD_DEPENDS= ragel:devel/ragel
|
||||
@ -28,14 +27,19 @@ CONFLICTS_INSTALL= rspamd-devel
|
||||
USERS= rspamd
|
||||
GROUPS= rspamd
|
||||
|
||||
OPTIONS_DEFINE= BLAS CGP GPERF
|
||||
OPTIONS_DEFINE= BLAS CGP GPERF LUAJIT
|
||||
OPTIONS_DEFINE_amd64= HYPERSCAN
|
||||
OPTIONS_DEFAULT_amd64= LUAJIT
|
||||
OPTIONS_DEFAULT_armv7= LUAJIT
|
||||
OPTIONS_DEFAULT_i386= LUAJIT
|
||||
OPTIONS_DEFAULT_powerpc= LUAJIT
|
||||
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)
|
||||
LUAJIT_DESC= Use LuaJIT instead of standard Lua
|
||||
|
||||
SUB_FILES= pkg-message rspamd.newsyslog.conf.sample
|
||||
PLIST_SUB+= ETCDIR=etc/rspamd \
|
||||
@ -62,6 +66,9 @@ GPERF_LIB_DEPENDS= libprofiler.so:devel/google-perftools
|
||||
HYPERSCAN_CMAKE_ON= -DENABLE_HYPERSCAN=ON
|
||||
HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan
|
||||
|
||||
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
|
||||
LUAJIT_USES_OFF= lua:51
|
||||
|
||||
CGP_RUN_DEPENDS+= \
|
||||
p5-AnyEvent-HTTP>=0:www/p5-AnyEvent-HTTP \
|
||||
p5-AnyEvent>=0:devel/p5-AnyEvent \
|
||||
|
Loading…
Reference in New Issue
Block a user