encfs: add package
This commit is contained in:
parent
6a795873b4
commit
bb8d71c0c4
18
root-packages/encfs/build.sh
Normal file
18
root-packages/encfs/build.sh
Normal file
@ -0,0 +1,18 @@
|
||||
TERMUX_PKG_MAINTINER="Henrik Grimler @Grimler91"
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/vgough/encfs
|
||||
TERMUX_PKG_DESCRIPTION="EncFS provides an encrypted filesystem in user-space"
|
||||
TERMUX_PKG_VERSION=1.9.5
|
||||
TERMUX_PKG_SHA256=4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63
|
||||
TERMUX_PKG_DEPENDS="libfuse, openssl"
|
||||
TERMUX_PKG_SRCURL=https://github.com/vgough/encfs/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DFUSE_INCLUDE_DIR=$TERMUX_PREFIX/include
|
||||
-DFUSE_LIBRARIES=$TERMUX_PREFIX/lib/libfuse.so
|
||||
-DRUN_HAVE_POSIX_REGEX=0
|
||||
-DRUN_HAVE_STD_REGEX=0
|
||||
-DRUN_HAVE_STEADY_CLOCK=0
|
||||
"
|
||||
|
||||
termux_step_pre_configure () {
|
||||
LDFLAGS="$LDFLAGS -llog"
|
||||
}
|
11
root-packages/encfs/encfs.cpp.patch
Normal file
11
root-packages/encfs/encfs.cpp.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ../encfs.cpp.orig 2018-10-14 09:22:18.445712600 +0200
|
||||
+++ ./encfs/encfs.cpp 2018-10-14 09:22:24.729681665 +0200
|
||||
@@ -620,7 +620,7 @@
|
||||
tv[1].tv_sec = ts[1].tv_sec;
|
||||
tv[1].tv_usec = ts[1].tv_nsec / 1000;
|
||||
|
||||
- int res = lutimes(cyName.c_str(), tv);
|
||||
+ int res = utimes(cyName.c_str(), tv);
|
||||
#endif
|
||||
return (res == -1) ? -errno : ESUCCESS;
|
||||
}
|
Loading…
Reference in New Issue
Block a user