From owner-freebsd-ports@FreeBSD.ORG Tue Jan 11 11:41:48 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2690016A4CE for ; Tue, 11 Jan 2005 11:41:48 +0000 (GMT) Received: from happygiraffe.net (happygiraffe.net [81.6.215.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id C70CF43D1F for ; Tue, 11 Jan 2005 11:41:47 +0000 (GMT) (envelope-from dom@happygiraffe.net) Received: from localhost (localhost.happygiraffe.net [127.0.0.1]) by happygiraffe.net (Postfix) with ESMTP id 52C87BB02; Tue, 11 Jan 2005 11:41:37 +0000 (GMT) Received: from happygiraffe.net ([127.0.0.1]) by localhost (ppe.happygiraffe.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16453-01-3; Tue, 11 Jan 2005 11:41:36 +0000 (GMT) Received: by happygiraffe.net (Postfix, from userid 1001) id 2DA52BA6A; Tue, 11 Jan 2005 11:41:36 +0000 (GMT) Date: Tue, 11 Jan 2005 11:41:36 +0000 To: Tim Daneliuk Message-ID: <20050111114136.GA22630@ppe.happygiraffe.net> References: <41E3B75B.4030203@tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E3B75B.4030203@tundraware.com> User-Agent: Mutt/1.5.6i From: dom@happygiraffe.net (Dominic Mitchell) X-Virus-Scanned: amavisd-new at happygiraffe.net cc: freebsd-ports@freebsd.org Subject: Re: Ports Retrieval And https X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 11:41:48 -0000 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