Add support for RPM builds
add supportfor pam authentication