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 ossim |
---|
7 | version 0.9.9 |
---|
8 | categories security |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license GPL-2 |
---|
12 | |
---|
13 | description |
---|
14 | |
---|
15 | long_description |
---|
16 | |
---|
17 | homepage http://www.alienvault.com/open-threat-exchange/projects#ossim-tab |
---|
18 | |
---|
19 | if {${subport} eq ${name}} { |
---|
20 | master_sites |
---|
21 | fetch.type git |
---|
22 | ## Note: for some reason, can't clone subdir ??? |
---|
23 | #git.url git://git.assembla.com/os-sim.2.git/os-sim |
---|
24 | git.url git://git.assembla.com/os-sim.2.git |
---|
25 | git.branch release-4.2.3 |
---|
26 | |
---|
27 | } |
---|
28 | |
---|
29 | subport ${name}-devel { |
---|
30 | fetch.type git |
---|
31 | git.url git://git.assembla.com/os-sim.2.git |
---|
32 | } |
---|
33 | |
---|
34 | worksrcdir os-sim |
---|
35 | #worksrcdir os-sim/os-sim ## NOK: circular dir ... |
---|
36 | depends_build port:glib2 port:gnet2 port:libxml2 port:openssl \ |
---|
37 | port:libgda4 port:ossp-uuid port:pcre port:json-glib \ |
---|
38 | port:libtool port:libgda |
---|
39 | depends_run port:snort port:rrdtool port:nmap port:p0f port:arpwatch |
---|
40 | #?spade ntop |
---|
41 | |
---|
42 | #startupitem.create yes |
---|
43 | #startupitem.logfile ${prefix}/var/log/ossim/ossim.log |
---|
44 | #startupitem.netchange yes |
---|
45 | #startupitem.executable ${prefix}/bin/ossim |
---|
46 | |
---|
47 | pre-configure { |
---|
48 | worksrcdir os-sim/os-sim |
---|
49 | reinplace "s|libtoolize --copy --force --automake|${prefix}/bin/glibtoolize --copy --force --automake|g" ${worksrcpath}/autogen.sh |
---|
50 | system "cd ${worksrcpath} && ./autogen.sh" |
---|
51 | } |
---|
52 | |
---|
53 | pre-build { |
---|
54 | worksrcdir os-sim/os-sim |
---|
55 | } |
---|
56 | |
---|
57 | variant snort { |
---|
58 | } |
---|
59 | |
---|
60 | variant nagios { |
---|
61 | } |
---|
62 | |
---|
63 | variant ntop { |
---|
64 | } |
---|
65 | |
---|
66 | notes " |
---|
67 | Can't compile |
---|
68 | ./sim-idm.h:34:10: fatal error: 'mqueue.h' file not found |
---|
69 | => Not existing on MacOS X |
---|
70 | " |
---|