HomeFreeBSD

RPM: Add missing BuildRequires for PAM component

Description

RPM: Add missing BuildRequires for PAM component

When the optional PAM binaries are included in a build, ./configure will
look for security/pam_modules.h and - if it doesn't find it - recommend
the user install libpam0g-dev. On Red Hat systems, pam-devel is the
package that supplies this requirement; libpam0g-dev does not exist.

By encoding this requirement in the spec file, we give packagers more
appropriate (and timely) recommendations for completing the build.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Lindee <chris.lindee+github@gmail.com>
Closes #13001

Details

Provenance
ColMelvin <chris.lindee+github@gmail.com>Authored on Jan 25 2022, 9:14 PM
Tony Hutter <hutter2@llnl.gov>Committed on Feb 17 2022, 1:58 AM
Parents
rG7f4f461bcf8c: Clarify `failmode=wait` documentation
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG5753e7a7c503: RPM: Add missing BuildRequires for PAM component (authored by ColMelvin <chris.lindee+github@gmail.com>).Feb 17 2022, 1:58 AM