Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56580 - dsniff 2.3 ebuild could work again... with these small changes ;-)
Summary: dsniff 2.3 ebuild could work again... with these small changes ;-)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 16:17 UTC by mark
Modified: 2004-07-15 10:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mark 2004-07-09 16:17:31 UTC
dsniff is masked at the moment. the following helped me to get it working - could this be included in the ebuild (already mailed squinky86, who told me to put it here):

> i lately noticed that dsniff wasnt working anymore and even found out
> why, the solution lies in BUG #32724. anywho i really like dsniff (and
> monkeys for that matter) and therefore put a little time into it.
> here's how it worked for me:
>
> dsniff will compile if there's a copy of the right (read 1.0.2) libnet
> nearby. get the lib from
> http://www.packetfactory.net/libnet/dist/deprecated/libnet-1.0.2a.tar.gz
> unpack, patch because they couldn't add backslashes on continued lines:
>
> # cd include
> # patch libnet.h /usr/portage/net-libs/libnet/files/libnet-gcc33-fix
>
> and compile dsniff with
>
> # ./configure --with-libnet=PATH_TO_LIBNET-1.0.2_TEMP
>
> everything works fine and he doesn't care about libnet-1.0.2 anymore
> once it's installed.

Reproducible: Always
Steps to Reproduce:
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-07-11 11:10:14 UTC
The current ebuild works for me.

give me the usual suspects: emerge info, and the version(s) of libnet you've got installed and the respective error messages.
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-07-11 11:11:49 UTC
btw, the ebuild is only ~arch masked, not hard masked.
Comment 3 mark 2004-07-11 12:47:10 UTC
hi!

it get this when emerging:

configure: error: libnet not found

with the following version installed:

net-libs/libnet-1.1.2.1

as far as i understood from the ebuild he wants 1.0.2, which is not installed and which i dont really want nor nead ;-)

emerge info gives:

Portage 2.0.50-r8 (2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.20-gaming-r14)
=================================================================
System uname: 2.4.20-gaming-r14 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ALSA_CARDS="ens1371"
ARCH="x86"
AUTOCLEAN="yes"
AUTO_SYMLINK="no"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fomit-frame-pointer  -ffast-math -fprefetch-loop-arrays -falign-functions=4 -funroll-loops -momit-leaf-frame-pointer -mbranch-cost=5 -funroll-loops -z combreloc"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fomit-frame-pointer  -ffast-math -fprefetch-loop-arrays -falign-functions=4 -funroll-loops -momit-leaf-frame-pointer -mbranch-cost=5 -funroll-loops -z combreloc"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
GLIBC_SSP_CHECKED="1"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="anshar"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/sun-jdk-1.4.2.04/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.04"
JDK_HOME="/opt/sun-jdk-1.4.2.04"
KBUILD_OUTPUT_PREFIX=""
KDEDIR="/usr/kde/3.2"
KDEDIRS="/usr"
LC_CTYPE="de_DE.UTF-8"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LINUX_PORTAGE_WRITABLE="no"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man::/opt/sun-jdk-1.4.2.04/man:/usr/qt/3/doc/man:/opt/vmware/man:/opt/sun-jdk-1.4.2.04/man:/usr/qt/3/doc/man:/opt/vmware/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/usr/bin/wrappers:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.04/bin:/opt/sun-jdk-1.4.2.04/jre/bin:/opt/sun-jdk-1.4.2.04/jre/javaws:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin:/opt/vmware/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="7563"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/opt:/usr/games/bin"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/root"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SGML_CATALOG_FILES="/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cscope cups curl dvd encode esd ethereal foomaticdb freetype gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg ldap libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses nls objc offensive oggvorbis opengl oscar oss pam pdflib perl pic png python quicktime readline samba scanner sdl slang spell sse ssl svg svga tcltk tcpd tetex tiff truetype unicode vim-with-x x86 xemacs xinerama xml2 xmms xv zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthdVMevo"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

thx for your help...

mark
Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-07-11 20:40:10 UTC
The whole point being that libnet-1.0.2 is a hard dep for dsniff, and you have to get it installed (you can emerge -C it afterwards if you want)

marking this invalid.
Comment 5 mark 2004-07-15 10:08:00 UTC
hi!

my point was that this should maybe be done "automagically" for the user, installing and removing the 1.0.2 version of libnet. and then it possibly it wouldnt have to be in ~x86 either...

but certainly this is up to you :-D

thx for the quick responses