Subject: pkg/7471: pkgsrc needs a method to provide distfile-specific MASTER_SITES
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 04/25/1999 19:05:43
>Number:         7471
>Category:       pkg
>Synopsis:       pkgsrc needs a method to provide distfile-specific MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 25 19:05:00 1999
>Last-Modified:
>Originator:     Todd Vierling
>Organization:
	DuhNet: Pointing out the obvious since 1994.

>Release:        Right Now
>Environment:

>Description:

There are lots of pkgs out there that have multiple distfiles fetched from
various places -- apache, netpbm, cross/*, etc.  Fetching all the
necessary distfiles can cause a lot of extra connections in order to find
the appropriate files (and may eventually anger FTP server admins ;).

pkgsrc needs some sort of mechanism to provide MASTER_SITES on a distfile
basis.  Two ideas come to mind immediately:

- a set of matching DISTFILES and MASTER_SITES variables with a tacked-on
.<number>, i.e. ${DISTFILES.1} and ${MASTER_SITES.1}.

- a MATER_SITES variable containing the distfile name, i.e.
${MASTER_SITES.foo.tar.gz}.

>How-To-Repeat:

>Fix:

Left as an exercise for the bored.  (This PR opened to keep at least me
reminded about the idea.)
>Audit-Trail:
>Unformatted: