Date: Mon, 27 Jun 2016 05:46:37 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417634 - head/sysutils/fusefs-encfs/files Message-ID: <201606270546.u5R5kbfo059688@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Mon Jun 27 05:46:37 2016 New Revision: 417634 URL: https://svnweb.freebsd.org/changeset/ports/417634 Log: sysutils/fusefs-encfs: Fix "Function not implemented" on create operations Upstream fix was: https://github.com/vgough/encfs/commit/aacce54f42add2e4560b53c9138835151c332362 PR: 210532 Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer) Modified: head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp Modified: head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp ============================================================================== --- head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp Mon Jun 27 05:36:44 2016 (r417633) +++ head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp Mon Jun 27 05:46:37 2016 (r417634) @@ -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); +} Modified: head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp ============================================================================== --- head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp Mon Jun 27 05:36:44 2016 (r417633) +++ head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp Mon Jun 27 05:46:37 2016 (r417634) @@ -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; Modified: head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp ============================================================================== --- head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp Mon Jun 27 05:36:44 2016 (r417633) +++ head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp Mon Jun 27 05:46:37 2016 (r417634) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606270546.u5R5kbfo059688>