Subject: Re: mksandbox
To: Jan Danielsson <firstname.lastname@example.org>
From: Steven M. Bellovin <email@example.com>
Date: 04/22/2007 15:13:51
On Sun, 22 Apr 2007 20:53:29 +0200
Jan Danielsson <firstname.lastname@example.org> wrote:
> There is a /usr/bin/ftp. Why isn't it trying to use that instead? I
> guess I can use FETCH_CMD=/usr/bin/ftp in my mk.conf.. But I want to
> understand why I have to do that.
> Do I need to bootstrap pkgsrc in my sandbox?
mksandbox is using chroot, so /usr/bin/ftp isn't visible.
You may want to try pkg_comp instead; it's designed for precisely this
--Steve Bellovin, http://www.cs.columbia.edu/~smb