The attached patch applied over the current ebuild, with pam eclass in place (see bug #93118) makes xscreensaver's pamd file compatible with openpam (removing pam_stack.so) and amd64 (removing fullpath to modules). As the pamd file was just a pam_stack call to system-auth, it uses the new pamd_mimic_system function which allows to avoid using a file in $FILESDIR as pamd file. As I was there, I also cleaned up params passing to econfig to make use of use_* functions. HTH, Diego
Created attachment 59303 [details, diff] Ebuild patch
I don't see a pam.eclass anywhere.
xscreensaver-4.20-r1 now in portage. Thanks for the pam changes and cleanup.