Below you can find an update to the next keepassxc release 2.4.0.
Upstream removed KeePassHttp support which means there is no browser
support in OpenBSD.

The current/new browser support in keepssxc needs the keepassxc-plugin
but this plugin uses uses FF native-messaging which is unsupported on
OpenBSD atm.

I would like to ask the community. Go in without browser support or wait
for post 6.5 unlock?

... and of course tests and feedback is welcome. Also feedback from
www/chromium users are welcome!

RS

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/keepassxc/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile    8 Mar 2019 20:00:51 -0000       1.19
+++ Makefile    29 Mar 2019 07:08:13 -0000
@@ -2,9 +2,8 @@
 
 COMMENT =      management tool for password and sensitive data
 
-V =            2.3.4
+V =            2.4.0
 DISTNAME =     keepassxc-${V}
-REVISION =     0
 
 CATEGORIES =   security
 
@@ -16,8 +15,8 @@ MAINTAINER =  Rafael Sadowski <rsadowski@
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5DBus Qt5Gui
-WANTLIB += Qt5Network Qt5Widgets Qt5X11Extras X11 Xi Xtst argon2
-WANTLIB += c gcrypt gpg-error m z
+WANTLIB += Qt5Network Qt5Svg Qt5Widgets Qt5X11Extras X11 Xi Xtst
+WANTLIB += argon2 c gcrypt gpg-error m qrencode z
 
 MASTER_SITES = 
https://github.com/keepassxreboot/keepassxc/releases/download/${V}/
 EXTRACT_SUFX = -src.tar.xz
@@ -27,6 +26,8 @@ MODULES =     x11/qt5 \
 
 LIB_DEPENDS =  security/libgcrypt \
                security/argon2 \
+               graphics/libqrencode \
+               x11/qt5/qtsvg \
                x11/qt5/qtx11extras  # needed for auto-type
 
 RUN_DEPENDS =  devel/desktop-file-utils \
@@ -51,12 +52,10 @@ WANTLIB += yubikey ykpers-1
 .endif
 
 .if ${FLAVOR:Mbrowser}
-LIB_DEPENDS +=         net/curl \
-                       security/libsodium
+LIB_DEPENDS +=         security/libsodium
 CONFIGURE_ARGS +=      -DWITH_XC_BROWSER=ON \
-                       -DWITH_XC_HTTP=ON \
                        -DWITH_XC_NETWORKING=ON
-WANTLIB        +=              curl sodium
+WANTLIB        +=              sodium
 .endif
 
 post-patch:
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/keepassxc/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo    24 Aug 2018 05:29:22 -0000      1.10
+++ distinfo    29 Mar 2019 07:08:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (keepassxc-2.3.4-src.tar.xz) = 
DCSniJUYW5trCY8IoVszLGAPgKpXDWCJQPzCo44CeAo=
-SIZE (keepassxc-2.3.4-src.tar.xz) = 4137176
+SHA256 (keepassxc-2.4.0-src.tar.xz) = 
CB/xo02o4OjblRtdcIJNeis9KZ7UrlTm3cHjrBdrlag=
+SIZE (keepassxc-2.4.0-src.tar.xz) = 3252104
Index: patches/patch-src_gui_DatabaseWidget_cpp
===================================================================
RCS file: patches/patch-src_gui_DatabaseWidget_cpp
diff -N patches/patch-src_gui_DatabaseWidget_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_gui_DatabaseWidget_cpp    29 Mar 2019 07:08:13 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+unbreak build
+https://github.com/keepassxreboot/keepassxc/commit/eb9ff677d0c681a86a9ef296f5a363549b94c42c
+
+Index: src/gui/DatabaseWidget.cpp
+--- src/gui/DatabaseWidget.cpp.orig
++++ src/gui/DatabaseWidget.cpp
+@@ -1112,7 +1112,9 @@ void DatabaseWidget::search(const QString& searchtext)
+     }
+ 
+     m_searchingLabel->setVisible(true);
++#ifdef WITH_XC_KEESHARE
+     m_shareLabel->setVisible(false);
++#endif
+ 
+     emit searchModeActivated();
+ }
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/keepassxc/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 PLIST
--- pkg/PLIST   24 Aug 2018 05:29:22 -0000      1.14
+++ pkg/PLIST   29 Mar 2019 07:08:13 -0000
@@ -39,11 +39,11 @@ share/icons/hicolor/64x64/apps/keepassxc
 share/icons/hicolor/64x64/apps/keepassxc-unlocked.png
 share/icons/hicolor/64x64/apps/keepassxc.png
 share/icons/hicolor/64x64/mimetypes/application-x-keepassxc.png
