Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2000 12:45:15 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Jeremy Shaffner <jeremy@external.org>
Cc:        ports@freebsd.org
Subject:   Re: MASTER_SITE_* (Re: How to connect additional distribution files to a port?)
Message-ID:  <20001223124515.B59497@ringworld.oblivion.bg>
In-Reply-To: <20001222203026.C89514@external.org>; from jeremy@external.org on Fri, Dec 22, 2000 at 08:30:27PM -0600
References:  <20001208151658.D22163@B7173150.DeutschePost.de> <20001208155822.A58038@cichlids.cichlids.com> <20001208160616.G22163@B7173150.DeutschePost.de> <20001208192741.A11933@ringworld.oblivion.bg> <20001222203026.C89514@external.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 22, 2000 at 08:30:27PM -0600, Jeremy Shaffner wrote:
> On Fri, Dec 08, 2000 at 07:27:42PM +0200, Peter Pentchev wrote:
> > On Fri, Dec 08, 2000 at 04:06:16PM +0100, J Wunsch wrote:
> > > As Alexander Langer wrote:
> > > 
> > > > What's wrong with just adding it to the DISTFILES variable and maybe
> > > > setting EXTRACT_ONLY to the files that need to be extracted?
> > > 
> > > It wouldn't have worked in the avr-libc case, where the doc file was
> > > to be fetched from a totally different site.
> > 
> > Why wouldn't it have worked?  It is perfectly legal to specify more than
> > one location in MASTER_SITES, and even more than one MASTER_SITE_SUBDIR.
> > The ports collection Makefiles shall do the necessary magic to try to fetch
> > all files from all dirs of all sites until success :)
> 
> I realize this comes late, but I was thinking recently that it would be nice
> to be able to list multiple MASTER_SITE_FOO's.  As places like Sourceforge
> become more popular, many distfiles are hosted not just at multiple mirrors,
> but at multiple mirrors of master sites (ie, MASTER_SITE_PERL_CPAN _and_
> MASTER_SITE_SOURCEFORGE). 
> 
> Listing both would only work if the MASTER_SITE_SUBDIR for both sites
> happened to be the same string, but some are not.  Having (for example) a
> SOURCEFORGE_SUBDIR and CPAN_SUBDIR would make it possible to list two
> different MASTER_SITE_*'s.

Mmm... did you actually read my message? :)  You CAN specify more than one
MASTER_SITE_SUBDIR, and the port makefiles shall try *all* combinations
of site/subdir in turn.  This might take some time with many MASTER_SITES,
but it *is* guaranteed to stumble on the correct site/subdir combo
eventually :)

G'luck,
Peter

-- 
"yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation.


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?20001223124515.B59497>