Date: Thu, 13 Jul 2017 23:46:34 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445719 - in head/security/keepassxc: . files Message-ID: <201707132346.v6DNkYtf044344@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Thu Jul 13 23:46:34 2017 New Revision: 445719 URL: https://svnweb.freebsd.org/changeset/ports/445719 Log: security/keepassxc: update to 2.2.0 - Add YUBIKEY option because keepassxc has added support for YubiKey 2FA - Update pkg-descr to reflect the new added changes Changelog: https://github.com/keepassxreboot/keepassxc/blob/develop/CHANGELOG PR: 220585 Submitted by: Andrew Romanenko <melanhit@gmail.com> (maintainer) MFH: 2017Q3 Added: head/security/keepassxc/files/ head/security/keepassxc/files/patch-CMakeLists.txt (contents, props changed) head/security/keepassxc/files/patch-src_CMakeLists.txt (contents, props changed) Modified: head/security/keepassxc/Makefile head/security/keepassxc/distinfo head/security/keepassxc/pkg-descr head/security/keepassxc/pkg-plist Modified: head/security/keepassxc/Makefile ============================================================================== --- head/security/keepassxc/Makefile Thu Jul 13 22:23:23 2017 (r445718) +++ head/security/keepassxc/Makefile Thu Jul 13 23:46:34 2017 (r445719) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= keepassxc -PORTVERSION= 2.1.4 +PORTVERSION= 2.2.0 CATEGORIES= security MAINTAINER= melanhit@gmail.com @@ -33,7 +33,7 @@ GH_ACCOUNT= keepassxreboot CMAKE_ARGS+= -DZLIB_SUPPORTS_GZIP:BOOL=ON -OPTIONS_DEFINE= AUTOTYPE HTTP TEST +OPTIONS_DEFINE= AUTOTYPE HTTP YUBIKEY TEST OPTIONS_DEFAULT= AUTOTYPE HTTP OPTIONS_SUB= yes @@ -44,7 +44,18 @@ AUTOTYPE_USE= QT5=x11extras XORG=xi,xtst HTTP_CMAKE_BOOL= WITH_XC_HTTP HTTP_DESC= KeePassHTTP support for ChromeIPass and PassIFox +YUBIKEY_CMAKE_BOOL= WITH_XC_YUBIKEY +YUBIKEY_DESC= Include YubiKey support +YUBIKEY_LIB_DEPENDS= libyubikey.so:security/libyubikey \ + libykpers-1.so:security/ykpers + TEST_CMAKE_BOOL= WITH_TESTS WITH_GUI_TESTS TEST_TEST_TARGET= test + +post-patch: + @${REINPLACE_CMD} -e 's|Q_OS_LINUX|Q_OS_UNIX|g' \ + ${WRKSRC}/src/core/ScreenLockListenerPrivate.cpp \ + ${WRKSRC}/src/gui/MainWindow.cpp \ + ${WRKSRC}/src/main.cpp .include <bsd.port.mk> Modified: head/security/keepassxc/distinfo ============================================================================== --- head/security/keepassxc/distinfo Thu Jul 13 22:23:23 2017 (r445718) +++ head/security/keepassxc/distinfo Thu Jul 13 23:46:34 2017 (r445719) @@ -1,3 +1,3 @@ -TIMESTAMP = 1491852798 -SHA256 (keepassxreboot-keepassxc-2.1.4_GH0.tar.gz) = 40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 -SIZE (keepassxreboot-keepassxc-2.1.4_GH0.tar.gz) = 3345520 +TIMESTAMP = 1499196985 +SHA256 (keepassxreboot-keepassxc-2.2.0_GH0.tar.gz) = 9d9d39b9c056955fe5d7a5212efe1703be02fa4731c36e2b1e06a78174b0a7b8 +SIZE (keepassxreboot-keepassxc-2.2.0_GH0.tar.gz) = 3814252 Added: head/security/keepassxc/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepassxc/files/patch-CMakeLists.txt Thu Jul 13 23:46:34 2017 (r445719) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2017-06-25 21:52:43 UTC ++++ CMakeLists.txt +@@ -89,7 +89,7 @@ add_gcc_compiler_flags("-Wformat=2 -Wmis + add_gcc_compiler_flags("-fvisibility=hidden") + add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden") + +-if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8.999) OR CMAKE_COMPILER_IS_CLANGXX) ++if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8.999) OR (CMAKE_COMPILER_IS_CLANGXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 3.8)) + add_gcc_compiler_flags("-fstack-protector-strong") + else() + add_gcc_compiler_flags("-fstack-protector --param=ssp-buffer-size=4") Added: head/security/keepassxc/files/patch-src_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepassxc/files/patch-src_CMakeLists.txt Thu Jul 13 23:46:34 2017 (r445719) @@ -0,0 +1,11 @@ +--- src/CMakeLists.txt.orig 2017-07-12 02:16:55 UTC ++++ 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 "FreeBSD") + set(keepassx_SOURCES ${keepassx_SOURCES} + core/ScreenLockListenerDBus.h + core/ScreenLockListenerDBus.cpp Modified: head/security/keepassxc/pkg-descr ============================================================================== --- head/security/keepassxc/pkg-descr Thu Jul 13 22:23:23 2017 (r445718) +++ head/security/keepassxc/pkg-descr Thu Jul 13 23:46:34 2017 (r445719) @@ -6,11 +6,16 @@ Additional features compared to KeePassX: * Auto-Type on all three major platforms (Linux, Windows, OS X) * Stand-alone password generator * Password strength meter + * A generator for time-based one-time passwords * Using website favicons as entry icons * Merging of databases * Automatic reload when the database changed on disk * KeePassHTTP support for use with PassIFox in Mozilla Firefox and chromeIPass in Google Chrome or Chromium. + * YubiKey challenge-response support for strengthening + your database encryption key + * Support for Twofish encryption + * Command line interface * Many bug fixes -WWW: https://keepassxc.org/ +WWW: https://keepassxc.org Modified: head/security/keepassxc/pkg-plist ============================================================================== --- head/security/keepassxc/pkg-plist Thu Jul 13 22:23:23 2017 (r445718) +++ head/security/keepassxc/pkg-plist Thu Jul 13 23:46:34 2017 (r445719) @@ -1,38 +1,48 @@ bin/keepassxc +bin/keepassxc-cli %%AUTOTYPE%%lib/keepassxc/libkeepassx-autotype-xcb.so share/applications/keepassxc.desktop share/icons/hicolor/128x128/apps/keepassxc-dark.png share/icons/hicolor/128x128/apps/keepassxc-locked.png +share/icons/hicolor/128x128/apps/keepassxc-unlocked.png share/icons/hicolor/128x128/apps/keepassxc.png share/icons/hicolor/128x128/mimetypes/application-x-keepassxc.png share/icons/hicolor/16x16/apps/keepassxc-dark.png share/icons/hicolor/16x16/apps/keepassxc-locked.png +share/icons/hicolor/16x16/apps/keepassxc-unlocked.png share/icons/hicolor/16x16/apps/keepassxc.png share/icons/hicolor/16x16/mimetypes/application-x-keepassxc.png share/icons/hicolor/22x22/mimetypes/application-x-keepassxc.png share/icons/hicolor/24x24/apps/keepassxc-dark.png share/icons/hicolor/24x24/apps/keepassxc-locked.png +share/icons/hicolor/24x24/apps/keepassxc-unlocked.png share/icons/hicolor/24x24/apps/keepassxc.png share/icons/hicolor/256x256/apps/keepassxc-dark.png share/icons/hicolor/256x256/apps/keepassxc-locked.png +share/icons/hicolor/256x256/apps/keepassxc-unlocked.png share/icons/hicolor/256x256/apps/keepassxc.png share/icons/hicolor/32x32/apps/keepassxc-dark.png share/icons/hicolor/32x32/apps/keepassxc-locked.png +share/icons/hicolor/32x32/apps/keepassxc-unlocked.png share/icons/hicolor/32x32/apps/keepassxc.png share/icons/hicolor/32x32/mimetypes/application-x-keepassxc.png share/icons/hicolor/48x48/apps/keepassxc-dark.png share/icons/hicolor/48x48/apps/keepassxc-locked.png +share/icons/hicolor/48x48/apps/keepassxc-unlocked.png share/icons/hicolor/48x48/apps/keepassxc.png share/icons/hicolor/64x64/apps/keepassxc-dark.png share/icons/hicolor/64x64/apps/keepassxc-locked.png +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 %%DATADIR%%/icons/application/128x128/apps/keepassxc-dark.png %%DATADIR%%/icons/application/128x128/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/128x128/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/128x128/apps/keepassxc.png %%DATADIR%%/icons/application/128x128/mimetypes/application-x-keepassxc.png %%DATADIR%%/icons/application/16x16/actions/application-exit.png @@ -54,8 +64,10 @@ share/icons/hicolor/scalable/mimetypes/application-x-k %%DATADIR%%/icons/application/16x16/actions/entry-new.png %%DATADIR%%/icons/application/16x16/actions/group-delete.png %%DATADIR%%/icons/application/16x16/actions/group-edit.png +%%DATADIR%%/icons/application/16x16/actions/group-empty-trash.png %%DATADIR%%/icons/application/16x16/actions/group-new.png %%DATADIR%%/icons/application/16x16/actions/help-about.png +%%DATADIR%%/icons/application/16x16/actions/message-close.png %%DATADIR%%/icons/application/16x16/actions/password-copy.png %%DATADIR%%/icons/application/16x16/actions/password-generate.png %%DATADIR%%/icons/application/16x16/actions/password-generator.png @@ -65,16 +77,19 @@ share/icons/hicolor/scalable/mimetypes/application-x-k %%DATADIR%%/icons/application/16x16/actions/username-copy.png %%DATADIR%%/icons/application/16x16/apps/keepassxc-dark.png %%DATADIR%%/icons/application/16x16/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/16x16/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/16x16/apps/keepassxc.png %%DATADIR%%/icons/application/16x16/mimetypes/application-x-keepassxc.png %%DATADIR%%/icons/application/22x22/actions/dialog-close.png %%DATADIR%%/icons/application/22x22/actions/dialog-ok.png %%DATADIR%%/icons/application/22x22/actions/document-encrypt.png +%%DATADIR%%/icons/application/22x22/actions/document-new.png %%DATADIR%%/icons/application/22x22/actions/document-open.png %%DATADIR%%/icons/application/22x22/actions/document-save.png %%DATADIR%%/icons/application/22x22/actions/entry-delete.png %%DATADIR%%/icons/application/22x22/actions/entry-edit.png %%DATADIR%%/icons/application/22x22/actions/entry-new.png +%%DATADIR%%/icons/application/22x22/actions/message-close.png %%DATADIR%%/icons/application/22x22/actions/password-copy.png %%DATADIR%%/icons/application/22x22/actions/password-generator.png %%DATADIR%%/icons/application/22x22/actions/system-search.png @@ -85,23 +100,37 @@ share/icons/hicolor/scalable/mimetypes/application-x-k %%DATADIR%%/icons/application/22x22/status/dialog-warning.png %%DATADIR%%/icons/application/24x24/apps/keepassxc-dark.png %%DATADIR%%/icons/application/24x24/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/24x24/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/24x24/apps/keepassxc.png %%DATADIR%%/icons/application/256x256/apps/keepassxc-dark.png %%DATADIR%%/icons/application/256x256/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/256x256/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/256x256/apps/keepassxc.png +%%DATADIR%%/icons/application/32x32/actions/document-edit.png +%%DATADIR%%/icons/application/32x32/actions/document-properties.png +%%DATADIR%%/icons/application/32x32/actions/key-enter.png +%%DATADIR%%/icons/application/32x32/actions/view-history.png +%%DATADIR%%/icons/application/32x32/apps/internet-web-browser.png %%DATADIR%%/icons/application/32x32/apps/keepassxc-dark.png %%DATADIR%%/icons/application/32x32/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/32x32/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/32x32/apps/keepassxc.png +%%DATADIR%%/icons/application/32x32/apps/preferences-desktop-icons.png +%%DATADIR%%/icons/application/32x32/categories/preferences-other.png %%DATADIR%%/icons/application/32x32/mimetypes/application-x-keepassxc.png +%%DATADIR%%/icons/application/32x32/status/security-high.png %%DATADIR%%/icons/application/48x48/apps/keepassxc-dark.png %%DATADIR%%/icons/application/48x48/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/48x48/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/48x48/apps/keepassxc.png %%DATADIR%%/icons/application/64x64/apps/keepassxc-dark.png %%DATADIR%%/icons/application/64x64/apps/keepassxc-locked.png +%%DATADIR%%/icons/application/64x64/apps/keepassxc-unlocked.png %%DATADIR%%/icons/application/64x64/apps/keepassxc.png %%DATADIR%%/icons/application/64x64/mimetypes/application-x-keepassxc.png %%DATADIR%%/icons/application/scalable/apps/keepassxc-dark.svgz %%DATADIR%%/icons/application/scalable/apps/keepassxc-locked.svgz +%%DATADIR%%/icons/application/scalable/apps/keepassxc-unlocked.svgz %%DATADIR%%/icons/application/scalable/apps/keepassxc.svgz %%DATADIR%%/icons/application/scalable/mimetypes/application-x-keepassxc.svgz %%DATADIR%%/icons/database/C00_Password.png @@ -179,10 +208,12 @@ share/icons/hicolor/scalable/mimetypes/application-x-k %%DATADIR%%/translations/keepassx_el.qm %%DATADIR%%/translations/keepassx_en_plurals.qm %%DATADIR%%/translations/keepassx_es.qm +%%DATADIR%%/translations/keepassx_fi.qm %%DATADIR%%/translations/keepassx_fr.qm %%DATADIR%%/translations/keepassx_id.qm %%DATADIR%%/translations/keepassx_it.qm %%DATADIR%%/translations/keepassx_ja.qm +%%DATADIR%%/translations/keepassx_kk.qm %%DATADIR%%/translations/keepassx_ko.qm %%DATADIR%%/translations/keepassx_lt.qm %%DATADIR%%/translations/keepassx_nl_NL.qm @@ -195,6 +226,7 @@ share/icons/hicolor/scalable/mimetypes/application-x-k %%DATADIR%%/translations/keepassx_uk.qm %%DATADIR%%/translations/keepassx_zh_CN.qm %%DATADIR%%/translations/keepassx_zh_TW.qm +%%DATADIR%%/wordlists/eff_large.wordlist share/mime/packages/keepassxc.xml @dir share/icons/hicolor/scalable/apps @dir share/icons/hicolor/scalable @@ -218,8 +250,10 @@ share/mime/packages/keepassxc.xml @dir share/icons/hicolor/128x128/mimetypes @dir share/icons/hicolor/128x128/apps @dir share/icons/hicolor/128x128 +@dir %%DATADIR%%/wordlists @dir %%DATADIR%%/translations @dir %%DATADIR%%/icons/database +@dir %%DATADIR%%/icons/application/scalable/mimetypes @dir %%DATADIR%%/icons/application/scalable/apps @dir %%DATADIR%%/icons/application/scalable @dir %%DATADIR%%/icons/application/64x64/mimetypes @@ -227,8 +261,11 @@ share/mime/packages/keepassxc.xml @dir %%DATADIR%%/icons/application/64x64 @dir %%DATADIR%%/icons/application/48x48/apps @dir %%DATADIR%%/icons/application/48x48 +@dir %%DATADIR%%/icons/application/32x32/status @dir %%DATADIR%%/icons/application/32x32/mimetypes +@dir %%DATADIR%%/icons/application/32x32/categories @dir %%DATADIR%%/icons/application/32x32/apps +@dir %%DATADIR%%/icons/application/32x32/actions @dir %%DATADIR%%/icons/application/32x32 @dir %%DATADIR%%/icons/application/256x256/apps @dir %%DATADIR%%/icons/application/256x256
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707132346.v6DNkYtf044344>