Subject: Re: pkgsrc fubar... how to apply a patch?
To: Alistair Crooks <agc@wasabisystems.com>
From: None <kpneal@pobox.com>
List: netbsd-help
Date: 08/22/2002 01:06:55
On Wed, Aug 21, 2002 at 11:33:42AM +0200, Alistair Crooks wrote:
> Actually, LOCALBASE defaults to "/usr/pkg", and a lot of people
> install pkgsrc in "/usr/pkgsrc".  However, the source tree is location
> independent, and you can have any number of them.

But you can't have the source in /usr/pkg/src, which is a bummer. It
makes partitioning easier and results in less clutter in /usr. 

> You don't need to compile everything as root - pkgsrc will detect this
> when it needs to su, and do it "just in time".  There have been two
> trojan attacks recently (in irssi and openssh, pkgsrc was vulnerable
> to the irssi one, but not openssh) and the exposure to this sort of
> trojan (which happens during the configure stage) is greatly reduced
> if you run as a normal user.

But then doesn't make package blow up because it won't su for you?
Also, how is make update (or similar) supposed to work?
-- 
"A method for inducing cats to exercise consists of directing a beam of
invisible light produced by a hand-held laser apparatus onto the floor ...
in the vicinity of the cat, then moving the laser ... in an irregular way
fascinating to cats,..." -- US patent 5443036, "Method of exercising a cat"