Ticket #2137: Portfile

File Portfile, 1.3 KB (added by ultrix@…, 20 years ago)

Portfile

Line 
1PortSystem 1.0
2name             ettercap-NG
3version          0.7.0
4categories       net security
5maintainers      toby@opendarwin.org
6description      multipurpose sniffer/interceptor/logger for switched LAN
7long_description \
8    Ettercap is a multi-functional packet sniffer/interceptor/logger \
9    that works on switched LANs. It allows the active and passive \
10    dissection of numerous protocols, including ciphered ones, such as \
11    SSH1, and includes features for network and host analysis. Four \
12    modes are available: IP Based, MAC Address Based, ARP Based, and \
13    PublicARP Based.
14homepage         http://ettercap.sourceforge.net/
15platforms        darwin freebsd
16master_sites     sourceforge:ettercap
17checksums        md5 41eb78c0f047dddbcb81c5444ecbfc96
18depends_lib      lib:libssl.0:openssl \
19                 lib:XXX:libpcap \
20                 lib:XXX:libnet11 \
21                 lib:libpcre.0:pcre
22
23configure.args   --disable-gtk \
24                 --disable-plugins \
25                 --with-openssl=${prefix} \
26                 --with-libpcap=${prefix} \
27                 --with-libnet=${prefix} \
28                 --with-libpcre=${prefix}
29
30patchfiles       pthread-patch
31
32variant gtk {
33    depends_lib-append          lib:libgtk.2:glib2 \
34                                lib:libgtk.2:gtk2
35    configure.args-delete       --disable-gtk
36    configure.args-append       --enable-gtk
37}
38
39variant plugins {
40    configure.args-delete       --disable-plugins
41    configure.args-append       --enable-plugins
42}