diff --git a/root-packages/bindfs/build.sh b/root-packages/bindfs/build.sh new file mode 100644 index 000000000..738ab72e2 --- /dev/null +++ b/root-packages/bindfs/build.sh @@ -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" diff --git a/root-packages/bindfs/getpwent.patch b/root-packages/bindfs/getpwent.patch new file mode 100644 index 000000000..b5358a2ef --- /dev/null +++ b/root-packages/bindfs/getpwent.patch @@ -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;