Subject: Re: Updating pkg_install on NetBSD 4
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Alistair Crooks <agc@pkgsrc.org>
List: pkgsrc-users
Date: 09/26/2007 16:28:09
On Mon, Sep 24, 2007 at 10:37:22PM +0000, Steven M. Bellovin wrote:
> On Mon, 24 Sep 2007 17:14:33 -0400
> "Johnny C. Lam" <jlam@buildlink.org> wrote:
> > (e) Make pkg_install in base install into /usr/libexec/pkg_install
> > and create a pkgwrapper(8) that works much like mailwrapper(8) and
> > reads /etc/pkgwrapper.conf for configuration information.  Make
> > pkg_install in pkgsrc install into ${PREFIX}/libexec/pkg_install and
> > provides an example pkgwrapper.conf that can be copied into /etc to
> > make pkgwrapper use the pkgsrc-installed versions of the pkg_* tools.
> > 
> > This choice avoids the problems with (a), (b) or (c).  Yes, this is
> > more complex, but it does fix the problem without removing
> > pkg_install from a base install of NetBSD.
> > 
> >
> This is the best solution I've heard thus far.  I was going to propose
> a "pkgsrc adaptation layer"; this is a very good way to do it.

I agree with Steve - let's do this (e).

Thanks,
Alistair