Created attachment 399422 [details, diff]
fix compilation against musl
musl doesn't have netgroup support. use configure to check for getnetgrent and innetgr, block off sections of code using those.
patch is inspired by a similar patch in alpine linux for polkit 0.105, however the polkit code has changed significantly since then. their attempt to upstream a fix has been completely ignored since 2012.
the attached patch is against hardened-dev musl branch, though i don't see how this could break things for anyone else. code review would be appreciated either way.
sorry for the delay in pushing this one. i just noticed it becuase it wasn't blocking musl-porting. anyhow its on the overlay now.