Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 22:50:43 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408117 - head/mail/rspamd
Message-ID:  <201602042250.u14MohGg054550@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Thu Feb  4 22:50:43 2016
New Revision: 408117
URL: https://svnweb.freebsd.org/changeset/ports/408117

Log:
  - Update to 1.1.3
  - Add optional hyperscan support

Modified:
  head/mail/rspamd/Makefile
  head/mail/rspamd/distinfo

Modified: head/mail/rspamd/Makefile
==============================================================================
--- head/mail/rspamd/Makefile	Thu Feb  4 22:39:26 2016	(r408116)
+++ head/mail/rspamd/Makefile	Thu Feb  4 22:50:43 2016	(r408117)
@@ -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}/deve
 
 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

Modified: head/mail/rspamd/distinfo
==============================================================================
--- head/mail/rspamd/distinfo	Thu Feb  4 22:39:26 2016	(r408116)
+++ head/mail/rspamd/distinfo	Thu Feb  4 22:50:43 2016	(r408117)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602042250.u14MohGg054550>