Subject: Re: Fetch distfile to different local filename
To: Amitai Schlair <schmonz@schmonz.com>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 03/04/2002 12:44:17
On Mon, 4 Mar 2002, Amitai Schlair wrote:

> "Frederick Bruckman" <fredb@immanent.net> wrote:
>
> > On Sun, 3 Mar 2002, Amitai Schlair wrote:
> >
> > > "Amitai Schlair" <schmonz@schmonz.com> wrote:
> > >
> > > > This does exactly what I expect -- downloads the man page into
> > > > ${DIST_SUBDIR} -- but unlike the binaries, there's only one man
> page,
> > > > and it seems wasteful (and confusing) to have nine distinfo
> entries for
> > > > one file simply because it could wind up in one of nine places.
> >
> > But no one would have to download more than one file, and you could
> > set up hard links on ftp.netbsd.org so the one file would be available
> > to every platform in whatever directory they require.
>
> I hadn't even gotten to thinking about mirroring. It's good to know that
> this could work. However, in addition to the manual page there's also a
> text file, an HTML file, and two .zip archives of HTML files.

In that case, the "traditional" way would be to make a separate "-doc"
package. That would solve your issue without renaming any mirrored
files. It's not usually a good idea for mirrors to rename files, you
know.

Frederick