bindfs: add package

This commit is contained in:
Vadzim Miliantsei 2021-12-19 18:22:48 +01:00 committed by Yaksh Bariya
parent f93c9bb09a
commit 869445fd57
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,8 @@
TERMUX_PKG_HOMEPAGE="http://bindfs.org/"
TERMUX_PKG_DESCRIPTION="A FUSE filesystem for mirroring a directory to another directory."
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_LICENSE_FILE="COPYING"
TERMUX_PKG_VERSION="1.15.1"
TERMUX_PKG_SRCURL="https://bindfs.org/downloads/bindfs-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256="04dd3584a6cdf9af4344d403c62185ca9fab31ce3ae5a25d0101bc10936c68ab"
TERMUX_PKG_DEPENDS="libfuse2"

View File

@ -0,0 +1,12 @@
--- a/src/userinfo.c 2021-02-15 04:35:51.000000000 +0100
+++ b/src/userinfo.c 2021-12-18 10:33:46.323685173 +0100
@@ -100,6 +100,9 @@
static int rebuild_uid_cache()
{
+ /* Not supported on Android. */
+ return 0;
+
/* We're holding the lock, so we have mutual exclusion on getpwent and getgrent too. */
struct passwd *pw;
struct uid_cache_entry *ent;