# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name bro version 2.1 categories net security platforms darwin maintainers gmail.com:tanawts openmaintainer description BRO is a Network Intrusion Detection System long_description Bro is an open-source, Unix-based Network Intrusion \ Detection System (NIDS) that passively monitors network \ traffic and looks for suspicious activity. homepage http://www.bro-ids.org/ master_sites ${homepage}downloads/release/ checksums sha1 c000a19831d46ecd448e1ec40ed84abfcf496b6f \ rmd160 38eab1b34d46f2f56725257de4584bed72d3d903 depends_build port:cmake \ port:swig-python # use the system-provided flex depends_lib port:bison \ port:curl \ port:libmagic \ port:libpcap \ port:openssl \ port:perl5 \ port:readline universal_variant no configure.args --enable-mobile-ipv6 post-destroot { move ${destroot}${prefix}/etc/broccoli.conf ${destroot}${prefix}/etc/broccoli.conf.dist } post-activate { if {![file exists ${prefix}/etc/broccoli.conf]} { copy ${prefix}/etc/broccoli.conf.dist ${prefix}/etc/broccoli.conf } } notes \ "You'll need to set your BROHOME to ${prefix}/share/bro and your\ BROPATH to ${prefix}/share/bro/site:${prefix}/share/bro/policy\ to use the provided policies." livecheck.type regex livecheck.url ${homepage}download.html livecheck.regex "${master_sites}/bro-(\[0-9a-z.\]+)-stable${extract.suffix}"