diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile index 4cb9c335c67b..07b336df8608 100644 --- a/security/keepassxc/Makefile +++ b/security/keepassxc/Makefile @@ -1,69 +1,66 @@ PORTNAME= keepassxc -DISTVERSION= 2.7.6 +DISTVERSION= 2.7.9 CATEGORIES= security MASTER_SITES= https://github.com/keepassxreboot/keepassxc/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= lwhsu@FreeBSD.org COMMENT= KeePass Cross-platform Community Edition WWW= https://keepassxc.org LICENSE= APACHE20 BSD3CLAUSE CC0-1.0 GPLv2 GPLv3 LGPL21 LGPL3 MIT \ NOKIA-LGPL-EXCEPTION LICENSE_COMB= multi LICENSE_NAME_NOKIA-LGPL-EXCEPTION= Nokia Qt LGPL Exception version 1.1 LICENSE_FILE_NOKIA-LGPL-EXCEPTION= ${WRKSRC}/LICENSE.NOKIA-LGPL-EXCEPTION LICENSE_PERMS_NOKIA-LGPL-EXCEPTION= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -DEPRECATED= Depends on expired security/botan2 -EXPIRATION_DATE=2025-06-21 - BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor LIB_DEPENDS= libargon2.so:security/libargon2 \ libqrencode.so:graphics/libqrencode \ - libbotan-2.so:security/botan2 + libbotan-3.so:security/botan3 USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:5 \ readline shared-mime-info tar:xz xorg USE_QT= concurrent core dbus gui network svg widgets buildtools:build \ linguisttools:build qmake:build testlib:build x11extras USE_XORG= x11 WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} CMAKE_OFF= WITH_XC_UPDATECHECK -CONFLICTS_INSTALL= keepassx-0.* keepassx2 keepassx +CONFLICTS_INSTALL= keepassx-0.* keepassx2 keepassx keepassxc276 OPTIONS_DEFINE= AUTOTYPE BROWSER FDOSECRETS KEESHARE NETWORKING SSHAGENT YUBIKEY TEST OPTIONS_DEFAULT= AUTOTYPE BROWSER FDOSECRETS KEESHARE NETWORKING SSHAGENT YUBIKEY OPTIONS_SUB= yes AUTOTYPE_CMAKE_BOOL= WITH_XC_AUTOTYPE AUTOTYPE_DESC= Auto-type passwords in input fields AUTOTYPE_USE= XORG=xi,xtst BROWSER_CMAKE_BOOL= WITH_XC_BROWSER BROWSER_DESC= Browser integration with KeePassXC-Browser FDOSECRETS_CMAKE_BOOL= WITH_XC_FDOSECRETS FDOSECRETS_DESC= freedesktop.org secrets service support KEESHARE_CMAKE_BOOL= WITH_XC_KEESHARE KEESHARE_DESC= Sharing integration with KeeShare KEESHARE_USES= minizip # Legacy/Deprecated. NETWORKING_CMAKE_BOOL= WITH_XC_NETWORKING NETWORKING_DESC= Networking support (e.g. for downloading website icons) SSHAGENT_CMAKE_BOOL= WITH_XC_SSHAGENT SSHAGENT_DESC= SSH agent support YUBIKEY_CMAKE_BOOL= WITH_XC_YUBIKEY YUBIKEY_DESC= YubiKey support YUBIKEY_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite TEST_CMAKE_BOOL= WITH_TESTS WITH_GUI_TESTS TEST_TEST_TARGET= test .include diff --git a/security/keepassxc/distinfo b/security/keepassxc/distinfo index 25f70dd938b3..1811df381284 100644 --- a/security/keepassxc/distinfo +++ b/security/keepassxc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692163985 -SHA256 (keepassxc-2.7.6-src.tar.xz) = a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670 -SIZE (keepassxc-2.7.6-src.tar.xz) = 8474624 +TIMESTAMP = 1718892927 +SHA256 (keepassxc-2.7.9-src.tar.xz) = 3c44e45f22c00ddac63d8bc11054b4b0ada0222ffac08d3ed70f196cb9ed46fd +SIZE (keepassxc-2.7.9-src.tar.xz) = 9789312 diff --git a/security/keepassxc/files/patch-CMakeLists.txt b/security/keepassxc/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..38c92ebea387 --- /dev/null +++ b/security/keepassxc/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2024-06-19 14:32:55.000000000 -0700 ++++ CMakeLists.txt 2024-06-20 07:26:46.907481000 -0700 +@@ -575,8 +575,8 @@ + include_directories(SYSTEM ${PCSC_INCLUDE_DIRS}) + + if(UNIX AND NOT APPLE) +- find_library(LIBUSB_LIBRARIES NAMES usb-1.0 REQUIRED) +- find_path(LIBUSB_INCLUDE_DIR NAMES libusb.h PATH_SUFFIXES "libusb-1.0" "libusb" REQUIRED) ++ find_library(LIBUSB_LIBRARIES NAMES usb REQUIRED) ++ find_path(LIBUSB_INCLUDE_DIR NAMES libusb.h PATH_SUFFIXES "libusb" "libusb" REQUIRED) + include_directories(SYSTEM ${LIBUSB_INCLUDE_DIR}) + endif() + endif()