From owner-svn-ports-all@freebsd.org Mon Jun 29 22:06:59 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7BDE3565F1; Mon, 29 Jun 2020 22:06:59 +0000 (UTC) (envelope-from skozlov@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49whRR3pFSz4WHX; Mon, 29 Jun 2020 22:06:59 +0000 (UTC) (envelope-from skozlov@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 62C86E472; Mon, 29 Jun 2020 22:06:59 +0000 (UTC) (envelope-from skozlov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05TM6xhx052850; Mon, 29 Jun 2020 22:06:59 GMT (envelope-from skozlov@FreeBSD.org) Received: (from skozlov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05TM6v8R052840; Mon, 29 Jun 2020 22:06:57 GMT (envelope-from skozlov@FreeBSD.org) Message-Id: <202006292206.05TM6v8R052840@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: skozlov set sender to skozlov@FreeBSD.org using -f From: "Serhii (Sergey) Kozlov" Date: Mon, 29 Jun 2020 22:06:57 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: skozlov X-SVN-Commit-Paths: in head/sysutils: . fusefs-securefs fusefs-securefs/files X-SVN-Commit-Revision: 540836 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 22:06:59 -0000 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 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 + #include + #include +-#include ++#include + + #include + #include 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 ++#include + + #include + #include 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