Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202144 - sys-apps/fakechroot (ebuild update for 2.6.1.3)
Summary: sys-apps/fakechroot (ebuild update for 2.6.1.3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-12-13 16:39 UTC by Le retraité
Modified: 2008-09-07 11:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
=sys-apps/fakechroot-2.6.ebuild (fakechroot-2.6.ebuild,556 bytes, text/plain)
2007-12-13 16:43 UTC, Le retraité
Details
sys-apps/fakechroot-2.6.1.3.ebuild (fakechroot-2.6.1.3.ebuild,764 bytes, text/plain)
2008-06-11 15:37 UTC, Le retraité
Details
files/fakechroot-2.6.1.3.patch (fakechroot-2.6.1.3.patch,7.40 KB, patch)
2008-06-11 15:45 UTC, Le retraité
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Le retraité 2007-12-13 16:39:44 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 16:41:07 UTC
SRC_URI ???
Comment 2 Le retraité 2007-12-13 16:43:26 UTC
Created attachment 138398 [details]
=sys-apps/fakechroot-2.6.ebuild

I tried to make an ebuild, don't know if it's correct
Comment 3 Le retraité 2007-12-13 16:46:17 UTC
"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)
Comment 4 Albert Zeyer 2008-03-07 09:29:44 UTC
ebuild and app itself work both great here, thanks
Comment 5 Albert Zeyer 2008-03-07 12:09:02 UTC
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.)
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2008-06-11 09:35:08 UTC
fakechroot has been added to the tree as =sys-apps/fakechroot.  Thanks!
Comment 7 Le retraité 2008-06-11 15:37:59 UTC
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.
Comment 8 Le retraité 2008-06-11 15:45:00 UTC
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
Comment 9 Le retraité 2008-06-11 15:47:17 UTC
Bug reopened because of the updated version of fakechroot
Comment 10 Le retraité 2008-08-22 12:30:50 UTC
No one to update the tree ?
Comment 11 Michal Januszewski (RETIRED) gentoo-dev 2008-09-07 11:03:10 UTC
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.