Ticket #14101: Portfile

File Portfile, 1.7 KB (added by june@…, 16 years ago)

Portfile for the cracklib-words port

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2# vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
3# $Id$
4
5PortSystem 1.0
6
7name             cracklib-words
8version          1.2
9categories       security
10maintainers      theonelab.com:june
11description      Wordlists for cracklib
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                                                                      \
19                 This port contains the word lists essential for      \
20                 cracklib to build. There is no need to keep this     \
21                 package installed, unless you feel the need to update \
22                 cracklib's wordlist dictionary on occasion.
23
24homepage         http://sourceforge.net/projects/cracklib/
25platforms        darwin
26
27master_sites     sourceforge:cracklib
28checksums        md5 3676a8707720a809580fd206c241c56d \
29                 sha1 810363b02d404f1a0e835934cba3af35623e2551 \
30                 rmd160 f63e057bdcc2636b2e5f9e3add7f72e04598a455
31
32extract.mkdir    yes
33extract.suffix   .gz
34extract.post_args "| cat > ${worksrcpath}/${name}"
35
36configure { }
37build     { }
38
39destroot  {
40    xinstall -d -m 0755 ${destroot}/${prefix}/share/cracklib
41    xinstall -m 0644 ${worksrcpath}/${name} ${destroot}/${prefix}/share/cracklib
42}