sys-apps/fakeroot is in portage, but not sys-apps/fakechroot. fakechroot is a lot like fakeroot but it adds the possibility to run chroot, and therefore can be used by a normal user to simulate a chroot environnement. It is also needed by debootstrap if you want to use the --variant=fakechroot option
SRC_URI ???
Created attachment 138398 [details] =sys-apps/fakechroot-2.6.ebuild I tried to make an ebuild, don't know if it's correct
"SRC_URI ???" http://ftp.debian.org/debian/pool/main/f/fakechroot/fakechroot_2.6.orig.tar.gz but it's not the last version (I've just mimicked the fakeroot ebuild, so I don't know how to apply patch http://ftp.debian.org/debian/pool/main/f/fakechroot/fakechroot_2.6-1.3.diff.gz)
ebuild and app itself work both great here, thanks
Mini HOWTO create a Debian fakechroot: :) # sudo emerge -u fakeroot fakechroot debootstrap dpkg # mkdir -p fakechroot/debian # fakeroot # export PATH=/usr/sbin:/sbin:$PATH # debootstrap --foreign --variant=fakechroot --exclude dhcp3-server,dhcp3-server-ldap sid fakechroot/debian # echo "int main() { return 0; }" | gcc -x c - -o fakechroot/debian/usr/sbin/chown # echo "int main() { return 0; }" | gcc -x c - -o fakechroot/debian/usr/sbin/chmod # echo "int main() { return 0; }" | gcc -x c - -o fakechroot/debian/usr/sbin/chgrp # DEBOOTSTRAP_DIR=fakechroot/debian/debootstrap debootstrap --second-stage --second-stage-target=fakechroot/debian Note that I have replaced chown/chmod/chgrp by dummies in this HOWTO. This is because there seems to be trouble with them. You can replace them later by real ones if you like. (Btw., it took some time to figure out all the problems and how to work around them.)
fakechroot has been added to the tree as =sys-apps/fakechroot. Thanks!
Created attachment 156387 [details] sys-apps/fakechroot-2.6.1.3.ebuild This ebuild (adapted from the ebuild that has just been added to the tree) includes the latest debian patch.
Created attachment 156389 [details, diff] files/fakechroot-2.6.1.3.patch I ported the patch that has been added to the tree along with the fakechroot-2.6.ebuild to the latest debian patch. One hunk had been removed because the fix was already included within the debian patch, one hunk has been adapted to the new version of src/libfakechroot.c
Bug reopened because of the updated version of fakechroot
No one to update the tree ?
I'm sorry -- the bug was still assigned to maintainer-wanted and I wasn't on the CC-list and thus simply didn't see your comments. I've just added an ebuild for 2.8 to the tree. In case of any future version bumps, please open new bugs and assign them to me -- it's easier to keep track of things this way. Thanks for your work on the ebuild and the patch.