[Bug 262959] [NEW PORT] devel/sniffglue: multithread sniffer

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Apr 2022 09:20:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262959

--- Comment #2 from Mikael Urankar <mikael@FreeBSD.org> ---
If you want to use libpcap from the ports tree you need to use
libpcap.so.1:net/libpcap (it's subtle, but libpcap.so will be found in /usr/lib
and you'll end up using the base libpcap. You really want libpcap.so.1).
In this case, you don't need files/patch-cargo-crates_pcap-sys-0.1.3_build.rs,
just add pkgconfig to the USES list.

If you want to use libpcap from base you need
files/patch-cargo-crates_pcap-sys-0.1.3_build.rs. The LIB_DEPENDS line is not
needed AFAICT

If you want to let the user choose, you can do something like
net-mgmt/tcpreplay

The devel category looks wrong, security seems a better fit.

-- 
You are receiving this mail because:
You are the assignee for the bug.