1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

security/bro: Remove expired port

2020-06-01 security/bro: Please migrate to security/zeek
This commit is contained in:
Craig Leres 2020-06-02 16:39:53 +00:00
parent 8987b10c39
commit 5011a0a0fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=537563
8 changed files with 1 additions and 2070 deletions

1
MOVED
View File

@ -15055,3 +15055,4 @@ devel/graphql.el||2020-05-31|Has expired: No longer required by anything
lang/perl5.26|lang/perl5.28|2020-05-31|Has expired: Support ends three years after .0 release, please upgrade to a more recent version of Perl
www/py-beautifulsoup460|www/py-beautifulsoup448|2020-05-31|Has expired: Use www/py-beautifulsoup448 instead
databases/db48|databases/db5|2020-06-02|Has expired. Use databases/db5 instead
security/bro||2020-06-02|Has expired: Please migrate to security/zeek

View File

@ -54,7 +54,6 @@
SUBDIR += boringssl
SUBDIR += botan110
SUBDIR += botan2
SUBDIR += bro
SUBDIR += broccoli
SUBDIR += bruteblock
SUBDIR += bruteforceblocker

View File

@ -1,125 +0,0 @@
# Created by: David O'Brien <obrien@FreeBSD.org>
# $FreeBSD$
PORTNAME= bro
PORTVERSION= 2.6.4
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://www.zeek.org/downloads/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= leres@FreeBSD.org
COMMENT= System for detecting network intruders in real-time
LICENSE= BSD3CLAUSE
BROKEN_powerpc64= Does not build: error: zero-size array 'names'
DEPRECATED= Please migrate to security/zeek
EXPIRATION_DATE= 2020-06-01
USES= bison cmake compiler:c++11-lang gettext-runtime ninja perl5 python shebangfix ssl
CMAKE_ARGS+= -DPYTHON_EXECUTABLE:PATH=${PYTHON_CMD}
CXXFLAGS+= -std=c++11 -Wall
CONFLICTS= zeek
SHEBANG_FILES= aux/broctl/aux/trace-summary/trace-summary
SUB_FILES= pkg-message
NO_MTREE= yes
CMAKE_ARGS+= -GNinja \
-D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
-D BRO_ROOT_DIR:PATH=${PREFIX} \
-D PY_MOD_INSTALL_DIR:PATH=${PREFIX}/lib/broctl \
-D BRO_SCRIPT_INSTALL_PATH:PATH=${PREFIX}/share/bro \
-D BRO_ETC_INSTALL_DIR:PATH=${PREFIX}/etc \
-D BRO_MAN_INSTALL_PATH=${MANPREFIX}/man \
-D ENABLE_PERFTOOLS:BOOL=false \
-D ENABLE_PERFTOOLS_DEBUG:BOOL=false \
-D BinPAC_SKIP_INSTALL:BOOL=true \
-D INSTALL_AUX_TOOLS:BOOL=true \
-D BUILD_SHARED_LIBS:BOOL=true \
-D BUILD_STATIC_BROKER:BOOL=true \
-D CMAKE_EXE_LINKER_FLAGS="${OPENSSL_LDFLAGS}"
BROUSER?= bro
BROGROUP?= bro
PLIST_SUB+= ARCH=${ARCH} \
BROUSER=${BROUSER} \
BROGROUP=${BROGROUP} \
LCASE_OPSYS=${OPSYS:tl}
USERS= ${BROUSER}
GROUPS= ${BROGROUP}
OPTIONS_DEFINE= BROCCOLI BROCTL BROKER DEBUG GEOIP2 IPSUMDUMP LBL_CF \
LBL_HF NETMAP PERFTOOLS
OPTIONS_DEFAULT=BROCTL BROKER GEOIP2 IPSUMDUMP LBL_CF LBL_HF NETMAP
OPTIONS_SUB= yes
BROCCOLI_DESC= Build support for libbroccoli communications (DEPRECATED)
BROCTL_DESC= BroControl support (implies BROKER and IPSUMDUMP)
BROKER_DESC= Enable the Broker communication library
GEOIP2_DESC= Build with GeoIP2 (MaxMindDB) support
IPSUMDUMP_DESC= Enables traffic summaries
LBL_CF_DESC= Unix time to formated time/date 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
BROCTL_IMPLIES= BROKER IPSUMDUMP
BROCCOLI_LIB_DEPENDS= libbroccoli.so:security/broccoli
BROCTL_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
swig3.0:devel/swig30
BROCTL_RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
BROCTL_CMAKE_BOOL= INSTALL_BROCTL
GEOIP2_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
IPSUMDUMP_BUILD_DEPENDS=ipsumdump:net/ipsumdump
IPSUMDUMP_RUN_DEPENDS= ipsumdump:net/ipsumdump
BROKER_BUILD_DEPENDS= swig3.0:devel/swig30
BROKER_CMAKE_BOOL= ENABLE_BROKER
DEBUG_CMAKE_BOOL= ENABLE_DEBUG
LBL_HF_RUN_DEPENDS= ${LOCALBASE}/bin/hf:sysutils/lbl-hf
LBL_CF_RUN_DEPENDS= ${LOCALBASE}/bin/cf:sysutils/lbl-cf
NETMAP_GH_TUPLE= bro:bro-netmap:cf88debf487b31ab30dc3b5bac64783b4e49997e:bro_netmap
NETMAP_USE= GITHUB=nodefault
PERFTOOLS_CMAKE_BOOL= ENABLE_PERFTOOLS
PERFTOOLS_RUN_DEPENDS= ${LOCALBASE}/bin/perftools-pprof:devel/google-perftools
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBROCTL}
USE_RC_SUBR= bro
.endif
post-install-BROCTL-on:
${MKDIR} ${STAGEDIR}${PREFIX}/logs
${MKDIR} ${STAGEDIR}${PREFIX}/spool/tmp
${MKDIR} ${STAGEDIR}${PREFIX}/spool/installed-scripts-do-not-touch/auto
${MKDIR} ${STAGEDIR}${PREFIX}/spool/installed-scripts-do-not-touch/site
.for F in broctl.cfg networks.cfg node.cfg
${MV} ${STAGEDIR}${PREFIX}/etc/${F} ${STAGEDIR}${PREFIX}/etc/${F}.example
.endfor
${RM} ${STAGEDIR}${PREFIX}/share/broctl/scripts/broctl-config.sh
${LN} -s ../../../spool/broctl-config.sh \
${STAGEDIR}${PREFIX}/share/broctl/scripts/broctl-config.sh
post-install:
${RM} -r ${STAGEDIR}${PREFIX}/share/bro/cmake
pre-install-BROCTL-on:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
post-build-NETMAP-on:
${LN} -s ../.build ${WRKSRC}/build
(cd ${WRKSRC_bro_netmap} && ./configure --bro-dist=${WRKSRC} \
--install-root=${STAGEDIR}${PREFIX}/lib/bro/plugins && \
make && make install)
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
TIMESTAMP = 1568760632
SHA256 (bro-2.6.4.tar.gz) = a47a9cdcef0ea14d5f70c390ab266f0333063ff96f3869a5f1609581a1d1ceb7
SIZE (bro-2.6.4.tar.gz) = 28481281
SHA256 (bro-bro-netmap-cf88debf487b31ab30dc3b5bac64783b4e49997e_GH0.tar.gz) = 383423f92932c3ef244194954708b3a237b4f37ebc358014f51dcb3b9786896b
SIZE (bro-bro-netmap-cf88debf487b31ab30dc3b5bac64783b4e49997e_GH0.tar.gz) = 24630

