aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoregypcio <egypcio@FreeBSD.org>2019-01-31 18:35:05 +0800
committeregypcio <egypcio@FreeBSD.org>2019-01-31 18:35:05 +0800
commit7f54d369246c6e5502f2fa86a32cd2226f469850 (patch)
treece349b632636a9592879426e149b949d62acd78a /security
parent72bb10ecd7870993e420a4709f3de0e57972605f (diff)
downloadfreebsd-ports-gnome-7f54d369246c6e5502f2fa86a32cd2226f469850.tar.gz
freebsd-ports-gnome-7f54d369246c6e5502f2fa86a32cd2226f469850.tar.zst
freebsd-ports-gnome-7f54d369246c6e5502f2fa86a32cd2226f469850.zip
security/py-yubikey-manager: update 1.0.1_1 to 2.0.0
- add support to build against both Python flavors; yubikey-manager-qt OK (depends on security/py-yubikey-manager); tested both versions with real hardware. - use RSA_SecurID_getpasswd:devel/libccid as RUN_DEPENDS instead of lib/pcsc/drivers/ifd-ccid.bundle/Contents/${OPSYS}/libccid.so - use ykpersonalize:security/ykpers instead of: ykpers>=0:security/ykpers https://raw.githubusercontent.com/Yubico/yubikey-manager/master/NEWS Approved by: rene (mentor) Sponsored by: cleverbridge AG Differential Revision: https://reviews.freebsd.org/D18855
Diffstat (limited to 'security')
-rw-r--r--security/py-yubikey-manager/Makefile13
-rw-r--r--security/py-yubikey-manager/distinfo6
2 files changed, 10 insertions, 9 deletions
diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile
index 1b4bd149ee70..24e9d413ac97 100644
--- a/security/py-yubikey-manager/Makefile
+++ b/security/py-yubikey-manager/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= yubikey-manager
-PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTVERSION= 2.0.0
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,18 +12,20 @@ COMMENT= Python library and command line tool for configuring a YubiKey
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= ${PY_ENUM34} \
+ ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fido2>0:security/py-fido2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyscard>0:security/py-pyscard@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${PY_FLAVOR} \
- ${LOCALBASE}/lib/pcsc/drivers/ifd-ccid.bundle/Contents/${OPSYS}/libccid.so:devel/libccid \
+ RSA_SecurID_getpasswd:devel/libccid \
pcsc-spy:devel/pcsc-lite \
u2f-host:security/libu2f-host \
- ykpers>0:security/ykpers
+ ykpersonalize:security/ykpers
-USES= python:3.4+
+USES= python
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>
diff --git a/security/py-yubikey-manager/distinfo b/security/py-yubikey-manager/distinfo
index dfcbdd490432..608e3f91faca 100644
--- a/security/py-yubikey-manager/distinfo
+++ b/security/py-yubikey-manager/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541607882
-SHA256 (yubikey-manager-1.0.1.tar.gz) = 1f915d8899dbcf85b6b9879f5664953ce1edcd5a503a00d03b9c6298900bfc44
-SIZE (yubikey-manager-1.0.1.tar.gz) = 73411
+TIMESTAMP = 1547631549
+SHA256 (yubikey-manager-2.0.0.tar.gz) = e95b4c4e956e105780e59ca2e4f159b4e974da38cdc810d4157e8d979ebf66f4
+SIZE (yubikey-manager-2.0.0.tar.gz) = 97689