[62773] trunk/dports/security/cracklib/Portfile

nox at macports.org nox at macports.org
Sat Jan 16 19:17:17 PST 2010


Revision: 62773
          http://trac.macports.org/changeset/62773
Author:   nox at macports.org
Date:     2010-01-16 19:17:16 -0800 (Sat, 16 Jan 2010)
Log Message:
-----------
Update cracklib to 2.18.5

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

Modified Paths:
--------------
    trunk/dports/security/cracklib/Portfile

Modified: trunk/dports/security/cracklib/Portfile
===================================================================
--- trunk/dports/security/cracklib/Portfile	2010-01-17 03:17:05 UTC (rev 62772)
+++ trunk/dports/security/cracklib/Portfile	2010-01-17 03:17:16 UTC (rev 62773)
@@ -3,12 +3,12 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup archcheck 1.0
 
 name             cracklib
-version          2.8.12
+version          2.8.15
 categories       security
 maintainers      theonelab.com:june
-revision         1
 description      A ProActive Password Sanity Library
 long_description CrackLib is a library containing a C function (well, \
                  lots of functions really, but you only need to use   \
@@ -23,33 +23,23 @@
 depends_build    port:cracklib-words
 
 master_sites     sourceforge
-checksums        md5 580346fa1012f9d9769192f49d3801fa \
-                 sha1 0a77b21366cfbad675e6e44642026c89b87f41ce \
-                 rmd160 91649e66c3ce491b2ebea6135eaa6ba4705ffb58 \
+checksums        md5     dd745f3daad5d4efa9b0c89d32042c33 \
+                 sha1    2535a49da92bfece48639d23ada6964d122cc9ac \
+                 rmd160  835425d5266ec0eb909430e755cbcb11a6074e9c
 
+archcheck.files \
+    lib/libintl.dylib
+
 configure.args-append --without-python
 
-variant nolargedict {
-    depends_build-delete port:cracklib-words
-}
-
 post-build {
-    if {![variant_isset nolargedict]} {
-        file copy ${prefix}/share/dict/cracklib-words ${worksrcpath}/dicts
-    }
-
-    file attributes ${worksrcpath}/util/cracklib-format -permissions 0755
+    ln -s ${prefix}/share/cracklib/cracklib-words ${worksrcpath}/dicts
+    file attributes ${worksrcpath}/util/cracklib-format -permissions 755
 }
 
 destroot.target-append dict-local
 
-post-destroot {
-    xinstall -d -m 0755 ${destroot}${prefix}/share/dict
-    file rename ${destroot}${prefix}/share/cracklib/cracklib-small ${destroot}${prefix}/share/dict
-}
-
 test.run        yes
-test.cmd        make
 test.target     check
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100116/e7f41237/attachment.html>


More information about the macports-changes mailing list