-share/icons/hicolor/scalable/apps/keepassxc-dark.svgz
-share/icons/hicolor/scalable/apps/keepassxc-locked.svgz
-share/icons/hicolor/scalable/apps/keepassxc-unlocked.svgz
-share/icons/hicolor/scalable/apps/keepassxc.svgz
-share/icons/hicolor/scalable/mimetypes/application-x-keepassxc.svgz
+share/icons/hicolor/scalable/apps/keepassxc-dark.svg
+share/icons/hicolor/scalable/apps/keepassxc-locked.svg
+share/icons/hicolor/scalable/apps/keepassxc-unlocked.svg
+share/icons/hicolor/scalable/apps/keepassxc.svg
+share/icons/hicolor/scalable/mimetypes/application-x-keepassxc.svg
 share/keepassxc/
 share/keepassxc/icons/
 share/keepassxc/icons/application/
@@ -53,6 +53,7 @@ share/keepassxc/icons/application/128x12
 share/keepassxc/icons/application/128x128/apps/keepassxc-locked.png
 share/keepassxc/icons/application/128x128/apps/keepassxc-unlocked.png
 share/keepassxc/icons/application/128x128/apps/keepassxc.png
+share/keepassxc/icons/application/128x128/apps/preferences-system-network-sharing.png
 share/keepassxc/icons/application/128x128/mimetypes/
 share/keepassxc/icons/application/128x128/mimetypes/application-x-keepassxc.png
 share/keepassxc/icons/application/16x16/
@@ -74,6 +75,7 @@ share/keepassxc/icons/application/16x16/
 share/keepassxc/icons/application/16x16/actions/entry-delete.png
 share/keepassxc/icons/application/16x16/actions/entry-edit.png
 share/keepassxc/icons/application/16x16/actions/entry-new.png
+share/keepassxc/icons/application/16x16/actions/favicon-download.png
 share/keepassxc/icons/application/16x16/actions/group-delete.png
 share/keepassxc/icons/application/16x16/actions/group-edit.png
 share/keepassxc/icons/application/16x16/actions/group-empty-trash.png
@@ -86,6 +88,7 @@ share/keepassxc/icons/application/16x16/
 share/keepassxc/icons/application/16x16/actions/password-generator.png
 share/keepassxc/icons/application/16x16/actions/password-show-off.png
 share/keepassxc/icons/application/16x16/actions/password-show-on.png
+share/keepassxc/icons/application/16x16/actions/system-help.png
 share/keepassxc/icons/application/16x16/actions/system-search.png
 share/keepassxc/icons/application/16x16/actions/url-copy.png
 share/keepassxc/icons/application/16x16/actions/username-copy.png
@@ -111,6 +114,7 @@ share/keepassxc/icons/application/22x22/
 share/keepassxc/icons/application/22x22/actions/entry-delete.png
 share/keepassxc/icons/application/22x22/actions/entry-edit.png
 share/keepassxc/icons/application/22x22/actions/entry-new.png
+share/keepassxc/icons/application/22x22/actions/favicon-download.png
 share/keepassxc/icons/application/22x22/actions/group-empty-trash.png
 share/keepassxc/icons/application/22x22/actions/help-about.png
 share/keepassxc/icons/application/22x22/actions/message-close.png
@@ -118,6 +122,7 @@ share/keepassxc/icons/application/22x22/
 share/keepassxc/icons/application/22x22/actions/password-copy.png
 share/keepassxc/icons/application/22x22/actions/password-generate.png
 share/keepassxc/icons/application/22x22/actions/password-generator.png
+share/keepassxc/icons/application/22x22/actions/system-help.png
 share/keepassxc/icons/application/22x22/actions/system-search.png
 share/keepassxc/icons/application/22x22/actions/url-copy.png
 share/keepassxc/icons/application/22x22/actions/username-copy.png
