aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-03-26 16:46:28 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-03-26 16:46:28 +0000
commita9ec8401f2f31816f1224515a75f7c8be0c75486 (patch)
treecf67f24890f9f2da0a3da47e1ccb8871ac8eb4d3 /security
parent29f6168fc3e3b09af55ddfc0a68970abad13dc81 (diff)
downloadports-a9ec8401f2f31816f1224515a75f7c8be0c75486.tar.gz
ports-a9ec8401f2f31816f1224515a75f7c8be0c75486.zip
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
Notes
Notes: svn path=/head/; revision=569259
Diffstat (limited to 'security')
-rw-r--r--security/yubioath-desktop/Makefile20
-rw-r--r--security/yubioath-desktop/distinfo6
-rw-r--r--security/yubioath-desktop/pkg-descr4
-rw-r--r--security/yubioath-desktop/pkg-message7
4 files changed, 19 insertions, 18 deletions
diff --git a/security/yubioath-desktop/Makefile b/security/yubioath-desktop/Makefile
index b18e5c23712c..693015560783 100644
--- a/security/yubioath-desktop/Makefile
+++ b/security/yubioath-desktop/Makefile
@@ -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>
diff --git a/security/yubioath-desktop/distinfo b/security/yubioath-desktop/distinfo
index 2d5b23268d05..568b3dd1904e 100644
--- a/security/yubioath-desktop/distinfo
+++ b/security/yubioath-desktop/distinfo
@@ -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
diff --git a/security/yubioath-desktop/pkg-descr b/security/yubioath-desktop/pkg-descr
index 874225875fee..ba8e2af56110 100644
--- a/security/yubioath-desktop/pkg-descr
+++ b/security/yubioath-desktop/pkg-descr
@@ -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/
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
+}
+]