[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ports Retrieval And https

On Tue, Jan 11, 2005 at 05:24:11AM -0600, Tim Daneliuk wrote:
> I have recently migrated the site that hosts my FreeBSD ports from http to
> https - I automatically redirect the http requests to the equivalent https
> URL.
> This seems to have broken all my ports which now report that the files
> have been 'Moved Temporarily'.  Changing the master site entry to use
> https instead of http seems to fix this problem.
> So, I guess the question is - is there some simple way to fix this without
> having to resubmit each of the ports in question.  Interestingly,
> a command line 'fetch' to the http://... URL seems to work fine.

bsd.port.mk specifies FETCH_CMD as "/usr/bin/fetch -ARr".  The -A flag
says to not follow redirects.  However, it only does so on a 302 request
according to the manual.  You might get some luck by issuing a 301
permanent redirect instead.  But updating the ports is probably a good
idea anyway.