Bug 94579 - New package: sys-libs/nsvs-20050326
|
Bug#:
94579
|
Product: Gentoo Linux
|
Version: 2005.0
|
Platform: All
|
|
OS/Version: Other
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: chtekk@gentoo.org
|
Reported By: anthony@ectrolinux.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: New package: sys-libs/nsvs-20050326
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2005-05-30 22:22 0000
|
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.
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.
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.
Created an attachment (id=79493) [details]
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. ***
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.