Subject: Re: pkgsrc Linux 2.4.27-1-686/i386 bulk build results 2004-12-19
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Min Sik Kim <minskim@NetBSD.org>
List: pkgsrc-bulk
Date: 12/21/2004 14:25:51
On Tue, 21 Dec 2004 17:40:27 +0200 (EET)
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:

> On Tue, 21 Dec 2004, Jonathan Perkin wrote:
> 
> >> /bin/mkdir: cannot create directory `/var/spool/squirrelmail':
> >> Permission denied
> >
> > By using ${VARBASE} instead of hardcoding /var.
> 
> Fixed.
> 
> But this was also a bad example, it seems like this bulk build
> was executed as non-root without setting any variables like VARBASE.

This bulk build was executed with VARBASE set to '/usr/pkg/var', which
is writable.  Other variables needed to build packages without root
privilege were also set properly.  The following is a part of mk.conf
used in this bulk build.

VARBASE=/usr/pkg/var
ROOT_USER=minskim
ROOT_GROUP=minskim
BINOWN=minskim
BINGRP=minskim
DOCOWN=minskim
DOCGRP=minskim
MANOWN=minskim
MANGRP=minskim
BINMODE=755
NONBINMODE=644

-- 
Min Sik Kim