That's what I did:
Terminal type? [xterm] vt220
# cd /usr/ports/net/ettercap/
# cvs -d [EMAIL PROTECTED]:/cvs up
-r1.14'patches/patch-configure
'
# ls
CVS distinfo pkg
Makefile patches w-ettercap-0.6.b
# vi Makefile #(_bump_w-ettercap-0.6.b)
# $OpenBSD: Makefile,v 1.28 2005/02/07 19:01:49 pvalchev Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "multi-purpose sniffer/interceptor/logger"
VER= 0.6.b
DISTNAME= ettercap-${VER}
CATEGORIES= net
HOMEPAGE= http://ettercap.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/} \
${MASTER_SITE_PACKETSTORM:=sniffers/ettercap/}
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= pthread c crypto des form ncurses ssl
FLAVORS= no_x11
:q
# make update
===> Updating for ettercap-0.6.b
Not installed, no update
# make build
# make install
===> Installing ettercap-0.6.b from /usr/ports/packages/i386/all/ettercap-
0.6.b.tgz
ettercap-0.6.b: complete
# cvs -d [EMAIL PROTECTED]:/cvs up
-r1.14'patches/patch-configure'
# vi Makefile #(_bump_w-ettercap-0.6.b )
# $OpenBSD: Makefile,v 1.28 2005/02/07 19:01:49 pvalchev Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "multi-purpose sniffer/interceptor/logger"
VER= 0.6.b
DISTNAME= ettercap-${VER}
CATEGORIES= net
HOMEPAGE= http://ettercap.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/} \
${MASTER_SITE_PACKETSTORM:=sniffers/ettercap/}
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= pthread c crypto des form ncurses ssl
FLAVORS= no_x11
:q
# make update
# make update
# ettercap -s
ettercap 0.6.b (c) 2002 ALoR & NaGA
Your IP: 10.0.0.1 with MAC: 00:08:54:11:DF:59 on Iface: vr0
Loading plugins... ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined
symbol 'Host_In_LAN'
ettercap: /usr/local/lib/ettercap/ec_triton.so: can't resolve reference
'Host_In_LAN'
ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined symbol 'Options'
ettercap: /usr/local/lib/ettercap/ec_triton.so: can't resolve reference
'Options'
ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined symbol
'number_of_hosts_in_lan'
ettercap: /usr/local/lib/ettercap/ec_triton.so: can't resolve reference
'number_of_hosts_in_lan'
ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined symbol
'Plugin_Register'
lazy binding failed!
Ooops !! Somewhere in the stack a pointer got crazy...
[ettercap] Segmentation Fault...
===========================================================================
To report this error follow these steps:
1) recompile ettercap in debug mode :
"configure --enable-debug && make clean && make"
2) reproduce the critical situation
3) make a report : "tar zcvf error.tar.gz ettercap_debug.log "
4) get the gdb backtrace :
- "gdb ettercap core"
- at the gdb prompt "bt"
- at the gdb prompt "quit" and return to the shell
- copy and paste this output.
5) mail us the output of gdb and the error.tar.gz
============================================================================
# make upadate
make: don't know how to make upadate. Stop in /usr/ports/net/ettercap.
# make update
# cvs -d [EMAIL PROTECTED]:/cvs up
-r1.14'patches/patch-configure'
# vi Makefile #(_bump_w-ettercap-0.6.b)
# $OpenBSD: Makefile,v 1.28 2005/02/07 19:01:49 pvalchev Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "multi-purpose sniffer/interceptor/logger"
VER= 0.6.b
DISTNAME= ettercap-${VER}
CATEGORIES= net
HOMEPAGE= http://ettercap.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/} \
${MASTER_SITE_PACKETSTORM:=sniffers/ettercap/}
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= pthread c crypto des form ncurses ssl
FLAVORS= no_x11
FLAVOR?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-https
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
:q
# make update
# ettercap -s
ettercap 0.6.b (c) 2002 ALoR & NaGA
Your IP: 10.0.0.1 with MAC: 00:08:54:11:DF:59 on Iface: vr0
Loading plugins... ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined
symbol 'Host_In_LAN'
ettercap: /usr/local/lib/ettercap/ec_triton.so: can't resolve reference
'Host_In_LAN'
ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined symbol 'Options'
ettercap: /usr/local/lib/ettercap/ec_triton.so: can't resolve reference
'Options'
ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined symbol
'number_of_hosts_in_lan'
ettercap: /usr/local/lib/ettercap/ec_triton.so: can't resolve reference
'number_of_hosts_in_lan'
ettercap:/usr/local/lib/ettercap/ec_triton.so: undefined symbol
'Plugin_Register'
lazy binding failed!
Ooops !! Somewhere in the stack a pointer got crazy...
[ettercap] Segmentation Fault...
===========================================================================
To report this error follow these steps:
1) recompile ettercap in debug mode :
"configure --enable-debug && make clean && make"
2) reproduce the critical situation
3) make a report : "tar zcvf error.tar.gz ettercap_debug.log "
4) get the gdb backtrace :
- "gdb ettercap core"
- at the gdb prompt "bt"
- at the gdb prompt "quit" and return to the shell
- copy and paste this output.
5) mail us the output of gdb and the error.tar.gz
============================================================================
#
and even after that, guess what, didn't work.
I'm about to forget this pkg
=/