diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2016-02-05 06:50:43 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2016-02-05 06:50:43 +0800 |
commit | 2f153138bc6fee3dc586a9f95891d97e6d4a9062 (patch) | |
tree | 7c21e23fe5deaf9b24f2082a8ef7a6d05b4ee3ab | |
parent | fe4d79855d54e68106421bad8db41ec0d4785b8f (diff) | |
download | freebsd-ports-gnome-2f153138bc6fee3dc586a9f95891d97e6d4a9062.tar.gz freebsd-ports-gnome-2f153138bc6fee3dc586a9f95891d97e6d4a9062.tar.zst freebsd-ports-gnome-2f153138bc6fee3dc586a9f95891d97e6d4a9062.zip |
- Update to 1.1.3
- Add optional hyperscan support
-rw-r--r-- | mail/rspamd/Makefile | 11 | ||||
-rw-r--r-- | mail/rspamd/distinfo | 4 |
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 |