[23751] trunk/dports/sysutils/passogva/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Apr 8 13:05:28 PDT 2007


Revision: 23751
          http://trac.macosforge.org/projects/macports/changeset/23751
Author:   pipping at macports.org
Date:     2007-04-08 13:05:27 -0700 (Sun, 08 Apr 2007)

Log Message:
-----------
 * provide a workaround for fetching from the https server

indexing this port should no longer fail on machines running 1.4

Modified Paths:
--------------
    trunk/dports/sysutils/passogva/Portfile

Modified: trunk/dports/sysutils/passogva/Portfile
===================================================================
--- trunk/dports/sysutils/passogva/Portfile	2007-04-08 19:39:46 UTC (rev 23750)
+++ trunk/dports/sysutils/passogva/Portfile	2007-04-08 20:05:27 UTC (rev 23751)
@@ -19,8 +19,29 @@
 checksums	md5 c3b188e134588efaec8acf09d3519b19
 
 # The certificate doesn't match the host.
-fetch.ignore_sslcert	yes
+# fetch.ignore_sslcert	yes
 
+pre-fetch {
+    ui_msg ""
+    ui_msg "\nYou need to be running MacPorts 1.5 to fetch this port. To do so, run"
+    ui_msg ""
+    ui_msg "    port edit $name"
+    ui_msg ""
+    ui_msg "and remove the \"#\" just before \"fetch.ignore_sslcert\"."
+    ui_msg ""
+    ui_msg "Alternatively, you can choose to download the tarball manually."
+    ui_msg ""
+    ui_msg "to do so, execute the following commands:" 
+    ui_msg ""
+    ui_msg "    url=\"[lindex $master_sites 0]${distfiles}\""
+    ui_msg ""
+    ui_msg "    target=\"${prefix}/var/db/dports/distfiles/${name}\""
+    ui_msg ""
+    ui_msg "    sudo curl -gko \${target}/${distfiles} \${url}"
+    ui_msg ""
+    ui_msg ""
+}
+
 extract		{
 	file mkdir ${worksrcpath}
 	file copy ${distpath}/${distfiles} ${worksrcpath}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070408/4537bc12/attachment.html


More information about the macports-changes mailing list