Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 10:07:14 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417646 - in head/security: . yubikey-piv-manager yubikey-piv-manager/files
Message-ID:  <201606271007.u5RA7Elf056640@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Mon Jun 27 10:07:14 2016
New Revision: 417646
URL: https://svnweb.freebsd.org/changeset/ports/417646

Log:
  Add new port -- YubiKey PIV Manager
  
  Tool for configuring your PIV-enabled YubiKey.

Added:
  head/security/yubikey-piv-manager/
  head/security/yubikey-piv-manager/Makefile   (contents, props changed)
  head/security/yubikey-piv-manager/distinfo   (contents, props changed)
  head/security/yubikey-piv-manager/files/
  head/security/yubikey-piv-manager/files/patch-pivman_yubicommon_setup_qt.py   (contents, props changed)
  head/security/yubikey-piv-manager/files/patch-resources_pivman.desktop   (contents, props changed)
  head/security/yubikey-piv-manager/files/patch-setup.py   (contents, props changed)
  head/security/yubikey-piv-manager/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Jun 27 10:00:44 2016	(r417645)
+++ head/security/Makefile	Mon Jun 27 10:07:14 2016	(r417646)
@@ -1156,6 +1156,7 @@
     SUBDIR += ykpers
     SUBDIR += yubico-piv-tool
     SUBDIR += yubikey-personalization-gui
+    SUBDIR += yubikey-piv-manager
     SUBDIR += zebedee
     SUBDIR += zenmap
     SUBDIR += zeronet

Added: head/security/yubikey-piv-manager/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-piv-manager/Makefile	Mon Jun 27 10:07:14 2016	(r417646)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	yubikey-piv-manager
+PORTVERSION=	1.2.1
+#PORTREVISION=	0
+CATEGORIES=	security
+MASTER_SITES=	https://developers.yubico.com/yubikey-piv-manager/Releases/
+
+MAINTAINER=	ume@FreeBSD.org
+COMMENT=	YubiKey PIV Manager
+
+LICENSE=	GPLv3+
+
+RUN_DEPENDS=	pyside${PYTHON_PKGNAMESUFFIX}>=1.0.9:devel/pyside \
+		${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \
+		yubico-piv-tool:security/yubico-piv-tool
+
+NO_ARCH=	yes
+USES=		python:2
+USE_PYTHON=	autoplist distutils
+
+PLIST_FILES+=	man/man1/pivman.1.gz \
+		share/applications/pivman.desktop \
+		share/pixmaps/yubikey-piv-manager.png
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/resources/pivman.desktop \
+		${STAGEDIR}${DESKTOPDIR}
+	${INSTALL_DATA} ${WRKSRC}/resources/yubikey-piv-manager.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps
+
+.include <bsd.port.mk>

Added: head/security/yubikey-piv-manager/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-piv-manager/distinfo	Mon Jun 27 10:07:14 2016	(r417646)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1466902480
+SHA256 (yubikey-piv-manager-1.2.1.tar.gz) = a74f1f5e0e87a422a37fd4efacba13ccb9afc8d12c245d549e967e4ef6e99710
+SIZE (yubikey-piv-manager-1.2.1.tar.gz) = 156691

Added: head/security/yubikey-piv-manager/files/patch-pivman_yubicommon_setup_qt.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-piv-manager/files/patch-pivman_yubicommon_setup_qt.py	Mon Jun 27 10:07:14 2016	(r417646)
@@ -0,0 +1,10 @@
+--- pivman/yubicommon/setup/qt.py.orig	2015-11-10 13:48:09 UTC
++++ pivman/yubicommon/setup/qt.py
+@@ -32,7 +32,6 @@ from distutils.errors import DistutilsSe
+ import os
+ 
+ 
+-__dependencies__ = ['PySide']
+ __all__ = ['qt_resources']
+ 
+ 

Added: head/security/yubikey-piv-manager/files/patch-resources_pivman.desktop
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-piv-manager/files/patch-resources_pivman.desktop	Mon Jun 27 10:07:14 2016	(r417646)
@@ -0,0 +1,11 @@
+--- resources/pivman.desktop.orig	2015-04-09 13:51:12 UTC
++++ resources/pivman.desktop
+@@ -3,7 +3,7 @@ Name=YubiKey PIV Manager
+ GenericName=YubiKey PIV Manager
+ Comment=Tool for configuring your PIV-enabled YubiKey
+ Exec=pivman
+-Icon=pivman
++Icon=yubikey-piv-manager
+ StartupNotify=false
+ Terminal=false
+ Type=Application

Added: head/security/yubikey-piv-manager/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-piv-manager/files/patch-setup.py	Mon Jun 27 10:07:14 2016	(r417646)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2015-11-10 15:05:16 UTC
++++ setup.py
+@@ -42,7 +42,7 @@ setup(
+     entry_points={
+         'gui_scripts': ['pivman=pivman.__main__:main']
+     },
+-    install_requires=['PySide', 'pycrypto'],
++    install_requires=['pycrypto'],
+     yc_requires=['ctypes', 'qt'],
+     test_suite='nose.collector',
+     tests_require=[''],

Added: head/security/yubikey-piv-manager/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yubikey-piv-manager/pkg-descr	Mon Jun 27 10:07:14 2016	(r417646)
@@ -0,0 +1,5 @@
+YubiKey PIV Manager
+
+Tool for configuring your PIV-enabled YubiKey.
+
+WWW: https://developers.yubico.com/yubikey-piv-manager/



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