aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rspamd-devel
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2016-02-03 22:41:09 +0800
committervsevolod <vsevolod@FreeBSD.org>2016-02-03 22:41:09 +0800
commitceea1a85a9420a9a43a02a627e978fb22455dd22 (patch)
tree425152accc7328e54c361736f089cccb908aa753 /mail/rspamd-devel
parentcb93e1066a4376a8c0c87f929359d3f3a31f264c (diff)
downloadfreebsd-ports-gnome-ceea1a85a9420a9a43a02a627e978fb22455dd22.tar.gz
freebsd-ports-gnome-ceea1a85a9420a9a43a02a627e978fb22455dd22.tar.zst
freebsd-ports-gnome-ceea1a85a9420a9a43a02a627e978fb22455dd22.zip
- Update to 1.1.3.b2
- Add optional support of hyperscan
Diffstat (limited to 'mail/rspamd-devel')
-rw-r--r--mail/rspamd-devel/Makefile13
-rw-r--r--mail/rspamd-devel/distinfo4
2 files changed, 12 insertions, 5 deletions
diff --git a/mail/rspamd-devel/Makefile b/mail/rspamd-devel/Makefile
index 5cf5206c9313..f90c74d75c2e 100644
--- a/mail/rspamd-devel/Makefile
+++ b/mail/rspamd-devel/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rspamd
-PORTVERSION= 1.1.3.b1.30012016
+PORTVERSION= 1.1.3.b2.03022016
CATEGORIES= mail
PKGNAMESUFFIX= -devel
@@ -21,11 +21,12 @@ RSPAMD_VERSION= 1.1.3
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
GH_PROJECT= rspamd
-GH_TAGNAME= 9800118
+GH_TAGNAME= 7dec438
-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
@@ -61,6 +62,12 @@ WITH_DEBUG= 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-devel/distinfo b/mail/rspamd-devel/distinfo
index 88bc5945df87..621593c102da 100644
--- a/mail/rspamd-devel/distinfo
+++ b/mail/rspamd-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (vstakhov-rspamd-1.1.3.b1.30012016-9800118_GH0.tar.xz) = 0336578f5c5b102dfcc01a4d5cfc845e14e216eb6253e5833be1eed65c86afe9
-SIZE (vstakhov-rspamd-1.1.3.b1.30012016-9800118_GH0.tar.xz) = 1733019
+SHA256 (vstakhov-rspamd-1.1.3.b2.03022016-7dec438_GH0.tar.xz) = b4afc20df1d61cd6041a0804bf44258ef2d4a424f95fe02edff234495872f225
+SIZE (vstakhov-rspamd-1.1.3.b2.03022016-7dec438_GH0.tar.xz) = 1741373