source: trunk/dports/net/bro/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                bro
7version             2.2
8categories          net security
9platforms           darwin
10maintainers         gmail.com:tanawts openmaintainer
11license             BSD
12
13description         BRO is a Network Intrusion Detection System
14
15long_description    Bro is an open-source, Unix-based Network Intrusion \
16                    Detection System (NIDS) that passively monitors network \
17                    traffic and looks for suspicious activity.
18
19homepage            http://www.bro.org/
20master_sites        ${homepage}downloads/release/ \
21                    ${homepage}downloads/archive/
22
23checksums           rmd160  ad1820eae034062c0e1125e4a4ac1e61960ad126 \
24                    sha256  86909361c2d804681f314604a6ce763be663937b2f045c8d25d810528a633dc9
25
26depends_build       port:cmake \
27                    port:libgeoip \
28                    port:swig-python
29
30# use the system-provided flex
31depends_lib         port:bison \
32                    port:curl \
33                    port:libmagic \
34                    port:libpcap \
35                    path:lib/libssl.dylib:openssl \
36                    port:perl5 \
37                    port:python27 \
38                    port:readline \
39                    port:zlib
40
41patchfiles          patch-CMakeLists.txt.diff
42patchfiles-append   patch-htonll.diff
43
44universal_variant   no
45
46configure.args      --enable-mobile-ipv6
47
48post-destroot {
49    move ${destroot}${prefix}/etc/broccoli.conf ${destroot}${prefix}/etc/broccoli.conf.dist
50}
51
52post-activate {
53    if {![file exists ${prefix}/etc/broccoli.conf]} {
54        copy ${prefix}/etc/broccoli.conf.dist ${prefix}/etc/broccoli.conf
55    }
56}
57
58notes \
59"You'll need to set your BROHOME to ${prefix}/share/bro and your\
60BROPATH to ${prefix}/share/bro/site:${prefix}/share/bro/policy\
61to use the provided policies."
62
63livecheck.type      regex
64livecheck.url       ${homepage}download/
65livecheck.regex     ${name}-(\[0-9a-z.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.