Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2020 22:06:57 +0000 (UTC)
From:      "Serhii (Sergey) Kozlov" <skozlov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r540836 - in head/sysutils: . fusefs-securefs fusefs-securefs/files
Message-ID:  <202006292206.05TM6v8R052840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skozlov
Date: Mon Jun 29 22:06:57 2020
New Revision: 540836
URL: https://svnweb.freebsd.org/changeset/ports/540836

Log:
  New port: sysutils/fusefs-securefs
  
  securefs is a filesystem in userspace (FUSE) with transparent encryption
  (when writing) and decryption (when reading).
  
  securefs mounts a regular directory onto a mount point. The mount point appears
  as a regular filesystem, where one can read/write/create files, directories and
  symbolic links. The underlying directory will be automatically updated to
  contain the encrypted and authenticated contents.
  
  WWW: https://github.com/netheril96/securefs

Added:
  head/sysutils/fusefs-securefs/
  head/sysutils/fusefs-securefs/Makefile   (contents, props changed)
  head/sysutils/fusefs-securefs/distinfo   (contents, props changed)
  head/sysutils/fusefs-securefs/files/
  head/sysutils/fusefs-securefs/files/patch-CMakeLists.txt   (contents, props changed)
  head/sysutils/fusefs-securefs/files/patch-sources_commands.cpp   (contents, props changed)
  head/sysutils/fusefs-securefs/files/patch-sources_mystring.cpp   (contents, props changed)
  head/sysutils/fusefs-securefs/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Mon Jun 29 21:43:49 2020	(r540835)
+++ head/sysutils/Makefile	Mon Jun 29 22:06:57 2020	(r540836)
@@ -390,6 +390,7 @@
     SUBDIR += fusefs-s3backer
     SUBDIR += fusefs-s3fs
     SUBDIR += fusefs-sandboxfs
+    SUBDIR += fusefs-securefs
     SUBDIR += fusefs-simple-mtpfs
     SUBDIR += fusefs-smbnetfs
     SUBDIR += fusefs-sqlfs

Added: head/sysutils/fusefs-securefs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-securefs/Makefile	Mon Jun 29 22:06:57 2020	(r540836)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	securefs
+PORTVERSION=	0.11.1
+CATEGORIES=	sysutils
+PKGNAMEPREFIX=	fusefs-
+
+MAINTAINER=	skozlov@FreeBSD.org
+COMMENT=	Filesystem in userspace with transparent encryption and decryption
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libutf8proc.so:textproc/utf8proc \
+		libjsoncpp.so:devel/jsoncpp
+
+USES=		cmake fuse
+LDFLAGS+=	-L${LOCALBASE}/lib -lutf8proc -ljsoncpp
+USE_GITHUB=	yes
+GH_ACCOUNT=	netheril96
+PLIST_FILES=	bin/securefs
+
+post-patch:
+	${REINPLACE_CMD} "s|@GIT_VERSION@|${PORTVERSION}|" ${WRKSRC}/sources/git-version.cpp.in
+	${MV} ${WRKSRC}/sources/git-version.cpp.in ${WRKSRC}/sources/git-version.cpp
+
+.include <bsd.port.mk>

Added: head/sysutils/fusefs-securefs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-securefs/distinfo	Mon Jun 29 22:06:57 2020	(r540836)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1593453049
+SHA256 (netheril96-securefs-0.11.1_GH0.tar.gz) = 32624fc5ebb78e6cb2f9780c92b1196ba87eb8ce224631957574ee2c8df7e435
+SIZE (netheril96-securefs-0.11.1_GH0.tar.gz) = 1846447

Added: head/sysutils/fusefs-securefs/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-securefs/files/patch-CMakeLists.txt	Mon Jun 29 22:06:57 2020	(r540836)
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig	2020-06-29 19:00:51 UTC
++++ CMakeLists.txt
+@@ -13,9 +13,6 @@ execute_process (
+ )
+ 
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake-modules/")
+-include(GetGitRevisionDescription)
+-git_describe(GIT_VERSION --tags)
+-configure_file(${CMAKE_SOURCE_DIR}/sources/git-version.cpp.in ${CMAKE_BINARY_DIR}/git-version.cpp)
+ 
+ if (UNIX)
+     find_path(FUSE_INCLUDE_DIR fuse.h PATHS /usr/local/include PATH_SUFFIXES osxfuse)

Added: head/sysutils/fusefs-securefs/files/patch-sources_commands.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-securefs/files/patch-sources_commands.cpp	Mon Jun 29 22:06:57 2020	(r540836)
@@ -0,0 +1,11 @@
+--- sources/commands.cpp.orig	2020-06-29 17:57:42 UTC
++++ sources/commands.cpp
+@@ -14,7 +14,7 @@
+ #include <fuse.h>
+ #include <json/json.h>
+ #include <tclap/CmdLine.h>
+-#include <utf8proc/utf8proc.h>
++#include <utf8proc.h>
+ 
+ #include <algorithm>
+ #include <memory>

Added: head/sysutils/fusefs-securefs/files/patch-sources_mystring.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-securefs/files/patch-sources_mystring.cpp	Mon Jun 29 22:06:57 2020	(r540836)
@@ -0,0 +1,11 @@
+--- sources/mystring.cpp.orig	2020-06-29 17:57:55 UTC
++++ sources/mystring.cpp
+@@ -3,7 +3,7 @@
+ #include "logger.h"
+ #include "myutils.h"
+ 
+-#include <utf8proc/utf8proc.h>
++#include <utf8proc.h>
+ 
+ #include <ctype.h>
+ #include <errno.h>

Added: head/sysutils/fusefs-securefs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-securefs/pkg-descr	Mon Jun 29 22:06:57 2020	(r540836)
@@ -0,0 +1,6 @@
+securefs mounts a regular directory onto a mount point. The mount point appears
+as a regular filesystem, where one can read/write/create files, directories and
+symbolic links. The underlying directory will be automatically updated to
+contain the encrypted and authenticated contents.
+
+WWW: https://github.com/netheril96/securefs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006292206.05TM6v8R052840>