Saturday, April 29, 2017

security/keepassxc: Enable auto-type

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/keepassxc/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 23 Apr 2017 21:27:58 -0000 1.1.1.1
+++ Makefile 30 Apr 2017 03:47:37 -0000
@@ -1,6 +1,7 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/04/23 21:27:58 rsadowski Exp $

COMMENT = management tool for sensitive data
+REVISION = 0

CATEGORIES = security

@@ -15,20 +16,23 @@ MAINTAINER = Rafael Sadowski <rsadowski@
# GPLv2
PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets
+WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets Qt5X11Extras
WANTLIB += c gcrypt gpg-error m z
+WANTLIB += X11 Xi Xtst

MODULES = x11/qt5 \
devel/cmake

-LIB_DEPENDS = security/libgcrypt
+LIB_DEPENDS = security/libgcrypt \
+ x11/qt5/qtx11extras # needed for auto-type

RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info \
x11/gtk+3,-guic

CONFIGURE_ARGS= -DWITH_GUI_TESTS=ON \
- -DWITH_XC_HTTP=ON
+ -DWITH_XC_HTTP=ON \
+ -DWITH_XC_AUTOTYPE=ON

TEST_IS_INTERACTIVE = X11

Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/keepassxc/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 23 Apr 2017 21:27:58 -0000 1.1.1.1
+++ pkg/PLIST 30 Apr 2017 03:47:37 -0000
@@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/04/23 21:27:58 rsadowski Exp $
@bin bin/keepassxc
+lib/keepassxc/
+lib/keepassxc/libkeepassx-autotype-xcb.so
share/applications/keepassxc.desktop
share/icons/hicolor/128x128/apps/keepassxc-dark.png
share/icons/hicolor/128x128/apps/keepassxc-locked.png
Hi,

Unlike KeepassX, KeepassXC does not currently have auto-type
functionality enabled. The attached patch enables it.

No comments:

Post a Comment