Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 11:41:36 +0000
From:      dom@happygiraffe.net (Dominic Mitchell)
To:        Tim Daneliuk <tundra@tundraware.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Ports Retrieval And https
Message-ID:  <20050111114136.GA22630@ppe.happygiraffe.net>
In-Reply-To: <41E3B75B.4030203@tundraware.com>
References:  <41E3B75B.4030203@tundraware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-Dom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050111114136.GA22630>