Summary: | New package: sys-libs/nsvs-20050326 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Gorecki <anthony> |
Component: | New packages | Assignee: | Luca Longinotti (RETIRED) <chtekk> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | christian.skarby, kit, vivo |
Priority: | High | Keywords: | EBUILD |
Version: | 2005.0 | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sys-libs/nsvs-20050326.ebuild
files/nsvsd.rc-init nsvs-20050531.ebuild files/nsvsd.rc-init nsvsd-allow_public_shadow_access.patch reconnect.patch nsvs-20060915.ebuild |
Description
Anthony Gorecki
2005-05-30 22:22:38 UTC
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. |