Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94579 - New package: sys-libs/nsvs-20050326
Summary: New package: sys-libs/nsvs-20050326
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
: 154774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-30 22:22 UTC by Anthony Gorecki
Modified: 2007-12-30 02:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-libs/nsvs-20050326.ebuild (nsvs-20050326.ebuild,926 bytes, text/plain)
2005-05-30 22:23 UTC, Anthony Gorecki
Details
files/nsvsd.rc-init (nsvsd.rc-init,456 bytes, text/plain)
2005-05-30 22:23 UTC, Anthony Gorecki
Details
nsvs-20050531.ebuild (nsvs-20050531.ebuild,1.02 KB, text/plain)
2005-06-14 21:04 UTC, Anthony Gorecki
Details
files/nsvsd.rc-init (nsvsd.rc-init,470 bytes, text/plain)
2005-06-14 21:05 UTC, Anthony Gorecki
Details
nsvsd-allow_public_shadow_access.patch (nsvsd-allow_public_shadow_access.patch,1.02 KB, patch)
2005-06-14 21:05 UTC, Anthony Gorecki
Details | Diff
reconnect.patch (reconnect.patch,474 bytes, patch)
2006-02-11 05:41 UTC, Christian Skarby
Details | Diff
nsvs-20060915.ebuild (nsvs-20060915.ebuild,1.57 KB, text/plain)
2006-11-11 06:13 UTC, Anton S. Ustyuzhanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Gorecki 2005-05-30 22:22:38 UTC
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.
Comment 1 Anthony Gorecki 2005-05-30 22:23:13 UTC
Created attachment 60241 [details]
sys-libs/nsvs-20050326.ebuild
Comment 2 Anthony Gorecki 2005-05-30 22:23:55 UTC
Created attachment 60242 [details]
files/nsvsd.rc-init
Comment 3 Anthony Gorecki 2005-06-02 21:55:12 UTC
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.
Comment 4 Anthony Gorecki 2005-06-14 21:04:41 UTC
Created attachment 61242 [details]
nsvs-20050531.ebuild
Comment 5 Anthony Gorecki 2005-06-14 21:05:24 UTC
Created attachment 61243 [details]
files/nsvsd.rc-init
Comment 6 Anthony Gorecki 2005-06-14 21:05:47 UTC
Created attachment 61244 [details, diff]
nsvsd-allow_public_shadow_access.patch
Comment 7 Anthony Gorecki 2005-06-14 21:07:23 UTC
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.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-02-11 03:32:43 UTC
Fixing OS field...
Comment 9 Christian Skarby 2006-02-11 05:41:00 UTC
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.
Comment 10 Luca Longinotti (RETIRED) gentoo-dev 2006-09-30 07:51:03 UTC
I'll take a look soon at this to substiute an existing libnss-mysql install myself... :)
Best regards, CHTEKK.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 02:10:02 UTC
*** Bug 154774 has been marked as a duplicate of this bug. ***
Comment 12 Anton S. Ustyuzhanin 2006-11-11 06:13:43 UTC
Created attachment 101676 [details]
nsvs-20060915.ebuild
Comment 13 Anton S. Ustyuzhanin 2006-11-11 19:52:34 UTC
Who know when nsvs will appear in portage tree?
Comment 14 Anton S. Ustyuzhanin 2006-11-12 05:32:53 UTC
may be better to place this ebuild to sys-auth category, like libnss-mysql?
Comment 15 Luca Longinotti (RETIRED) gentoo-dev 2007-12-30 02:53:17 UTC
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.