Created attachment 232843 [details] sniffglue.shar Hi, i have new port sniffglue.
Why do you need libpcap.so:net/libpcap? The one in base is incompatible?
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.
Created attachment 232898 [details] sniffglue.shar I updated shar file.
(In reply to Martin Filla from comment #3) why net-mgmt? nmap and rustscan (which are similar tools) are in security.
(In reply to Mikael Urankar from comment #4) I will change to security
Created attachment 233379 [details] snifffglue.shar
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e97d5b84d882611a871692a3abdda797759232e4 commit e97d5b84d882611a871692a3abdda797759232e4 Author: Martin Filla <freebsd@sysctl.cz> AuthorDate: 2022-04-22 11:47:44 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-04-22 12:49:11 +0000 security/sniffglue: Add new port sniffglue is a network sniffer written in rust. Network packets are parsed concurrently using a thread pool to utilize all cpu cores. Project goals are that you can run sniffglue securely on untrusted networks and that it must not crash when processing packets. The output should be as useful as possible by default. PR: 262959 security/Makefile | 1 + security/sniffglue/Makefile (new) | 338 +++++++++++ security/sniffglue/distinfo (new) | 633 +++++++++++++++++++++ security/sniffglue/files/patch-Cargo.toml (new) | 20 + ...atch-cargo-crates_pcap-sys-0.1.3_build.rs (new) | 10 + security/sniffglue/pkg-descr (new) | 4 + 6 files changed, 1006 insertions(+)
Thanks!