[MacPorts] #33689: fakeroot candidate Portfile
#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
#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 -------------------------------+-------------------------------------------- Comment(by ryandesign@…): If it must always build universal, then it should use something like: {{{ variant universal {} variant_set universal default_variants +universal universal_archs i386 ppc ppc64 x86_64 }}} (the `universal_archs` line would need to vary by platform) -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fakeroot -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * keywords: haspatch => * version: 2.0.4 => -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fakeroot -------------------------------+-------------------------------------------- Comment(by florian@…): Great, thanks for the hint. I updated the Portfile accordingly. I'm not sure what {{{ variant_set universal }}} is supposed to do. But it builds fine without it. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fakeroot -------------------------------+-------------------------------------------- Comment(by florian@…): Updated Portfile: replaced {{{ master_sites http://ftp.debian.org/debian/pool/main/f/fakeroot }}} with {{{ master_sites debian:f/${name} }}} -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fakeroot -------------------------------+-------------------------------------------- Comment(by florian@…): Updated Portfile once more with suggestions from anddam. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fakeroot -------------------------------+-------------------------------------------- Changes (by raimue@…): * cc: raimue@… (added) -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------------+-------------------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fakeroot -------------------------------+-------------------------------------------- Comment(by florian@…): Updated fakeroot version (now 1.18.3) in Portfile. Still waiting for commit. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33689: fakeroot candidate Portfile -------------------------+-------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fakeroot | -------------------------+-------------------------------- Comment (by dank@…): Worked fine once I added a build dependency on libtool, without which it carped {{{ :info:configure autoreconf: running: automake --add-missing --copy --force-missing :info:configure Makefile.am:10: error: Libtool library used but 'LIBTOOL' is undefined :info:configure Makefile.am:10: The usual way to define 'LIBTOOL' is to add 'LT_INIT' :info:configure Makefile.am:10: to 'configure.ac' and run 'aclocal' and 'autoconf' again. :info:configure Makefile.am:10: If 'LT_INIT' is in 'configure.ac', make sure :info:configure Makefile.am:10: its definition is in aclocal's search path. :info:configure autoreconf: automake failed with exit status: 1 :info:configure Command failed: ./bootstrap :info:configure Exit code: 1 :error:configure org.macports.configure for port fakeroot returned: command execution failed }}} I've attached a portfile identical to Portfile-1.18.4 but with a dependency added on libtool. Pretty please commit... it's hard to package software without this. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#33689: Submission: fakeroot -------------------------+---------------------- Reporter: florian@… | Owner: larryv@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fakeroot | -------------------------+---------------------- Changes (by larryv@…): * status: new => assigned * owner: macports-tickets@… => larryv@… Comment: I will try to commit this sometime this week. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#33689: Submission: fakeroot -------------------------+---------------------- Reporter: florian@… | Owner: larryv@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fakeroot | -------------------------+---------------------- Comment (by florian@…): Finally, thanks for the feedback after 1.5 years! Please note, that the current version is now 1.19. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#33689: Submission: fakeroot -------------------------+---------------------- Reporter: florian@… | Owner: larryv@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: fakeroot | -------------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Ergh. That’s a while. Sorry for the delay. I committed a new port in r111061:111065 with you as maintainer, but I basically rewrote it from scratch. The salient difference is that I used [http://mackyle.github.io/fakeroot/ Kyle McKay’s fork], since he seems to be responsible for the OS X support. Plus the homepage is much nicer. The commit to use for any particular upstream release is the merge commit that brings that release into the fork. -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#33689: Submission: fakeroot -------------------------+---------------------- Reporter: florian@… | Owner: larryv@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: fakeroot | -------------------------+---------------------- Comment (by florian@…): Thanks, for committing this much improved Portfile. I was not aware of the fakeroot fork with MacOSX enhancements. Pulling the merged upstream releases from the fork is also a clean solution - good idea! -- Ticket URL: <https://trac.macports.org/ticket/33689#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts