git: 1e9f8e5ccaa1 - main - sysutils/fusefs-securefs: Update to 0.14.3

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 21 Oct 2023 06:53:32 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e9f8e5ccaa18abe55e129673cd90431ff012361

commit 1e9f8e5ccaa18abe55e129673cd90431ff012361
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-10-21 06:44:47 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-10-21 06:44:52 +0000

    sysutils/fusefs-securefs: Update to 0.14.3
    
    Update to unbreak port
    
    Changelog: https://github.com/netheril96/securefs/releases/tag/0.14.3
---
 sysutils/fusefs-securefs/Makefile                  | 23 ++++++++++++----------
 sysutils/fusefs-securefs/distinfo                  |  6 +++---
 .../fusefs-securefs/files/patch-CMakeLists.txt     | 12 -----------
 .../files/patch-sources_commands.cpp               | 11 -----------
 .../files/patch-sources_mystring.cpp               | 11 -----------
 5 files changed, 16 insertions(+), 47 deletions(-)

diff --git a/sysutils/fusefs-securefs/Makefile b/sysutils/fusefs-securefs/Makefile
index 709cf3297971..5dbb4e3fc339 100644
--- a/sysutils/fusefs-securefs/Makefile
+++ b/sysutils/fusefs-securefs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	securefs
-PORTVERSION=	0.12.0
-PORTREVISION=	1
+DISTVERSION=	0.14.3
 CATEGORIES=	sysutils
 PKGNAMEPREFIX=	fusefs-
 
@@ -11,19 +10,23 @@ WWW=		https://github.com/netheril96/securefs
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-BROKEN=		does not build
-
+BUILD_DEPENDS=	${LOCALBASE}/include/tclap/TCLAPConfig.h:devel/tclap
 LIB_DEPENDS=	libutf8proc.so:textproc/utf8proc \
-		libjsoncpp.so:devel/jsoncpp
+		libargon2.so:security/libargon2 \
+		libjsoncpp.so:devel/jsoncpp \
+		libcryptopp.so:security/cryptopp \
+		libabsl_strings.so:devel/abseil
+
+USES=		cmake compiler:c++17-lang fuse pkgconfig
 
-USES=		cmake compiler:c++11-lang 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
+CMAKE_OFF=	SECUREFS_ENABLE_BUILD_TEST \
+		SECUREFS_ENABLE_UNIT_TEST \
+		SECUREFS_USE_VCPKG
+CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17
 
 .include <bsd.port.mk>
diff --git a/sysutils/fusefs-securefs/distinfo b/sysutils/fusefs-securefs/distinfo
index 73b568ffab29..caa7b87bbd5f 100644
--- a/sysutils/fusefs-securefs/distinfo
+++ b/sysutils/fusefs-securefs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635075069
-SHA256 (netheril96-securefs-0.12.0_GH0.tar.gz) = 309af1fe64584fe916d6a2a6e1a2ef988a05f0015bf416bf6e0729cc3865797c
-SIZE (netheril96-securefs-0.12.0_GH0.tar.gz) = 1896516
+TIMESTAMP = 1697868086
+SHA256 (netheril96-securefs-0.14.3_GH0.tar.gz) = 3323e027fc4399dbbaf2a2e5cde11dae4b4e19ff08b2f9208dc6742a9f2f0611
+SIZE (netheril96-securefs-0.14.3_GH0.tar.gz) = 419328
diff --git a/sysutils/fusefs-securefs/files/patch-CMakeLists.txt b/sysutils/fusefs-securefs/files/patch-CMakeLists.txt
deleted file mode 100644
index 97e96e66fb6b..000000000000
--- a/sysutils/fusefs-securefs/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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)
diff --git a/sysutils/fusefs-securefs/files/patch-sources_commands.cpp b/sysutils/fusefs-securefs/files/patch-sources_commands.cpp
deleted file mode 100644
index 3087ecb9053b..000000000000
--- a/sysutils/fusefs-securefs/files/patch-sources_commands.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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>
diff --git a/sysutils/fusefs-securefs/files/patch-sources_mystring.cpp b/sysutils/fusefs-securefs/files/patch-sources_mystring.cpp
deleted file mode 100644
index a14bff7cc43d..000000000000
--- a/sysutils/fusefs-securefs/files/patch-sources_mystring.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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>