Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= suricata |
4 |
PORTNAME= suricata |
5 |
DISTVERSION= 5.0.4 |
5 |
DISTVERSION= 5.0.5 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= security |
6 |
CATEGORIES= security |
8 |
MASTER_SITES= https://www.openinfosecfoundation.org/download/ |
7 |
MASTER_SITES= https://www.openinfosecfoundation.org/download/ |
9 |
|
8 |
|
Lines 14-21
Link Here
|
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
14 |
|
16 |
BUILD_DEPENDS= rustc:lang/${RUST_DEFAULT} |
15 |
BUILD_DEPENDS= rustc:lang/${RUST_DEFAULT} |
17 |
|
16 |
LIB_DEPENDS= libjansson.so:devel/jansson \ |
18 |
LIB_DEPENDS= libpcre.so:devel/pcre \ |
17 |
libpcre.so:devel/pcre \ |
19 |
libnet.so:net/libnet \ |
18 |
libnet.so:net/libnet \ |
20 |
liblz4.so:archivers/liblz4 \ |
19 |
liblz4.so:archivers/liblz4 \ |
21 |
libyaml.so:textproc/libyaml |
20 |
libyaml.so:textproc/libyaml |
Lines 35-44
Link Here
|
35 |
INSTALL_TARGET= install-strip |
34 |
INSTALL_TARGET= install-strip |
36 |
TEST_TARGET= check |
35 |
TEST_TARGET= check |
37 |
|
36 |
|
38 |
OPTIONS_DEFINE= GEOIP IPFW JSON NETMAP NSS PORTS_PCAP PRELUDE \ |
37 |
OPTIONS_DEFINE= GEOIP IPFW NETMAP NSS PORTS_PCAP PRELUDE \ |
39 |
PYTHON REDIS TESTS |
38 |
PYTHON REDIS TESTS |
40 |
OPTIONS_DEFINE_amd64= HYPERSCAN |
39 |
OPTIONS_DEFINE_amd64= HYPERSCAN |
41 |
OPTIONS_DEFAULT= IPFW JSON NETMAP PYTHON |
40 |
OPTIONS_DEFAULT= IPFW NETMAP PYTHON |
42 |
OPTIONS_SUB= yes |
41 |
OPTIONS_SUB= yes |
43 |
|
42 |
|
44 |
OPTIONS_RADIO= SCRIPTS |
43 |
OPTIONS_RADIO= SCRIPTS |
Lines 47-53
Link Here
|
47 |
GEOIP_DESC= GeoIP support |
46 |
GEOIP_DESC= GeoIP support |
48 |
HYPERSCAN_DESC= Hyperscan support |
47 |
HYPERSCAN_DESC= Hyperscan support |
49 |
IPFW_DESC= IPFW and IP Divert support for inline IDP |
48 |
IPFW_DESC= IPFW and IP Divert support for inline IDP |
50 |
JSON_DESC= JSON output support |
|
|
51 |
LUAJIT_DESC= LuaJIT scripting support |
49 |
LUAJIT_DESC= LuaJIT scripting support |
52 |
LUA_DESC= LUA scripting support |
50 |
LUA_DESC= LUA scripting support |
53 |
NETMAP_DESC= Netmap support for inline IDP |
51 |
NETMAP_DESC= Netmap support for inline IDP |
Lines 68-77
Link Here
|
68 |
|
66 |
|
69 |
IPFW_CONFIGURE_ON= --enable-ipfw |
67 |
IPFW_CONFIGURE_ON= --enable-ipfw |
70 |
|
68 |
|
71 |
JSON_LIB_DEPENDS= libjansson.so:devel/jansson |
|
|
72 |
JSON_CONFIGURE_ON= --with-libjansson-includes=${LOCALBASE}/include \ |
73 |
--with-libjansson-libraries=${LOCALBASE}/lib |
74 |
|
75 |
LUA_USES= lua:51 |
69 |
LUA_USES= lua:51 |
76 |
LUA_CONFIGURE_ON= --enable-lua \ |
70 |
LUA_CONFIGURE_ON= --enable-lua \ |
77 |
--with-liblua-includes=${LUA_INCDIR} \ |
71 |
--with-liblua-includes=${LUA_INCDIR} \ |
Lines 121-126
Link Here
|
121 |
|
115 |
|
122 |
CONFIGURE_ARGS+=--enable-gccprotect \ |
116 |
CONFIGURE_ARGS+=--enable-gccprotect \ |
123 |
--enable-bundled-htp \ |
117 |
--enable-bundled-htp \ |
|
|
118 |
--with-libjansson-includes=${LOCALBASE}/include \ |
119 |
--with-libjansson-libraries=${LOCALBASE}/lib \ |
124 |
--with-libpcre-includes=${LOCALBASE}/include \ |
120 |
--with-libpcre-includes=${LOCALBASE}/include \ |
125 |
--with-libpcre-libraries=${LOCALBASE}/lib \ |
121 |
--with-libpcre-libraries=${LOCALBASE}/lib \ |
126 |
--with-libyaml-includes=${LOCALBASE}/include \ |
122 |
--with-libyaml-includes=${LOCALBASE}/include \ |