View File

@ -1,81 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: bro
# REQUIRE: NETWORKING
# REQUIRE: LOGIN FILESYSTEMS
# KEYWORD: shutdown
. /etc/rc.subr
name="bro"
rcvar=`set_rcvar`
node=$2
start_cmd="bro_start"
stop_cmd="bro_stop"
restart_cmd="bro_restart"
deploy_cmd="bro_deploy"
install_cmd="bro_install"
cleanup_cmd="bro_cleanup"
restart_cmd="bro_restart"
status_cmd="bro_status"
extra_commands="deploy install cleanup status restart"
: ${broctl_program:=%%PREFIX%%/bin/broctl}
bro_enable=${bro_enable-"NO"}
bro_start() {
if [ ! "${node}" ];
then
$broctl_program start
else
$broctl_program start $node
fi
}
bro_stop() {
if [ ! "${node}" ];
then
$broctl_program stop
else
$broctl_program stop $node
fi
}
bro_restart() {
if [ ! "${node}" ];
then
$broctl_program restart
else
$broctl_program restart $node
fi
}
bro_deploy() {
$broctl_program deploy
}
bro_install() {
$broctl_program install
}
bro_cleanup() {
if [ ! "${node}" ];
then
$broctl_program cleanup
else
$broctl_program cleanup ${node}
fi
}
bro_status() {
$broctl_program status
}
load_rc_config $name
run_rc_command "$1"

View File

@ -1,12 +0,0 @@
[
{ type: install
message: <<EOM
During deinstall of this package, the cfg files for broctl
are not deleted if you have edited them. Instead
the software will create a .sample file instead and the
edited files will remain in place when you upgrade. If you
want to delete them, you have to delete them and the directory,
%%PREFIX%%/etc manually.
EOM
}
]

View File

@ -1,13 +0,0 @@
Bro is an open-source, Unix-based Network Intrusion Detection System (NIDS)
that passively monitors network traffic and looks for suspicious activity.
Bro detects intrusions by first parsing network traffic to extract its
application-level semantics and then executing event-oriented analyzers that
compare the activity with patterns deemed troublesome. Its analysis includes
detection of specific attacks (including those defined by signatures, but
also those defined in terms of events) and unusual activities (e.g., certain
hosts connecting to certain services, or patterns of failed connection
attempts).
Bro is documented in the USENIX 1998 Security Conference proceedings.
WWW: https://www.bro.org/

File diff suppressed because it is too large Load Diff