port install ettecap-ng wouldn't work for me. I found this http://ettercap.sourceforge.net/forum/viewtopic.php?t=5002 which exactly described my problem. Based upon that information, I created a patch file and a new Portfile which I've both enclosed. Ettercap-ng now compiles on my TiBook 1GHz -- Bjarne D Mathiesen København N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$/-frit miljø --- src/interfaces/curses/widgets/wdg.h.orig 2005-05-27 17:11:45.000000000 +0200 +++ src/interfaces/curses/widgets/wdg.h 2007-11-15 10:15:05.000000000 +0100 @@ -11,8 +11,9 @@ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> +#include <sys/types.h> #ifdef OS_WINDOWS #include <windows.h> #endif # $Id: Portfile 20339 2006-11-02 00:52:17Z blair@macports.org $ PortSystem 1.0 name ettercap-ng version 0.7.3 categories net security maintainers ultrix@gmail.com description multipurpose sniffer/interceptor/logger for switched LAN long_description \ Ettercap is a multi-functional packet sniffer/interceptor/logger \ that works on switched LANs. It allows the active and passive \ dissection of numerous protocols, including ciphered ones, such as \ SSH1, and includes features for network and host analysis. Four \ modes are available: IP Based, MAC Address Based, ARP Based, and \ PublicARP Based. homepage http://ettercap.sourceforge.net/ platforms darwin freebsd master_sites sourceforge:ettercap distname ettercap-NG-${version} checksums md5 28fb15cd024162c55249888fe1b97820 patchfiles patch-src-Makefile.in \ patch-configure \ patch-src-interfaces-curses-widgets-wdg.h depends_lib port:openssl \ port:libpcap \ port:libnet11 \ lib:libpcre.0:pcre configure.args --disable-gtk \ --disable-plugins \ --with-openssl=${prefix} \ --with-libpcap=${prefix} \ --with-libnet=${prefix} \ --with-libpcre=${prefix} \ --mandir=\\\${prefix}/share/man \ --infodir=\\\${prefix}/share/info variant gtk { depends_lib-append lib:libglib.2:glib2 \ lib:libgtk.2:gtk2 configure.args-delete --disable-gtk configure.args-append --enable-gtk } variant plugins { configure.args-delete --disable-plugins configure.args-append --enable-plugins }
participants (1)
-
Bjarne D Mathiesen