Bug 831510 - Allow libpwquality to be built without PAM (patch to add --without-pam)
Allow libpwquality to be built without PAM (patch to add --without-pam)
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: libpwquality (Show other bugs)
rawhide
All All
unspecified Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-13 03:45 EDT by Jasper Lievisse Adriaanse
Modified: 2012-06-13 11:11 EDT (History)
1 user (show)

See Also:
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 11:11:16 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Implement --without-pam (2.29 KB, patch)
2012-06-13 03:45 EDT, Jasper Lievisse Adriaanse
no flags Details | Diff

  None (edit)
Description Jasper Lievisse Adriaanse 2012-06-13 03:45:16 EDT
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 04:01:37 EDT
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 09:01:08 EDT
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 09:21:55 EDT
Allright, it works fine here. Thanks.

Note You need to log in before you can comment on or make changes to this bug.