mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- Update to 1.1.3
- Add optional hyperscan support
This commit is contained in:
parent
d23866e946
commit
97abc68937
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408117
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user