1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00

testing/fakeroot-tcp: new aport

https://packages.debian.org/fakeroot
Gives a fake root environment, useful for building packages as a non-privileged user

This package is identical to fakeroot adding configure --with-ipc=tcp.
It provides 'fakeroot' on systems without sysvipc message queues, such as WSL1.
This commit is contained in:
Raymond Page 2020-06-03 21:50:08 +00:00 committed by Leo
parent 620b7d5029
commit 425f2d6f8a
7 changed files with 233 additions and 0 deletions

View file

@ -0,0 +1,20 @@
it's normal that the acl_* symbols are not found if the application
is not linked against -lacl. these errors harmless, but mighty
annoying.
--- fakeroot-1.20/libfakeroot.c.orig 2014-03-07 11:20:26.120532847 +0200
+++ fakeroot-1.20/libfakeroot.c 2014-03-07 11:21:26.486872482 +0200
@@ -258,10 +258,12 @@
/* clear dlerror() just in case dlsym() legitimately returns NULL */
msg = dlerror();
*(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
- if ( (msg = dlerror()) != NULL){
+#ifdef LIBFAKEROOT_DEBUGGING
+ if ( fakeroot_debug && (msg = dlerror()) != NULL) {
fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
/* abort ();*/
}
+#endif
}
}