Subject: Re: make update hell
To: Pavel Cahyna <>
From: Ben Collver <>
List: tech-pkg
Date: 10/08/2004 08:24:56
On Fri, Oct 08, 2004 at 04:11:14PM +0200, Pavel Cahyna wrote:
> > On Fri, Oct 08, 2004 at 03:27:19PM +0200, Pavel Cahyna wrote:
> > > OpenBSD ports and Debian can do it, AFAIK by "installing" to some
> > > temporary directory. I don't know if it would work on HP-UX (but why not?)
> > 
> > Assuming that they are "installing" as a non-root user, how do they get
> > setuid executables for the GNU Screen package?
> For Debian: man fakeroot

The fakeroot idea is interesting to me.

> How does " -U sets" get setuid executables for packaging NetBSD?

It uses a combination of special command line arguments for BSD install,
and pax.  The install arguments are -U and -M, and the pax argument is
-M.  This causes file ownership and permissions data to be kept in a log
file rather than in the filesystem itself.  One benefit of doing it this
way is that it does not depend on support for shared libraries.