git: 6242fdaa8ded - main - security/keepassxc: Disable Yubikey option by default
Date: Wed, 17 Sep 2025 19:48:21 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6242fdaa8dedf29a76e9e54e23a4211a495fe5b1
commit 6242fdaa8dedf29a76e9e54e23a4211a495fe5b1
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2025-09-17 19:48:13 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2025-09-17 19:48:13 +0000
security/keepassxc: Disable Yubikey option by default
Due to incompatibility between of newer version of keepassxc and libusb
in base, Yubikey support is broken and causes hangs when opening
password databases on <= 14.
PR: 288581
---
security/keepassxc/Makefile | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile
index 602aed669b0e..a8fecc23c2db 100644
--- a/security/keepassxc/Makefile
+++ b/security/keepassxc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= keepassxc
DISTVERSION= 2.7.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= https://github.com/keepassxreboot/keepassxc/releases/download/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
@@ -38,7 +38,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
OPTIONS_DEFINE= AUTOTYPE BROWSER FDOSECRETS KEESHARE NETWORKING \
SSHAGENT TEST YUBIKEY
OPTIONS_DEFAULT= AUTOTYPE BROWSER FDOSECRETS KEESHARE NETWORKING \
- SSHAGENT YUBIKEY
+ SSHAGENT
OPTIONS_SUB= yes
AUTOTYPE_DESC= Auto-type passwords in input fields
@@ -47,7 +47,7 @@ FDOSECRETS_DESC= freedesktop.org secrets service support
KEESHARE_DESC= Sharing integration with KeeShare
NETWORKING_DESC= Networking support (e.g. for downloading website icons)
SSHAGENT_DESC= SSH agent support
-YUBIKEY_DESC= YubiKey support
+YUBIKEY_DESC= YubiKey support (broken on <= 14.x)
AUTOTYPE_USE= XORG=xi,xtst
AUTOTYPE_CMAKE_BOOL= WITH_XC_AUTOTYPE
@@ -68,4 +68,10 @@ TEST_TEST_TARGET= test
YUBIKEY_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
YUBIKEY_CMAKE_BOOL= WITH_XC_YUBIKEY
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} >= 1500000
+OPTIONS_DEFAULT+= YUBIKEY
+.endif
+
.include <bsd.port.mk>