Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 19:43:00 +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: r488733 - in head/security: . yubikey-manager-qt
Message-ID:  <201812301943.wBUJh0Vw076869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Dec 30 19:43:00 2018
New Revision: 488733
URL: https://svnweb.freebsd.org/changeset/ports/488733

Log:
  security/yubikey-manager-qt: new port, application for configuring any YubiKey over all USB interfaces.
  
  Submitted by:	Daniel Shafer <daniel@shafer.cc>
  Differential Revision:	https://reviews.freebsd.org/D18406

Added:
  head/security/yubikey-manager-qt/
  head/security/yubikey-manager-qt/Makefile   (contents, props changed)
  head/security/yubikey-manager-qt/distinfo   (contents, props changed)
  head/security/yubikey-manager-qt/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Dec 30 19:23:56 2018	(r488732)
+++ head/security/Makefile	Sun Dec 30 19:43:00 2018	(r488733)
@@ -1361,6 +1361,7 @@
     SUBDIR += ykclient
     SUBDIR += ykpers
     SUBDIR += yubico-piv-tool
+    SUBDIR += yubikey-manager-qt
     SUBDIR += yubikey-personalization-gui
     SUBDIR += yubikey-piv-manager
     SUBDIR += yubioath-desktop

Added: head/security/yubikey-manager-qt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-manager-qt/Makefile	Sun Dec 30 19:43:00 2018	(r488733)
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME=	yubikey-manager-qt
+DISTVERSIONPREFIX=	yubikey-manager-qt-
+DISTVERSION=	1.0.1
+CATEGORIES=	security
+
+MAINTAINER=	daniel@shafer.cc
+COMMENT=	Cross-platform application for configuring any YubiKey
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \
+		pyotherside-qt5>0:devel/pyotherside-qt5
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \
+		pyotherside-qt5>0:devel/pyotherside-qt5
+
+USES=		gl pkgconfig python:3.5+ qt:5 qmake shebangfix
+USE_GL=		gl
+USE_QT=		core declarative graphicaleffects gui network quickcontrols \
+		quickcontrols2 svg widgets buildtools_build
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Yubico
+
+SHEBANG_FILES=	ykman-gui/py/yubikey.py \
+		ykman-cli/test.py \
+		ykman-cli/py/cli.py \
+		build_qrc.py
+
+PLIST_FILES=	bin/ykman-gui \
+		share/applications/ykman-gui.desktop \
+		share/pixmaps/ykman.png
+
+post-extract:
+	@${REINPLACE_CMD} -e '/system/s|python|${PYTHON_CMD}|g' ${WRKSRC}/ykman-gui/ykman-gui.pro \
+		${WRKSRC}/ykman-cli/ykman-cli.pro
+	@${REINPLACE_CMD} -e 's|/usr/bin/ykman-gui|${PREFIX}/bin/ykman-gui|g' ${WRKSRC}/resources/linux/AppRun
+	@${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/ykman-gui/deployment.pri
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/resources/ykman-gui.desktop ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/resources/icons/ykman.png ${STAGEDIR}${PREFIX}/share/pixmaps
+
+.include <bsd.port.mk>

Added: head/security/yubikey-manager-qt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-manager-qt/distinfo	Sun Dec 30 19:43:00 2018	(r488733)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1546166817
+SHA256 (Yubico-yubikey-manager-qt-yubikey-manager-qt-1.0.1_GH0.tar.gz) = 0845511bcec2b2cad7600a9ec576511f2b2be62541f17032a183b2fa5a20bdfd
+SIZE (Yubico-yubikey-manager-qt-yubikey-manager-qt-1.0.1_GH0.tar.gz) = 10285019

Added: head/security/yubikey-manager-qt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-manager-qt/pkg-descr	Sun Dec 30 19:43:00 2018	(r488733)
@@ -0,0 +1,4 @@
+Cross-platform application for configuring any YubiKey 
+over all USB interfaces.
+
+WWW: https://developers.yubico.com/yubikey-manager-qt/



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