Hi! Attached is keyutils-0.3.ebuild. Keyutils contains the user-space packages for the Linux Key Retention Service. This service allows cryptographic keys, authentication tokens, cross-domain user mappings, and similar to be cached in the kernel for the use of filesystems other kernel services. See Documention/keys.txt for the details. The mailing list for the Linux Key Retention Service is http://linux-nfs.org/cgi-bin/mailman/listinfo/keyrings, and the user-space utilites are at http://people.redhat.com/~dhowells/keyutils . This application requires libc and a kernel version that supports the key retention service. I suggest sys-app/keyutils for this ebuild.
Created attachment 72353 [details] keyutils-0.3.ebuild (New Package)
Offhand you are going to want to use one of the kernel eclasses to detect if they have that kernel setting set or not, and die if it's not set ( see for example, the lm_sensors ebuild ). No use having the utilties if the key retention support isn't built.
Created attachment 72355 [details] keyutils-0.3.ebuild (New Package, Second attempt) Ok, I added the kernel version/config checks, and also fixed 1 file getting copied into 2 different places
Created attachment 72424 [details] keyutils-0.3.ebuild (New Package, After Cleanup) I did not know about http://dev.gentoo.org/~ciaranm/docs/mw-faq, I saw references to it as I was viewing other contributed ebuild bugs, so I modified the ebuild to bring up to that spec, and also change the homepage to point at the mailing list instead of downlaod directory.
Looks like it was added (independently) into Portage 15 Dec 2005, so this one can be closed