[86466] trunk/dports/net/openconnect/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 26 04:00:49 PDT 2011
Revision: 86466
http://trac.macports.org/changeset/86466
Author: ryandesign at macports.org
Date: 2011-10-26 04:00:45 -0700 (Wed, 26 Oct 2011)
Log Message:
-----------
openconnect: add http mirror from fedora; fix livecheck
Modified Paths:
--------------
trunk/dports/net/openconnect/Portfile
Modified: trunk/dports/net/openconnect/Portfile
===================================================================
--- trunk/dports/net/openconnect/Portfile 2011-10-26 09:58:37 UTC (rev 86465)
+++ trunk/dports/net/openconnect/Portfile 2011-10-26 11:00:45 UTC (rev 86466)
@@ -26,9 +26,17 @@
master_sites ftp://ftp.infradead.org/pub/openconnect/
-checksums rmd160 61dc1683112350628e37ff4b4f19c82869bb1390 \
+# md5 checksum needed for http master_site below
+checksums md5 2f4fceb3f921ca8deb3a7cbd19a5e008 \
+ rmd160 61dc1683112350628e37ff4b4f19c82869bb1390 \
sha256 faa14ce7a7dab408a75fb2c8b388ccd28dbf5515498eae515790daed3e89d841
+foreach {type checksum} ${checksums} {
+ if {${type} == "md5"} {
+ master_sites-append http://pkgs.fedoraproject.org/lookaside/pkgs/openconnect/${distfiles}/${checksum}
+ }
+}
+
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
@@ -39,5 +47,5 @@
${docdir}
}
-livecheck.url ${homepage}index.html
+livecheck.url ${homepage}download.html
livecheck.regex OpenConnect v(\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111026/2dcb88e7/attachment.html>
More information about the macports-changes
mailing list