Changeset View
Changeset View
Standalone View
Standalone View
head/security/bro/Makefile
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
BROCCOLI_DESC= Build support for libbroccoli communications | BROCCOLI_DESC= Build support for libbroccoli communications | ||||
BROCTL_DESC= BroControl support (implies BROCCOLI and IPSUMDUMP) | BROCTL_DESC= BroControl support (implies BROCCOLI and IPSUMDUMP) | ||||
BROKER_DESC= Enable the Broker communication library | BROKER_DESC= Enable the Broker communication library | ||||
IPSUMDUMP_DESC= Enables traffic summaries | IPSUMDUMP_DESC= Enables traffic summaries | ||||
LBL_CF_DESC= Unix time to formated time/date filter support | LBL_CF_DESC= Unix time to formated time/date filter support | ||||
LBL_HF_DESC= Address to hostname filter support | LBL_HF_DESC= Address to hostname filter support | ||||
NETMAP_DESC= Native Netmap Packet IOSource for Bro | |||||
PERFTOOLS_DESC= Use Perftools to improve memory & CPU usage | PERFTOOLS_DESC= Use Perftools to improve memory & CPU usage | ||||
BROCTL_IMPLIES= BROCCOLI IPSUMDUMP | BROCTL_IMPLIES= BROCCOLI IPSUMDUMP | ||||
BROCCOLI_LIB_DEPENDS= libbroccoli.so:security/broccoli | BROCCOLI_LIB_DEPENDS= libbroccoli.so:security/broccoli | ||||
BROCTL_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ | BROCTL_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ | ||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ | ||||
swig3.0:devel/swig30 | swig3.0:devel/swig30 | ||||
▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
pre-install-BROCTL-on: | pre-install-BROCTL-on: | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d | ${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d | ||||
post-build-NETMAP-on: | post-build-NETMAP-on: | ||||
${LN} -s ../.build ${WRKSRC}/build | ${LN} -s ../.build ${WRKSRC}/build | ||||
(cd ${WRKSRC_bro_netmap} && ./configure --bro-dist=${WRKSRC} \ | (cd ${WRKSRC_bro_netmap} && ./configure --bro-dist=${WRKSRC} \ | ||||
--install-root=${STAGEDIR}${PREFIX}/lib/bro/plugins && \ | --install-root=${STAGEDIR}${PREFIX}/lib/bro/plugins && \ | ||||
make && make install) | make && make install) | ||||
.include <bsd.port.options.mk> | |||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 | |||||
BUILD_DEPENDS+= ${NONEXISTENT}:security/openssl:stage | |||||
CXXFLAGS+= -I${WRKDIR}/openssl/include | |||||
OPENSSL_LDFLAGS+= -L${WRKDIR}/openssl/lib | |||||
# Don't use COPYTREE_SHARE here as it hard links files, and the original files | |||||
# are owned by root, which creates problems of its own. | |||||
pre-configure: | |||||
@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/openssl`${PREFIX} \ | |||||
&& ${FIND} -E . ! -name *.so* | ${CPIO} -dump ${WRKDIR}/openssl >/dev/null 2>&1 | |||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |