source: trunk/dports/security/cracklib/Portfile

Last change on this file was 142450, checked in by ryandesign@…, 21 months ago

cracklib: use correct permissions for cracklib-format

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 142450 2015-11-12 08:41:05Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name             cracklib
7version          2.9.5
8categories       security
9license          LGPL-2.1
10maintainers      nomaintainer
11description      A ProActive Password Sanity Library
12long_description CrackLib is a library containing a C function (well, \
13                 lots of functions really, but you only need to use   \
14                 one of them) which may be used in a passwd-like      \
15                 program.  The idea is simple: try to prevent users   \
16                 from choosing passwords that could be guessed by     \
17                 Crack by filtering them out, at source.
18
19homepage         http://sourceforge.net/projects/cracklib/
20platforms        darwin
21depends_lib      port:gettext port:zlib
22depends_build    port:cracklib-words
23
24master_sites     sourceforge:project/cracklib/cracklib/${version}
25
26checksums        rmd160  f9c98963dcc6014f568d4c781853ad4f80312a74 \
27                 sha256  59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33
28
29configure.args-append --without-python
30
31post-build {
32    ln -s ${prefix}/share/cracklib/cracklib-words ${worksrcpath}/dicts
33    file attributes ${worksrcpath}/util/cracklib-format -permissions +x
34}
35
36destroot.target-append dict-local
37
38test.run        yes
39test.target     check
Note: See TracBrowser for help on using the repository browser.