Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 21:42:39 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488574 - in head: . security security/py-yubioath-desktop security/yubioath-desktop
Message-ID:  <201812272142.wBRLgd9Z060825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Thu Dec 27 21:42:39 2018
New Revision: 488574
URL: https://svnweb.freebsd.org/changeset/ports/488574

Log:
  security/yubioath-desktop: Yubico Authenticator for Desktop [moved from security/py-yubioath-desktop]
  
  - no longer using python, rename.
  
  Submitted by:	Daniel Shafer <daniel@shafer.cc>
  Differential Revision:	https://reviews.freebsd.org/D18405

Added:
  head/security/yubioath-desktop/
     - copied from r488573, head/security/py-yubioath-desktop/
Deleted:
  head/security/py-yubioath-desktop/
Modified:
  head/MOVED
  head/security/Makefile
  head/security/yubioath-desktop/Makefile
  head/security/yubioath-desktop/distinfo
  head/security/yubioath-desktop/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Thu Dec 27 21:36:10 2018	(r488573)
+++ head/MOVED	Thu Dec 27 21:42:39 2018	(r488574)
@@ -10929,3 +10929,4 @@ devel/rubygem-default_value_for30|devel/rubygem-gitlab
 devel/rubygem-gettext_i18n_rails_js|devel/rubygem-gettext_i18n_rails_js-rails50|2018-12-23|Dep change for gitlab-ce, please use devel/rubygem-gettext_i18n_rails_js-rails50 instead
 sysutils/kshutdown-kde4|sysutils/kshutdown|2018-12-26|Renamed as no longer kde4 based
 misc/tellico-kde4|misc/tellico|2018-12-24|Renamed as no longer kde4 based
+security/py-yubioath-desktop|security/yubioath-desktop|2018-12-01|New Yubikey Oath Desktop app, written in Qt

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Thu Dec 27 21:36:10 2018	(r488573)
+++ head/security/Makefile	Thu Dec 27 21:42:39 2018	(r488574)
@@ -1057,7 +1057,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
@@ -1363,6 +1362,7 @@
     SUBDIR += yubico-piv-tool
     SUBDIR += yubikey-personalization-gui
     SUBDIR += yubikey-piv-manager
+    SUBDIR += yubioath-desktop
     SUBDIR += zebedee
     SUBDIR += zenmap
     SUBDIR += zeronet

Modified: head/security/yubioath-desktop/Makefile
==============================================================================
--- head/security/py-yubioath-desktop/Makefile	Thu Dec 27 21:36:10 2018	(r488573)
+++ head/security/yubioath-desktop/Makefile	Thu Dec 27 21:42:39 2018	(r488574)
@@ -1,24 +1,49 @@
 # $FreeBSD$
 
 PORTNAME=	yubioath-desktop
-PORTVERSION=	3.1.0
-CATEGORIES=	security python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTVERSIONPREFIX=	yubioath-desktop-
+DISTVERSION=	4.3.4
+CATEGORIES=	security
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	daniel@shafer.cc
 COMMENT=	GUI for displaying OATH codes with a Yubikey
 
-LICENSE=	GPLv3
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-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
+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=		python:2.7
-USE_PYTHON=	autoplist distutils
+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
+
+PLIST_FILES=	bin/yubioath-desktop \
+		share/applications/yubioath-desktop.desktop \
+		share/pixmaps/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' \
+		${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 <bsd.port.mk>

Modified: head/security/yubioath-desktop/distinfo
==============================================================================
--- head/security/py-yubioath-desktop/distinfo	Thu Dec 27 21:36:10 2018	(r488573)
+++ head/security/yubioath-desktop/distinfo	Thu Dec 27 21:42:39 2018	(r488574)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1490194353
-SHA256 (yubioath-desktop-3.1.0.tar.gz) = 7caae0fd3b14529476eda3a5660bc050584b298ddc3c8d1adfe221041fa5db49
-SIZE (yubioath-desktop-3.1.0.tar.gz) = 268909
+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

Modified: head/security/yubioath-desktop/pkg-descr
==============================================================================
--- head/security/py-yubioath-desktop/pkg-descr	Thu Dec 27 21:36:10 2018	(r488573)
+++ head/security/yubioath-desktop/pkg-descr	Thu Dec 27 21:42:39 2018	(r488574)
@@ -1,6 +1,5 @@
-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.
+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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812272142.wBRLgd9Z060825>