--- MOVED +++ MOVED @@ -10646,3 +10646,4 @@ net/pecl-gupnp||2018-12-01|Has expired: does not build with latest gssdp and gupnp graphics/gimpfx-foundry||2018-12-01|Has expired: No release for 10 years, only partially working with recent GIMP www/rubygem-http-form_data1|www/rubygem-http-form_data|2018-12-01|Has expired: Use www/rubygem-http-form_data instead +security/py-yubioath-desktop|security/yubioath-desktop|2018-12-01|New Yubikey Oath Desktop app, written in QT. --- security/Makefile +++ security/Makefile @@ -1065,7 +1065,6 @@ SUBDIR += py-vulndb SUBDIR += py-yara SUBDIR += py-yubikey-manager - SUBDIR += py-yubioath-desktop SUBDIR += py-zope.app.authentication SUBDIR += py-zope.app.localpermission SUBDIR += py-zope.app.principalannotation @@ -1370,6 +1369,7 @@ SUBDIR += yubico-piv-tool SUBDIR += yubikey-personalization-gui SUBDIR += yubikey-piv-manager + SUBDIR += yubioath-desktop SUBDIR += zebedee SUBDIR += zenmap SUBDIR += zeronet --- security/py-yubioath-desktop/Makefile +++ security/py-yubioath-desktop/Makefile @@ -1,24 +0,0 @@ -# $FreeBSD$ - -PORTNAME= yubioath-desktop -PORTVERSION= 3.1.0 -CATEGORIES= security python -MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= ports@FreeBSD.org -COMMENT= GUI for displaying OATH codes with a Yubikey - -LICENSE= GPLv3 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyscard>0:security/py-pyscard@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ - pyside${PYTHON_PKGNAMESUFFIX}>0:devel/pyside@${PY_FLAVOR} \ - pcsc-spy:devel/pcsc-lite \ - ${LOCALBASE}/lib/pcsc/drivers/ifd-ccid.bundle/Contents/${OPSYS}/libccid.so:devel/libccid - -USES= python:2.7 -USE_PYTHON= autoplist distutils - -.include --- security/py-yubioath-desktop/distinfo +++ security/py-yubioath-desktop/distinfo @@ -1,3 +0,0 @@ -TIMESTAMP = 1490194353 -SHA256 (yubioath-desktop-3.1.0.tar.gz) = 7caae0fd3b14529476eda3a5660bc050584b298ddc3c8d1adfe221041fa5db49 -SIZE (yubioath-desktop-3.1.0.tar.gz) = 268909 --- security/py-yubioath-desktop/pkg-descr +++ security/py-yubioath-desktop/pkg-descr @@ -1,6 +0,0 @@ -The Yubico Authenticator is a graphical desktop tool and command line tool for -generating Open AuTHentication (OATH) event-based HOTP and time-based TOTP -one-time password codes, with the help of a YubiKey that protects the shared -secrets. - -WWW: https://developers.yubico.com/yubioath-desktop/ --- /dev/null +++ security/yubioath-desktop/Makefile @@ -0,0 +1,45 @@ +# $FreeBSD$ + +PORTNAME= yubioath-desktop +DISTVERSIONPREFIX=yubioath-desktop- +DISTVERSION= 4.3.4 +CATEGORIES= security + +MAINTAINER= daniel@shafer.cc +COMMENT= GUI for displaying OATH codes with a Yubikey + +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 \ + swig30>0:devel/swig30 + +USES= desktop-file-utils gl python:3.5+ qmake qt:5 shebangfix ssl +USE_GL= gl +USE_QT= core declarative gui network quickcontrols svg widgets buildtools_build + +USE_GITHUB= yes +GH_ACCOUNT= Yubico + +SHEBANG_FILES= build_qrc.py \ + py/yubikey.py \ + compute-version.py + +post-patch: + @${REINPLACE_CMD} -e '/buildqrc.commands/s|python|${PYTHON_CMD}|g' \ + -e '/PYTHON3_BINARY_NAME/s|python3|${PYTHON_CMD}|g' \ + -e '/system(python/s|python|${PYTHON_CMD}|g' \ + -e '/VERSION =/s|VERSION|#VERSION|g' \ + ${WRKSRC}/yubioath-desktop.pro + @${REINPLACE_CMD} -e '/version/s|python3|${PYTHON_CMD}|g' ${WRKSRC}/dev-util/package-sources.sh + @${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/deployment.pri + +post-install: + ${INSTALL_DATA} ${WRKSRC}/resources/yubioath-desktop.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/resources/icons/yubioath.png ${STAGEDIR}${PREFIX}/share/pixmaps + +.include --- /dev/null +++ security/yubioath-desktop/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1543816167 +SHA256 (Yubico-yubioath-desktop-yubioath-desktop-4.3.4_GH0.tar.gz) = b7d7843e396ae7de489df1693ef0dbc6e5576897ffd8196cbb53f83c116d3605 +SIZE (Yubico-yubioath-desktop-yubioath-desktop-4.3.4_GH0.tar.gz) = 237503 --- /dev/null +++ security/yubioath-desktop/pkg-descr @@ -0,0 +1,5 @@ +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. + +WWW: https://developers.yubico.com/yubioath-desktop/ --- /dev/null +++ security/yubioath-desktop/pkg-plist @@ -0,0 +1,3 @@ +bin/yubioath-desktop +share/applications/yubioath-desktop.desktop +share/pixmaps/yubioath.png