From b3b7d6fbc4230e05722b203f2abfd5e90e147934 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 3 May 2021 21:22:30 +0200 Subject: [PATCH] fakeroot: Add version 1.25.2_p13_g24d6b08 [Web site][1] From the manual: > fakeroot - run a command in an environment faking root privileges for > file manipulation > fakeroot runs a command in an environment wherein it appears to have > root privileges for file manipulation. This is useful for allowing > users to create archives (tar, ar, .deb etc.) with files in them with > root permissions/ownership. Without fakeroot one would need to have > root privileges to create the constituent files of the archives with > the correct permissions and ownership, and then pack them up, or one > would have to construct the archives directly, without using the > archiver. For whatever reason, building this with `unshare -r`, `./bootstrap` fails with the error below, so build as root with sudo. [BEE] ./bootstrap libtoolize: putting auxiliary files in `.'. libtoolize: linking file `./config.guess' libtoolize: linking file `./config.sub' libtoolize: linking file `./install-sh' libtoolize: linking file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build-aux'. libtoolize: linking file `build-aux/libtool.m4' libtoolize: linking file `build-aux/ltoptions.m4' libtoolize: linking file `build-aux/ltsugar.m4' libtoolize: linking file `build-aux/ltversion.m4' libtoolize: linking file `build-aux/lt~obsolete.m4' autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build-aux'. libtoolize: can not copy `/usr/share/aclocal/libtool.m4' to `build-aux/' libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4' to `build-aux/' libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4' to `build-aux/' libtoolize: can not copy `/usr/share/aclocal/ltversion.m4' to `build-aux/' libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4' to `build-aux/' autoreconf: libtoolize failed with exit status: 1 Lastly, upstream development also happens at salsa.debian.org, so take the commit from the upstream branch, which also [contains build fixes wtih glibc 2.33][2]. [1]: https://salsa.debian.org/clint/fakeroot [2]: https://salsa.debian.org/clint/fakeroot/-/merge_requests/10 --- fakeroot.be0 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 fakeroot.be0 diff --git a/fakeroot.be0 b/fakeroot.be0 new file mode 100755 index 000000000..0e741454a --- /dev/null +++ b/fakeroot.be0 @@ -0,0 +1,39 @@ +#!/usr/bin/env beesh + +# BEE_VERSION fakeroot-1.25.2_p13_g24d6b08-0 + +# more info: https://salsa.debian.org/clint/fakeroot/ + +# https://salsa.debian.org/clint/fakeroot/-/tree/24d6b0857396cad87b2cabd32fb8af9ef4799915 +SRCURL[0]="https://beehive.molgen.mpg.de/eaf3f407c2f04b7bd5004cfe8ed86835/fakeroot-24d6b0857396cad87b2cabd32fb8af9ef4799915.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +mee_patch() { + bee_patch "${@}" + start_cmd ./bootstrap +} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#}