diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-06-27 05:46:37 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-06-27 05:46:37 +0000 |
commit | 1e5d77df5ea8fe812c0ad189f89cc40090c64ea4 (patch) | |
tree | e39f50b6cc2f8ce786fe1355753160bdb961bc4b /sysutils/fusefs-encfs | |
parent | 71a9be4c7aaf3a2e1fa1454ecf04a6d1ec09cc39 (diff) | |
download | ports-1e5d77df5ea8fe812c0ad189f89cc40090c64ea4.tar.gz ports-1e5d77df5ea8fe812c0ad189f89cc40090c64ea4.zip |
Notes
Diffstat (limited to 'sysutils/fusefs-encfs')
-rw-r--r-- | sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp | 12 | ||||
-rw-r--r-- | sysutils/fusefs-encfs/files/patch-encfs_main.cpp | 11 | ||||
-rw-r--r-- | sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp | 2 |
3 files changed, 16 insertions, 9 deletions
diff --git a/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp b/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp index 655621717008..6d3c288cd63b 100644 --- a/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp +++ b/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp @@ -1,16 +1,14 @@ --- encfs/encfs.cpp.orig 2015-03-24 20:45:16 UTC +++ encfs/encfs.cpp -@@ -529,6 +529,17 @@ int encfs_open(const char *path, struct +@@ -529,6 +529,15 @@ int encfs_open(const char *path, struct return res; } -+int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) -+{ -+ int res; -+ -+ res = encfs_mknod(path, mode, 0); -+ if (res) ++int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) { ++ int res = encfs_mknod(path, mode, 0); ++ if (res) { + return res; ++ } + + return encfs_open(path, file); +} diff --git a/sysutils/fusefs-encfs/files/patch-encfs_main.cpp b/sysutils/fusefs-encfs/files/patch-encfs_main.cpp index e541aee3e23d..24dd625f8104 100644 --- a/sysutils/fusefs-encfs/files/patch-encfs_main.cpp +++ b/sysutils/fusefs-encfs/files/patch-encfs_main.cpp @@ -1,4 +1,4 @@ ---- encfs/main.cpp.orig 2016-06-18 20:53:13 UTC +--- encfs/main.cpp.orig 2015-03-24 20:45:16 UTC +++ encfs/main.cpp @@ -27,6 +27,7 @@ #include <sys/time.h> @@ -8,3 +8,12 @@ #include <getopt.h> +@@ -599,7 +600,7 @@ int main(int argc, char *argv[]) { + encfs_oper.init = encfs_init; + encfs_oper.destroy = encfs_destroy; + // encfs_oper.access = encfs_access; +- // encfs_oper.create = encfs_create; ++ encfs_oper.create = encfs_create; + encfs_oper.ftruncate = encfs_ftruncate; + encfs_oper.fgetattr = encfs_fgetattr; + // encfs_oper.lock = encfs_lock; diff --git a/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp b/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp index 2e08a63adadc..ba71ccbdaeca 100644 --- a/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp +++ b/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp @@ -1,4 +1,4 @@ ---- encfs/makeKey.cpp.orig 2016-06-18 20:53:44 UTC +--- encfs/makeKey.cpp.orig 2015-03-24 20:45:16 UTC +++ encfs/makeKey.cpp @@ -25,6 +25,7 @@ #include "openssl.h" |