# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 139449 2015-08-17 19:40:49Z mf2k@macports.org $ PortSystem 1.0 name cracklib-words version 20080507 set my_version [string range ${version} 0 3]-[string range ${version} 4 5]-[string range ${version} 6 7] categories security maintainers nomaintainer supported_archs noarch installs_libs no description Wordlists for cracklib 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. \ \ This port contains the word lists essential for \ cracklib to build. There is no need to keep this \ package installed, unless you feel the need to update \ cracklib's wordlist dictionary on occasion. homepage http://sourceforge.net/projects/cracklib/ platforms darwin master_sites sourceforge:project/cracklib/cracklib-words/${my_version} checksums md5 7fa6ba0cd50e7f9ccaf4707c810b14f1 \ sha1 e0cea03e505e709b15b8b950d56cb493166607da \ rmd160 9005c24c58feb8cdbfe958cd942293e4ff1e23be extract.mkdir yes extract.suffix .gz extract.post_args | cat > ${worksrcpath}/${name} use_configure no build { } destroot { xinstall -d ${destroot}${prefix}/share/cracklib xinstall -m 644 ${worksrcpath}/${name} ${destroot}${prefix}/share/cracklib } livecheck.regex /${name}-(\[0-9-\]+)${extract.suffix}