Ticket #42538: Portfile

File Portfile, 4.6 KB (added by jul_bsd@…, 10 years ago)

3.9.0

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 111353 2013-09-19 07:21:56Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                silk
7version             3.9.0
8categories          security
9platforms           darwin
10maintainers         yahoo.fr:jul_bsd openmaintainer
11license             GPL-2
12
13description         System for Internet-Level Knowledge, collection of traffic analysis tools
14
15long_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
40homepage            https://tools.netsa.cert.org/silk/
41master_sites        https://tools.netsa.cert.org/releases/
42
43checksums           rmd160  76431ee1e360221015bb0deadc91fd35f493c6d5 \
44                    sha256  f97ab5ba2d8dd8152f3fcee0036c9ee159a1d3767eb6213ffec836c9f1366187
45
46depends_lib         port:openssl port:zlib port:libpcap port:libfixbuf \
47                    port:lzo port:gnutls
48
49configure.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
54post-destroot {
55    xinstall -d ${destroot}${prefix}/var/db/${name}
56    destroot.keepdirs ${destroot}${prefix}/var/db/${name}
57}
58
59notes "
60To finish install, you have to setup silk.conf in
61    ${prefix}/var/db/${name}
62Some examples are included in:
63    ${prefix}/share/silk/
64"
65
66if {![variant_isset python33] && ![variant_isset python26] && ![variant_isset python25] && ![variant_isset python24]} {
67    default_variants    +python27
68}
69
70variant 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
75variant 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
80variant 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
85variant 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
90variant 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
111livecheck.type      regex
112livecheck.url       http://tools.netsa.cert.org/
113livecheck.regex     "<a href=\"silk/index.html\">SiLK (\\d+\\.\\d+\\.\\d+)</a></li>"