Dsniff is a set of tools for networks auditing and penetration testing.
This is a kinda tricky ebuild since it needs sys-libs/db, but the version Gentoo
uses just can't be used by dniffs configure script for some reason (believe me i
tried). The only option i saw was building db in the workdir only to be used by
dsniffs building process. Works fine, only problem is that it may request
another db version then is in portage at a certain time, because the version is
hardcoded into the ebuild. This is inconvenient at most imo.
Also there are a couple of small hacks in the ebuild for working around the
uberb0rked config script, which only wants to install in /usr/local/ for some
reason. Setting other paths leads to.. trouble, lots of it :) Since i was
working on that, i also put the config/data files where they should be :
I'm kinda proud of this small twinkling jewel ebuild ;) It's time to get to bed
before i get really lyrical.
PS. It should ofcourse go in the net-analyzer category.
Created attachment 3331 [details]
dsniff-2.3.ebuild [new package]
Created attachment 3386 [details]
Made a mistake in the SRC_URI path for db3. I just copied it from the existing
ebuilds, but it changed. Not that it matters that much, it all gets downloaded
from the mirror anyway. Maybe an idea to fix it in the db ebuilds as well.
Noticed there already was a dsniff ebuild around, which does patch the whole
configure script (which is probably possible). It seems to have some problems,
but surely worth taking a look at instead of my solution ( bug 5155 ).