Changeset 62773


Ignore:
Timestamp:
Jan 17, 2010, 3:17:16 AM (10 years ago)
Author:
nox@…
Message:

Update cracklib to 2.18.5

Variant "nolargedict" removed as there is no benefit to it.
Furthermore, the small dictionary is not moved around anymore and left
in its initial install directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/cracklib/Portfile

    r62634 r62773  
    44
    55PortSystem 1.0
     6PortGroup archcheck 1.0
    67
    78name             cracklib
    8 version          2.8.12
     9version          2.8.15
    910categories       security
    1011maintainers      theonelab.com:june
    11 revision         1
    1212description      A ProActive Password Sanity Library
    1313long_description CrackLib is a library containing a C function (well, \
     
    2424
    2525master_sites     sourceforge
    26 checksums        md5 580346fa1012f9d9769192f49d3801fa \
    27                  sha1 0a77b21366cfbad675e6e44642026c89b87f41ce \
    28                  rmd160 91649e66c3ce491b2ebea6135eaa6ba4705ffb58 \
     26checksums        md5     dd745f3daad5d4efa9b0c89d32042c33 \
     27                 sha1    2535a49da92bfece48639d23ada6964d122cc9ac \
     28                 rmd160  835425d5266ec0eb909430e755cbcb11a6074e9c
     29
     30archcheck.files \
     31    lib/libintl.dylib
    2932
    3033configure.args-append --without-python
    3134
    32 variant nolargedict {
    33     depends_build-delete port:cracklib-words
    34 }
    35 
    3635post-build {
    37     if {![variant_isset nolargedict]} {
    38         file copy ${prefix}/share/dict/cracklib-words ${worksrcpath}/dicts
    39     }
    40 
    41     file attributes ${worksrcpath}/util/cracklib-format -permissions 0755
     36    ln -s ${prefix}/share/cracklib/cracklib-words ${worksrcpath}/dicts
     37    file attributes ${worksrcpath}/util/cracklib-format -permissions 755
    4238}
    4339
    4440destroot.target-append dict-local
    4541
    46 post-destroot {
    47     xinstall -d -m 0755 ${destroot}${prefix}/share/dict
    48     file rename ${destroot}${prefix}/share/cracklib/cracklib-small ${destroot}${prefix}/share/dict
    49 }
    50 
    5142test.run        yes
    52 test.cmd        make
    5343test.target     check
    5444
Note: See TracChangeset for help on using the changeset viewer.