twosigma / nsncd

nscd-compatible daemon that proxies lookups, without caching
Apache License 2.0
59 stars 14 forks source link

Packaging for Fedora #150

Open psyleft opened 1 day ago

psyleft commented 1 day ago

Hi all,

First of all, thanks for all your hard work on this project. A few years back in Fedora 34, nscd was deprecated due to it being buggy, not well-maintained, and most of its functionality being replaced by systemd-resolved. This means it can't be used for running Nix/Guix on Fedora (not that you can't at all, but it won't function 100% as I understand it), so it would be really valuable to have nsncd available instead.

I'm not that familiar with Fedora yet, but I messed around with packaging it using the recommended rust2rpm. It seems like all dependencies are already in the Fedora 41 repos except for criterion. I couldn't get criterion packaged properly but it seems to be only a dev profiling dependency so you might be able to exclude it somehow and build anyway? I'm not really sure.

Would you be open to packaging for the Fedora repos? If you don't want to commit to getting it integrated with Fedora releases and whatnot it would be nice to at least have an rpm package distributed with each release (with an automatic tool like cargo-generate-rpm).