summaryrefslogtreecommitdiff
path: root/security/keepassxc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/keepassxc/Makefile')
-rw-r--r--security/keepassxc/Makefile12
1 files 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>