# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name cracklib version 2.8.12 categories security maintainers theonelab.com:june revision 1 description A ProActive Password Sanity Library long_description CrackLib is a library containing a C function (well, \ lots of functions really, but you only need to use \ one of them) which may be used in a passwd-like \ program. The idea is simple: try to prevent users \ from choosing passwords that could be guessed by \ Crack by filtering them out, at source. homepage http://sourceforge.net/projects/cracklib/ platforms darwin depends_lib port:gettext depends_build port:cracklib-words master_sites sourceforge checksums md5 580346fa1012f9d9769192f49d3801fa \ sha1 0a77b21366cfbad675e6e44642026c89b87f41ce \ rmd160 91649e66c3ce491b2ebea6135eaa6ba4705ffb58 \ configure.args-append --without-python variant nolargedict { depends_build-delete port:cracklib-words } post-build { if {![variant_isset nolargedict]} { file copy ${prefix}/share/dict/cracklib-words ${worksrcpath}/dicts } file attributes ${worksrcpath}/util/cracklib-format -permissions 0755 } destroot.target-append dict-local post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/dict file rename ${destroot}${prefix}/share/cracklib/cracklib-small ${destroot}${prefix}/share/dict } test.run yes test.cmd make test.target check