1 | # $Id: Portfile 20339 2006-11-02 00:52:17Z blair@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name ettercap-ng |
---|
5 | version 0.7.3 |
---|
6 | categories net security |
---|
7 | maintainers ultrix@gmail.com |
---|
8 | description multipurpose sniffer/interceptor/logger for switched LAN |
---|
9 | long_description \ |
---|
10 | Ettercap is a multi-functional packet sniffer/interceptor/logger \ |
---|
11 | that works on switched LANs. It allows the active and passive \ |
---|
12 | dissection of numerous protocols, including ciphered ones, such as \ |
---|
13 | SSH1, and includes features for network and host analysis. Four \ |
---|
14 | modes are available: IP Based, MAC Address Based, ARP Based, and \ |
---|
15 | PublicARP Based. |
---|
16 | homepage http://ettercap.sourceforge.net/ |
---|
17 | platforms darwin freebsd |
---|
18 | |
---|
19 | master_sites sourceforge:ettercap |
---|
20 | distname ettercap-NG-${version} |
---|
21 | checksums md5 28fb15cd024162c55249888fe1b97820 |
---|
22 | |
---|
23 | patchfiles patch-src-Makefile.in \ |
---|
24 | patch-configure \ |
---|
25 | patch-src-interfaces-curses-widgets-wdg.h |
---|
26 | |
---|
27 | depends_lib port:openssl \ |
---|
28 | port:libpcap \ |
---|
29 | port:libnet11 \ |
---|
30 | lib:libpcre.0:pcre |
---|
31 | |
---|
32 | configure.args --disable-gtk \ |
---|
33 | --disable-plugins \ |
---|
34 | --with-openssl=${prefix} \ |
---|
35 | --with-libpcap=${prefix} \ |
---|
36 | --with-libnet=${prefix} \ |
---|
37 | --with-libpcre=${prefix} \ |
---|
38 | --mandir=\\\${prefix}/share/man \ |
---|
39 | --infodir=\\\${prefix}/share/info |
---|
40 | |
---|
41 | variant gtk { |
---|
42 | depends_lib-append lib:libglib.2:glib2 \ |
---|
43 | lib:libgtk.2:gtk2 |
---|
44 | configure.args-delete --disable-gtk |
---|
45 | configure.args-append --enable-gtk |
---|
46 | } |
---|
47 | |
---|
48 | variant plugins { |
---|
49 | configure.args-delete --disable-plugins |
---|
50 | configure.args-append --enable-plugins |
---|
51 | } |
---|
52 | |
---|