2 ms·
seems trivial for a configure script to call curl/wget somewhere in the depths of it, no?
by fragmede 3y ago
seems trivial for a configure script to call curl/wget somewhere in the depths of it, no?
- timschmidt 3y agoExactly. And at least Cargo will refuse to download a crate which has been yanked. So any crate which has been discovered to be compromised can be yanked, preventing further damage even when someone has already downloaded something which depends on it. Building packages with up-to-date dependencies is also vastly preferable to building against ancient copies of libraries vendored into a codebase at some point in the past, a situation I see far too often in C/C++ codebases.
- Hackbraten 3y agoDebian’s rules files often deliberately sinkhole the entire network during the build. It’s not the worst idea.
- fragmede 3y agoI wonder if you could do it inside the config script without the network.