mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
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
10 lines
369 B
Rust
10 lines
369 B
Rust
--- cargo-crates/pcap-sys-0.1.3/build.rs.orig 2022-03-31 13:14:17 UTC
|
|
+++ cargo-crates/pcap-sys-0.1.3/build.rs
|
|
@@ -35,6 +35,7 @@ fn main() {
|
|
|
|
// on macOS, pcap-config returns /usr/local/lib, but libpcap is actually in /usr/lib
|
|
println!("cargo:rustc-link-search=native=/usr/lib");
|
|
+ println!("cargo:rustc-link-lib=pcap");
|
|
}
|
|
|
|
/// Adapted from pkg_config
|