Skip to content
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

Merged
1 commit merged into from
May 2, 2024
Merged

Conversation

ghost
Copy link

@ghost ghost commented May 1, 2024

WIP

@ghost ghost self-assigned this May 1, 2024
@ghost ghost force-pushed the dgsga-v3-cracklib branch from 106661b to adc9dd7 Compare May 1, 2024 18:20
@ghost ghost changed the title Fix broken crackle macro in autotools and meson Fix broken cracklib macro in autotools and meson May 1, 2024
@ghost ghost force-pushed the dgsga-v3-cracklib branch 7 times, most recently from 080f3f0 to 6da51fe Compare May 2, 2024 10:36
@ghost ghost marked this pull request as ready for review May 2, 2024 14:34
@ghost ghost requested a review from rdmark as a code owner May 2, 2024 14:34
@ghost ghost force-pushed the dgsga-v3-cracklib branch 2 times, most recently from e96bae4 to 03a9f05 Compare May 2, 2024 14:40
@ghost ghost force-pushed the dgsga-v3-cracklib branch from 4ed198b to 40d403f Compare May 2, 2024 14:45
Copy link

sonarcloud bot commented May 2, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Comment on lines +1729 to +1739
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
Copy link
Member

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course... :)

@ghost ghost merged commit a3141c9 into main May 2, 2024
15 checks passed
@ghost ghost deleted the dgsga-v3-cracklib branch May 2, 2024 19:06
@rdmark
Copy link
Member

rdmark commented May 5, 2024

@dgsga Will you port this to 2.x or should I?

ghost pushed a commit that referenced this pull request May 15, 2024
ghost pushed a commit that referenced this pull request May 15, 2024
@ghost
Copy link
Author

ghost commented May 15, 2024

All done in PR #990

ghost pushed a commit that referenced this pull request May 19, 2024
ghost pushed a commit that referenced this pull request May 20, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant