Unbreak and otherwise improve this port:
* Use standard source of PECL-sources -- the old MASTER_SITE is
gone, and good riddance too, because the difference between
0.4 and 0.4.1 was an irrelevant one-liner.
* Patch to use modern PHP ZEND API
* Patch to actually use cracklib as advertized -- since the
port's inception it LIB_DEPENDed on security/cracklib and
advertized its use in pkg-descr, lying on both accounts.
* Throw in a couple of basic usage tests rejecting bad passwords
and accepting good ones.
Special thanks to Nathan Neulinger for making the necessary cracklib function
accessible and to cy@ for promptly updating security/cracklib to use
Nathan's latest release.
This package provides an interface to the cracklib (libcrack) libraries that
come standard on most unix-like distributions. This allows you to check
passwords against dictionaries of words to ensure some minimal level of
password security.
From the cracklib README
CrackLib makes literally hundreds of tests to determine whether you've
chosen a bad password.
* It tries to generate words from your username and gecos entry to tries
to match them against what you've chosen.
* It checks for simplistic patterns.
* It then tries to reverse-engineer your password into a dictionary
word, and searches for it in your dictionary.
- after all that, it's PROBABLY a safe(-ish) password. 8-)
WWW: http://pecl.php.net/package/crack
PR: ports/94244
Submitted by: Bill Moran <wmoran at collaborativefusion.com>