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 111353 2013-09-19 07:21:56Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name silk |
---|
7 | version 3.9.0 |
---|
8 | categories security |
---|
9 | platforms darwin |
---|
10 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
11 | license GPL-2 |
---|
12 | |
---|
13 | description System for Internet-Level Knowledge, collection of traffic analysis tools |
---|
14 | |
---|
15 | long_description SiLK, the System for Internet-Level Knowledge, is \ |
---|
16 | a collection of traffic analysis tools developed \ |
---|
17 | by the CERT Network Situational Awareness Team \ |
---|
18 | (CERT NetSA) to facilitate security analysis of \ |
---|
19 | large networks. The SiLK tool suite supports the \ |
---|
20 | efficient collection, storage, and analysis of \ |
---|
21 | network flow data, enabling network security \ |
---|
22 | analysts to rapidly query large historical \ |
---|
23 | traffic data sets. SiLK is ideally suited for \ |
---|
24 | analyzing traffic on the backbone or border of \ |
---|
25 | a large, distributed enterprise or mid-sized ISP. \ |
---|
26 | A SiLK installation consists of two categories of \ |
---|
27 | applications: the packing system and the analysis \ |
---|
28 | suite. The packing system collects IPFIX, NetFlow \ |
---|
29 | v9, or NetFlow v5 and converts the data into a \ |
---|
30 | more space efficient format, recording the packed \ |
---|
31 | records into service-specific binary flat files. \ |
---|
32 | The analysis suite consists of tools which read \ |
---|
33 | these flat files and perform various query \ |
---|
34 | operations, ranging from per-record filtering \ |
---|
35 | to statistical analysis of groups of records. \ |
---|
36 | The analysis tools interoperate using pipes, \ |
---|
37 | allowing a user to develop a relatively \ |
---|
38 | sophisticated query from a simple beginning. |
---|
39 | |
---|
40 | homepage https://tools.netsa.cert.org/silk/ |
---|
41 | master_sites https://tools.netsa.cert.org/releases/ |
---|
42 | |
---|
43 | checksums rmd160 76431ee1e360221015bb0deadc91fd35f493c6d5 \ |
---|
44 | sha256 f97ab5ba2d8dd8152f3fcee0036c9ee159a1d3767eb6213ffec836c9f1366187 |
---|
45 | |
---|
46 | depends_lib port:openssl port:zlib port:libpcap port:libfixbuf \ |
---|
47 | port:lzo port:gnutls |
---|
48 | |
---|
49 | configure.args-append --mandir=${prefix}/share/man --enable-ipv6 \ |
---|
50 | --enable-data-rootdir=${prefix}/var/db/${name} \ |
---|
51 | --with-libfixbuf=${prefix}/bin \ |
---|
52 | --with-gnutls=${prefix}/bin |
---|
53 | |
---|
54 | post-destroot { |
---|
55 | xinstall -d ${destroot}${prefix}/var/db/${name} |
---|
56 | destroot.keepdirs ${destroot}${prefix}/var/db/${name} |
---|
57 | } |
---|
58 | |
---|
59 | notes " |
---|
60 | To finish install, you have to setup silk.conf in |
---|
61 | ${prefix}/var/db/${name} |
---|
62 | Some examples are included in: |
---|
63 | ${prefix}/share/silk/ |
---|
64 | " |
---|
65 | |
---|
66 | if {![variant_isset python33] && ![variant_isset python26] && ![variant_isset python25] && ![variant_isset python24]} { |
---|
67 | default_variants +python27 |
---|
68 | } |
---|
69 | |
---|
70 | variant python33 description { Python 3.3 bindings } conflicts python27 python26 python25 python24 { |
---|
71 | configure.args-append --with-python=${prefix}/bin/python3.3 |
---|
72 | configure.python ${prefix}/bin/python3.3 |
---|
73 | } |
---|
74 | |
---|
75 | variant python27 description { Python 2.7 bindings } conflicts python33 python26 python25 python24 { |
---|
76 | configure.args-append --with-python=${prefix}/bin/python2.7 |
---|
77 | configure.python ${prefix}/bin/python2.7 |
---|
78 | } |
---|
79 | |
---|
80 | variant python26 description { Python 2.6 bindings } conflicts python33 python27 python25 python24 { |
---|
81 | configure.args-append --with-python=${prefix}/bin/python2.6 |
---|
82 | configure.python ${prefix}/bin/python2.6 |
---|
83 | } |
---|
84 | |
---|
85 | variant python25 description { Python 2.5 bindings } conflicts python33 python26 python27 python24 { |
---|
86 | configure.args-append --with-python=${prefix}/bin/python2.5 |
---|
87 | configure.python ${prefix}/bin/python2.5 |
---|
88 | } |
---|
89 | |
---|
90 | variant python24 description { Python 2.4 bindings } conflicts python26 python25 python27 { |
---|
91 | configure.args-append --with-python=${prefix}/bin/python2.4 |
---|
92 | configure.python ${prefix}/bin/python2.4 |
---|
93 | } |
---|
94 | |
---|
95 | #variant cares { |
---|
96 | #} |
---|
97 | |
---|
98 | #variant adns { |
---|
99 | #} |
---|
100 | |
---|
101 | #variant ipa { |
---|
102 | #} |
---|
103 | |
---|
104 | #variant geoip-data { |
---|
105 | # |
---|
106 | # $ unzip -p GeoIPCountryCSV.zip | \ |
---|
107 | # rwgeoip2ccmap --csv-input > country_codes.pmap |
---|
108 | # # cp country_codes.pmap $SILK_PATH/share/silk/country_codes.pmap |
---|
109 | #} |
---|
110 | |
---|
111 | livecheck.type regex |
---|
112 | livecheck.url http://tools.netsa.cert.org/ |
---|
113 | livecheck.regex "<a href=\"silk/index.html\">SiLK (\\d+\\.\\d+\\.\\d+)</a></li>" |
---|