Skip to content

Commit

Permalink
New release version 2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Mar 17, 2019
1 parent 3bbca5c commit 3830a60
Show file tree
Hide file tree
Showing 145 changed files with 2,553 additions and 1,315 deletions.
23 changes: 13 additions & 10 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.15 from Makefile.am.
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2014 Free Software Foundation, Inc.
# Copyright (C) 1994-2018 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Expand Down Expand Up @@ -146,7 +146,7 @@ am__recursive_targets = \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
# Read a list of newline-separated strings from the standard input,
Expand Down Expand Up @@ -388,8 +388,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
Expand Down Expand Up @@ -533,7 +533,10 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files

distdir: $(DISTFILES)
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am

distdir-am: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
Expand Down Expand Up @@ -598,7 +601,7 @@ distdir: $(DISTFILES)
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)

dist-bzip2: distdir
Expand All @@ -624,7 +627,7 @@ dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)

dist-zip: distdir
Expand All @@ -642,7 +645,7 @@ dist dist-all:
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
Expand All @@ -652,7 +655,7 @@ distcheck: dist
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
Expand Down
23 changes: 23 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# NEWS

## Version 2.20

17 Mar 2019

* The `fts64_*` functions were added: glibc supports them since 2.23.
* The `renameat2`(2) function were added: glibc supports it since 2.28
and `mv` command from coreutils 8.30 uses it.
* The `chroot`(8) wrapper and `fakechroot`(1) command can work with POSIX
shell.
* The `chroot`(8) wrapper allows to chroot into root directory.
* The `chroot`(8) wrapper appends directories from
`FAKECHROOT_EXTRA_LIBRARY_PATH` environment variable because some commands
use runpath. The default value is `/lib/systemd:/usr/lib/man-db` for
`systemctl`(1) and `man`(1) commands.
* The `ldd`(1) wrapper doesn't lose a leading slash in absolute paths.
* The `fakechroot`(1) command unsets `CDPATH` environment variable and swaps
`libfakeroot` and `libfakechroot` in `LD_PRELOAD` environment variable if
needed.
* Can be compiled with gcc 7.1 `-Wformat-truncation`.
* Can be compiled with clang 5.0 `-O2` and `-std=c11`.

## Version 2.19

20 Nov 2016
Expand Down
53 changes: 29 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
![logo](http://fakechroot.alioth.debian.org/img/fakechroot_logo.png)
---
# fakechroot

![logo](https://github.com/dex4er/fakechroot/wiki/img/fakechroot_logo.png)

<!-- markdownlint-disable MD013 -->
**Home** | [Download](https://github.com/fakechroot/fakechroot/wiki/Download) | [Documentation](https://github.com/fakechroot/fakechroot/blob/master/man/fakechroot.pod) | [ChangeLog](https://github.com/fakechroot/fakechroot/blob/master/NEWS.md) | [Development](https://github.com/fakechroot/fakechroot/wiki/Development) | [ToDo](https://github.com/fakechroot/fakechroot/wiki/Todo) | [Links](https://github.com/fakechroot/fakechroot/wiki/Links)

[![Build Status](https://travis-ci.org/dex4er/fakechroot.png?branch=master)](https://travis-ci.org/dex4er/fakechroot)
<!-- markdownlint-enable MD013 -->


What is it?
===========
## What is it

fakechroot runs a command in an environment were is additional possibility to
use `chroot`(8) command without root privileges. This is useful for allowing
users to create own chrooted environment with possibility to install another
packages without need for root privileges.


How does it work?
=================
## How does it work

fakechroot replaces some libc library functions (`chroot`(2), `open`(2), etc.)
by ones that simulate the effect of being called with root privileges.
Expand All @@ -30,17 +29,15 @@ this environment you can use i.e. `apt-get`(8) command to install another
packages. You don't need a special privileges and you can run it from common
user's account.


An example session
==================
## An example session

```sh
$ id
uid=1000(dexter) gid=1000(dexter) groups=1000(dexter)

$ fakechroot fakeroot debootstrap sid /tmp/sid
I: Retrieving Release
I: Retrieving Release.gpg
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
...
I: Base system installed successfully.
Expand All @@ -67,21 +64,29 @@ $ fakechroot chroot /tmp/sid hello
Hello, world!
```


Where is it used?
=================
## Where is it used

fakechroot is mainly used as:

* a supporter for [debirf](http://cmrg.fifthhorseman.net/wiki/debirf), DEBian on Initial Ram Filesystem
* a variant of [debootstrap](http://code.erisian.com.au/Wiki/debootstrap), the tool which can set up new Debian or Ubuntu system
* a supporter for [debirf](http://cmrg.fifthhorseman.net/wiki/debirf), DEBian on
Initial Ram Filesystem
* a variant of [debootstrap](http://code.erisian.com.au/Wiki/debootstrap), the
tool which can set up new Debian or Ubuntu system

fakechroot had found another purposes:

* to be a part of [Klik](http://klik.atekon.de) application installer as kfakechroot project
* to be a supporter for [pbuilder](http://pbuilder.alioth.debian.org/) building system
* to be a part of [Klik](http://klik.atekon.de) application installer as
kfakechroot project
* to be a supporter for [pbuilder](http://pbuilder.alioth.debian.org/) building
system
* to be a supporter for [Apport](https://wiki.ubuntu.com/Apport) retracer
* to be a supporter for [libguestfs tools](http://libguestfs.org/) for accessing and modifying virtual machine disk images
* to be a supporter for [febootstrap](http://et.redhat.com/~rjones/febootstrap/), the tool which can set up new Fedora system
* to be a part of [cuntubuntu](https://play.google.com/store/apps/details?id=com.cuntubuntu) - Ubuntu for Android without root
* to be a supporter for [selenium-chroot](https://github.com/gagern/selenium-chroot) setup
* to be a supporter for [libguestfs tools](http://libguestfs.org/) for accessing
and modifying virtual machine disk images
* to be a supporter for
[febootstrap](http://et.redhat.com/~rjones/febootstrap/), the tool which can
set up new Fedora system
* to be a part of
[cuntubuntu](https://play.google.com/store/apps/details?id=com.cuntubuntu) -
Ubuntu for Android without root
* to be a supporter for
[selenium-chroot](https://github.com/gagern/selenium-chroot) setup
3 changes: 3 additions & 0 deletions THANKS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# THANKS

The fakechroot project was started as dirty hack because I've got an access
to some system without root privileges. I really wanted to install additional
software and I imagined that no access to the root account should be no
Expand Down Expand Up @@ -25,6 +27,7 @@ And to contributors (alphabetically):
* Daniel Tschan
* Geert Stappers
* Guido Günther
* Jakub Wilk
* JH Chatenet
* Johannes Schauer
* Juan Romero Pardines
Expand Down
Loading

0 comments on commit 3830a60

Please sign in to comment.