aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/rspamd/Makefile11
-rw-r--r--mail/rspamd/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 54e839b9fcd6..e2de1e7ebbfb 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rspamd
-PORTVERSION= 1.1.2
+PORTVERSION= 1.1.3
CATEGORIES= mail
MASTER_SITES= http://rspamd.com/downloads/
@@ -17,9 +17,10 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
CONFLICTS_INSTALL= rspamd
-OPTIONS_DEFINE= GPERF REDIRECTOR
+OPTIONS_DEFINE= GPERF REDIRECTOR HYPERSCAN
GPERF_DESC= Google perf-tools profiling
REDIRECTOR_DESC= Install HTTP redirector
+HYPERSCAN_DESC= Use hyperscan optimizations (amd64 only)
USE_RC_SUBR= rspamd
@@ -52,6 +53,12 @@ USE_OPENSSL= yes
LIB_DEPENDS+= libprofiler.so:${PORTSDIR}/devel/google-perftools
.endif
+.if ${PORT_OPTIONS:MHYPERSCAN}
+ CMAKE_ARGS+= -DENABLE_HYPERSCAN=ON
+ BUILD_DEPENDS+= ${LOCALBASE}/lib/libhs.a:${PORTSDIR}/devel/hyperscan
+ ONLY_FOR_ARCHS= amd64
+.endif
+
.if ${PORT_OPTIONS:MREDIRECTOR}
USE_PERL5+= run
CMAKE_ARGS+= -DENABLE_REDIRECTOR=ON
diff --git a/mail/rspamd/distinfo b/mail/rspamd/distinfo
index f9c96fae93d3..344e476ab3ed 100644
--- a/mail/rspamd/distinfo
+++ b/mail/rspamd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rspamd-1.1.2.tar.xz) = 211a0ff0c83d3ef4b586f59b0d3d6e12b9e10b2a2c72894c5f9116e649fb6d41
-SIZE (rspamd-1.1.2.tar.xz) = 1351768
+SHA256 (rspamd-1.1.3.tar.xz) = 8604e980a81d6586d18d02f90236c83384754ef1debce0b4f0ca32f87e1ec135
+SIZE (rspamd-1.1.3.tar.xz) = 1357696