Subject: Re: 2 pkgsrc questions
To: Georges Heinesch <email@example.com>
From: Alistair Crooks <firstname.lastname@example.org>
Date: 05/22/2001 08:43:02
On Mon, May 21, 2001 at 08:51:24PM +0100, Georges Heinesch wrote:
> 1. I have NetBSD with pkgsrc installed on 2 computers ("amiga" and
> "dimension") on a LAN. One of them ("amiga") holds the distfiles. I
> don't want to download the distfiles twice. What must I enter in
> the /etc/mk.conf file of "dimension" in order to use the distfiles
> from the other computer
The best way is to use NFS, and set the DISTDIR mk.conf setting on
both computers accordingly. For examples of the possible mk.conf
settings, take a look at pkgsrc/mk/mk.conf.example.
> 2. Suppose I would like to update a package, then the "old"
> distfiles remain in /etc/pkgsrc/distfiles. How can I (apart from
> doing it manually) delete these obsolete old archives when updating
> a package to a newer version?