Gregor Hermann writes: On Mon, 18 Sep 2023 17:48:33 +0200, Francesco P. Lovergine wrote:
[...] Maybe a wrapper could be tought for packages that have some optional dep on that? [...]Given that we've had to patch only 3 packages (in pkg-perl) over the last decades and that the patch is trivial, and given that a Mozilla::CA package doing different things on Debian than upstream would cause confusion, I recommend against going that way. Let's see what others on the list say.
For example, the Mozilla::CA requirement can be removed from Alien::Build::Plugin::Fetch::HTTPTiny in libalien-build-perl and be replaced by a dependency on ca-certificates.
https://github.com/PerlAlien/Alien-Build/blob/cfdc0e74364c05d62c50ed77345b480c93eb90ce/lib/Alien/Build/Plugin/Fetch/HTTPTiny.pm#L62 HTTP::Tiny uses the system's certificates if Mozilla::CA is not available. https://github.com/chansen/p5-http-tiny/blob/2f17ba0a6c979b8c37feef830861eeb633484358/lib/HTTP/Tiny.pm#L1640I've been using a personal libalien-build-perl package without Mozilla::CA for a long time.