@@ -161,6 +166,7 @@ share/keepassxc/icons/application/32x32/
 share/keepassxc/icons/application/32x32/actions/entry-delete.png
 share/keepassxc/icons/application/32x32/actions/entry-edit.png
 share/keepassxc/icons/application/32x32/actions/entry-new.png
+share/keepassxc/icons/application/32x32/actions/favicon-download.png
 share/keepassxc/icons/application/32x32/actions/group-empty-trash.png
 share/keepassxc/icons/application/32x32/actions/help-about.png
 share/keepassxc/icons/application/32x32/actions/key-enter.png
@@ -170,6 +176,7 @@ share/keepassxc/icons/application/32x32/
 share/keepassxc/icons/application/32x32/actions/password-generator.png
 share/keepassxc/icons/application/32x32/actions/password-show-off.png
 share/keepassxc/icons/application/32x32/actions/password-show-on.png
+share/keepassxc/icons/application/32x32/actions/system-help.png
 share/keepassxc/icons/application/32x32/actions/system-search.png
 share/keepassxc/icons/application/32x32/actions/url-copy.png
 share/keepassxc/icons/application/32x32/actions/username-copy.png
@@ -204,12 +211,12 @@ share/keepassxc/icons/application/64x64/
 share/keepassxc/icons/application/64x64/mimetypes/application-x-keepassxc.png
 share/keepassxc/icons/application/scalable/
 share/keepassxc/icons/application/scalable/apps/
-share/keepassxc/icons/application/scalable/apps/keepassxc-dark.svgz
-share/keepassxc/icons/application/scalable/apps/keepassxc-locked.svgz
-share/keepassxc/icons/application/scalable/apps/keepassxc-unlocked.svgz
-share/keepassxc/icons/application/scalable/apps/keepassxc.svgz
+share/keepassxc/icons/application/scalable/apps/keepassxc-dark.svg
+share/keepassxc/icons/application/scalable/apps/keepassxc-locked.svg
+share/keepassxc/icons/application/scalable/apps/keepassxc-unlocked.svg
+share/keepassxc/icons/application/scalable/apps/keepassxc.svg
 share/keepassxc/icons/application/scalable/mimetypes/
-share/keepassxc/icons/application/scalable/mimetypes/application-x-keepassxc.svgz
+share/keepassxc/icons/application/scalable/mimetypes/application-x-keepassxc.svg
 share/keepassxc/icons/database/
 share/keepassxc/icons/database/C00_Password.png
 share/keepassxc/icons/database/C01_Package_Network.png
@@ -294,16 +301,22 @@ share/keepassxc/translations/keepassx_es
 share/keepassxc/translations/keepassx_eu.qm
 share/keepassxc/translations/keepassx_fi.qm
 share/keepassxc/translations/keepassx_fr.qm
+share/keepassxc/translations/keepassx_he.qm
+share/keepassxc/translations/keepassx_hr_HR.qm
 share/keepassxc/translations/keepassx_hu.qm
 share/keepassxc/translations/keepassx_id.qm
+share/keepassxc/translations/keepassx_is_IS.qm
 share/keepassxc/translations/keepassx_it.qm
 share/keepassxc/translations/keepassx_ja.qm
 share/keepassxc/translations/keepassx_kk.qm
 share/keepassxc/translations/keepassx_ko.qm
+share/keepassxc/translations/keepassx_la.qm
 share/keepassxc/translations/keepassx_lt.qm
+share/keepassxc/translations/keepassx_lv.qm
 share/keepassxc/translations/keepassx_nb.qm
 share/keepassxc/translations/keepassx_nl_NL.qm
 share/keepassxc/translations/keepassx_pl.qm
+share/keepassxc/translations/keepassx_pt.qm
 share/keepassxc/translations/keepassx_pt_BR.qm
 share/keepassxc/translations/keepassx_pt_PT.qm
 share/keepassxc/translations/keepassx_ro.qm
@@ -317,6 +330,8 @@ share/keepassxc/translations/keepassx_tr
 share/keepassxc/translations/keepassx_uk.qm
 share/keepassxc/translations/keepassx_zh_CN.qm
 share/keepassxc/translations/keepassx_zh_TW.qm
+share/keepassxc/wizard/
+share/keepassxc/wizard/background-pixmap.png
 share/keepassxc/wordlists/
 share/keepassxc/wordlists/eff_large.wordlist
 share/metainfo/

Reply via email to