Hi,
enabled yubikey support, tested with challenge-response on yubikey-neo.
Ok or too many dependencies ?
 Cheers
  Giovanni

Index: Makefile
===================================================================
RCS file: /var/cvs/ports/security/keepassxc/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile	30 Jul 2017 14:42:01 -0000	1.5
+++ Makefile	8 Aug 2017 23:04:20 -0000
@@ -7,23 +7,25 @@ CATEGORIES =	security
 GH_ACCOUNT =	keepassxreboot
 GH_PROJECT =	keepassxc
 GH_TAGNAME =	2.2.0
-REVISION =	1
+REVISION =	2
 
 HOMEPAGE =	https://keepassxc.org
 
 MAINTAINER =	Rafael Sadowski <rsadow...@openbsd.org>
 
-# GPLv2
+# GPLv2 or GPLv3
 PERMIT_PACKAGE_CDROM =	Yes
 
 WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets
 WANTLIB += Qt5X11Extras X11 Xi Xtst c gcrypt gpg-error m z
-WANTLIB += ${COMPILER_LIBCXX}
+WANTLIB += yubikey ykpers-1 ${COMPILER_LIBCXX}
 
 MODULES =	x11/qt5 \
 		devel/cmake
 
 LIB_DEPENDS =	security/libgcrypt \
+		security/yubico/yubico-c \
+		security/yubico/yubikey-personalization \
 		x11/qt5/qtx11extras  # needed for auto-type
 
 RUN_DEPENDS =	devel/desktop-file-utils \
@@ -32,7 +34,8 @@ RUN_DEPENDS =	devel/desktop-file-utils \
 
 CONFIGURE_ARGS=	-DWITH_GUI_TESTS=ON \
 		-DWITH_XC_HTTP=ON \
-		-DWITH_XC_AUTOTYPE=ON
+		-DWITH_XC_AUTOTYPE=ON \
+		-DWITH_XC_YUBIKEY=ON
 
 TEST_IS_INTERACTIVE =	X11
 

Reply via email to