Created attachment 9796 [details] Make the PAM security dir configureable At the moment pamdir is defined fix as $(libdir)/security With the added patch we're able to configure --with-pamdir=/%{_lib}/security for example.
Basic concept looks good. Makefile.in is autogenerated so there's no need to patch that. The rest looks fairly straightforward and shouldn't cause any change by default. I'll give it a test when I have some time and verify it.
Thanks for the patch. I made a few small tweaks, and sent it out to the list. I'll plan to merge it in the next day or two if no one objects.