diff --git dports/security/cracklib/Portfile dports/security/cracklib/Portfile
index 7c10933..3abe27c 100644
|
|
|
3 | 3 | # $Id$ |
4 | 4 | |
5 | 5 | PortSystem 1.0 |
| 6 | PortGroup archcheck 1.0 |
6 | 7 | |
7 | 8 | name cracklib |
8 | | version 2.8.12 |
| 9 | version 2.8.15 |
9 | 10 | categories security |
10 | 11 | maintainers theonelab.com:june |
11 | | revision 1 |
12 | 12 | description A ProActive Password Sanity Library |
13 | 13 | long_description CrackLib is a library containing a C function (well, \ |
14 | 14 | lots of functions really, but you only need to use \ |
… |
… |
depends_lib port:gettext |
23 | 23 | depends_build port:cracklib-words |
24 | 24 | |
25 | 25 | master_sites sourceforge |
26 | | checksums md5 580346fa1012f9d9769192f49d3801fa \ |
27 | | sha1 0a77b21366cfbad675e6e44642026c89b87f41ce \ |
28 | | rmd160 91649e66c3ce491b2ebea6135eaa6ba4705ffb58 \ |
| 26 | checksums md5 dd745f3daad5d4efa9b0c89d32042c33 \ |
| 27 | sha1 2535a49da92bfece48639d23ada6964d122cc9ac \ |
| 28 | rmd160 835425d5266ec0eb909430e755cbcb11a6074e9c |
29 | 29 | |
30 | | configure.args-append --without-python |
| 30 | archcheck.files \ |
| 31 | lib/libintl.dylib |
31 | 32 | |
32 | | variant nolargedict { |
33 | | depends_build-delete port:cracklib-words |
34 | | } |
| 33 | configure.args-append --without-python |
35 | 34 | |
36 | 35 | post-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 |
42 | 38 | } |
43 | 39 | |
44 | 40 | destroot.target-append dict-local |
45 | 41 | |
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 | | |
51 | 42 | test.run yes |
52 | | test.cmd make |
53 | 43 | test.target check |
54 | 44 | |
55 | 45 | livecheck.type regex |