diff --git a/sysutils/fusefs-securefs/Makefile b/sysutils/fusefs-securefs/Makefile index 709cf3297971d..5dbb4e3fc3395 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 diff --git a/sysutils/fusefs-securefs/distinfo b/sysutils/fusefs-securefs/distinfo index 73b568ffab295..caa7b87bbd5f6 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 97e96e66fb6bc..0000000000000 --- 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 3087ecb9053bc..0000000000000 --- 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 - #include - #include --#include -+#include - - #include - #include 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 a14bff7cc43dd..0000000000000 --- 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 -+#include - - #include - #include