security/yubioath-desktop: Update to 5.0.4

Changes can be found here:
https://developers.yubico.com/yubioath-desktop/Release_Notes.html

Submitted by:	Daniel Shafer <daniel@shafer.cc> (maintainer)
Differential Revision:	https://reviews.freebsd.org/D29347
This commit is contained in:
Tobias C. Berner 2021-03-26 16:46:28 +00:00
parent 29f6168fc3
commit a9ec8401f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569259
4 changed files with 19 additions and 18 deletions

View file

@ -2,8 +2,7 @@
PORTNAME= yubioath-desktop
DISTVERSIONPREFIX= yubioath-desktop-
DISTVERSION= 4.3.4
PORTREVISION= 3
DISTVERSION= 5.0.4
CATEGORIES= security
MAINTAINER= daniel@shafer.cc
@ -22,30 +21,25 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>=0.7.0:security/py-yubikey-m
USES= compiler:c++11-lang 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_QT= core declarative gui network quickcontrols2 svg widgets buildtools_build
USE_GITHUB= yes
GH_ACCOUNT= Yubico
SHEBANG_FILES= build_qrc.py \
py/yubikey.py \
compute-version.py
PLIST_FILES= bin/yubioath-desktop \
share/applications/yubioath-desktop.desktop \
share/pixmaps/yubioath.png
share/applications/com.yubico.yubioath.desktop \
share/pixmaps/com.yubico.yubioath.png
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' \
@${REINPLACE_CMD} -e '/PYTHON_CMD/s|python3|${PYTHON_CMD}|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
${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>

View file

@ -1,3 +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
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

View file

@ -1,5 +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
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/

View file

@ -0,0 +1,7 @@
[
{ type: install
message: <<EOM
Before running make sure that the pcscd service is enabled and running
EOM
}
]