Ticket #23259: cracklib-2.8.15.diff

File cracklib-2.8.15.diff, 2.0 KB (added by nox@…, 15 years ago)
  • dports/security/cracklib/Portfile

    diff --git dports/security/cracklib/Portfile dports/security/cracklib/Portfile
    index 7c10933..3abe27c 100644
     
    33# $Id$
    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, \
    1414                 lots of functions really, but you only need to use   \
    depends_lib port:gettext 
    2323depends_build    port:cracklib-words
    2424
    2525master_sites     sourceforge
    26 checksums        md5 580346fa1012f9d9769192f49d3801fa \
    27                  sha1 0a77b21366cfbad675e6e44642026c89b87f41ce \
    28                  rmd160 91649e66c3ce491b2ebea6135eaa6ba4705ffb58 \
     26checksums        md5     dd745f3daad5d4efa9b0c89d32042c33 \
     27                 sha1    2535a49da92bfece48639d23ada6964d122cc9ac \
     28                 rmd160  835425d5266ec0eb909430e755cbcb11a6074e9c
    2929
    30 configure.args-append --without-python
     30archcheck.files \
     31    lib/libintl.dylib
    3132
    32 variant nolargedict {
    33     depends_build-delete port:cracklib-words
    34 }
     33configure.args-append --without-python
    3534
    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
    5545livecheck.type  regex