Build secmon with bundled jerbuild dependencies
ober
03e317adf1a229e8d190011668462a728f6e9f07
--- a/.jerbuild +++ b/.jerbuild @@ -3,6 +3,7 @@ (entry "bin/agent.ss") (output "secmon-agent") (requires "cc" "cargo") -(notes "Uses the repo-local patched jerboa-native-rs crate. That crate has no DuckDB feature.") -(libdirs ".") -(rust-crates "patches/jerboa-native-rs/Cargo.toml") +(notes "Uses the jerbuild-bundled jerboa-native-rs crate with crypto and SQLite enabled.") +(libdirs "lib") +(rust-crates + ("@bundle/jerboa-native-rs/Cargo.toml" features: "crypto,sqlite")) --- a/lib/secmon/platform/freebsd.sls +++ b/lib/secmon/platform/freebsd.sls @@ -3,7 +3,7 @@ create-freebsd-process-provider create-freebsd-network-provider) (import - (chezscheme) + (except (chezscheme) bytevector-slice) (jerboa prelude clean) (secmon platform provider)) --- a/lib/secmon/platform/linux.sls +++ b/lib/secmon/platform/linux.sls @@ -3,7 +3,7 @@ create-linux-process-provider create-linux-network-provider) (import - (chezscheme) + (except (chezscheme) bytevector-slice) (jerboa prelude clean) (secmon platform provider)) --- a/lib/secmon/stealth/anti-debug.sls +++ b/lib/secmon/stealth/anti-debug.sls @@ -2,7 +2,7 @@ (library (secmon stealth anti-debug) (export is-debugged? start-debug-watchdog!) (import - (chezscheme) + (except (chezscheme) bytevector-slice) (jerboa prelude clean) (secmon stealth obfuscate)) --- a/lib/secmon/stealth/integrity.sls +++ b/lib/secmon/stealth/integrity.sls @@ -1,7 +1,7 @@ (library (secmon stealth integrity) (export init-integrity-check! start-integrity-watchdog!) (import - (chezscheme) + (except (chezscheme) bytevector-slice) (jerboa prelude clean) (std crypto native-rust) (secmon stealth obfuscate))