git: 997bdcfdbc90 - main - security/keepassxc: Update to 2.7.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Jul 2025 20:34:09 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=997bdcfdbc9098a1d1962762f118d054ba808fa4
commit 997bdcfdbc9098a1d1962762f118d054ba808fa4
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-06-20 15:56:04 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-07-21 20:33:21 +0000
security/keepassxc: Update to 2.7.9
While at it switch to botan3. (Suggested by madpiolot.)
PR: 279879
Approved by: lwhsu (maintainer)
---
security/keepassxc/Makefile | 9 +++------
security/keepassxc/distinfo | 6 +++---
security/keepassxc/files/patch-CMakeLists.txt | 13 +++++++++++++
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile
index 4cb9c335c67b..07b336df8608 100644
--- a/security/keepassxc/Makefile
+++ b/security/keepassxc/Makefile
@@ -1,5 +1,5 @@
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
@@ -15,13 +15,10 @@ 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
@@ -32,7 +29,7 @@ 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
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()