View | Details | Raw Unified | Return to bug 210532
Collapse All | Expand All

(-)sysutils/fusefs-encfs/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	encfs
4
PORTNAME=	encfs
5
PORTVERSION=	1.8.1
5
PORTVERSION=	1.8.1
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
7
DISTVERSIONPREFIX=	v
7
CATEGORIES=	sysutils
8
CATEGORIES=	sysutils
8
PKGNAMEPREFIX=	fusefs-
9
PKGNAMEPREFIX=	fusefs-
(-)sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp (-7 / +5 lines)
Lines 1-16 Link Here
1
--- encfs/encfs.cpp.orig	2015-03-24 20:45:16 UTC
1
--- encfs/encfs.cpp.orig	2015-03-24 20:45:16 UTC
2
+++ encfs/encfs.cpp
2
+++ encfs/encfs.cpp
3
@@ -529,6 +529,17 @@ int encfs_open(const char *path, struct 
3
@@ -529,6 +529,15 @@ int encfs_open(const char *path, struct 
4
   return res;
4
   return res;
5
 }
5
 }
6
 
6
 
7
+int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file)
7
+int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) {
8
+{
8
+  int res = encfs_mknod(path, mode, 0);
9
+  int res;
9
+  if (res) {
10
+
11
+  res = encfs_mknod(path, mode, 0);
12
+  if (res)
13
+    return res;
10
+    return res;
11
+  }
14
+
12
+
15
+  return encfs_open(path, file);
13
+  return encfs_open(path, file);
16
+}
14
+}
(-)sysutils/fusefs-encfs/files/patch-encfs_main.cpp (-1 / +10 lines)
Lines 1-4 Link Here
1
--- encfs/main.cpp.orig	2016-06-18 20:53:13 UTC
1
--- encfs/main.cpp.orig	2015-03-24 20:45:16 UTC
2
+++ encfs/main.cpp
2
+++ encfs/main.cpp
3
@@ -27,6 +27,7 @@
3
@@ -27,6 +27,7 @@
4
 #include <sys/time.h>
4
 #include <sys/time.h>
Lines 8-10 Link Here
8
 
8
 
9
 #include <getopt.h>
9
 #include <getopt.h>
10
 
10
 
11
@@ -599,7 +600,7 @@ int main(int argc, char *argv[]) {
12
   encfs_oper.init = encfs_init;
13
   encfs_oper.destroy = encfs_destroy;
14
   // encfs_oper.access = encfs_access;
15
-  // encfs_oper.create = encfs_create;
16
+  encfs_oper.create = encfs_create;
17
   encfs_oper.ftruncate = encfs_ftruncate;
18
   encfs_oper.fgetattr = encfs_fgetattr;
19
   // encfs_oper.lock = encfs_lock;
(-)sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp (-1 / +1 lines)
Lines 1-4 Link Here
1
--- encfs/makeKey.cpp.orig	2016-06-18 20:53:44 UTC
1
--- encfs/makeKey.cpp.orig	2015-03-24 20:45:16 UTC
2
+++ encfs/makeKey.cpp
2
+++ encfs/makeKey.cpp
3
@@ -25,6 +25,7 @@
3
@@ -25,6 +25,7 @@
4
 #include "openssl.h"
4
 #include "openssl.h"

Return to bug 210532