Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84284 - No dsniff.magic, dnsspoof.hosts and dsniff.services files in dsniff
Summary: No dsniff.magic, dnsspoof.hosts and dsniff.services files in dsniff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-06 03:48 UTC by Grzegorz Chwesewicz
Modified: 2005-03-07 02:53 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 Grzegorz Chwesewicz 2005-03-06 03:48:31 UTC
When I emerged dsniff emerge complained like that:

<cut>
"test -d /var/tmp/portage/dsniff-2.3-r2/image//usr/share/man/man8 || \
   /bin/install -c -d /var/tmp/portage/dsniff-2.3-r2/image//usr/share/man/man8
for file in *.8; do \
   /bin/install -c -m 644 $file /var/tmp/portage/dsniff-2.3-r2/image//usr/share/man/man8; \
done
mv: Could not stat on `/var/tmp/portage/dsniff-2.3-r2/image//usr/dnsspoof.hosts': No such file or directory
mv: Could not stat on `/var/tmp/portage/dsniff-2.3-r2/image//usr/dsniff.magic': No such file or directory
mv: Could not stat on `/var/tmp/portage/dsniff-2.3-r2/image//usr/dsniff.services': No such file or directory
man:
gzipping man page: arpspoof.8
gzipping man page: msgsnarf.8
<cut>

But after all it installed correctly. I've tried to run dsniff and it gave me: "dsniff: couldn't open /etc/dsniff/dsniff.services", so I untared /usr/portage/distfiles/dsniff-2.3.tar.gz, and copied required files manually. It resolved the problem.

I've made a patch for dsniff-2.3-r2.ebuild.

diff -U 0 -r dsniff-2.3-r2.ebuild dsniff-2.3-r2-working.ebuild
--- dsniff-2.3-r2.ebuild        2005-03-06 12:48:03.150879000 +0100
+++ dsniff-2.3-r2-working.ebuild        2005-03-06 12:43:25.000000000 +0100
@@ -72 +72 @@
-       mv ${D}/usr/{dnsspoof.hosts,dsniff.{magic,services}} ${D}/etc/dsniff/
+       mv ${D}usr/lib/{dnsspoof.hosts,dsniff.{magic,services}} ${D}/etc/dsniff/

Reproducible: Always
Steps to Reproduce:



Expected Results:  
Copy the mentioned files to the proper directory.
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-03-07 02:53:59 UTC
r3 is in CVS.  Thanks very much for the report.