It appears that libnsl is an indirect dependency which is only required when using tcp-wrappers and tcp-wrappers have been compiled with the netgroups USE flag enabled. Reproducible: Always Steps to Reproduce: 1. Compile tcp-wrappers without netgroups USE flag set 2. Compile conserver 3. Check runtime libraries dependencies /lib64/libwrap.so.* and /usr/bin/conserver using ldd -r -d Actual Results: ldd shows that neither tcp-wrappers nor conserver are actually using libnsl. This is OK for tcp-wrappers as libnsl dependency depends on netgroups USE flag (in RDEPEND). But conserver ebuild keeps a dependency only this library. Expected Results: There should not be any dependency on libnsl when tcp-wrappers was compiled without netgroups USE flag set Making the net-libs/libnsl conditional in conserver ebuild made me able to distclean this library I don't have any usage, not using NIS on any machine.
Created attachment 824749 [details, diff] Patch to conserver ebuild, making libnsl dependency optional Adding a netgroups USE flag to conserver and requesting this flag to be set the same way for tcp-wrappers makes possible to libnsl dependency depend on tcpd and netgroups USE flags set together
Created attachment 824751 [details] output from emerge --info =app-admin/conserver-8.2.6-r3 Here is the emerge --info output _after_ patching the ebuild and re-merging it.