I needed dsniff for some lighter debugging and it didn't compile so I had to look into making it work again. The RDEPENDS looks a bit bogus in the ebuild. I changed it to: RDEPEND=">=net-libs/libpcap-0.7.1 >=net-libs/libnet-1.0.2a-r3 >=net-libs/libnids-1.16-r1 >=dev-libs/openssl-0.9.6e" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 26650 [details, diff] Patch that fix libnids stuff It fixes the configure test and the changes the includes to nids.h from nids-1.0.h.
dsniff is masked because it requires <nids-1.18 which is known to have security bugs
So how come I have it installed with libnids-1.18 ? root@gateway / # ls /var/db/pkg/net-libs/ libnet-1.0.2a-r3 libnet-1.1.1 libnids-1.18 libpcap-0.8.1-r1 root@gateway / # ldd /usr/sbin/dsniff libresolv.so.2 => /lib/libresolv.so.2 (0x22e98000) libnsl.so.1 => /lib/libnsl.so.1 (0x22eaa000) libnids.so.1.18 => /usr/lib/libnids.so.1.18 (0x22ebf000) libpcap.so.0 => /usr/lib/libpcap.so.0 (0x22ecd000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x22ef4000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x22f22000) libc.so.6 => /lib/libc.so.6 (0x23014000) libdl.so.2 => /lib/libdl.so.2 (0x23149000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x22e7d000) Or am I missing something ?
you didnt explicitly state that your patch fixes dsniff to compile with libnids-1.18
Is this going anywhere? It'd be nice to use dsniff :)
sorry to play dumb here, but what are the steps needed to make this patch fix libnids? thanks. ~jeff~
ah what screwed me up was that the patch only reverts the libnids portion of my libnet-1.0 patch, not the libnet-1.0 part trimmed out the nids-1.0 parts of the libnet-1.0 patch and unmasked dsniff thanks for the heads up