Subject: Re: Fetch distfile to different local filename
To: None <>
From: Amitai Schlair <>
List: tech-pkg
Date: 03/04/2002 14:05:38
"Frederick Bruckman" <> wrote:

> On Mon, 4 Mar 2002, Amitai Schlair wrote:
> > I hadn't even gotten to thinking about mirroring. It's good to know
> > 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.

My heart feels deeply that at least the man page ought to come with the
program itself. But I don't have anything other than aesthetic
objections to putting the documentation in a separate package, so if
that's really the way to go, fine by me.

In this particular case, we're probably not permitted to mirror the
distfiles anyhow. (FreeBSD's port seems to indicate that neither
mirroring nor binary packages are permitted; just to be sure, I've
emailed Perforce and am awaiting a reply.)

I agree about not generally renaming mirrored files. To play it safe, if
a package sets DISTFILE_LOCAL.<foo>, we could automatically set
RESTRICTED="Won't mirror renamed distfile" and set NO_SRC_ON_CDROM and
NO_SRC_ON_FTP to that.

- Amitai