Monday, November 04, 2019

help for updating security/keepassxc

I managed to update the patch so it applies on keepassxc 2.5.0 (2.4.3 is no
longer compatible with firefox extension, I wanted to try keepassxc)

I get an error about yubikey (error at the bottom of the mail)

Index: Makefile
===================================================================
RCS file: /data/cvs/ports/security/keepassxc/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile 12 Jul 2019 20:49:03 -0000 1.23
+++ Makefile 4 Nov 2019 18:36:15 -0000
@@ -2,7 +2,7 @@

COMMENT = management tool for password and sensitive data

-V = 2.4.3
+V = 2.5.0
DISTNAME = keepassxc-${V}

CATEGORIES = security
Index: distinfo
===================================================================
RCS file: /data/cvs/ports/security/keepassxc/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo 15 Jun 2019 08:55:26 -0000 1.13
+++ distinfo 4 Nov 2019 18:37:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (keepassxc-2.4.3-src.tar.xz) = 18lSGSExBHaJw/j7cnXfDg378glKVU277pptbPqPJzQ=
-SIZE (keepassxc-2.4.3-src.tar.xz) = 3301944
+SHA256 (keepassxc-2.5.0-src.tar.xz) = Y1nOlytyCovOHoulQABmbpxY+RZPLp5SvvLiTkYSeIE=
+SIZE (keepassxc-2.5.0-src.tar.xz) = 6752776
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /data/cvs/ports/security/keepassxc/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 4 Jun 2019 18:42:08 -0000 1.1
+++ patches/patch-CMakeLists_txt 4 Nov 2019 18:41:55 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.1 201
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -415,6 +415,14 @@ if(UNIX)
+@@ -438,6 +438,14 @@ if(UNIX)
int main() { prctl(PR_SET_DUMPABLE, 0); return 0; }"
HAVE_PR_SET_DUMPABLE)

Index: patches/patch-src_core_Alloc_cpp
===================================================================
RCS file: /data/cvs/ports/security/keepassxc/patches/patch-src_core_Alloc_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_core_Alloc_cpp
--- patches/patch-src_core_Alloc_cpp 4 Jun 2019 18:42:08 -0000 1.1
+++ patches/patch-src_core_Alloc_cpp 4 Nov 2019 18:41:58 -0000
@@ -1,12 +1,12 @@
-$OpenBSD: patch-src_core_Alloc_cpp,v 1.1 2019/06/04 18:42:08 rsadowski Exp $
+$OpenBSD$

Index: src/core/Alloc.cpp
--- src/core/Alloc.cpp.orig
+++ src/core/Alloc.cpp
-@@ -20,8 +20,10 @@
- #include <sodium.h>
- #ifdef Q_OS_MACOS
+@@ -23,8 +23,10 @@
#include <malloc/malloc.h>
+ #elif defined(Q_OS_FREEBSD)
+ #include <malloc_np.h>
-#else
+#elif defined(HAVE_MALLOC_H)
#include <malloc.h>
@@ -15,7 +15,7 @@ Index: src/core/Alloc.cpp

No comments:

Post a Comment