#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: fakeroot -------------------------------+-------------------------------------------- I attached a portfile for port candidate sysutils/fakeroot. Note, that it's necessary to have a fat binary library for fakeroot to work properly for all executables. I'm not sure what is the best way to enforce this in the Portfile. Hence, I set universal_variant to "no" and configured individual configure.cflags-append for each "platform darwin <version>". Any comments? For those who do not know what fakeroot is: fakeroot provides a fake "root environment" by means of LD_PRELOAD and SysV IPC (or TCP) trickery. It puts wrappers around getuid(), chown(), stat(), and other file- manipulation functions, so that unprivileged users can (for instance) populate tgz archives with root-owned files. On OS X, only binaries that do NOT rely on Mach-based [e]uid/[e]gid/mode APIs will correctly use fakeroot altered ownership/permissions. -- Ticket URL: <https://trac.macports.org/ticket/33689> MacPorts <http://www.macports.org/> Ports system for Mac OS