Bug 831510 - Allow libpwquality to be built without PAM (patch to add --without-pam)
Summary: Allow libpwquality to be built without PAM (patch to add --without-pam)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libpwquality
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 07:45 UTC by Jasper Lievisse Adriaanse
Modified: 2012-06-13 15:11 UTC (History)
1 user (show)

Fixed In Version: libpwquality-1.1.1-1.fc18
Clone Of:
Environment:
Last Closed: 2012-06-13 15:11:16 UTC
Type: Bug
Embargoed:


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

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.


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