Bug 831510

Summary: Allow libpwquality to be built without PAM (patch to add --without-pam)
Product: [Fedora] Fedora Reporter: Jasper Lievisse Adriaanse <jasper>
Component: libpwqualityAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: libpwquality-1.1.1-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-13 15:11:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Implement --without-pam none

Description Jasper Lievisse Adriaanse 2012-06-13 07:45:16 UTC
Created attachment 591392 [details]
Implement --without-pam

Currently libpwquality can't be built without PAM, thus it won't build on OpenBSD for example.

Attached is a patch that implements a --without-pam configure switch. It's been tested on OpenBSD; if someone could confirm it works fine on system with PAM and commits it, it'd be greatly appreciated.

Comment 1 Tomas Mraz 2012-06-13 08:01:37 UTC
Thanks for the patch, I planned to make the pam module build optional too. I'll test it and commit upstream.

Comment 2 Tomas Mraz 2012-06-13 13:01:08 UTC
I changed the patch to use AC_ARG_ENABLE instead of with as that is more consistent with the python bindings enablement.

Comment 3 Jasper Lievisse Adriaanse 2012-06-13 13:21:55 UTC
Allright, it works fine here. Thanks.