[93086] trunk/dports/security/cracklib-words/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon May 14 16:41:40 PDT 2012


Revision: 93086
          https://trac.macports.org/changeset/93086
Author:   ryandesign at macports.org
Date:     2012-05-14 16:41:40 -0700 (Mon, 14 May 2012)
Log Message:
-----------
cracklib-words: noarch; rewrite master_sites to avoid redirects; fix livecheck

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

Modified: trunk/dports/security/cracklib-words/Portfile
===================================================================
--- trunk/dports/security/cracklib-words/Portfile	2012-05-14 23:34:35 UTC (rev 93085)
+++ trunk/dports/security/cracklib-words/Portfile	2012-05-14 23:41:40 UTC (rev 93086)
@@ -6,8 +6,11 @@
 
 name             cracklib-words
 version          20080507
+set my_version   [string range ${version} 0 3]-[string range ${version} 4 5]-[string range ${version} 6 7]
 categories       security
 maintainers      theonelab.com:june
+supported_archs  noarch
+
 description      Wordlists for cracklib
 long_description CrackLib is a library containing a C function (well, \
                  lots of functions really, but you only need to use   \
@@ -24,7 +27,7 @@
 homepage         http://sourceforge.net/projects/cracklib/
 platforms        darwin
 
-master_sites     sourceforge:cracklib
+master_sites     sourceforge:project/cracklib/cracklib-words/${my_version}
 checksums        md5     7fa6ba0cd50e7f9ccaf4707c810b14f1 \
                  sha1    e0cea03e505e709b15b8b950d56cb493166607da \
                  rmd160  9005c24c58feb8cdbfe958cd942293e4ff1e23be
@@ -41,5 +44,4 @@
     xinstall -m 644 ${worksrcpath}/${name} ${destroot}${prefix}/share/cracklib
 }
 
-livecheck.distname  ${name}
-livecheck.version   [string range ${version} 0 3]-[string range ${version} 4 5]-[string range ${version} 6 7]
+livecheck.regex     /${name}-(\[0-9-\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/adf61491/attachment.html>


More information about the macports-changes mailing list