From owner-freebsd-ports Fri Jan 5 4:11:25 2001 From owner-freebsd-ports@FreeBSD.ORG Fri Jan 5 04:11:23 2001 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 899A137B402 for ; Fri, 5 Jan 2001 04:11:20 -0800 (PST) Received: (qmail 25057 invoked by uid 1000); 5 Jan 2001 12:10:10 -0000 Date: Fri, 5 Jan 2001 14:10:10 +0200 From: Peter Pentchev To: Maxim Sobolev Cc: Ilya Martynov , freebsd-ports@FreeBSD.org Subject: Re: Is there any reason for FETCH_BEFORE_ARGS? Message-ID: <20010105141009.G10329@ringworld.oblivion.bg> Mail-Followup-To: Maxim Sobolev , Ilya Martynov , freebsd-ports@FreeBSD.org References: <20010105133600.E10329@ringworld.oblivion.bg> <20010105124725.D10329@ringworld.oblivion.bg> <20010105133600.E10329@ringworld.oblivion.bg> <20010105133919.F10329@ringworld.oblivion.bg> <5.0.2.1.2.20010105135621.024d0550@192.168.1.50> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.2.20010105135621.024d0550@192.168.1.50>; from sobomax@FreeBSD.org on Fri, Jan 05, 2001 at 02:01:12PM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jan 05, 2001 at 02:01:12PM +0200, Maxim Sobolev wrote: > At 13:39 05.01.01, Peter Pentchev wrote: > >On Fri, Jan 05, 2001 at 01:36:00PM +0200, Peter Pentchev wrote: > >[snip] > > > > > > Hmm this is an interesting idea.. something along the lines of.. > > > > > > FETCH_BEFORE_ARGS=fetchprogram,hostname,args fetchprogram,hostname,args ... > > > > > > e.g. > > > > > > FETCH_BEFORE_ARGS=fetch,http://server.needing.b/path/,-b \ > > > >err.. I meant.. FETCH_BEFORE_ARGS=fetch,server.needing.b,-b \ > > > > > fetch,server.needing.t,-t > > > > > > Then the do-fetch target should, for each URL, scan FETCH_BEFORE_ARGS, > > > and use the arguments if and only if it finds a match on *both* the fetch > > > program and the hostname (not URL) from which it's currently trying > > > to fetch. > > > > > > Something to think about.. > > Needless complexity, especially considering that `-b' is compatibility > option which is likely to be deleted soon (IMHO, support for 3-STABLE now > is very close to Attic). What you mean is, the whole concept of FETCH_BEFORE_ARGS should go? Or just that the ports that are setting -b shall stop setting it? If it's the latter, then any ports setting any fetch(1)-specific options shall still fail when another FETCH_CMD is being used :( G'luck, Peter -- .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message