From owner-freebsd-ports@FreeBSD.ORG Mon Jul 19 21:30:10 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25BB31065672 for ; Mon, 19 Jul 2010 21:30:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id AB68C8FC08 for ; Mon, 19 Jul 2010 21:30:09 +0000 (UTC) Received: (qmail 10290 invoked by uid 399); 19 Jul 2010 21:30:08 -0000 Received: from localhost (HELO laptop.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Jul 2010 21:30:08 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Mon, 19 Jul 2010 14:30:06 -0700 (PDT) From: Doug Barton To: Baptiste Daroussin In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! OpenPGP: id=1A1ABC84 Organization: http://SupersetSolutions.com/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org Subject: Re: Allow folloing 302 codes in FETCH_ARGS in bsd.port.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 21:30:10 -0000 On Sun, 18 Jul 2010, Baptiste Daroussin wrote: > Hi, > > What about removing the -A option from FETCH_ARGS to allow fetch to > follow 302 code. I've always wondered why we have that in the defaults, perhaps someone who knows can answer? If it served a valid purpose in the past, but does not any longer, perhaps it's time to remove it? > It causes trouble when using some authenticated proxies. > It also causes troubles with github which is more and more used. Lots > of projects on github doesn't provides distfiles, they rely on git > tags automatically presented as distfiles, they only way to fetch them > is to follow 302 codes, the workaround is to ask developpers to > provide distfiles. We have already had the discussion about this issue and we're not going to be creating ports that download random files from VCS repos. So yes, the person/team who is responsible for the port will have to provide a tarball of a known-good version. But that's completely unrelated to the idea of -A in FETCH_ARGS. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso