debian/0000755000000000000000000000000012132213775007171 5ustar debian/compat0000644000000000000000000000000212132024467010365 0ustar 9 debian/control0000644000000000000000000000201312132211667010566 0ustar Source: fakeroot-ng Section: utils Priority: extra Maintainer: Shachar Shemesh Build-Depends: debhelper (>= 9), autotools-dev, linux-kernel-headers, gcc (>= 4:4.7), g++ (>= 4:4.7) Standards-Version: 3.9.4.0 Package: fakeroot-ng Architecture: i386 powerpc amd64 Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://fakeroot-ng.lingnu.com Description: Gives a fake root environment This is a clean reimplementation of the fakeroot command. Just like it, anything run within the fake root command will assume it is running as root. Unlike it, fakeroot-ng is not based on LD_PRELOAD but on ptrace. . The practical upshot of this is that the technology supports intercepting the "open" system call. In particular, this allows simulating the "chroot" command reliably. . Another important difference is that fakeroot-ng can fool applications that do not perform system calls through glibc, such as statically linked executables and programs written in some non-C languages (like the latest Sun JDK). debian/copyright0000644000000000000000000000212612132022653011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fakeroot-ng Source: http://fakeroot-ng.lingnu.com Comment: Support is available through the mailing list: https://lists.sourceforge.net/lists/listinfo/fakerootng-devel Files: * Copyright: 2007-2009,2013 Shachar Shemesh License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/docs0000644000000000000000000000004312132003673010033 0ustar NEWS README AUTHORS README.porting debian/README.Debian0000644000000000000000000000043712132003673011230 0ustar fakeroot-ng for Debian ---------------------- Fakeroot-ng adds itself as a candidate for the "fakeroot" command. You can use "update-alternatives --config fakeroot" to make it the default when running fakeroot. -- Shachar Shemesh Tue, 08 Jan 2008 20:27:55 +0000 debian/postinst0000644000000000000000000000223312132023207010764 0ustar #!/bin/sh # postinst script for fakeroot-ng # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) update-alternatives --install /usr/bin/fakeroot fakeroot /usr/bin/fakeroot-ng 5 \ --slave /usr/share/man/man1/fakeroot.1.gz \ fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012132213712010607 5ustar debian/patches/fixBroken32bit.diff0000644000000000000000000000227112132213712014236 0ustar Subject: Fix compilation on 32bit systems Origin: http://sourceforge.net/p/fakerootng/code/347/ Forwarded: upstream-origin --- a/arch/platform.h +++ b/arch/platform.h @@ -1,6 +1,8 @@ #ifndef PLATFORM_H #define PLATFORM_H +#include + #ifdef __cplusplus extern "C" { #endif --- a/daemon.cpp +++ b/daemon.cpp @@ -83,7 +83,8 @@ } if( static_cast(num_read)(num_written)=4.7) * Update the home page -- Shachar Shemesh Sat, 13 Apr 2013 08:09:46 +0000 fakeroot-ng (0.18-2) unstable; urgency=low * Regression - fakeroot-ng uses /dev/shm again * Broken build on 32bit platforms -- Shachar Shemesh Fri, 12 Apr 2013 17:26:11 +0000 fakeroot-ng (0.18-1) unstable; urgency=low * New upstream version * Fix "debhelper: dh_fixperms fails when it tries to run chmod" fixed bug in fchmodat implementation (Closes: #566026) * Fix "ftbfs with eglibc-2.17" Problem was probably with gcc 4.8 rather than eglibc itself. (Closes: #701451) * Fixed problem with threads support -- Shachar Shemesh Fri, 12 Apr 2013 13:14:05 +0000 fakeroot-ng (0.16-1.1) unstable; urgency=low * Non-maintainer upload. * Fix build with GCC 4.7, patch by Matthias Klose (Closes: #667160) -- Moritz Muehlenhoff Sun, 27 May 2012 13:19:28 +0200 fakeroot-ng (0.16-1) unstable; urgency=low * New upstream version (major bug fixes) * fakeroot-ng should use /dev/shm for shared memory files (Closes: #532994) -- Shachar Shemesh Tue, 23 Jun 2009 21:42:23 +0300 fakeroot-ng (0.15-1) unstable; urgency=low * New upstream version * Fix "package description says chroot interception is not implemented" - Package description updated (Closes: #521784) -- Shachar Shemesh Thu, 28 May 2009 14:46:43 +0000 fakeroot-ng (0.14-1) unstable; urgency=low * New upstream version * Update the common licenses link to GPL version 2 -- Shachar Shemesh Fri, 20 Feb 2009 21:48:32 +0000 fakeroot-ng (0.12-3) unstable; urgency=low * Fakeroot-ng silently fails when /tmp is mount noexec (Closes: #495421) -- Shachar Shemesh Wed, 20 Aug 2008 11:43:51 +0000 fakeroot-ng (0.12-2) unstable; urgency=high * "fakeroot rm file" gives a weird rmdir error, breaks debhelper. (Closes: #493061) * debian/rules clean does not clean, resulting in FTBS twice problems (Closes: #495174) * Reduce use of continuation line in debian/postinst to work around a lintian false positive (filed bug #495176) -- Shachar Shemesh Fri, 15 Aug 2008 05:32:36 +0000 fakeroot-ng (0.12-1) unstable; urgency=low * New upstream version * Support for chroot for all Linux syscalls is now complete. -- Shachar Shemesh Wed, 11 Jun 2008 08:48:57 +0000 fakeroot-ng (0.11-1) unstable; urgency=low * New upstream version * Fixes problem with vfork and fork -- Shachar Shemesh Mon, 09 Jun 2008 20:47:55 +0000 fakeroot-ng (0.10-1) unstable; urgency=low * New upstream version * FTBFS with g++-4.3: Missing includes (Closes: #472564) * Now has (limited) support for chroot -- Shachar Shemesh Mon, 09 Jun 2008 16:02:31 +0000 fakeroot-ng (0.09-2) unstable; urgency=low * FTBFS: arch/platform.h:17: error: 'pid_t' has not been declared (Closes: #474793) * Merge support for gcc 4.3 from upstream SVN -- Shachar Shemesh Sat, 12 Apr 2008 12:28:35 +0000 fakeroot-ng (0.09-1.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with gcc-4.3. Patch from Arthur Loiret. Closes: #472564. -- Mark Hymers Sun, 06 Apr 2008 10:19:14 +0000 fakeroot-ng (0.09-1) unstable; urgency=low * New upstream release * Now supports strace on AMD64 platform -- Shachar Shemesh Sat, 15 Mar 2008 15:21:55 +0200 fakeroot-ng (0.08-1) unstable; urgency=low * New upstream release * New platform supported - AMD64 (Closes: #465042) * New porting HOWTO for yet unsupported platforms -- Shachar Shemesh Wed, 20 Feb 2008 16:32:47 +0000 fakeroot-ng (0.06-1) unstable; urgency=low * New upstream release * Support for all *at Linux syscalls (openat, fstatat etc.) (Closes: #463697) * Much better strace support (still no -f support) -- Shachar Shemesh Wed, 06 Feb 2008 17:21:17 +0000 fakeroot-ng (0.05-1) unstable; urgency=low * New upstream release - add (slightly limited) support for strace inside fakeroot -- Shachar Shemesh Thu, 31 Jan 2008 14:47:59 +0000 fakeroot-ng (0.04-2) unstable; urgency=low * Fix copyright file to list copyright holders (ftpmasters feedback) -- Shachar Shemesh Sat, 12 Jan 2008 20:08:06 +0000 fakeroot-ng (0.04-1) unstable; urgency=low * Initial release (Closes: #330670) -- Shachar Shemesh Tue, 08 Jan 2008 20:41:54 +0000 debian/dirs0000644000000000000000000000001012132003673010036 0ustar usr/bin debian/watch0000644000000000000000000000026012132024113010202 0ustar # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for debscripts >= 2.9 http://sf.net/fakerootng/fakeroot-ng-(.*)\.tar\.gz debian/prerm0000644000000000000000000000170312132003673010234 0ustar #!/bin/sh # prerm script for fakeroot-ng # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|deconfigure) update-alternatives --remove fakeroot /usr/bin/fakeroot-ng ;; upgrade) ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000012132024005010453 5ustar debian/source/format0000644000000000000000000000001412132024012011657 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000001312132042331010154 0ustar config.log