Index: head/security/Makefile =================================================================== --- head/security/Makefile +++ head/security/Makefile @@ -400,6 +400,7 @@ SUBDIR += logcheck SUBDIR += luasec SUBDIR += luasec-51 + SUBDIR += lxqt-openssh-askpass SUBDIR += lxqt-sudo SUBDIR += lynis SUBDIR += mac-robber Index: head/security/lxqt-openssh-askpass/Makefile =================================================================== --- head/security/lxqt-openssh-askpass/Makefile +++ head/security/lxqt-openssh-askpass/Makefile @@ -0,0 +1,22 @@ +# Created by: Olivier Duchateau +# $FreeBSD$ + +PORTNAME= lxqt-openssh-askpass +PORTVERSION= 0.13.0 +CATEGORIES= security +MASTER_SITES= LXQT + +MAINTAINER= jsm@FreeBSD.org +COMMENT= LXQt GUI dialog for OpenSSH authentication + +LICENSE= LGPL21+ + +USES= cmake:outsource gettext-runtime kde:5 lxqt pkgconfig tar:xz qt:5 +USE_QT= buildtools_build qmake_build core dbus gui linguisttools \ + svg widgets x11extras xml +USE_KDE= windowsystem +USE_LXQT= buildtools lxqt + +PLIST_FILES= bin/lxqt-openssh-askpass + +.include Index: head/security/lxqt-openssh-askpass/distinfo =================================================================== --- head/security/lxqt-openssh-askpass/distinfo +++ head/security/lxqt-openssh-askpass/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1527328596 +SHA256 (lxqt/lxqt-openssh-askpass-0.13.0.tar.xz) = f33e5f168729b974a4b9408e67c9b63f424bcff850bcbdc2d94f22e59f384250 +SIZE (lxqt/lxqt-openssh-askpass-0.13.0.tar.xz) = 14336 Index: head/security/lxqt-openssh-askpass/pkg-descr =================================================================== --- head/security/lxqt-openssh-askpass/pkg-descr +++ head/security/lxqt-openssh-askpass/pkg-descr @@ -0,0 +1,4 @@ +lxqt-openssh-askpass is a GUI to query credentials on behalf of other programs. +It is primarily targeted at ssh-agent. + +WWW: http://lxqt.org/ Index: head/security/lxqt-openssh-askpass/pkg-message =================================================================== --- head/security/lxqt-openssh-askpass/pkg-message +++ head/security/lxqt-openssh-askpass/pkg-message @@ -0,0 +1,10 @@ +*** Note ssh-add will NOT use GUI tools like lxqt-openssh-askpass +*** when it is attached to a terminal. + +* To use lxqt-openssh-askpass start ssh-agent with -a e.g in .xinitrc +ssh-agent -a "/tmp/${USER}-ssh-agent" + +* Then set two variables e.g in ~/.config/lxqt/session.conf: +SSH_ASKPASS=lxqt-openssh-askpass +SSH_AUTH_SOCK= +then run ssh-add from lxqt-runner or a .desktop entry