diff options
Diffstat (limited to 'security/yubioath-desktop')
-rw-r--r-- | security/yubioath-desktop/Makefile | 45 | ||||
-rw-r--r-- | security/yubioath-desktop/distinfo | 3 | ||||
-rw-r--r-- | security/yubioath-desktop/pkg-descr | 3 | ||||
-rw-r--r-- | security/yubioath-desktop/pkg-message | 7 |
4 files changed, 58 insertions, 0 deletions
diff --git a/security/yubioath-desktop/Makefile b/security/yubioath-desktop/Makefile new file mode 100644 index 000000000000..5f2373a67822 --- /dev/null +++ b/security/yubioath-desktop/Makefile @@ -0,0 +1,45 @@ +PORTNAME= yubioath-desktop +DISTVERSIONPREFIX= yubioath-desktop- +DISTVERSION= 5.0.4 +PORTREVISION= 2 +CATEGORIES= security + +MAINTAINER= daniel@shafer.cc +COMMENT= GUI for displaying OATH codes with a Yubikey +WWW= https://developers.yubico.com/yubioath-desktop/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>=0.7.0:security/py-yubikey-manager@${PY_FLAVOR} \ + pyotherside-qt5>0:devel/pyotherside-qt5 \ + RSA_SecurID_getpasswd:devel/libccid \ + libffi>0:devel/libffi \ + pcscd:devel/pcsc-lite \ + swig:devel/swig + +USES= compiler:c++11-lang desktop-file-utils gl python qmake qt:5 \ + shebangfix ssl +USE_GL= gl +USE_QT= core declarative gui network quickcontrols2 svg widgets buildtools:build + +USE_GITHUB= yes +GH_ACCOUNT= Yubico + +SHEBANG_FILES= build_qrc.py \ + py/yubikey.py \ + +PLIST_FILES= bin/yubioath-desktop \ + share/applications/com.yubico.yubioath.desktop \ + share/pixmaps/com.yubico.yubioath.png + +post-patch: + @${REINPLACE_CMD} -e '/PYTHON_CMD/s|python3|${PYTHON_CMD}|g' \ + ${WRKSRC}/yubioath-desktop.pro + @${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/deployment.pri + +post-install: + ${INSTALL_DATA} ${WRKSRC}/resources/com.yubico.yubioath.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/resources/icons/com.yubico.yubioath.png ${STAGEDIR}${PREFIX}/share/pixmaps + +.include <bsd.port.mk> diff --git a/security/yubioath-desktop/distinfo b/security/yubioath-desktop/distinfo new file mode 100644 index 000000000000..568b3dd1904e --- /dev/null +++ b/security/yubioath-desktop/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1616213145 +SHA256 (Yubico-yubioath-desktop-yubioath-desktop-5.0.4_GH0.tar.gz) = b47c8715e415b0e0ea0237e6f56d328fc8d3303a87ad89d4540d4f4a93138bd7 +SIZE (Yubico-yubioath-desktop-yubioath-desktop-5.0.4_GH0.tar.gz) = 5657338 diff --git a/security/yubioath-desktop/pkg-descr b/security/yubioath-desktop/pkg-descr new file mode 100644 index 000000000000..8a3575b7be09 --- /dev/null +++ b/security/yubioath-desktop/pkg-descr @@ -0,0 +1,3 @@ +Cross-platform application for generating Open Authentication (OATH) time-based +TOTP and event-based HOTP one-time password codes, with the help of a YubiKey +that protects the shared secrets. diff --git a/security/yubioath-desktop/pkg-message b/security/yubioath-desktop/pkg-message new file mode 100644 index 000000000000..7f4f2a2c4875 --- /dev/null +++ b/security/yubioath-desktop/pkg-message @@ -0,0 +1,7 @@ +[ +{ type: install + message: <<EOM + Before running make sure that the pcscd service is enabled and running +EOM +} +] |