This package was designed by the author to obsolete sys-libs/libnss-mysql (the same author created both programs); I've found it to be vastly more efficient, more scalable and much faster. The ebuild was extracted from the fssos-users mailing list, where I found it in a contribution thread. I've since modified it for bug fixes and general sanity. This is tested and working on a production system.
Created attachment 60241 [details] sys-libs/nsvs-20050326.ebuild
Created attachment 60242 [details] files/nsvsd.rc-init
Sorry, the "need mysql" in the init script obviously needs to be enclosed within a depend function. That must have been an older version of the script.
Created attachment 61242 [details] nsvs-20050531.ebuild
Created attachment 61243 [details] files/nsvsd.rc-init
Created attachment 61244 [details, diff] nsvsd-allow_public_shadow_access.patch
The above files update the ebuild, fix the problem in comment #3, and include a patch to bypass the shadow access restrictions for systems that don't use a shadow-based authentication system.
Fixing OS field...
Created attachment 79493 [details, diff] reconnect.patch The mysql API changed in mysql-5.0.3 from automatically trying to reconnect and to not do this. Explicitly setting the reconnect flag after connect should ensurce compliance with earlier behavior.
I'll take a look soon at this to substiute an existing libnss-mysql install myself... :) Best regards, CHTEKK.
*** Bug 154774 has been marked as a duplicate of this bug. ***
Created attachment 101676 [details] nsvs-20060915.ebuild
Who know when nsvs will appear in portage tree?
may be better to place this ebuild to sys-auth category, like libnss-mysql?
nsvs-20070407 is in the tree, that's the latest CVS snapshot (I made that one myself). I tested it and it seems to compile and work on amd64 and x86. Best regards, CHTEKK.