Hi All. please find below a diff to update keepassxc to 2.3.0. This release includes the following bugfixes/improvements:
Add support for KDBX 4.0, Argon2 and ChaCha20 [#148, #1179, #1230, #1494] Add SSH Agent feature [#1098, #1450, #1463] Add preview panel with details of the selected entry [#879, #1338] Add more and configurable columns to entry table and allow copying of values by double click [#1305] Add KeePassXC-Browser API as a replacement for KeePassHTTP [#608] Deprecate KeePassHTTP [#1392] Add support for Steam one-time passwords [#1206] Add support for multiple Auto-Type sequences for a single entry [#1390] Adjust YubiKey HMAC-SHA1 challenge-response key generation for KDBX 4.0 [#1060] Replace qHttp with cURL for website icon downloads [#1460] Remove lock file [#1231] Add option to create backup file before saving [#1385] Ask to save a generated password before closing the entry password generator [#1499] Resolve placeholders recursively [#1078] Add Auto-Type button to the toolbar [#1056] Improve window focus handling for Auto-Type dialogs [#1204, #1490] Auto-Type dialog and password generator can now be exited with ESC [#1252, #1412] Add optional dark tray icon [#1154] Add new "Unsafe saving" option to work around saving problems with file sync services [#1385] Add IBus support to AppImage and additional image formats to Windows builds [#1534, #1537] Add diceware password generator to CLI [#1406] Add --key-file option to CLI [#816, #824] Add DBus interface for opening and closing KeePassXC databases [#283] Add KDBX compression options to database settings [#1419] Discourage use of old fixed-length key files in favor of arbitrary files [#1326, #1327] Correct reference resolution in entry fields [#1486] Fix window state and recent databases not being remembered on exit [#1453] Correct history item generation when configuring TOTP for an entry [#1446] Correct multiple TOTP bugs [#1414] Automatic saving after every change is now a default [#279] Allow creation of new entries during search [#1398] Correct menu issues on macOS [#1335] -> Allow compilation on OpenBSD [#1328] Improve entry attachments view [#1139, #1298] Fix auto lock for Gnome and Xfce [#910, #1249] Don't remember key files in file dialogs when the setting is disabled [#1188] Improve database merging and conflict resolution [#807, #1165] Fix macOS pasteboard issues [#1202] Improve startup times on some platforms [#1205] Hide the notes field by default [#1124] Toggle main window by clicking tray icon with the middle mouse button [#992] Fix custom icons not copied over when databases are merged [#1008] Allow use of DEL key to delete entries [#914] Correct intermittent crash due to stale history items [#1527] Sanitize newline characters in title, username and URL fields [#1502] Reopen previously opened databases in correct order [#774] Use system's zxcvbn library if available [#701] Implement various i18n improvements [#690, #875, #1436] Tested on amd64 with the new KDBX 4.0 and the *really really* cool SSH Agent feature. All tests are passed: 100% tests passed, 0 tests failed out of 29 Ok? (Don't forget you need security/argon2 to build and test) Cheers, Rafael Sadowski Index: Makefile =================================================================== RCS file: /cvs/ports/security/keepassxc/Makefile,v retrieving revision 1.10 diff -u -p -u -p -r1.10 Makefile --- Makefile 21 Dec 2017 07:54:27 -0000 1.10 +++ Makefile 5 Mar 2018 07:52:32 -0000 @@ -2,11 +2,11 @@ COMMENT = management tool for sensitive data -CATEGORIES = security +V = 2.3.0 +DISTNAME = keepassxc-${V}-src +PKGNAME = keepassxc-${V} -GH_ACCOUNT = keepassxreboot -GH_PROJECT = keepassxc -GH_TAGNAME = 2.2.4 +CATEGORIES = security HOMEPAGE = https://keepassxc.org @@ -16,21 +16,26 @@ MAINTAINER = Rafael Sadowski <rsadowski@ PERMIT_PACKAGE_CDROM = Yes WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5DBus Qt5Gui -WANTLIB += Qt5Network Qt5Widgets Qt5X11Extras X11 Xi Xtst c gcrypt -WANTLIB += gpg-error m z +WANTLIB += Qt5Network Qt5Widgets Qt5X11Extras X11 Xi Xtst argon2 +WANTLIB += c gcrypt gpg-error m + +MASTER_SITES = https://github.com/keepassxreboot/keepassxc/releases/download/${V}/ +EXTRACT_SUFX = .tar.xz MODULES = x11/qt5 \ devel/cmake LIB_DEPENDS = security/libgcrypt \ + security/argon2 \ x11/qt5/qtx11extras # needed for auto-type RUN_DEPENDS = devel/desktop-file-utils \ misc/shared-mime-info \ x11/gtk+3,-guic -CONFIGURE_ARGS= -DWITH_GUI_TESTS=ON \ - -DWITH_XC_HTTP=ON \ +CONFIGURE_ARGS= -DCMAKE_INSTALL_MANDIR="man" \ + -DWITH_GUI_TESTS=ON \ + -DWITH_XC_SSHAGENT=ON \ -DWITH_XC_AUTOTYPE=ON TEST_IS_INTERACTIVE = X11 @@ -44,6 +49,8 @@ LIB_DEPENDS += security/yubico/yubico-c CONFIGURE_ARGS += -DWITH_XC_YUBIKEY=ON WANTLIB += yubikey ykpers-1 .endif + +WRKDIST = ${WRKDIR}/keepassxc-${V} post-patch: cd ${WRKSRC}/src/; sed -i -e 's/Q_OS_LINUX/Q_OS_UNIX/g' \ Index: distinfo =================================================================== RCS file: /cvs/ports/security/keepassxc/distinfo,v retrieving revision 1.6 diff -u -p -u -p -r1.6 distinfo --- distinfo 21 Dec 2017 07:54:27 -0000 1.6 +++ distinfo 5 Mar 2018 07:52:32 -0000 @@ -1,2 +1,2 @@ -SHA256 (keepassxc-2.2.4.tar.gz) = 6IRDntOtRh5CaiXwSS9fp4q4ugb7cYl3s4Z9jwmMzQo= -SIZE (keepassxc-2.2.4.tar.gz) = 3895421 +SHA256 (keepassxc-2.3.0-src.tar.xz) = 7FhY2uqgU4amFLeZ1drwHGNCBYRGR+L50lqvZV0q2+w= +SIZE (keepassxc-2.3.0-src.tar.xz) = 3803400 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: patches/patch-CMakeLists_txt diff -N patches/patch-CMakeLists_txt Index: patches/patch-src_CMakeLists_txt =================================================================== RCS file: patches/patch-src_CMakeLists_txt diff -N patches/patch-src_CMakeLists_txt --- patches/patch-src_CMakeLists_txt 1 Jul 2017 16:48:57 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-src_CMakeLists_txt,v 1.1 2017/07/01 16:48:57 rsadowski Exp $ - -Index: src/CMakeLists.txt ---- src/CMakeLists.txt.orig -+++ src/CMakeLists.txt -@@ -149,7 +149,7 @@ if(APPLE) - core/ScreenLockListenerMac.cpp - ) - endif() --if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") -+if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") - set(keepassx_SOURCES ${keepassx_SOURCES} - core/ScreenLockListenerDBus.h - core/ScreenLockListenerDBus.cpp Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/keepassxc/pkg/PLIST,v retrieving revision 1.6 diff -u -p -u -p -r1.6 PLIST --- pkg/PLIST 21 Dec 2017 07:54:27 -0000 1.6 +++ pkg/PLIST 5 Mar 2018 07:52:32 -0000 @@ -3,6 +3,7 @@ @bin bin/keepassxc-cli lib/keepassxc/ lib/keepassxc/libkeepassx-autotype-xcb.so +@man man/man1/keepassxc-cli.1 share/applications/org.keepassxc.KeePassXC.desktop share/icons/hicolor/128x128/apps/keepassxc-dark.png share/icons/hicolor/128x128/apps/keepassxc-locked.png @@ -78,12 +79,14 @@ share/keepassxc/icons/application/16x16/ share/keepassxc/icons/application/16x16/actions/group-new.png share/keepassxc/icons/application/16x16/actions/help-about.png share/keepassxc/icons/application/16x16/actions/message-close.png +share/keepassxc/icons/application/16x16/actions/paperclip.png share/keepassxc/icons/application/16x16/actions/password-copy.png share/keepassxc/icons/application/16x16/actions/password-generate.png 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-search.png +share/keepassxc/icons/application/16x16/actions/url-copy.png share/keepassxc/icons/application/16x16/actions/username-copy.png share/keepassxc/icons/application/16x16/apps/ share/keepassxc/icons/application/16x16/apps/keepassxc-dark.png @@ -94,6 +97,7 @@ share/keepassxc/icons/application/16x16/ share/keepassxc/icons/application/16x16/mimetypes/application-x-keepassxc.png share/keepassxc/icons/application/22x22/ share/keepassxc/icons/application/22x22/actions/ +share/keepassxc/icons/application/22x22/actions/chronometer.png share/keepassxc/icons/application/22x22/actions/dialog-close.png share/keepassxc/icons/application/22x22/actions/dialog-ok.png share/keepassxc/icons/application/22x22/actions/document-encrypt.png @@ -104,9 +108,11 @@ share/keepassxc/icons/application/22x22/ share/keepassxc/icons/application/22x22/actions/entry-edit.png share/keepassxc/icons/application/22x22/actions/entry-new.png share/keepassxc/icons/application/22x22/actions/message-close.png +share/keepassxc/icons/application/22x22/actions/paperclip.png share/keepassxc/icons/application/22x22/actions/password-copy.png share/keepassxc/icons/application/22x22/actions/password-generator.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 share/keepassxc/icons/application/22x22/mimetypes/ share/keepassxc/icons/application/22x22/mimetypes/application-x-keepassxc.png @@ -129,8 +135,10 @@ share/keepassxc/icons/application/256x25 share/keepassxc/icons/application/32x32/ share/keepassxc/icons/application/32x32/actions/ share/keepassxc/icons/application/32x32/actions/document-edit.png +share/keepassxc/icons/application/32x32/actions/document-encrypt.png share/keepassxc/icons/application/32x32/actions/document-properties.png share/keepassxc/icons/application/32x32/actions/key-enter.png +share/keepassxc/icons/application/32x32/actions/paperclip.png share/keepassxc/icons/application/32x32/actions/view-history.png share/keepassxc/icons/application/32x32/apps/ share/keepassxc/icons/application/32x32/apps/internet-web-browser.png @@ -139,6 +147,7 @@ share/keepassxc/icons/application/32x32/ share/keepassxc/icons/application/32x32/apps/keepassxc-unlocked.png share/keepassxc/icons/application/32x32/apps/keepassxc.png share/keepassxc/icons/application/32x32/apps/preferences-desktop-icons.png +share/keepassxc/icons/application/32x32/apps/utilities-terminal.png share/keepassxc/icons/application/32x32/categories/ share/keepassxc/icons/application/32x32/categories/preferences-other.png share/keepassxc/icons/application/32x32/mimetypes/ @@ -238,12 +247,13 @@ share/keepassxc/icons/database/C66_Money share/keepassxc/icons/database/C67_Certificate.png share/keepassxc/icons/database/C68_BlackBerry.png share/keepassxc/translations/ +share/keepassxc/translations/keepassx_ar.qm share/keepassxc/translations/keepassx_ca.qm share/keepassxc/translations/keepassx_cs.qm share/keepassxc/translations/keepassx_da.qm share/keepassxc/translations/keepassx_de.qm share/keepassxc/translations/keepassx_el.qm -share/keepassxc/translations/keepassx_en_plurals.qm +share/keepassxc/translations/keepassx_en_US.qm share/keepassxc/translations/keepassx_es.qm share/keepassxc/translations/keepassx_eu.qm share/keepassxc/translations/keepassx_fi.qm @@ -259,9 +269,12 @@ share/keepassxc/translations/keepassx_nl share/keepassxc/translations/keepassx_pl.qm share/keepassxc/translations/keepassx_pt_BR.qm share/keepassxc/translations/keepassx_pt_PT.qm +share/keepassxc/translations/keepassx_ro.qm share/keepassxc/translations/keepassx_ru.qm share/keepassxc/translations/keepassx_sl_SI.qm +share/keepassxc/translations/keepassx_sr.qm share/keepassxc/translations/keepassx_sv.qm +share/keepassxc/translations/keepassx_th.qm share/keepassxc/translations/keepassx_tr.qm share/keepassxc/translations/keepassx_uk.qm share/keepassxc/translations/keepassx_zh_CN.qm @@ -271,9 +284,9 @@ share/keepassxc/wordlists/eff_large.word share/metainfo/ share/metainfo/org.keepassxc.KeePassXC.appdata.xml share/mime/packages/keepassxc.xml +@exec %D/bin/update-desktop-database +@unexec-delete %D/bin/update-desktop-database @exec %D/bin/update-mime-database %D/share/mime @unexec-delete %D/bin/update-mime-database %D/share/mime @exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor @unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor -@exec %D/bin/update-desktop-database -@unexec-delete %D/bin/update-desktop-database