On 2024/12/13 23:36, Lucas Gabriel Vuotto wrote: > Regarding Cargo.toml, I don't know any Rust nor its ecosystem, but it > seems to be possible to specify a Git hash, according to > https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html > in the way of > > -fastwebsockets = { git = "https://github.com/erebe/fastwebsockets.git", > features = ["upgrade", "simd", "unstable-split"] } > +fastwebsockets = { git = "https://github.com/erebe/fastwebsockets.git", rev > = "deadbad0", features = ["upgrade", "simd", "unstable-split"] }
You can't use that in ports, the build must work without network access, you can only use files fetched by ports infrastructure. If you aren't doing so already, use PORTS_PRIVSEP and under normal conditions block network for the _pbuild user as is done in the default pf.conf. (Sometimes you may want to temporarily unblock for tests).