Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= snort |
8 |
PORTNAME= snort |
9 |
PORTVERSION= 2.9.1.1 |
9 |
PORTVERSION= 2.9.1.2 |
10 |
CATEGORIES= security |
10 |
CATEGORIES= security |
11 |
MASTER_SITES= SF/snort/snort |
11 |
MASTER_SITES= SF/snort/snort |
12 |
|
12 |
|
Lines 39-45
Link Here
|
39 |
POSTGRESQL "Enable PostgreSQL support" off \ |
39 |
POSTGRESQL "Enable PostgreSQL support" off \ |
40 |
PRELUDE "Enable Prelude NIDS integration" off \ |
40 |
PRELUDE "Enable Prelude NIDS integration" off \ |
41 |
LRGPCAP "Enable pcaps larger than 2GB" off \ |
41 |
LRGPCAP "Enable pcaps larger than 2GB" off \ |
42 |
SNORTSAM "Unofficial Snortsam Patch" off |
42 |
SNORTSAM "Unofficial Snortsam Patch" off \ |
|
|
43 |
SRCFIRE "Enable sourcefire build option" off \ |
44 |
DBGSNORT "Enable debugging symbols+core dumps" off |
43 |
|
45 |
|
44 |
.include <bsd.port.options.mk> |
46 |
.include <bsd.port.options.mk> |
45 |
|
47 |
|
Lines 73-81
Link Here
|
73 |
LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//} |
75 |
LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//} |
74 |
LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//} |
76 |
LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//} |
75 |
|
77 |
|
|
|
78 |
CFLAGS+= -fstack-protector |
76 |
CONFIGURE_ARGS= --enable-dynamicplugin --enable-build-dynamic-examples \ |
79 |
CONFIGURE_ARGS= --enable-dynamicplugin --enable-build-dynamic-examples \ |
77 |
--enable-reload --enable-reload-error-restart \ |
80 |
--enable-reload --enable-reload-error-restart \ |
78 |
--disable-corefiles \ |
|
|
79 |
--with-dnet-includes=${LIBNET_INCDIR} \ |
81 |
--with-dnet-includes=${LIBNET_INCDIR} \ |
80 |
--with-dnet-libraries=${LIBNET_LIBDIR} |
82 |
--with-dnet-libraries=${LIBNET_LIBDIR} |
81 |
|
83 |
|
Lines 124-129
Link Here
|
124 |
CONFIGURE_ARGS+= --enable-large-pcap |
126 |
CONFIGURE_ARGS+= --enable-large-pcap |
125 |
.endif |
127 |
.endif |
126 |
|
128 |
|
|
|
129 |
.if defined(WITH_DBGSNORT) |
130 |
CONFIGURE_ARGS+= --enable-corefiles --enable-debug |
131 |
MAKE_ENV+= DONTSTRIP="yes" |
132 |
.else |
133 |
CONFIGURE_ARGS+= --disable-corefiles |
134 |
.endif |
135 |
|
136 |
.if defined(WITH_SRCFIRE) |
137 |
CONFIGURE_ARGS+= --enable-sourcefire |
138 |
.endif |
139 |
|
127 |
.if defined(WITH_PERFPROFILE) |
140 |
.if defined(WITH_PERFPROFILE) |
128 |
CONFIGURE_ARGS+= --enable-perfprofiling --enable-ppm |
141 |
CONFIGURE_ARGS+= --enable-perfprofiling --enable-ppm |
129 |
.endif |
142 |
.endif |