From owner-svn-ports-head@FreeBSD.ORG Wed Aug 13 20:48:03 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF81374B; Wed, 13 Aug 2014 20:48:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1E732CA3; Wed, 13 Aug 2014 20:48:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7DKm3RN033399; Wed, 13 Aug 2014 20:48:03 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7DKm3JI033396; Wed, 13 Aug 2014 20:48:03 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201408132048.s7DKm3JI033396@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 13 Aug 2014 20:48:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364809 - in head/sysutils/fusefs-encfs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 20:48:04 -0000 Author: marino Date: Wed Aug 13 20:48:02 2014 New Revision: 364809 URL: http://svnweb.freebsd.org/changeset/ports/364809 QAT: https://qat.redports.org/buildarchive/r364809/ Log: sysutils/fuse-encfs: Implement encfs_create for F10 to create file PR: 192563 Submitted by: Olivier/InterfaSys Approved by: nobody; the port is unmaintained Added: head/sysutils/fusefs-encfs/files/patch-implement-encf_create (contents, props changed) Modified: head/sysutils/fusefs-encfs/Makefile Modified: head/sysutils/fusefs-encfs/Makefile ============================================================================== --- head/sysutils/fusefs-encfs/Makefile Wed Aug 13 20:41:22 2014 (r364808) +++ head/sysutils/fusefs-encfs/Makefile Wed Aug 13 20:48:02 2014 (r364809) @@ -3,7 +3,7 @@ PORTNAME= encfs PORTVERSION= 1.7.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= fusefs- Added: head/sysutils/fusefs-encfs/files/patch-implement-encf_create ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fusefs-encfs/files/patch-implement-encf_create Wed Aug 13 20:48:02 2014 (r364809) @@ -0,0 +1,46 @@ +As described in PR 192563 + +--- encfs/encfs.cpp.orig 2014-04-21 15:10:48.592664000 +0000 ++++ encfs/encfs.cpp +@@ -587,6 +587,19 @@ + 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) ++ return res; ++ ++ res = encfs_open(path, file); ++ ++ return res; ++} ++ + int _do_flush(FileNode *fnode, int ) + { + /* Flush can be called multiple times for an open file, so it doesn't +--- encfs/encfs.h.orig 2014-04-21 15:10:48.592664000 +0000 ++++ encfs/encfs.h +@@ -74,6 +74,7 @@ + struct fuse_file_info *fi); + int encfs_utime(const char *path, struct utimbuf *buf); + int encfs_open(const char *path, struct fuse_file_info *info); ++int encfs_create(const char *path, mode_t mode, struct fuse_file_info *info); + int encfs_release(const char *path, struct fuse_file_info *info); + int encfs_read(const char *path, char *buf, size_t size, off_t offset, + struct fuse_file_info *info); +diff -ur encfs-1.7.4.orig/encfs/main.cpp encfs-1.7.4/encfs/main.cpp +--- encfs/main.cpp.orig 2014-04-21 15:10:48.592664000 +0000 ++++ encfs/main.cpp +@@ -563,7 +563,7 @@ + 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;