Hello, Enclosed you will find an ebuild file for pam_mount, a PAM module making it possible to automatically mount volumes on a per-session basis - e.g. in order to, in conjunction with cryptoloop, loop-AES or device-mapper, provide access to encrypted home directories. The ebuild deliberately omits calling "make install" on the package so that the required files are installed in more sane locations. The second attachment I have provided is a patch which modifies executable paths hardcoded into the source code to reflect those changes. Also, the SELinux-dependant part is not done - merely copying the files would be trivial, but I don't know how to take FEATURES="loadpolicy" into account and cannot work it out because I don't run SELinux. Given the location of other PAM modules in the repository, this one too should go into it as sys-auth/pam_mount.
Created attachment 74960 [details] pam_mount-0.10.0.ebuild
Created attachment 74961 [details, diff] pam_mount-0.10.0-binpaths.patch
*** This bug has been marked as a duplicate of 24213 *** *** This bug has been marked as a duplicate of 24213 ***