Subject: Re: Updating pkg_install on NetBSD 4
To: Christian Hattemer <c.hattemer@arcor.de>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: pkgsrc-users
Date: 09/28/2007 04:53:40
On Feb 16, 3:18pm, Christian Hattemer 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.
}
} Does this also switch the man pages and other stuff that may be there?
No it wouldn't. This could be a problem. The default search path
for man comes from /etc/man.conf and can be modified with the MANPATH
environment variable. /etc/man.conf contains:
_default /usr/{share,X11R6,pkg,local}/man/
This means that the manpages for pkg_install will be the ones from
base. I don't know of any solutions other then the end user having to
modify more stuff.
} While mailwrapper switches between sendmail and postfix, which have distinct
} names, there isn't a problem.
}
} However pkgwrapper would only switch between different versions of the same
} programs. Without special actions by the wrapper one would have to edit the
} manpath oneself to make sure that the appropriate versions of the pages are
} shown.
}
}-- End of excerpt from Christian Hattemer