View | Details | Raw Unified | Return to bug 220026
Collapse All | Expand All

(-)b/security/suricata/Makefile (-7 / +7 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	suricata
4
PORTNAME=	suricata
5
PORTVERSION=	3.2.1
5
PORTVERSION=	3.2.2
6
CATEGORIES=	security
6
CATEGORIES=	security
7
MASTER_SITES=	http://www.openinfosecfoundation.org/download/
7
MASTER_SITES=	http://www.openinfosecfoundation.org/download/
8
8
Lines 14-23 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
14
14
15
LIB_DEPENDS=	libpcre.so:devel/pcre \
15
LIB_DEPENDS=	libpcre.so:devel/pcre \
16
		libnet.so:net/libnet \
16
		libnet.so:net/libnet \
17
		libgnutls.so:security/gnutls \
18
		libgcrypt.so:security/libgcrypt \
19
		libgpg-error.so:security/libgpg-error \
20
		libltdl.so:devel/libltdl \
21
		libyaml.so:textproc/libyaml
17
		libyaml.so:textproc/libyaml
22
18
23
USES=		autoreconf cpe gmake libtool pathfix pkgconfig
19
USES=		autoreconf cpe gmake libtool pathfix pkgconfig
Lines 58-64 TESTS_DESC= Unit tests in suricata binary Link Here
58
GEOIP_LIB_DEPENDS=		libGeoIP.so:net/GeoIP
54
GEOIP_LIB_DEPENDS=		libGeoIP.so:net/GeoIP
59
GEOIP_CONFIGURE_ON=		--enable-geoip
55
GEOIP_CONFIGURE_ON=		--enable-geoip
60
56
61
HTP_PORT_BUILD_DEPENDS=		libhtp>=0.5.20:devel/libhtp
57
HTP_PORT_BUILD_DEPENDS=		libhtp>=0.5.24:devel/libhtp
62
HTP_PORT_LIB_DEPENDS=		libhtp.so:devel/libhtp
58
HTP_PORT_LIB_DEPENDS=		libhtp.so:devel/libhtp
63
HTP_PORT_CONFIGURE_ON=		--enable-non-bundled-htp
59
HTP_PORT_CONFIGURE_ON=		--enable-non-bundled-htp
64
HTP_PORT_CONFIGURE_OFF=		--enable-bundled-htp
60
HTP_PORT_CONFIGURE_OFF=		--enable-bundled-htp
Lines 98-104 PORTS_PCAP_CONFIGURE_ON= --with-libpcap-includes=${LOCALBASE}/include \ Link Here
98
PORTS_PCAP_CONFIGURE_OFF=	--with-libpcap-includes=/usr/include \
94
PORTS_PCAP_CONFIGURE_OFF=	--with-libpcap-includes=/usr/include \
99
				--with-libpcap-libraries=/usr/lib
95
				--with-libpcap-libraries=/usr/lib
100
96
101
PRELUDE_LIB_DEPENDS=		libprelude.so:security/libprelude
97
PRELUDE_LIB_DEPENDS=		libprelude.so:security/libprelude \
98
				libgnutls.so:security/gnutls \
99
				libgcrypt.so:security/libgcrypt \
100
				libgpg-error.so:security/libgpg-error \
101
				libltdl.so:devel/libltdl
102
PRELUDE_CONFIGURE_ENABLE=	prelude
102
PRELUDE_CONFIGURE_ENABLE=	prelude
103
PRELUDE_CONFIGURE_ON=		--with-libprelude-prefix=${LOCALBASE}
103
PRELUDE_CONFIGURE_ON=		--with-libprelude-prefix=${LOCALBASE}
104
104
(-)b/security/suricata/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1487168316
1
TIMESTAMP = 1497119063
2
SHA256 (suricata-3.2.1.tar.gz) = 0e0b0cf49016804bb2fb1fc4327341617e76a67902f4e03e0ef6d16c1d7d3994
2
SHA256 (suricata-3.2.2.tar.gz) = b1d8e5e53a76fbc89712d10ca8e2208f68f6fc2def0e6ac82e9693bb586a49cb
3
SIZE (suricata-3.2.1.tar.gz) = 11754332
3
SIZE (suricata-3.2.2.tar.gz) = 11758084
(-)b/security/suricata/files/suricata.in (-3 / +5 lines)
Lines 10-17 Link Here
10
# suricata_enable (bool):	Set to YES to enable suricata
10
# suricata_enable (bool):	Set to YES to enable suricata
11
# 				Default: NO
11
# 				Default: NO
12
# suricata_flags (str):		Extra flags passed to suricata
12
# suricata_flags (str):		Extra flags passed to suricata
13
#				Default: -D -q
13
#				Default: -D
14
# suricata_interface (str):	Network interface to sniff
14
# suricata_interface (str):	Network interface(s) to sniff
15
#				Default: "" 
15
#				Default: "" 
16
# suricata_conf (str):		Suricata configuration file
16
# suricata_conf (str):		Suricata configuration file
17
#				Default: ${PREFIX}/etc/suricata/suricata.yaml
17
#				Default: ${PREFIX}/etc/suricata/suricata.yaml
Lines 37-43 load_rc_config $name Link Here
37
[ -z "$suricata_netmap" ]	&& suricata_netmap="NO"
37
[ -z "$suricata_netmap" ]	&& suricata_netmap="NO"
38
38
39
if [ -n "$suricata_interface" ]; then
39
if [ -n "$suricata_interface" ]; then
40
	suricata_flags="$suricata_flags -i $suricata_interface"
40
	for interface in $suricata_interface; do
41
		suricata_flags="$suricata_flags --pcap=$interface"
42
	done
41
elif [ "$suricata_netmap" != "NO" ]; then
43
elif [ "$suricata_netmap" != "NO" ]; then
42
	suricata_flags="$suricata_flags --netmap"
44
	suricata_flags="$suricata_flags --netmap"
43
else
45
else
(-)b/security/suricata/pkg-plist (-2 / +2 lines)
Lines 46-53 man/man1/suricata.1.gz Link Here
46
%%NO_HTP_PORT%%include/htp/htp_urlencoded.h
46
%%NO_HTP_PORT%%include/htp/htp_urlencoded.h
47
%%NO_HTP_PORT%%include/htp/htp_utf8_decoder.h
47
%%NO_HTP_PORT%%include/htp/htp_utf8_decoder.h
48
%%NO_HTP_PORT%%include/htp/htp_version.h
48
%%NO_HTP_PORT%%include/htp/htp_version.h
49
%%NO_HTP_PORT%%lib/libhtp-0.5.23.so.1
49
%%NO_HTP_PORT%%lib/libhtp-0.5.24.so.1
50
%%NO_HTP_PORT%%lib/libhtp-0.5.23.so.1.0.0
50
%%NO_HTP_PORT%%lib/libhtp-0.5.24.so.1.0.0
51
%%NO_HTP_PORT%%lib/libhtp.a
51
%%NO_HTP_PORT%%lib/libhtp.a
52
%%NO_HTP_PORT%%lib/libhtp.so
52
%%NO_HTP_PORT%%lib/libhtp.so
53
%%NO_HTP_PORT%%libdata/pkgconfig/htp.pc
53
%%NO_HTP_PORT%%libdata/pkgconfig/htp.pc

Return to bug 220026