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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Comments?

-- Jeremy

---------------------------------------------------------------------
Jeremy Shaffner                         | This space for rent.
jeremy@external.org                     | $ grep happiness life
http://www.external.org/~jeremy/pgp.key | FreeBSD: The Power to Serve


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?20001222203026.C89514>