How to fetch this URL

Ryan Schmidt ryandesign at macports.org
Thu Jul 17 21:07:16 PDT 2008


On Jul 17, 2008, at 19:52, Blair Zajac wrote:

> I can't get this URL to download through MacPorts even using the
> fetch.ignore_sslcert setting.
>
> https://jna.dev.java.net/source/browse/*checkout*/jna/tags/3.0.4/ 
> jnalib/dist/jna.jar
>
> Any ideas?  Could those * be causing trouble?

"*" should be ok.

Without fetch.ignore_sslcert yes I get:


--->  Attempting to fetch jna.jar from https://jna.dev.java.net/ 
source/browse/*checkout*/jna/tags/3.0.4/jnalib/dist/

DEBUG: Fetching failed:: problem with the SSL CA cert (path? access  
rights?)


But with fetch.ignore_sslcert yes it seems to fetch ok:


--->  Attempting to fetch jna.jar from https://jna.dev.java.net/ 
source/browse/*checkout*/jna/tags/3.0.4/jnalib/dist/
   % Total    % Received % Xferd  Average Speed   Time    Time      
Time  Current
                                  Dload  Upload   Total   Spent     
Left  Speed
100  606k    0  606k    0     0   101k      0 --:--:--  0:00:05  
--:--:--  169k


Here's my test portfile:


PortSystem 1.0

name test
version 1.0

distname jna.jar
extract.suffix
extract {}
fetch.ignore_sslcert yes

master_sites https://jna.dev.java.net/source/browse/*checkout*/jna/ 
tags/3.0.4/jnalib/dist/




More information about the macports-dev mailing list