-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken cracklib macro in autotools and meson #940
Conversation
080f3f0
to
6da51fe
Compare
e96bae4
to
03a9f05
Compare
Quality Gate passedIssues Measures |
if fs.is_dir('/usr/share/cracklib') | ||
cracklib_dict += '/usr/share/cracklib/pw_dict' | ||
elif fs.is_dir('/var/cache/cracklib') | ||
cracklib_dict += '/var/cache/cracklib/cracklib_dict' | ||
elif fs.is_dir('/usr/local/libdata/cracklib') | ||
cracklib_dict += '/usr/local/libdata/cracklib/cracklib-words' | ||
elif fs.is_dir('/usr/pkg/share/cracklib') | ||
cracklib_dict += '/usr/pkg/share/cracklib/pw_dict' | ||
elif fs.is_dir('/usr/local/share/cracklib') | ||
cracklib_dict += '/usr/local/share/cracklib/cracklib-small' | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Holy moly, this is quite the collection. Did you dig through all the actively supported distros to collect these paths?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course... :)
@dgsga Will you port this to 2.x or should I? |
All done in PR #990 |
WIP