blob: 5bcd4fe0e189ca3d69fd249614f1c1f174bf1349 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= snort
DISTVERSION= 3.0.0-a4.243
PORTREVISION= 2
CATEGORIES= security
PKGNAMESUFFIX= 3
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight network intrusion detection system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= daq>=2.2.2:net/daq \
bash>0:shells/bash
LIB_DEPENDS= libpcre.so:devel/pcre \
libdnet.so:net/libdnet \
libpcap.so:net/libpcap \
libluajit-5.1.so:lang/luajit \
libhwloc.so:devel/hwloc
RUN_DEPENDS= daq>=2.2.2:net/daq
USES= cmake compiler:c++11-lang cpe libtool pathfix pkgconfig ssl iconv
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
USE_GITHUB= yes
GH_ACCOUNT= snortadmin
GH_PROJECT= snort3
GH_TAGNAME= BUILD_243
USE_LDCONFIG= yes
OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS LARGEPCAP PIE THREADSANITIZER STATICDAQ
OPTIONS_DEFINE_amd64= HYPERSCAN TSC
OPTIONS_DEFAULT= STATICDAQ
ADDRESSSANITIZER_DESC= Enable address sanitizer
DEBUG_DESC= Enable debug
DOCS_DESC= Enable documentation
# FLATBUFFERS_DESC= Enable flatbuffers support // Doesn't get detected
HYPERSCAN_DESC= Enable high-performance regular expression lib
LARGEPCAP_DESC= Enable support for pcaps larger than 2 GB
PIE_DESC= Enable PIE (Broken)
STATICDAQ_DESC= Link static DAQ modules
THREADSANITIZER_DESC= Enable thread sanitizer
TSC_DESC= Use timestamp counter register clock (x86 only)
ADDRESSSANITIZER_CMAKE_BOOL= ENABLE_ADDRESS_SANITIZER
DEBUG_CMAKE_BOOL= ENABLE_COREFILES ENABLE_GDB
DOCS_CMAKE_BOOL= MAKE_HTML_DOC MAKE_PDF_DOC MAKE_TEXT_DOC
LARGEPCAP_CMAKE_BOOL= ENABLE_LARGE_PCAP
PIE_CMAKE_BOOL= ENABLE_PIE
STATICDAQ_CMAKE_BOOL= ENABLE_STATIC_DAQ
THREADSANITIZER_CMAKE_BOOL= ENABLE_THREAD_SANITIZER
TSC_CMAKE_BOOL= ENABLE_TSC_CLOCK
# FLATBUFFERS_LIB_DEPENDS= libflatbuffers.so:devel/flatbuffers
HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan
CONFLICTS= snort-2*
.include <bsd.port.mk>
|