Trevor Harmon <[EMAIL PROTECTED]> said: > I am developing a package description for JOGL: > https://jogl.dev.java.net/ > > The source is available here: > https://jogl.dev.java.net/files/documents/27/17108/jogl-src.zip > > When I try to download the above link using my web browser, it works > fine. However, when Fink tries to download it using curl, it goes > into an infinite loop. Eventually I get an error saying: > > curl: (47) Maximum (50) redirects followed > ### execution of curl failed, exit code 47 > > I've tried to debug this using the following command: > curl --verbose -f -L -O https://www.dev.java.net/files/documents/ > 27/17108/jogl-src.zip > > And it seems the problem is related to a redirection: "HTTP/1.1 302 > Moved Temporarily". The redirection is to this link: > https://jogl.dev.java.net/servlets/ProjectDocumentDownload? > documentID=17108 > > As before, downloading this link using my web browser works fine, but > using curl redirects back to the original link! Is this a bug in curl?
Last I checked (10.3) Apple's curl was configured without crypto support. That would mean https: URLs won't work if 'curl' is /usr/bin/curl and the redirects go to other https: URLs. Does installing fink's curl (package is "curl-unified" or "curl-ssl") solve the problem? OTOH, we don't use https Source URLs for precisely this reason. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel