Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 00:12:57 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Joerg Wunsch <joerg_wunsch@interface-systems.de>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: How to connect additional distribution files to a port?
Message-ID:  <20001213001257.D74111@dragon.nuxi.com>
In-Reply-To: <20001212103023.A98669@ida.interface-business.de>; from j@ida.interface-business.de on Tue, Dec 12, 2000 at 10:30:23AM %2B0100
References:  <20001208151658.D22163@B7173150.DeutschePost.de> <20001208155822.A58038@cichlids.cichlids.com> <20001208160616.G22163@B7173150.DeutschePost.de> <20001208192741.A11933@ringworld.oblivion.bg> <20001211111404.C94175@ida.interface-business.de> <20001211175846.V86825@elvis.mu.org> <20001212103023.A98669@ida.interface-business.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 12, 2000 at 10:30:23AM +0100, J Wunsch wrote:
> > Consider one file that comes from ${MASTER_SITE_FOO}/... and another that
> > comes from ${MASTER_SITE_BAR}/...
> 
> Sorry, i can't follow you.  That was _exactly_ my concern, a port
> which has to collect files from different `master sites', where each
> of the sites has only one of the files required.  I don't understand
> how this situation could ``scale'' in any way at all, sorry.
> 
> Compared to
> 
> MASTER_SITE=http://some.server.com/~user/ \
> 	ftp://some.other.sever.ru/pub/outgoing/
> 
> DISTFILES=foobar.pdf largedocs.tar.gz

lets extend it to needing four files:

ftp://foo.com/pub/foo-1.0.tar.gz    (main source)
ftp://bar.com/pub/bar.tar.gz
http://baz.com/~baz/baz.tar.gz
http://quix.com/quix/quix.tar.gz


So you'd want to have

MASTERSITE= ftp://foo.com/pub/

ALT_MASTERSITE= ftp://bar.com/pub/ http://baz.com/~baz/ http://quix.com/quix/

thus asking site bar.com for baz.tar.gz when you know it doesn't exist.
So a single ALT_MASTERSITE isn't suffient, and that's why it doesn't
scale.

> While the difference is certainly marginal, i consider it bad
> behaviour to intentionally ask someone for a file you know you don't
> even want to get from him, and in the worst case, the
> some.other.server.ru FTP server might even have a foobar.pdf file
> around which is something totally different than what we want (e. g.
> since the filename has been chosen poorly)!

And you really haven't kept from doing any of this.

-- 
-- David  (obrien@FreeBSD.org)
          GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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